row_id
large_string
sid
large_string
submission_id
large_string
pid
large_string
problem_id
large_string
uid
large_string
user_id
large_string
date
int64
date_iso
timestamp[ms]
source_name
large_string
code
large_string
compilemessage
large_string
compile_status
large_string
exit_code
int64
javac_version
large_string
category
large_string
label_status
large_string
taxonomy_version
large_string
session_id
large_string
session_6h
large_string
source
large_string
original_status
large_string
code_size
int64
v2_s262158625
s262158625
s262158625
p03679
p03679
u490326063
u490326063
1,498,353,928
2017-06-25T01:25:28
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { InputReader s = new InputReader(System.in); PrintWriter out = new PrintWriter(System.out); /*My code starts here.*/ int n = s.nextInt(); boolean arr[] = new boolean[n+1]; int inp[] = new int[n+1]; for(in...
Main.java:56: error: cannot find symbol comb = new long[MAXN][MAXN]; ^ symbol: variable comb location: class Main Main.java:56: error: cannot find symbol comb = new long[MAXN][MAXN]; ^ symbol: variable MAXN location: class Main Main.java:56: error: cannot find symbol comb = new lon...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u490326063|p03679|0
u490326063|p03679|0
codenet
Compile Error
4,582
v2_s055797694
s055797694
s055797694
p03679
p03679
u492223956
u492223956
1,518,410,256
2018-02-12T04:37:36
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); if(b <= a){ System.out.println("delisious"); }else if(b-a <= 0 && b-a <= x){ System.out.printl...
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u492223956|p03679|0
u492223956|p03679|0
codenet
Compile Error
415
v2_s363051075
s363051075
s363051075
p03679
p03679
u587100042
u587100042
1,590,633,662
2020-05-28T02:41:02
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x=sc.nextInt(),a=sc.nextInt(),b-sc.nextInt(); if(b-a<=0){ System.out.println("delicious"); }else if(b-a<=x){ System.out.println("safe"); }else{ System.out.pri...
Main.java:7: error: ';' expected int x=sc.nextInt(),a=sc.nextInt(),b-sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03679|0
u587100042|p03679|0
codenet
Compile Error
351
v2_s905146070
s905146070
s905146070
p03679
p03679
u646483356
u646483356
1,547,077,476
2019-01-09T23:44:36
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); int tabe = b-a; if(a>b){ System.out.print("delicious"); }if(ta...
Main.java:16: error: cannot find symbol }if(a<b&&tabe<=X){ ^ symbol: variable X location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u646483356|p03679|0
u646483356|p03679|0
codenet
Compile Error
450
v2_s342602096
s342602096
s342602096
p03679
p03679
u772909448
u772909448
1,509,226,677
2017-10-28T21:37:57
No3.java
mport java.util.Scanner; public class No3 { public static void main(String[] args) { System.out.println("賞味期限の超過許容日数、賞味期限の何日前 に買ってきたか、買ってから何日後に食べたかを入力してください"); System.out.println("例: 5 3 2"); System.out.println("→賞味期限を5日過ぎて食べてもお腹を壊さ ない"); System....
No3.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ No3.java:6: error: unclosed string literal System.out.println("???????????????????? ^ No3.java:7: error: illegal character: '\u3001' ??????????????????????????????"); ^ No3....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u772909448|p03679|3
u772909448|p03679|3
codenet
Compile Error
1,126
v2_s093807599
s093807599
s093807599
p03679
p03679
u806768852
u806768852
1,572,639,067
2019-11-01T20:11:07
Main.java
import java.util.*; public class Main{ public static void main(Sting[] args){ Scanner sc = new Scanner(System.in); int X = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); int date = B - A; if(date <= 0){ System.out.println("delicious"); }else if(date <= X){ System.ou...
Main.java:4: error: cannot find symbol public static void main(Sting[] args){ ^ symbol: class Sting location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u806768852|p03679|0
u806768852|p03679|0
codenet
Compile Error
399
v2_s491369103
s491369103
s491369103
p03679
p03679
u809407598
u809407598
1,552,512,189
2019-03-13T21:23:09
Main.java
import java.io.PrintWriter; import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); //String S = sc.next(); //int N = Integer.parseInt(sc.next()); //out.println(); // ArrayList<String> list = new Arr...
Main.java:17: error: cannot find symbol }else if(X>(B-A)){ ^ symbol: variable X location: class Main Main.java:19: error: cannot find symbol }else if(X < (B-A)){ ^ symbol: variable X location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p03679|0
u809407598|p03679|0
codenet
Compile Error
656
v2_s574600163
s574600163
s574600163
p03679
p03679
u890657861
u890657861
1,498,955,023
2017-07-02T00:23:43
Solution.java
import java.io.* import java.util.* public class Solution{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int a = scan.nextInt(); int b = scan.nextInt(); scan.close(); if(a>=b){ System.out.println("delicious...
Solution.java:1: error: ';' expected import java.io.* ^ Solution.java:2: error: ';' expected import java.util.* ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890657861|p03679|0
u890657861|p03679|0
codenet
Compile Error
460
v2_s232169436
s232169436
s232169436
p03679
p03679
u895954008
u895954008
1,554,325,797
2019-04-03T21:09:57
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc = new Scanner(); int x = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); if(b<=a)System.out.printf("delicious"); else if(b<=a+x)System.out.println("safe"); else System.out.println("dangerous"); } ...
Main.java:4: error: no suitable constructor found for Scanner(no arguments) Scanner sc = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not applicable (...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895954008|p03679|0
u895954008|p03679|0
codenet
Compile Error
322
v2_s060919494
s060919494
s060919494
p03679
p03679
u913110564
u913110564
1,535,497,313
2018-08-28T23:01:53
Main.java
import java.util.Scanner; import java.util.Vector; class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); Vector<Integer> v=new Vector<Integer>(); for(int i=0; i<n; i++) { int z=sc.nextInt(); z--; v.add(z); } int now=0; int c=0; for(;;) { ...
Main.java:24: error: array required, but Vector<Integer> found now=v[now]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u913110564|p03679|1
u913110564|p03679|1
codenet
Compile Error
444
v2_s382857594
s382857594
s382857594
p03679
p03679
u922524075
u922524075
1,498,358,318
2017-06-25T02:38:38
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String str = scan.nextLine(); String temp[] = str.split(" "); int a = new Integer(temp[1]); int b = new Integer(temp[2]); int x = new Integer(temp[0]); if((a - b)< 0){ ...
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: warning: [removal] Int...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u922524075|p03679|0
u922524075|p03679|0
codenet
Compile Error
510
v2_s667184174
s667184174
s667184174
p03679
p03679
u936066246
u936066246
1,575,342,009
2019-12-03T03:00:09
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int X = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); if(B-A <= X && A-B>=0){ System.out.ptintln("delicious"); } else if(B-A <= X){ System.out.ptintln("safe"); } else...
Main.java:12: error: cannot find symbol System.out.ptintln("delicious"); ^ symbol: method ptintln(String) location: variable out of type PrintStream Main.java:14: error: cannot find symbol System.out.ptintln("safe"); ^ symbol: method ptintln(String) location: variable out of ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u936066246|p03679|0
u936066246|p03679|0
codenet
Compile Error
366
v2_s073851011
s073851011
s073851011
p03679
p03679
u992675902
u992675902
1,559,886,160
2019-06-07T05:42:40
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.StringTokenizer; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.InputStream; /** * Built using CHelper plug-in * Actual soluti...
Main.java:66: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u992675902|p03679|0
u992675902|p03679|0
codenet
Compile Error
1,947
v2_s654752722
s654752722
s654752722
p03680
p03680
u024824950
u024824950
1,554,930,899
2019-04-10T21:14:59
Main.java
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new Int[n]; int cnt = 0; int s = 0; for(int i=0; i<n; i++){ a[i] = sc.nextInt(); } f...
Main.java:6: error: cannot find symbol int[] a = new Int[n]; ^ symbol: class Int location: class Main Main.java:13: error: cannot find symbol for(int i=0; i<a.lenth(); i++){ ^ symbol: method lenth() location: variable a of type int[] 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03680|0
u024824950|p03680|0
codenet
Compile Error
546
v2_s034993398
s034993398
s034993398
p03680
p03680
u024824950
u024824950
1,554,930,941
2019-04-10T21:15:41
Main.java
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; int cnt = 0; int s = 0; for(int i=0; i<n; i++){ a[i] = sc.nextInt(); } f...
Main.java:13: error: cannot find symbol for(int i=0; i<a.length(); i++){ ^ symbol: method length() location: variable a of type int[] 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03680|0
u024824950|p03680|0
codenet
Compile Error
547
v2_s169016424
s169016424
s169016424
p03680
p03680
u038942263
u038942263
1,498,354,831
2017-06-25T01:40:31
Main.java
public class Main{ public static void main(String args[] ) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] array = new int[n]; boolean[] b = new boolean[n]; b[0] = true; for (int i = 1; i < n; i++) b[i] = false; for (int i =...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u038942263|p03680|0
u038942263|p03680|0
codenet
Compile Error
853
v2_s633806513
s633806513
s633806513
p03680
p03680
u074220993
u074220993
1,598,043,665
2020-08-21T21:01:05
Main.java
import java.util.*; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.nextLine()); ArrayList<Integer> a = new ArrayList<>(); for (int i=0; i<N; i++){ a.add(Integer.parseInt(sc.nextLine())); } ...
Main.java:13: error: ';' expected int push = 1 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u074220993|p03680|0
u074220993|p03680|0
codenet
Compile Error
676
v2_s620725055
s620725055
s620725055
p03680
p03680
u074220993
u074220993
1,598,043,702
2020-08-21T21:01:42
Main.java
import java.util.*; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.nextLine()); ArrayList<Integer> a = new ArrayList<>(); for (int i=0; i<N; i++){ a.add(Integer.parseInt(sc.nextLine())); } ...
Main.java:14: error: incompatible types: int cannot be converted to boolean while (1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u074220993|p03680|0
u074220993|p03680|0
codenet
Compile Error
677
v2_s322290332
s322290332
s322290332
p03680
p03680
u188396343
u188396343
1,579,129,426
2020-01-15T23:03:46
Main.java
import java.util.Arrays; import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; int i; for(i=0;i<n;i++){ a[i] = sc.nextInt(); } int ans = 0; int total = 0; ...
Main.java:14: error: ';' expected for(i=0;i<n+i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u188396343|p03680|0
u188396343|p03680|0
codenet
Compile Error
590
v2_s351834087
s351834087
s351834087
p03680
p03680
u222822036
u222822036
1,598,500,021
2020-08-27T03:47:01
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main{ //Don't have to see. start------------------------------------------ static class InputIterator{ ArrayList<String> inputLine = new ArrayList<String>(1024); int index = 0; int max; String read; InputIterator(){ BufferedReader br = ne...
Main.java:79: error: cannot find symbol HashSet<Inetger> accessed = new HashSet<Inetger>(); ^ symbol: class Inetger location: class Main Main.java:79: error: cannot find symbol HashSet<Inetger> accessed = new HashSet<Inetger>(); ^ symbol: class Inetger ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222822036|p03680|0
u222822036|p03680|0
codenet
Compile Error
3,286
v2_s017632662
s017632662
s017632662
p03680
p03680
u397065106
u397065106
1,553,876,982
2019-03-29T16:29:42
Main.java
class Main{ public static void main(String arg[]) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[]a = new int[N+1]; for(int i = 1; i <= N; i++) { a[i] = sc.nextInt(); } sc.close(); boolean[] b = new boolean[N+1]; int i = 1; b[1] = true; int count = 0; while(true) { i...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u397065106|p03680|1
u397065106|p03680|1
codenet
Compile Error
501
v2_s557532775
s557532775
s557532775
p03680
p03680
u434662823
u434662823
1,540,956,294
2018-10-31T03:24:54
Main.java
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; vector<int> a(n); for(int i = 0; i < n; i++){ cin >> a[i]; a[i]--; } int k = 0; int count = 0; do{ k = a[k]; count++; }while(k != 0 && k != 1); if(k == 1) cout << count; ...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:5: error: not a statement cin >> n; ^ Main.java:6: error: not a statement vector<int> a(n); ^ Main.java:8: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u434662823|p03680|0
u434662823|p03680|0
codenet
Compile Error
340
v2_s599419302
s599419302
s599419302
p03680
p03680
u490326063
u490326063
1,498,353,867
2017-06-25T01:24:27
abc065_b.java
import java.util.*; import java.io.*; public class abc065_b { public static void main(String[] args) { InputReader s = new InputReader(System.in); PrintWriter out = new PrintWriter(System.out); /*My code starts here.*/ int n = s.nextInt(); boolean arr[] = new boolean[n+1]; int inp[] = new int[n+1]; fo...
abc065_b.java:56: error: cannot find symbol comb = new long[MAXN][MAXN]; ^ symbol: variable comb location: class abc065_b abc065_b.java:56: error: cannot find symbol comb = new long[MAXN][MAXN]; ^ symbol: variable MAXN location: class abc065_b abc065_b.java:56: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u490326063|p03680|0
u490326063|p03680|0
codenet
Compile Error
4,586
v2_s301711757
s301711757
s301711757
p03680
p03680
u587100042
u587100042
1,590,633,400
2020-05-28T02:36:40
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n=sc.nextInt(),f=0,i=0; int[] a=new int[n],b=new int[n]; b[0]=1; for(int i=0;i<n;i++){ a[i]=sc.nextInt(); } while(f<n){ b[i]=0; b[a[i]-1]++; f++...
Main.java:10: error: variable i is already defined in method main(String[]) for(int i=0;i<n;i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03680|0
u587100042|p03680|0
codenet
Compile Error
470
v2_s883987994
s883987994
s883987994
p03680
p03680
u891161439
u891161439
1,521,795,701
2018-03-23T09:01:41
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] a = new int[N]; for(int i = 0;i < N;i++)a[i] = sc.nextInt(); int b = 0; int c = 0; for(int i = 0;;i++){ if(a[b] == 2){ System.out.println(i+1); br...
Main.java:20: error: 'else' without 'if' else b = c-1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u891161439|p03680|0
u891161439|p03680|0
codenet
Compile Error
445
v2_s875035557
s875035557
s875035557
p03681
p03681
u487641373
u487641373
1,558,463,852
2019-05-21T18:37:32
Main.java
import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Scanner; public class Main { public static void main(String[] args) { solve(); } static long MOD = (...
Main.java:28: error: cannot find symbol if(n == m) return 2 * tmp % mod; ^ symbol: variable mod location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487641373|p03681|0
u487641373|p03681|0
codenet
Compile Error
902
v2_s763342544
s763342544
s763342544
p03681
p03681
u803026112
u803026112
1,498,366,384
2017-06-25T04:53:04
Main.java
import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { Scanner scanner = new Scanner(System.in); long n = scanner.nextInt(); long m = scanner.nextInt(); int ans = 1; if(Math.abs(n,m) >= 2){ System.out.println(0); }else if (...
Main.java:11: error: no suitable method found for abs(long,long) if(Math.abs(n,m) >= 2){ ^ method Math.abs(int) is not applicable (actual and formal argument lists differ in length) method Math.abs(long) is not applicable (actual and formal argument lists differ in length) method Math...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803026112|p03681|0
u803026112|p03681|0
codenet
Compile Error
611
v2_s663469887
s663469887
s663469887
p03682
p03682
u005491552
u005491552
1,591,101,916
2020-06-02T12:45:16
Main.java
import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.NoSuchElementException; import java.util.Objects; impo...
Main.java:27: error: cannot find symbol static StringManager sm = new StringManager(" "); ^ symbol: class StringManager location: class Main Main.java:1681: error: cannot find symbol public MultiSet Factrization(int e) { ^ symbol: class MultiSet location: class Mathplus Main.java:27: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u005491552|p03682|1
u005491552|p03682|1
codenet
Compile Error
35,882
v2_s887191243
s887191243
s887191243
p03682
p03682
u810064626
u810064626
1,498,358,439
2017-06-25T02:40:39
Main.java
import java.util.*; import java.math.*; import java.io.*; class Main{ public static InputReader sc; public static PrintWriter out; public static final long MOD = (long)1e9 + 7L; public static void main(String[] args){ sc=new InputReader(System.in); out=new PrintWriter(System.out); int n=sc....
Main.java:12: error: package Luck does not exist ArrayList<Pair> l=new ArrayList<Luck.Pair>(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u810064626|p03682|0
u810064626|p03682|0
codenet
Compile Error
8,133
v2_s989492590
s989492590
s989492590
p03682
p03682
u986437843
u986437843
1,533,090,299
2018-08-01T02:24:59
Main.java
static ArrayList<Edge> edges = new ArrayList<>(); public static void addEdge(int f, int t, long c) { edges.add(new Edge(f, t, c)); } static class Edge implements Comparable<Edge> { int f; int t; long toCost; Edge(int f, int to, long cost) { ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. static ArrayList<Edge> edges = new ArrayList<>(); ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u986437843|p03682|0
u986437843|p03682|0
codenet
Compile Error
550
v2_s528199154
s528199154
s528199154
p03683
p03683
u655729056
u655729056
1,573,621,412
2019-11-13T05:03:32
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N=sc.nextLong(); long M=sc.nextLong(); long sum_N = 0; long sum_M = 0; if(ABS(N-M) < 2){ for(i = N;i = 0;i--){ sum_N *= i; } for(j = M;j =...
Main.java:11: error: cannot find symbol if(ABS(N-M) < 2){ ^ symbol: method ABS(long) location: class Main Main.java:12: error: cannot find symbol for(i = N;i = 0;i--){ ^ symbol: variable i location: class Main Main.java:12: error: cannot find symbol for(i = N;i = 0;i--){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03683|0
u655729056|p03683|0
codenet
Compile Error
414
v2_s717297548
s717297548
s717297548
p03683
p03683
u655729056
u655729056
1,573,621,518
2019-11-13T05:05:18
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N=sc.nextLong(); long M=sc.nextLong(); long sum_N = 0; long sum_M = 0; if(Math.abs(N-M) < 2){ for(long i = N;i = 0;i--){ sum_N *= i; } for...
Main.java:12: error: incompatible types: long cannot be converted to boolean for(long i = N;i = 0;i--){ ^ Main.java:15: error: incompatible types: long cannot be converted to boolean for(long j = M;j = 0;j--){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03683|0
u655729056|p03683|0
codenet
Compile Error
429
v2_s061982739
s061982739
s061982739
p03683
p03683
u655729056
u655729056
1,573,622,033
2019-11-13T05:13:53
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N=sc.nextLong(); long M=sc.nextLong(); long sum_N = 1; long sum_M = 1; long ans = 0; int n_m = Math.abs(N-M); if(n_m < 2){ for(long i = N;i <= 0;i--){...
Main.java:11: error: incompatible types: possible lossy conversion from long to int int n_m = Math.abs(N-M); ^ Main.java:20: error: incompatible types: int cannot be converted to boolean if(n_m = 0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03683|0
u655729056|p03683|0
codenet
Compile Error
558
v2_s158909141
s158909141
s158909141
p03683
p03683
u655729056
u655729056
1,573,622,056
2019-11-13T05:14:16
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N=sc.nextLong(); long M=sc.nextLong(); long sum_N = 1; long sum_M = 1; long ans = 0; int n_m = Math.abs(N-M); if(n_m < 2){ for(long i = N;i <= 0;i--){...
Main.java:11: error: incompatible types: possible lossy conversion from long to int int n_m = Math.abs(N-M); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03683|0
u655729056|p03683|0
codenet
Compile Error
559
v2_s157279858
s157279858
s157279858
p03683
p03683
u655729056
u655729056
1,573,622,360
2019-11-13T05:19:20
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N=sc.nextLong(); long M=sc.nextLong(); long sum_N = 1; long sum_M = 1; long ans = 0; long n_m = Math.abs(N-M); long l = Math.pow(10, 9) + 7; if(n_m < 2)...
Main.java:12: error: incompatible types: possible lossy conversion from double to long long l = Math.pow(10, 9) + 7; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03683|0
u655729056|p03683|0
codenet
Compile Error
598
v2_s161372003
s161372003
s161372003
p03683
p03683
u655729056
u655729056
1,573,622,409
2019-11-13T05:20:09
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N=sc.nextLong(); long M=sc.nextLong(); long sum_N = 1; long sum_M = 1; long ans = 0; long n_m = Math.abs(N-M); long l = (Long)Math.pow(10, 9) + 7; if(n_...
Main.java:12: error: incompatible types: double cannot be converted to Long long l = (Long)Math.pow(10, 9) + 7; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03683|0
u655729056|p03683|0
codenet
Compile Error
604
v2_s956793695
s956793695
s956793695
p03683
p03683
u891161439
u891161439
1,522,356,794
2018-03-29T20:53:14
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = scan.nextInt(); long frac[] = new long[100020]; int a = 1000000007; if (Math.abs(x - y) > 1) { System.out.println('0'); return; } frac[0] = 1; ...
Main.java:6: error: cannot find symbol int y = scan.nextInt(); ^ symbol: variable scan location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u891161439|p03683|0
u891161439|p03683|0
codenet
Compile Error
493
v2_s361251261
s361251261
s361251261
p03684
p03684
u653981267
u653981267
1,498,500,979
2017-06-26T18:16:19
Main.java
import java.util.*; public class Main { static ArrayList<Edge>[] graph; static int vNum; public static void main(String[] args) { Scanner sc = new Scanner(System.in); vNum = sc.nextInt(); Vertice[] V = new Vertice[vNum]; graph = new ArrayList[vNum]; for(int i = 0; i < vNum; i++) { grap...
Main.java:66: error: Edge is not abstract and does not override abstract method compareTo(Object) in Comparable static class Edge implements Comparable { ^ Main.java:74: error: method does not override or implement a method from a supertype @Override ^ Note: Main.java uses unchecked or unsafe operati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03684|0
u653981267|p03684|0
codenet
Compile Error
2,107
v2_s010812079
s010812079
s010812079
p03684
p03684
u770383516
u770383516
1,498,358,407
2017-06-25T02:40:07
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.StringTokenizer; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.io.InputStream;...
Main.java:38: error: incompatible types: int[] cannot be converted to int id = new int[n + 2]; ^ Main.java:39: error: incompatible types: int[] cannot be converted to int sz = new int[n + 2]; ^ Main.java:41: error: no suitable method found for fill(int,int) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770383516|p03684|0
u770383516|p03684|0
codenet
Compile Error
4,827
v2_s647626319
s647626319
s647626319
p03684
p03684
u770383516
u770383516
1,498,358,518
2017-06-25T02:41:58
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.StringTokenizer; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.io.InputStream;...
Main.java:38: error: incompatible types: int[] cannot be converted to int id = new int[n + 2]; ^ Main.java:39: error: incompatible types: int[] cannot be converted to int sz = new int[n + 2]; ^ Main.java:41: error: no suitable method found for fill(int,int) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770383516|p03684|0
u770383516|p03684|0
codenet
Compile Error
4,827
v2_s756153049
s756153049
s756153049
p03684
p03684
u827202523
u827202523
1,551,259,848
2019-02-27T09:30:48
Main.java
import sys import heapq def getn(): return int(sys.stdin.readline()) def getnums(): return list(map(int,(sys.stdin.readline().split()))) INF=10000000000 n = getn() pos = [] edge = [[] for i in range(n)] for i in range(n): x,y = getnums() pos.append([x,y,i]) pos.sort(key=lambda x:x[0]) for i,j in zip(p...
Main.java:1: error: '.' expected import sys ^ Main.java:2: error: '.' expected import heapq ^ Main.java:3: error: ';' expected def getn(): ^ Main.java:48: error: illegal character: '#' #print("union: ", next_e[1], group) ^ Main.java:49: error: illegal character: '#' ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u827202523|p03684|0
u827202523|p03684|0
codenet
Compile Error
1,210
v2_s086854044
s086854044
s086854044
p03684
p03684
u929167194
u929167194
1,528,980,353
2018-06-14T12:45:53
Main.java
import java.io.*; import java.util.*; class XComparator implements Comparator<Point>{ @Override public int compare(Point p1, Point p2){ return p1.x < p2.x ? -1 : 1; } } class YComparator implements Comparator<Point>{ @Override public int compare(Point p1, Point p2){ return p1.y < p2.y ? -1 : 1; } } class ...
Main.java:134: error: class, interface, enum, or record expected import java.io.*; ^ Main.java:135: error: class, interface, enum, or record expected import java.util.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u929167194|p03684|1
u929167194|p03684|1
codenet
Compile Error
5,186
v2_s979455514
s979455514
s979455514
p03685
p03685
u653981267
u653981267
1,498,607,348
2017-06-27T23:49:08
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int R = sc.nextInt(); int C = sc.nextInt(); int N = sc.nextInt(); ArrayList<Vertice> alist = new ArrayList<Vertice>(); ArrayList<Vertice> blist = new ArrayList<Vertice>(); ...
Main.java:120: error: <identifier> expected public Vertice(int id. int x, int y) { ^ Main.java:120: error: wrong receiver parameter name public Vertice(int id. int x, int y) { ^ Main.java:120: error: <identifier> expected public Vertice(int id. int x, int y) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03685|1
u653981267|p03685|1
codenet
Compile Error
3,271
v2_s104429227
s104429227
s104429227
p03685
p03685
u653981267
u653981267
1,498,607,485
2017-06-27T23:51:25
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int R = sc.nextInt(); int C = sc.nextInt(); int N = sc.nextInt(); ArrayList<Vertice> alist = new ArrayList<Vertice>(); ArrayList<Vertice> blist = new ArrayList<Vertice>(); ...
Main.java:119: error: <identifier> expected public Vertice(int id. int x, int y) { ^ Main.java:119: error: wrong receiver parameter name public Vertice(int id. int x, int y) { ^ Main.java:119: error: <identifier> expected public Vertice(int id. int x, int...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03685|1
u653981267|p03685|1
codenet
Compile Error
3,291
v2_s054466554
s054466554
s054466554
p03685
p03685
u653981267
u653981267
1,498,607,535
2017-06-27T23:52:15
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int R = sc.nextInt(); int C = sc.nextInt(); int N = sc.nextInt(); ArrayList<Vertice> alist = new ArrayList<Vertice>(); ArrayList<Vertice> blist = new ArrayList<Vertice>(); ...
Main.java:61: error: incompatible types: Object cannot be converted to int int p = st.pop(); ^ Main.java:75: error: incompatible types: Object cannot be converted to int int p = st.pop(); ^ Main.java:89: error: incompatible types: Object cannot be converted to...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03685|1
u653981267|p03685|1
codenet
Compile Error
3,291
v2_s944345718
s944345718
s944345718
p03685
p03685
u900015623
u900015623
1,498,362,867
2017-06-25T03:54:27
Main.java
import java.io.*; import java.util.*; public class Main { private static Scanner sc; private static Printer pr; private static void solve() { int r = sc.nextInt(); int c = sc.nextInt(); int n = sc.nextInt(); int[] x1 = new int[n]; int[] y1 = new int[n]; int[] x2 = new int[n]; int[] y2 = new int[n];...
Main.java:288: error: reached end of file while parsing q ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u900015623|p03685|0
u900015623|p03685|0
codenet
Compile Error
5,642
v2_s661182974
s661182974
s661182974
p03685
p03685
u926674523
u926674523
1,542,393,587
2018-11-16T18:39:47
Main.java
import java.io.*; import java.math.*; import java.security.*; import java.text.*; public class Main { // Complete the minimumNumber function below. static int minimumNumber(int n, String password) { // Return the minimum number of characters to make the password strong return 1; } private sta...
Main.java:14: error: cannot find symbol private static final Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:14: error: cannot find symbol private static final Scanner scanner = new Scanner(System.in); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u926674523|p03685|0
u926674523|p03685|0
codenet
Compile Error
870
v2_s714091098
s714091098
s714091098
p03687
p03687
u274962354
u274962354
1,577,394,794
2019-12-26T21:13:14
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Scanner; class FastScanner { private final InputStream in = System.in; private final byte[] buffer = new byte[1024]; private int ptr = 0; private int buflen = 0; private boolea...
Main.java:183: error: cannot find symbol for(int i=0;i<str.length();i++)cnt[str.charAt-'a']++; ^ symbol: variable charAt location: variable str of type String Main.java:186: error: cannot find symbol System.out.println(upper_division(str.length-max,2)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274962354|p03687|0
u274962354|p03687|0
codenet
Compile Error
4,668
v2_s428908122
s428908122
s428908122
p03687
p03687
u274962354
u274962354
1,577,394,876
2019-12-26T21:14:36
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Scanner; class FastScanner { private final InputStream in = System.in; private final byte[] buffer = new byte[1024]; private int ptr = 0; private int buflen = 0; private boolea...
Main.java:186: error: cannot find symbol System.out.println(upper_division(str.length()-max,2)); ^ symbol: variable max location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274962354|p03687|0
u274962354|p03687|0
codenet
Compile Error
4,673
v2_s183874277
s183874277
s183874277
p03687
p03687
u507706381
u507706381
1,573,871,284
2019-11-16T02:28:04
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.nextInt(); Map<Character, List<Integer>> map = new HasMap<>(); for (int i = 0; S.length(); i++) { char c = S.charAt(i); List<Integer> list = map.get(c); ...
Main.java:6: error: incompatible types: int cannot be converted to String String S = sc.nextInt(); ^ Main.java:7: error: cannot find symbol Map<Character, List<Integer>> map = new HasMap<>(); ^ symbol: class HasMap location: class Main M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03687|0
u507706381|p03687|0
codenet
Compile Error
730
v2_s845730156
s845730156
s845730156
p03687
p03687
u507706381
u507706381
1,573,871,314
2019-11-16T02:28:34
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.next(); Map<Character, List<Integer>> map = new HasMap<>(); for (int i = 0; S.length(); i++) { char c = S.charAt(i); List<Integer> list = map.get(c); i...
Main.java:7: error: cannot find symbol Map<Character, List<Integer>> map = new HasMap<>(); ^ symbol: class HasMap location: class Main Main.java:8: error: incompatible types: int cannot be converted to boolean for (int i = 0; S.length(); i++) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03687|0
u507706381|p03687|0
codenet
Compile Error
727
v2_s519075378
s519075378
s519075378
p03687
p03687
u507706381
u507706381
1,573,871,350
2019-11-16T02:29:10
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.next(); Map<Character, List<Integer>> map = new HasMap<>(); for (int i = 0; i < S.length(); i++) { char c = S.charAt(i); List<Integer> list = map.get(c); ...
Main.java:7: error: cannot find symbol Map<Character, List<Integer>> map = new HasMap<>(); ^ symbol: class HasMap location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03687|0
u507706381|p03687|0
codenet
Compile Error
731
v2_s116995537
s116995537
s116995537
p03687
p03687
u507706381
u507706381
1,573,872,211
2019-11-16T02:43:31
Main.java
// serval // srrva // rrrv // rrr import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.next(); Map<Character, List<Integer>> map = new HashMap<>(); for (int i = 0; i < S.length(); i++) { char c = S.charAt(i); ...
Main.java:32: error: cannot find symbol diffMax = Math.max(diffMax, S.length()-list.get(list.length()-1)); ^ symbol: method length() location: variable list of type List<Integer> Note: Main.java uses unchecked or unsafe operations. Note: Recompile wi...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03687|0
u507706381|p03687|0
codenet
Compile Error
884
v2_s761508892
s761508892
s761508892
p03687
p03687
u572693383
u572693383
1,497,835,306
2017-06-19T01:21:46
Stress.java
import org.omg.PortableServer.POA; import java.io.*; import java.lang.reflect.Array; import java.math.BigInteger; import java.util.*; public class Stress { BufferedReader br; StringTokenizer sc; PrintWriter out; public static void main(String[] args) throws IOException { Locale.setDefault(L...
Stress.java:1: error: package org.omg.PortableServer does not exist import org.omg.PortableServer.POA; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u572693383|p03687|0
u572693383|p03687|0
codenet
Compile Error
2,001
v2_s579582560
s579582560
s579582560
p03687
p03687
u776725702
u776725702
1,530,221,715
2018-06-28T21:35:15
Main.java
****
Main.java:1: error: class, interface, enum, or record expected **** ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u776725702|p03687|1
u776725702|p03687|1
codenet
Compile Error
4
v2_s697548853
s697548853
s697548853
p03688
p03688
u536846055
u536846055
1,497,895,507
2017-06-19T18:05:07
B.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.StringTokenizer; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.InputStream; import java.util.ArrayList; import java.util.LinkedL...
B.java:19: error: package javafx.util does not exist import javafx.util.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536846055|p03688|0
u536846055|p03688|0
codenet
Compile Error
2,321
v2_s511815428
s511815428
s511815428
p03688
p03688
u536846055
u536846055
1,497,895,544
2017-06-19T18:05:44
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.StringTokenizer; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.InputStream; import java.util.ArrayList; import java.util.LinkedL...
Main.java:19: error: package javafx.util does not exist import javafx.util.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536846055|p03688|0
u536846055|p03688|0
codenet
Compile Error
2,324
v2_s372452914
s372452914
s372452914
p03689
p03689
u575350848
u575350848
1,497,839,468
2017-06-19T02:31:08
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws Exception { InputStream inp...
Main.java:53: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u575350848|p03689|0
u575350848|p03689|0
codenet
Compile Error
2,190
v2_s393567759
s393567759
s393567759
p03689
p03689
u969605855
u969605855
1,497,840,572
2017-06-19T02:49:32
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int H = sc.nextInt(); int W = sc.nextInt(); int h = sc.nextInt(); int w = sc.nextInt(); ifif( (H-h)%2==0 || (W-w)%2==0 ) System.out.println("No"); System.out.println("Yes"); long s =...
Main.java:10: error: ';' expected ifif( (H-h)%2==0 || (W-w)%2==0 ) System.out.println("No"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969605855|p03689|0
u969605855|p03689|0
codenet
Compile Error
558
v2_s146064633
s146064633
s146064633
p03689
p03689
u969605855
u969605855
1,497,842,669
2017-06-19T03:24:29
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long H = sc.nextLong(); long W = sc.nextLong(); long h = sc.nextLong(); long w = sc.nextLong(); long x = (-10000000)*(h*w-1)-1; String[] ans = new String[H]; for(int i=0; i<H; ++i){ ...
Main.java:12: error: incompatible types: possible lossy conversion from long to int String[] ans = new String[H]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969605855|p03689|0
u969605855|p03689|0
codenet
Compile Error
855
v2_s616545345
s616545345
s616545345
p03690
p03690
u221067205
u221067205
1,497,985,747
2017-06-20T19:09:07
Main.java
import javafx.concurrent.Task; import java.io.*; import java.util.*; /** * Created by tela on 2017/06/18. */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; InputReader in = new InputReader(inputStr...
Main.java:1: error: package javafx.concurrent does not exist import javafx.concurrent.Task; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u221067205|p03690|0
u221067205|p03690|0
codenet
Compile Error
2,743
v2_s414017921
s414017921
s414017921
p03693
p03693
u018679195
u018679195
1,505,828,487
2017-09-19T13:41:27
Main.java
import Scanner.util.*; public class Main{ public static void main(String [] args){ inp = new Scanner(System.in); int r = inp.nextInt(); int g = inp.nextInt(); int b = inp.nextInt(); if(10 * g + b % 4 == 0) System.out.println("YES"); else System.out.println("NO"); } }
Main.java:2: error: package Scanner.util does not exist import Scanner.util.*; ^ Main.java:6: error: cannot find symbol inp = new Scanner(System.in); ^ symbol: variable inp location: class Main Main.java:6: error: cannot find symbol inp = new Scanner(System.in); ^ symbol:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03693|0
u018679195|p03693|0
codenet
Compile Error
311
v2_s079140380
s079140380
s079140380
p03693
p03693
u019319164
u019319164
1,588,637,327
2020-05-05T00:08:47
Main.java
public class Main{ public static void main(String[] args){ int r,g,b; if((100r+10g+b)%4 == 0){ System.out.println("Yes");} else{System.out.println("No");} } }
Main.java:4: error: ')' expected if((100r+10g+b)%4 == 0){ ^ Main.java:4: error: not a statement if((100r+10g+b)%4 == 0){ ^ Main.java:4: error: ';' expected if((100r+10g+b)%4 == 0){ ^ Main.java:4: error: not a statement if((100r+10g+b)%4 == 0){ ^ Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019319164|p03693|0
u019319164|p03693|0
codenet
Compile Error
181
v2_s598955515
s598955515
s598955515
p03693
p03693
u019319164
u019319164
1,588,637,716
2020-05-05T00:15:16
Main.java
public class Main{ public static void main(String[] args){ int r,g,b; if((100r+10g+b)%4==0){ System.out.println("Yes");} else{System.out.println("No");} } }
Main.java:4: error: ')' expected if((100r+10g+b)%4==0){ ^ Main.java:4: error: not a statement if((100r+10g+b)%4==0){ ^ Main.java:4: error: ';' expected if((100r+10g+b)%4==0){ ^ Main.java:4: error: not a statement if((100r+10g+b)%4==0){ ^ Main.java:4:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019319164|p03693|0
u019319164|p03693|0
codenet
Compile Error
179
v2_s681990199
s681990199
s681990199
p03693
p03693
u019319164
u019319164
1,588,638,194
2020-05-05T00:23:14
Main.java
public class Main{ public static void main(String[] args){ int r,g,b; if((100r+10g+b)%4==0){ System.out.println("Yes"); else{System.out.println("No"); } }
Main.java:4: error: ')' expected if((100r+10g+b)%4==0){ ^ Main.java:4: error: not a statement if((100r+10g+b)%4==0){ ^ Main.java:4: error: ';' expected if((100r+10g+b)%4==0){ ^ Main.java:4: error: not a statement if((100r+10g+b)%4==0){ ^ Main.java:4:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019319164|p03693|0
u019319164|p03693|0
codenet
Compile Error
177
v2_s127547078
s127547078
s127547078
p03693
p03693
u019319164
u019319164
1,588,638,328
2020-05-05T00:25:28
Main.java
public class Main{ public static void main(String[] args){ int r,g,b; if((100*r+10*g+b)%4==0){ System.out.println("Yes");} else{System.out.println("No");} } }
Main.java:4: error: variable r might not have been initialized if((100*r+10*g+b)%4==0){ ^ Main.java:4: error: variable g might not have been initialized if((100*r+10*g+b)%4==0){ ^ Main.java:4: error: variable b might not have been initialized if((100*r+10*g+b)%4==0){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019319164|p03693|0
u019319164|p03693|0
codenet
Compile Error
181
v2_s181988476
s181988476
s181988476
p03693
p03693
u019319164
u019319164
1,588,638,443
2020-05-05T00:27:23
Main.java
public class Main{ public static void main(String[] args){ int r; int g; int b; if((100*r+10*g+b)%4==0){ System.out.println("Yes");} else{System.out.println("No");} } }
Main.java:6: error: variable r might not have been initialized if((100*r+10*g+b)%4==0){ ^ Main.java:6: error: variable g might not have been initialized if((100*r+10*g+b)%4==0){ ^ Main.java:6: error: variable b might not have been initialized if((100*r+10*g+b)%4==0){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019319164|p03693|0
u019319164|p03693|0
codenet
Compile Error
199
v2_s393325337
s393325337
s393325337
p03693
p03693
u019319164
u019319164
1,588,639,264
2020-05-05T00:41:04
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ int r,g,b; Scanner sc=new Scanner(System.in); int r = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); if((100*r+10*g+b)%4==0){ System.out.println("Yes");} else{System.out.println("No");} ...
Main.java:6: error: variable r is already defined in method main(String[]) int r = sc.nextInt(); ^ Main.java:7: error: variable b is already defined in method main(String[]) int b = sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019319164|p03693|0
u019319164|p03693|0
codenet
Compile Error
324
v2_s781276926
s781276926
s781276926
p03693
p03693
u019319164
u019319164
1,588,639,318
2020-05-05T00:41:58
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ int r,g,b; Scanner sc=new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); if((100*r+10*g+b)%4==0){ System.out.println("Yes");} else{System.out.println("No");} ...
Main.java:6: error: variable r is already defined in method main(String[]) int r = sc.nextInt(); ^ Main.java:7: error: variable g is already defined in method main(String[]) int g = sc.nextInt(); ^ Main.java:8: error: variable b is already defined in method main(String[]) int b = sc.nextInt(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019319164|p03693|0
u019319164|p03693|0
codenet
Compile Error
324
v2_s202557869
s202557869
s202557869
p03693
p03693
u019319164
u019319164
1,588,713,353
2020-05-05T21:15:53
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ int r,g,b; Scanner sc=new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); if((100*r+10*g+b)%4==0){ System.out.println("YES");} else{System.out.println("NO");} ...
Main.java:6: error: variable r is already defined in method main(String[]) int r = sc.nextInt(); ^ Main.java:7: error: variable g is already defined in method main(String[]) int g = sc.nextInt(); ^ Main.java:8: error: variable b is already defined in method main(String[]) int b = sc.nextInt(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019319164|p03693|3
u019319164|p03693|2
codenet
Compile Error
324
v2_s428991002
s428991002
s428991002
p03693
p03693
u019319164
u019319164
1,589,418,559
2020-05-14T01:09:19
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ int N=sc.nextInt(); int a=sc.nextInt(); for(int i=1;i<N;i++){ int Min=a; int Max=a; System.out.println(Max-Min);} } }
Main.java:4: error: cannot find symbol int N=sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:5: error: cannot find symbol int a=sc.nextInt(); ^ symbol: variable sc location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019319164|p03693|4
u019319164|p03693|3
codenet
Compile Error
238
v2_s605615737
s605615737
s605615737
p03693
p03693
u019319164
u019319164
1,589,424,608
2020-05-14T02:50:08
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int N =sc.nextInt(); int a=sc.nextInt(); for(int i=1;i<N;i++){ int Min; int Max; if(Min>a)Min=a; if(Max<a)Max=a; System.out.println(Max-Min);} } }
Main.java:10: error: variable Min might not have been initialized if(Min>a)Min=a; ^ Main.java:11: error: variable Max might not have been initialized if(Max<a)Max=a; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019319164|p03693|4
u019319164|p03693|3
codenet
Compile Error
314
v2_s040001270
s040001270
s040001270
p03693
p03693
u043692992
u043692992
1,498,263,558
2017-06-24T00:19:18
Main.java
import java.util.Scanner; public class Main { private static Scanner scan = new Scanner(System.in); public static void main(String[] args) { int r = Integer.parseInt(scan.close()); int g = Integer.parseInt(scan.close()); int b = Integer.parseInt(scan.close()); int numm = 100*r + 10*g + b; String ans =...
Main.java:9: error: 'void' type not allowed here int r = Integer.parseInt(scan.close()); ^ Main.java:10: error: 'void' type not allowed here int g = Integer.parseInt(scan.close()); ^ Main.java:11: error: 'void' type not allowed here int b = Inte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u043692992|p03693|0
u043692992|p03693|0
codenet
Compile Error
397
v2_s512818112
s512818112
s512818112
p03693
p03693
u043692992
u043692992
1,498,263,675
2017-06-24T00:21:15
Main.java
import java.util.Scanner; public class Main { private static Scanner scan = new Scanner(System.in); public static void main(String[] args) { int r = Integer.parseInt(scan.next()); int g = Integer.parseInt(scan.next()); int b = Integer.parseInt(scan.next()); int numm = 100*r + 10*g + b; String ans = (n...
Main.java:14: error: cannot find symbol String ans = (num%4 == 0 ? "YES" : "NO"); ^ symbol: variable num location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u043692992|p03693|0
u043692992|p03693|0
codenet
Compile Error
396
v2_s573575816
s573575816
s573575816
p03693
p03693
u053890962
u053890962
1,501,004,417
2017-07-25T17:40:17
main.java
import java.utill.Scanner; public class main { public static void main(String[] args) {   Scanner scan = new Scanner(System.in);      int r = scan.nextInt();   int g = scan.nextInt();   int b = scan.nextInt();      scan.close();      if((r * 100 + g * 10 + b)%4 == 0) {    System.out.print("YES");      } else {...
main.java:6: error: illegal character: '\u3000' ??Scanner scan = new Scanner(System.in); ^ main.java:6: error: illegal character: '\u3000' ??Scanner scan = new Scanner(System.in); ^ main.java:7: error: illegal character: '\u3000' ?? ^ main.java:7: error: illegal character: '\u3000' ?? ^ main.java:8: error: illegal ch...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u053890962|p03693|0
u053890962|p03693|0
codenet
Compile Error
438
v2_s845764561
s845764561
s845764561
p03693
p03693
u084498522
u084498522
1,497,145,946
2017-06-11T01:52:26
Main.java
public static void main(String[] args) { int r = Integer.parseInt(args[0])*100; int g = Integer.parseInt(args[1])*10; int b = Integer.parseInt(args[2]); int number = r + g + b; if((number % 4) == 0){ System.out.println("Yes"); } System.out.println("NO"); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u084498522|p03693|0
u084498522|p03693|0
codenet
Compile Error
284
v2_s237543032
s237543032
s237543032
p03693
p03693
u089230684
u089230684
1,505,828,131
2017-09-19T13:35:31
Main.java
public Main() throws IOException { Scanner input = new Scanner(System.in); int r = input.nextInt(); int g = input.nextInt(); int b = input.nextInt(); int newNum = r * 100 + g * 10 + b; if (newNum % 4 == 0) { System.out.println("YES"); } else { System.out.println("NO"); } }
Main.java:1: error: class, interface, enum, or record expected public Main() throws IOException { ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int r = input.nextInt(); ^ (use --enable-preview to enable unnamed classes) Main.java:10: error: class, interface, enum,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089230684|p03693|0
u089230684|p03693|0
codenet
Compile Error
311
v2_s635884206
s635884206
s635884206
p03693
p03693
u089230684
u089230684
1,505,828,375
2017-09-19T13:39:35
Main.java
public class Main{ import Scanner.util.* public static void main(String [] args){ inp = new Scanner(System.in); int r = inp.nextInt(); int g = inp.nextInt(); int b = inp.nextInt(); if(10 * g + b % 4 == 0) System.out.println("YES"); else System.out.println("NO"); } }
Main.java:3: error: illegal start of type import Scanner.util.* ^ Main.java:3: error: <identifier> expected import Scanner.util.* ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089230684|p03693|0
u089230684|p03693|0
codenet
Compile Error
309
v2_s647348447
s647348447
s647348447
p03693
p03693
u089230684
u089230684
1,505,828,484
2017-09-19T13:41:24
Main.java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); String rs = String.valueOf(r); String gs = String.valueOf(g); String bs = String.valueOf(b); String num = rs +...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089230684|p03693|0
u089230684|p03693|0
codenet
Compile Error
500
v2_s444585813
s444585813
s444585813
p03693
p03693
u167177680
u167177680
1,524,602,204
2018-04-24T20:36:44
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); if (((g * 10) + b) % 4 == 0) { System.out.println("YES"); } else { System.out/println("NO"); ...
Main.java:12: error: not a statement System.out/println("NO"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167177680|p03693|0
u167177680|p03693|0
codenet
Compile Error
330
v2_s683920691
s683920691
s683920691
p03693
p03693
u167177680
u167177680
1,524,602,294
2018-04-24T20:38:14
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); if (((g * 10) + b) % 4 == 0) { System.out.println("YES"); } else { System.out/println("NO"); ...
Main.java:12: error: not a statement System.out/println("NO"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167177680|p03693|0
u167177680|p03693|0
codenet
Compile Error
330
v2_s550830034
s550830034
s550830034
p03693
p03693
u173207136
u173207136
1,587,612,210
2020-04-23T03:23:30
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String result = "NO"; int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); if((100*r+10*g+b)%4==0) result = "YES"; System.out.println(result); }
Main.java:12: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u173207136|p03693|0
u173207136|p03693|0
codenet
Compile Error
278
v2_s929512492
s929512492
s929512492
p03693
p03693
u173207136
u173207136
1,587,612,240
2020-04-23T03:24:00
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String result = "NO"; int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); if((100*r+10*g+b)%4==0) result = "YSE"; System.out.println(result); } }
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u173207136|p03693|0
u173207136|p03693|0
codenet
Compile Error
280
v2_s801128832
s801128832
s801128832
p03693
p03693
u174631599
u174631599
1,497,988,196
2017-06-20T19:49:56
Main.java
public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int[] a = { 0, 0, 0, 0 }; int[] b = { 0, 0, 0, 0 }; int n = 0; for (int i = 1; i < 4; i++) { do { do { a[i] = stdIn.nextInt(); } while (a[i] < 0 && 10 < a[i]); for (int j = 1; j <= i; j++) { if (b[j] =...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u174631599|p03693|0
u174631599|p03693|0
codenet
Compile Error
576
v2_s135450633
s135450633
s135450633
p03693
p03693
u180899411
u180899411
1,497,147,841
2017-06-11T02:24:01
Main.java
public class Main { public static void solveRGBCards() throws IOException { int r; int g; int b; String line; String[] split; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); line = br.readLine(); split = line.split(" "); r = Integer.parseInt(split[0]); g = Integer.parseInt...
Main.java:2: error: cannot find symbol public static void solveRGBCards() throws IOException { ^ symbol: class IOException location: class Main Main.java:8: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u180899411|p03693|0
u180899411|p03693|0
codenet
Compile Error
620
v2_s097476003
s097476003
s097476003
p03693
p03693
u199115424
u199115424
1,594,826,019
2020-07-15T15:13:39
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! String card = r + g + b; int num = Integer.parseInt(card); if(num % 4 == 0){ System.out.println("yes"); }else{ Syste...
Main.java:6: error: cannot find symbol String card = r + g + b; ^ symbol: variable r location: class Main Main.java:6: error: cannot find symbol String card = r + g + b; ^ symbol: variable g location: class Main Main.java:6: error: cannot find ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199115424|p03693|0
u199115424|p03693|0
codenet
Compile Error
359
v2_s814707761
s814707761
s814707761
p03693
p03693
u199115424
u199115424
1,594,828,118
2020-07-15T15:48:38
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner scan = new Scanner(System.in); int r = scan.nextint(); int g = scan.nextint(); int b = scan.nextint(); int rgb = r *...
Main.java:13: error: ';' expected int rgb = r * 100 + g *10 + b ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199115424|p03693|0
u199115424|p03693|0
codenet
Compile Error
484
v2_s164317337
s164317337
s164317337
p03693
p03693
u199115424
u199115424
1,594,828,177
2020-07-15T15:49:37
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner scan = new Scanner(System.in); int r = scan.nextint(); int g = scan.nextint(); int b = scan.nextint(); int rgb = r ...
Main.java:13: error: ';' expected int rgb = r * 100 + g *10 + b ^ Main.java:22: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:43: error: class, interface, enum, or record expected ???? ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199115424|p03693|0
u199115424|p03693|0
codenet
Compile Error
996
v2_s450431954
s450431954
s450431954
p03693
p03693
u199115424
u199115424
1,594,828,251
2020-07-15T15:50:51
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner scan = new Scanner(System.in); int r = scan.nextint(); int g = scan.nextint(); int b = scan.nextint(); int rgb = r *...
Main.java:9: error: cannot find symbol int r = scan.nextint(); ^ symbol: method nextint() location: variable scan of type Scanner Main.java:10: error: cannot find symbol int g = scan.nextint(); ^ symbol: method nextint() location: variable scan of type...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199115424|p03693|0
u199115424|p03693|0
codenet
Compile Error
484
v2_s768655776
s768655776
s768655776
p03693
p03693
u199115424
u199115424
1,594,828,460
2020-07-15T15:54:20
Main.java
import java.util.*; public class Main { public static void main(String[] args) Scanner scan = new Scanner(System.in); int r = scan.nextInt(); int g = scan.nextInt(); int b = scan.nextInt(); int rgb = r * 100 + g *10 + b; if((rgb % 4) == ...
Main.java:4: error: ';' expected public static void main(String[] args) ^ Main.java:13: error: illegal start of type if((rgb % 4) == 0){ ^ Main.java:13: error: <identifier> expected if((rgb % 4) == 0){ ^ Main.java:15: error: illegal ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199115424|p03693|0
u199115424|p03693|0
codenet
Compile Error
433
v2_s620789104
s620789104
s620789104
p03693
p03693
u243084871
u243084871
1,565,478,708
2019-08-10T23:11:48
Main.java
Ⅴ import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); int sum = (r * 100) + (g * 10) + (b * 1); if (sum % 4 == 0){ System.out.println("YES"); } el...
Main.java:1: error: class, interface, enum, or record expected ? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u243084871|p03693|0
u243084871|p03693|0
codenet
Compile Error
371
v2_s786662237
s786662237
s786662237
p03693
p03693
u263933075
u263933075
1,581,697,056
2020-02-14T16:17:36
Main.java
import java.util.*; public class Main { public static void main (String [] args) { Scanner cin = new Scanner (System.in); a = cin.nextInt(); b = cin.nextInt(); c = cin.nextInt(); if((b * 10 + c ) % 4 == 0) System.out.println("Yes"); else System.out.println("No"); ...
Main.java:7: error: cannot find symbol a = cin.nextInt(); ^ symbol: variable a location: class Main Main.java:8: error: cannot find symbol b = cin.nextInt(); ^ symbol: variable b location: class Main Main.java:9: error: cannot find symbol c = cin.nextInt(); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u263933075|p03693|0
u263933075|p03693|0
codenet
Compile Error
327
v2_s171380163
s171380163
s171380163
p03693
p03693
u313820558
u313820558
1,506,145,745
2017-09-23T05:49:05
Main.java
System.out.println("YES");
Main.java:1: error: class, interface, enum, or record expected System.out.println("YES"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u313820558|p03693|0
u313820558|p03693|0
codenet
Compile Error
26
v2_s490469316
s490469316
s490469316
p03693
p03693
u326078736
u326078736
1,508,961,227
2017-10-25T19:53:47
Main.java
import java.util.Scanner;   public class Main {   public static void main(String[] args) {   Scanner sc = new Scanner(System.in); int r=sc.nextInt(); int g=sc.nextInt(); int b=sc.nextInt(); if((2*g+b)%4==0) { System.out.println("YES"); } else { System.out.println("NO"); } } }
Main.java:2: error: illegal character: '\u00a0' ? ^ Main.java:4: error: illegal character: '\u00a0' ? ^ Main.java:6: error: illegal character: '\u00a0' ? ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u326078736|p03693|0
u326078736|p03693|0
codenet
Compile Error
303
v2_s856940990
s856940990
s856940990
p03693
p03693
u353919145
u353919145
1,505,828,082
2017-09-19T13:34:42
Main.java
public class Main { public static void main(String [] argv) throws Exception{ Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); int number = a* 100 + b * 10 + c; if (number % 4 == 0) { System.out.println("YES"); } else { System.out.println("N...
Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p03693|0
u353919145|p03693|0
codenet
Compile Error
351
v2_s661639781
s661639781
s661639781
p03693
p03693
u353919145
u353919145
1,505,828,591
2017-09-19T13:43:11
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub Scanner in = new Scanner(System.in)); int[]arr = new int[3]; String empty = ""; for(int i = 0; i < arr.length; i++) { arr[i] = in.nextInt(); ...
Main.java:8: error: ';' expected Scanner in = new Scanner(System.in)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p03693|0
u353919145|p03693|0
codenet
Compile Error
641
v2_s316526216
s316526216
s316526216
p03693
p03693
u380792351
u380792351
1,497,328,085
2017-06-13T04:28:05
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { static int r; static int g; static int b; static int rgb; public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); Str...
Main.java:30: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u380792351|p03693|0
u380792351|p03693|0
codenet
Compile Error
660
v2_s177802491
s177802491
s177802491
p03693
p03693
u433432141
u433432141
1,581,479,222
2020-02-12T03:47:02
main.java
import java.util.*; public class main{ public static void(String[] args){ Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); r = r*100; g = g*10; if((r+g+b)%4 == 0){ System.out.println("YES"); }else{ ...
main.java:3: error: <identifier> expected public static void(String[] args){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433432141|p03693|0
u433432141|p03693|0
codenet
Compile Error
374
v2_s471899439
s471899439
s471899439
p03693
p03693
u434997850
u434997850
1,551,806,858
2019-03-05T17:27:38
Main.java
public class Main { private static Scanner sc; public static void main(String[] args) { sc = new Scanner(System.in); StringBuilder sb = new StringBuilder(); sb.append(sc.next()).append(sc.next()).append(sc.next()); int a = Integer.valueOf(sb.toString()); if (a % 4 == 0) { System.out.print("YES"); }...
Main.java:4: error: cannot find symbol private static Scanner sc; ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u434997850|p03693|0
u434997850|p03693|0
codenet
Compile Error
364
v2_s167912338
s167912338
s167912338
p03693
p03693
u520480375
u520480375
1,586,460,283
2020-04-09T19:24:43
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextINt(); int total = 100*r+10*g+b; if(total%4=0){ System.out.println("Yes"); }else{ System.ou...
Main.java:10: error: cannot find symbol int b = sc.nextINt(); ^ symbol: method nextINt() location: variable sc of type Scanner Main.java:14: error: unexpected type if(total%4=0){ ^ required: variable found: value 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u520480375|p03693|0
u520480375|p03693|0
codenet
Compile Error
374