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_s178676279
s178676279
s178676279
p02831
p02831
u543569321
u543569321
1,577,066,885
2019-12-23T02:08:05
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); long m = in.nextLong(); long n = in.nextLong(); System.out.print(lcm(m, n)); } private static long gcd(long m, long n) { if(m < n) return gcd(n, m); if(n == 0) r...
Main.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: 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
u543569321|p02831|0
u543569321|p02831|0
codenet
Compile Error
453
v2_s623922186
s623922186
s623922186
p02831
p02831
u572345088
u572345088
1,592,144,573
2020-06-14T14:22:53
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.math.BigInteger; import java.io.PrintWriter; public class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); Strin...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u572345088|p02831|1
u572345088|p02831|1
codenet
Compile Error
613
v2_s580945094
s580945094
s580945094
p02831
p02831
u631728946
u631728946
1,577,432,940
2019-12-27T07:49:00
Main.java
import java.util.* ; public class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in) ; long a = sc.nextInt() ; long b = sc.nextInt() ; return a*b/gcd(a,b ) ; } static long gcd(int a , int b ) { if (b == 1 ) return a ; else return gcd(b , a%b ) ...
Main.java:14: error: ';' expected return gcd(b , a%b ) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u631728946|p02831|0
u631728946|p02831|0
codenet
Compile Error
329
v2_s804202613
s804202613
s804202613
p02831
p02831
u631728946
u631728946
1,577,432,957
2019-12-27T07:49:17
Main.java
import java.util.* ; public class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in) ; long a = sc.nextInt() ; long b = sc.nextInt() ; return a*b/gcd(a,b ) ; } static long gcd(int a , int b ) { if (b == 1 ) return a ; else return gcd(b , a%b ) ...
Main.java:7: error: incompatible types: unexpected return value return a*b/gcd(a,b ) ; ^ Main.java:7: error: incompatible types: possible lossy conversion from long to int return a*b/gcd(a,b ) ; ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full o...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u631728946|p02831|0
u631728946|p02831|0
codenet
Compile Error
330
v2_s827344137
s827344137
s827344137
p02831
p02831
u631728946
u631728946
1,577,432,998
2019-12-27T07:49:58
Main.java
import java.util.* ; public class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in) ; long a = sc.nextInt() ; long b = sc.nextInt() ; System.out.println( a*b/gcd(a,b ) ) ; } static long gcd(int a , int b ) { if (b == 1 ) return a ; else retur...
Main.java:7: error: incompatible types: possible lossy conversion from long to int System.out.println( a*b/gcd(a,b ) ) ; ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u631728946|p02831|0
u631728946|p02831|0
codenet
Compile Error
346
v2_s899997103
s899997103
s899997103
p02831
p02831
u631728946
u631728946
1,577,433,035
2019-12-27T07:50:35
Main.java
import java.util.* ; public class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in) ; long a = sc.nextInt() ; long b = sc.nextInt() ; System.out.println( a*b/gcd(a,b ) ) ; } static int gcd(int a , int b ) { if (b == 1 ) return a ; else return...
Main.java:7: error: incompatible types: possible lossy conversion from long to int System.out.println( a*b/gcd(a,b ) ) ; ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u631728946|p02831|0
u631728946|p02831|0
codenet
Compile Error
345
v2_s369103509
s369103509
s369103509
p02831
p02831
u631728946
u631728946
1,577,433,061
2019-12-27T07:51:01
Main.java
import java.util.* ; public class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in) ; long a = sc.nextInt() ; long b = sc.nextInt() ; System.out.println( (a*b)/gcd(a,b ) ) ; } static int gcd(int a , int b ) { if (b == 1 ) return a ; else retu...
Main.java:7: error: incompatible types: possible lossy conversion from long to int System.out.println( (a*b)/gcd(a,b ) ) ; ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u631728946|p02831|0
u631728946|p02831|0
codenet
Compile Error
347
v2_s073628943
s073628943
s073628943
p02831
p02831
u631728946
u631728946
1,577,433,074
2019-12-27T07:51:14
Main.java
import java.util.* ; public class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in) ; long a = sc.nextInt() ; long b = sc.nextInt() ; System.out.println( (a*b)/gcd(a,b ) ) ; } static int gcd(long a , long b ) { if (b == 1 ) return a ; else re...
Main.java:12: error: incompatible types: possible lossy conversion from long to int return a ; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u631728946|p02831|0
u631728946|p02831|0
codenet
Compile Error
349
v2_s568709700
s568709700
s568709700
p02831
p02831
u663370560
u663370560
1,591,232,164
2020-06-04T00:56:04
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int tmp = 0; if (A < B) { tmp = B; B = A; A = tmp; } long nu...
Main.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u663370560|p02831|0
u663370560|p02831|0
codenet
Compile Error
572
v2_s289960094
s289960094
s289960094
p02831
p02831
u665650665
u665650665
1,588,786,702
2020-05-06T17:38:22
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long A = sc.nextLong(); long B = sc.nextLong(); ilong min = A; if(min > B) min = B; for(long i=min;i<=A*B;i++){ if(i%A==0 && i%B==0){ System.out.print(i); break; } } }...
Main.java:8: error: cannot find symbol ilong min = A; ^ symbol: class ilong location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u665650665|p02831|0
u665650665|p02831|0
codenet
Compile Error
323
v2_s452196273
s452196273
s452196273
p02831
p02831
u740551476
u740551476
1,586,975,795
2020-04-15T18:36:35
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int a = A; for (int i = 1; i < Bl i++) { if (a == B) { System.out.print(a); break; } a = a *i; ...
Main.java:10: error: ';' expected for (int i = 1; i < Bl i++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u740551476|p02831|0
u740551476|p02831|0
codenet
Compile Error
331
v2_s486840654
s486840654
s486840654
p02831
p02831
u758458977
u758458977
1,577,069,836
2019-12-23T02:57:16
Main.java
public class Main { private static long lcm(long a, long b) { return a * (b / gcd(a, b)); } private static long gcd(long a, long b) { return b==0 ? a : gcd(b, a%b); } public static void main(String[] args) { StringBuilder sb = new StringBuilder(); try(BufferedReader...
Main.java:12: error: cannot find symbol try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) { ^ symbol: class BufferedReader location: class Main Main.java:12: error: cannot find symbol try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u758458977|p02831|0
u758458977|p02831|0
codenet
Compile Error
662
v2_s647125029
s647125029
s647125029
p02831
p02831
u760718569
u760718569
1,577,072,384
2019-12-23T03:39:44
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int[] ax = new int[a]; int[] bx = new int[b]; int ay = 0; int by = 0; int az = a; int bz =...
Main.java:45: error: cannot find symbol System.out.pritnln(ans); ^ symbol: method pritnln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u760718569|p02831|0
u760718569|p02831|0
codenet
Compile Error
1,054
v2_s858434812
s858434812
s858434812
p02831
p02831
u766012065
u766012065
1,596,850,489
2020-08-08T01:34:49
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); // スペース区切りの整数の入力 int b = sc.nextInt(); int c = 0; boolean d = true; for(int i = 0; d; i++){ c += a; c = c % b; if(c == 0){ System.out.orintln(...
Main.java:15: error: cannot find symbol System.out.orintln(a * (i + 1)); ^ symbol: method orintln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u766012065|p02831|0
u766012065|p02831|0
codenet
Compile Error
400
v2_s271205441
s271205441
s271205441
p02831
p02831
u809433990
u809433990
1,577,067,882
2019-12-23T02:24:42
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int x=scan.nextInt(); int y=scan.nextInt(); scan.close(); if(x<y) { int tmp=y; y=x; x=tmp; } System.out.println((x+y)/gcd(x,y)); } static int gcd(int x,int y) { ...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809433990|p02831|0
u809433990|p02831|0
codenet
Compile Error
368
v2_s420205895
s420205895
s420205895
p02831
p02831
u899530879
u899530879
1,577,069,188
2019-12-23T02:46:28
Main.java
import java.util.*; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long A = sc.nextInt(); long B = sc.nextInt(); //ここまで入力 long ans = lcm(A,B); System.out.println(ans); } //AとBの最小公倍数を求める static int lcm (lon...
Main.java:24: error: incompatible types: possible lossy conversion from long to int return (long)(c/b); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u899530879|p02831|0
u899530879|p02831|0
codenet
Compile Error
543
v2_s824034939
s824034939
s824034939
p02831
p02831
u934782869
u934782869
1,592,687,765
2020-06-20T21:16:05
Main.java
import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); BigInteger c = BigInteger.valueOf(a).multiply(BigInteger.valueOf(b)); int d = ...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u934782869|p02831|0
u934782869|p02831|0
codenet
Compile Error
488
v2_s545017986
s545017986
s545017986
p02832
p02832
u011996008
u011996008
1,583,940,555
2020-03-11T15:29:15
Main.java
import java.util.*; class Main { public static void main(string[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int c = 0; for (int i=0; i<N; i++) { if (sc.nextInt() == c+1) { c++; } } System.out.println(c==0 ? -1 : n-c); } }
Main.java:4: error: cannot find symbol public static void main(string[] args) { ^ symbol: class string location: class Main Main.java:14: error: cannot find symbol System.out.println(c==0 ? -1 : n-c); ^ symbol: variable n location: class Main 2 er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011996008|p02832|0
u011996008|p02832|0
codenet
Compile Error
275
v2_s566100807
s566100807
s566100807
p02832
p02832
u011996008
u011996008
1,583,940,625
2020-03-11T15:30:25
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int c = 0; for (int i=0; i<N; i++) { if (sc.nextInt() == c+1) { c++; } } System.out.println(c==0 ? -1 : n-c); } }
Main.java:14: error: cannot find symbol System.out.println(c==0 ? -1 : n-c); ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011996008|p02832|0
u011996008|p02832|0
codenet
Compile Error
275
v2_s949183141
s949183141
s949183141
p02832
p02832
u056351372
u056351372
1,599,023,501
2020-09-02T05:11:41
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { FastScanner in=new FastScanner(); PrintWriter out=new PrintWriter(System.out); // int t=in.nextInt(); // while(t-->0) solve(in,out); out.close(); } static long gcd(long a,long b){ if(b==0) retu...
Main.java:24: error: incompatible types: int cannot be converted to boolean if(a[i-1]=a[i]-1) point=i-1; else break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056351372|p02832|0
u056351372|p02832|0
codenet
Compile Error
1,457
v2_s792422134
s792422134
s792422134
p02832
p02832
u068098242
u068098242
1,577,129,043
2019-12-23T19:24:03
Main.java
import java.io.*; import java.util.*; public class Main { public static class FS { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(""); String next() { while (!st.hasMoreTokens()) { try { st = new StringTokenizer(br.readLine()); } catc...
Main.java:31: error: cannot find symbol map.get(a).put(i); ^ symbol: method put(int) location: class TreeSet<Integer> Main.java:32: error: cannot find symbol map.get(a).put(n + 1); ^ symbol: method put(int) location: class TreeSet<Integer> 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u068098242|p02832|0
u068098242|p02832|0
codenet
Compile Error
1,237
v2_s455656406
s455656406
s455656406
p02832
p02832
u469281291
u469281291
1,577,072,230
2019-12-23T03:37:10
Main.java
import java.math.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); List<Integer> num = new ArrayList<>(); for (int i = 0; i < n; i++) num.add(sc.nextInt()); int cnt = 0; ...
Main.java:19: error: cannot find symbol if(k==num.size-1){ ^ symbol: variable size location: variable num of type List<Integer> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469281291|p02832|0
u469281291|p02832|0
codenet
Compile Error
837
v2_s602408527
s602408527
s602408527
p02832
p02832
u469281291
u469281291
1,577,074,096
2019-12-23T04:08:16
Main.java
import java.math.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); List<Integer> num = new ArrayList<>(); for (int i = 0; i < n; i++) num.add(sc.nextInt()); int cnt = 0 ...
Main.java:11: error: ';' expected int cnt = 0 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469281291|p02832|0
u469281291|p02832|0
codenet
Compile Error
538
v2_s613731018
s613731018
s613731018
p02832
p02832
u578775554
u578775554
1,586,999,696
2020-04-16T01:14:56
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main { public static void main(String[] args) throws Exception { 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.nextLong(); ...
Main.java:11: error: incompatible types: possible lossy conversion from long to int a[i] = sc.nextLong(); ^ Main.java:13: error: cannot find symbol ans = 0; ^ symbol: variable ans location: class Main Main.java:14: error: cannot find symbol now = 1...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u578775554|p02832|0
u578775554|p02832|0
codenet
Compile Error
643
v2_s305095620
s305095620
s305095620
p02832
p02832
u659156129
u659156129
1,596,643,711
2020-08-05T16:08:31
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int[] a = new int[n]; for(int i=0; i<a.length; ++i){ a[i] = scn.nextInt(); } int count = 1; for(int i=0; i<a.length; ++i){ if(a[i]...
Main.java:15: error: ';' expected System.out.println(n+1-count) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p02832|0
u659156129|p02832|0
codenet
Compile Error
383
v2_s567699278
s567699278
s567699278
p02833
p02833
u016753669
u016753669
1,577,072,262
2019-12-23T03:37:42
Main.java
import java.util.Scanner; public static void main(String[] args) { Scanner s = new Scanner (System.in); int num = s.nextInt(); int sum1 = 0; int sum2 = 0; for(int i =1; i<num ;i++) { if (i % 2 == 0) { sum1+= i; } else if (i % 2...
Main.java:3: 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
u016753669|p02833|0
u016753669|p02833|0
codenet
Compile Error
631
v2_s093642982
s093642982
s093642982
p02833
p02833
u018679195
u018679195
1,586,556,865
2020-04-10T22:14:25
Main.java
import java.util.*; class A { public static void main(String args[]) { Scanner s=new Scanner(System.in); int n=s.nextInt(),count=0; while(n>0) { n=n%10; count++; } if(count!=0) { int p=count-1; system.out.print(p); } } }
Main.java:17: error: package system does not exist system.out.print(p); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p02833|1
u018679195|p02833|1
codenet
Compile Error
221
v2_s579339403
s579339403
s579339403
p02833
p02833
u018679195
u018679195
1,586,557,049
2020-04-10T22:17:29
Main.java
System.out.lang; import java.util.*; class A { public static void main(String .in) { Scanner s=new Scanner(System.in); int s.nextInt(),count=0; while(n>0) { n=n%10; count++; } if(count!=0) { int p=count-1; system.out.print(p); } }
Main.java:1: error: class, interface, enum, or record expected System.out.lang; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:6: error: <identifier> expected public static void main(String .in) ^ Main.java:9: error: ';' expected int s....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p02833|1
u018679195|p02833|1
codenet
Compile Error
231
v2_s172754342
s172754342
s172754342
p02833
p02833
u018679195
u018679195
1,586,557,145
2020-04-10T22:19:05
double.java
import java.util. Scanner; public class double { public static void main(String[] args){ static int findTrailingZeros(int n) { Scanner scan=new Scanner( System.in); int n=scan.nextInt; if ((n & 1) == 1) return 0; // If n is even else ...
double.java:2: error: <identifier> expected public class double ^ double.java:4: 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) double.java:5: error: illegal st...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p02833|1
u018679195|p02833|1
codenet
Compile Error
754
v2_s758631138
s758631138
s758631138
p02833
p02833
u135363744
u135363744
1,596,950,546
2020-08-09T05:22:26
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long N = sc.nextInt(); long R = 0; if(N%2==0){ long subN = N/2; boolean excape = false; for(int i = 1;escape;i++){ if(subN/5!=0){ R+=subN/5; subN=...
Main.java:11: error: cannot find symbol for(int i = 1;escape;i++){ ^ symbol: variable escape location: class Main Main.java:16: error: cannot find symbol escape = true; ^ symbol: variable escape location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u135363744|p02833|0
u135363744|p02833|0
codenet
Compile Error
402
v2_s323887124
s323887124
s323887124
p02833
p02833
u148743815
u148743815
1,577,072,375
2019-12-23T03:39:35
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner scn = new Scanner(System.in); long l = (long)scn.next(); if(n%2 == 1){ System.out.println(0); return; }else{ int five = 5; int i = 0; while(n=>five){ i += (int)n/five; five *= 5 } ...
Main.java:13: error: illegal start of expression while(n=>five){ ^ Main.java:15: error: ';' expected five *= 5 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u148743815|p02833|0
u148743815|p02833|0
codenet
Compile Error
355
v2_s600226003
s600226003
s600226003
p02833
p02833
u167206842
u167206842
1,577,244,949
2019-12-25T03:35:49
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 answer =0; if(N%2==1){ System.out.println(0); return; } long tmp = N/2; for(long i=1;i<30;i++){ answer = answer + tmp/(Math.pow...
Main.java:13: error: cannot find symbol answer = answer + tmp/(Math.power((long)5,i)); ^ symbol: method power(long,long) location: class Math 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167206842|p02833|0
u167206842|p02833|0
codenet
Compile Error
396
v2_s884342669
s884342669
s884342669
p02833
p02833
u218740431
u218740431
1,583,311,625
2020-03-04T08:47:05
Main.java
import java.util.*; public class Main { public static Long gcd(Long x,Long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static Long lcm(Long x,Long y){ return x*y/gcd(x,y)...
Main.java:19: error: integer number too large return x/1220703125 + x/6103515625 + x/30517578125 + x/152587890625 + x/762939453125 + x/3814697265625; ^ Main.java:19: error: integer number too large return x/1220703125 + x/6103515625 + x/30517578125 + x/152587890625 + x/76...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02833|0
u218740431|p02833|0
codenet
Compile Error
1,343
v2_s168509389
s168509389
s168509389
p02833
p02833
u218740431
u218740431
1,583,312,545
2020-03-04T09:02:25
Main.java
import java.util.*; public class Main { public static Long gcd(Long x,Long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static Long lcm(Long x,Long y){ return x*y/gcd(x,y)...
Main.java:17: error: incompatible types: int cannot be converted to Long return x/df1(1) + x/df1(2) + x/df1(3) + x/df1(4) + x/df1(5) + x/df1(6); ^ Main.java:17: error: incompatible types: int cannot be converted to Long return x/df1(1) + x/df1(2) + x/df1(3) + x/df1(4) + x/df1(5) + x...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02833|0
u218740431|p02833|0
codenet
Compile Error
1,452
v2_s769466315
s769466315
s769466315
p02833
p02833
u218740431
u218740431
1,583,312,621
2020-03-04T09:03:41
Main.java
import java.util.*; public class Main { public static Long gcd(Long x,Long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static Long lcm(Long x,Long y){ return x*y/gcd(x,y)...
Main.java:13: error: incompatible types: int cannot be converted to Long if(x==0) return x+1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02833|0
u218740431|p02833|0
codenet
Compile Error
1,451
v2_s343195386
s343195386
s343195386
p02833
p02833
u249135772
u249135772
1,577,359,514
2019-12-26T11:25:14
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); long n = in.nextLong(); if (n%2 == 1) [ System.out.println(0); } else { long count = 0; for (long i=10; i<=100000000000000000L; i*=5) count += n/i; System.o...
Main.java:10: error: illegal start of expression if (n%2 == 1) [ ^ Main.java:12: error: illegal start of type } else { ^ Main.java:19: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u249135772|p02833|0
u249135772|p02833|0
codenet
Compile Error
349
v2_s713735351
s713735351
s713735351
p02833
p02833
u250545578
u250545578
1,577,678,773
2019-12-30T04:06:13
Main.java
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br= new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); double num =Integer.parseInt(str); if(num%2==1){ System.out.println(0); } else { double sum=0...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u250545578|p02833|0
u250545578|p02833|0
codenet
Compile Error
439
v2_s157259231
s157259231
s157259231
p02833
p02833
u250545578
u250545578
1,578,098,178
2020-01-04T00:36:18
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long num = sc.nextLong(); if(num%2==1){ System.out.println(0); } else { long sum=0; for (int i = 1; i <=30; i++) { sum += (long)(num/(2*Math.pow(5,i))); } System.out.println(sum); } } }
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: 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
u250545578|p02833|2
u250545578|p02833|1
codenet
Compile Error
318
v2_s653464966
s653464966
s653464966
p02833
p02833
u342700492
u342700492
1,577,069,979
2019-12-23T02:59:39
Main.java
n=int(input()) ans=0 if(n%2==1): print("0") else: n=n/2 i=1 while(n>=5**i): ans=ans+(n/(5**i)) i=i+1 print(ans)
Main.java:1: error: class, interface, enum, or record expected n=int(input()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u342700492|p02833|0
u342700492|p02833|0
codenet
Compile Error
147
v2_s780879177
s780879177
s780879177
p02833
p02833
u645581835
u645581835
1,577,072,209
2019-12-23T03:36:49
Main.java
function Main(input) { input = parseInt(input); var result = 0; while(input>0){ result += checkZero(input) input = input -2; } console.log(result) } function checkZero(multi){ var i = true; multi = multi.toString() var index=multi.toString().length-1; var result =...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. function Main(input) { ^ (use --enable-preview to enable unnamed classes) Main.java:1: error: <identifier> expected function Main(input) { ^ Main.java:5: error: ';' expected result += checkZero(input) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u645581835|p02833|0
u645581835|p02833|0
codenet
Compile Error
553
v2_s902737460
s902737460
s902737460
p02833
p02833
u645581835
u645581835
1,577,072,223
2019-12-23T03:37:03
Main.java
function Main(input) { input = parseInt(input); var result = 0; while(input>0){ result += checkZero(input) input = input -2; } console.log(result) } function checkZero(multi){ var i = true; multi = multi.toString() var index=multi.toString().length-1; var result =...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. function Main(input) { ^ (use --enable-preview to enable unnamed classes) Main.java:1: error: <identifier> expected function Main(input) { ^ Main.java:5: error: ';' expected result += checkZero(input) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u645581835|p02833|0
u645581835|p02833|0
codenet
Compile Error
553
v2_s110791934
s110791934
s110791934
p02833
p02833
u645581835
u645581835
1,577,072,278
2019-12-23T03:37:58
Main.java
function Main(input) { input = parseInt(input); var result = 0; while(input>0){ result += checkZero(input) input = input -2; } console.log(result) } function checkZero(multi){ var i = true; multi = multi.toString() var index=multi.toString().length-1; var result =...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. function Main(input) { ^ (use --enable-preview to enable unnamed classes) Main.java:1: error: <identifier> expected function Main(input) { ^ Main.java:5: error: ';' expected result += checkZero(input) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u645581835|p02833|0
u645581835|p02833|0
codenet
Compile Error
553
v2_s006125842
s006125842
s006125842
p02833
p02833
u645581835
u645581835
1,577,072,288
2019-12-23T03:38:08
Main.java
function Main(input) { input = parseInt(input); var result = 0; while(input>0){ result += checkZero(input) input = input -2; } console.log(result) } function checkZero(multi){ var i = true; multi = multi.toString() var index=multi.toString().length-1; var result =...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. function Main(input) { ^ (use --enable-preview to enable unnamed classes) Main.java:1: error: <identifier> expected function Main(input) { ^ Main.java:5: error: ';' expected result += checkZero(input) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u645581835|p02833|0
u645581835|p02833|0
codenet
Compile Error
553
v2_s474202347
s474202347
s474202347
p02833
p02833
u816631826
u816631826
1,586,557,336
2020-04-10T22:22:16
A.java
import java.util.*; public class A { public static void main(String args[]) { Scanner s=new Scanner(System.in); int n=s.nextInt(),count=0; while(n>0) { n=n%10; count++; } if(count!=0) { int p=count-1; system.out.print(p); } } }
A.java:17: error: package system does not exist system.out.print(p); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p02833|1
u816631826|p02833|1
codenet
Compile Error
228
v2_s383866808
s383866808
s383866808
p02833
p02833
u816631826
u816631826
1,586,559,385
2020-04-10T22:56:25
Main.java
import java.util.*; class GFG { // Function to return the count of // trailing 0s in the given function static int findTrailingZeros(int n) { // If n is odd if ((n & 1) == 1) return 0; // If n is even else { ...
Main.java:38: error: variable n might not have been initialized System.out.println(findTrailingZeros(n)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p02833|1
u816631826|p02833|1
codenet
Compile Error
832
v2_s711388457
s711388457
s711388457
p02833
p02833
u845434829
u845434829
1,577,178,072
2019-12-24T09:01:12
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { // TODO 自動生成されたメソッド・スタブ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String W = in.readLine(); long N = Long.parseLong(W); long a...
Main.java:28: error: class, interface, enum, or record expected import java.io.BufferedReader; ^ Main.java:29: error: class, interface, enum, or record expected import java.io.InputStreamReader; ^ Main.java:57: error: class, interface, enum, or record expected ???? ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u845434829|p02833|1
u845434829|p02833|1
codenet
Compile Error
1,102
v2_s565915080
s565915080
s565915080
p02833
p02833
u863370423
u863370423
1,586,556,372
2020-04-10T22:06:12
Main.java
import java.io.*; class double { // Function to return trailing // 0s in factorial of n static int findTrailingZeros(int n) { // Initialize result int count = 0; // Keep dividing n by powers // of 5 and update count for (int i = 5; n / i >= 1; ...
Main.java:3: error: <identifier> expected class double ^ Main.java:14: error: class, interface, enum, or record expected for (int i = 5; n / i >= 1; i *= 5) ^ Main.java:14: error: class, interface, enum, or record expected for (int i = 5; n / i >= 1; i *= 5) ^ Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p02833|0
u863370423|p02833|0
codenet
Compile Error
675
v2_s287571298
s287571298
s287571298
p02833
p02833
u863370423
u863370423
1,586,557,118
2020-04-10T22:18:38
Main.java
System.out.lang; import java.util.*; class A { public static void main(String args[]) { Scanner s=new Scanner(System.in); int s.nextInt(),count=0; while(n>0) { n=n%10; count++; } if(count!=0) { int p=count-1; system.out.print(p); } }
Main.java:1: error: class, interface, enum, or record expected System.out.lang; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:9: error: ';' expected int s.nextInt(),count=0; ^ Main.java:9: error: ';' expected int s.nextInt(),count=0; ^ Main.java:20:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p02833|0
u863370423|p02833|0
codenet
Compile Error
234
v2_s630414928
s630414928
s630414928
p02833
p02833
u863370423
u863370423
1,586,557,179
2020-04-10T22:19:39
Main.java
System.out.lang; import java.util.*; class A { public static void main(String args[]) { Scanner s=new Scanner(System.in); int n=s.nextInt(),count=0; while(n>0) { n=n%10; count++; } if(count!=0) { int p=count-1; system.out.print(p); } } }
Main.java:1: error: class, interface, enum, or record expected System.out.lang; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p02833|0
u863370423|p02833|0
codenet
Compile Error
238
v2_s350516432
s350516432
s350516432
p02833
p02833
u863370423
u863370423
1,586,559,259
2020-04-10T22:54:19
Main.java
import java.util.*; import java.util.Scanner; class GFG { // Function to return the count of // trailing 0s in the given function static int findTrailingZeros(int n) { // If n is odd if ((n & 1) == 1) return 0; // If n is even ...
Main.java:39: error: variable n is already defined in method main(String[]) Scanner n= new Scanner(System.in); ^ Main.java:42: error: incompatible types: Scanner cannot be converted to int System.out.println(findTrailingZeros(n)); ^ Note: Some mes...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p02833|0
u863370423|p02833|0
codenet
Compile Error
908
v2_s375886266
s375886266
s375886266
p02833
p02833
u866891215
u866891215
1,578,593,019
2020-01-09T18:03:39
Main.java
import java.util.*; public class Main{ public static int func(int n){ if(n*(n-1)==0){ return 1; }else if(n>=2){ func=n*func(n-2); } } public static void main(String[] args){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); System.out.println(func(5)); } }
Main.java:8: error: cannot find symbol func=n*func(n-2); ^ symbol: variable func location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u866891215|p02833|0
u866891215|p02833|0
codenet
Compile Error
306
v2_s970292698
s970292698
s970292698
p02833
p02833
u890331732
u890331732
1,588,437,114
2020-05-02T16:31:54
Main.java
#include<bits/stdc++.h> #define rep(i, n) for(int i = 0; i < (n); i++) using namespace std; typedef long long ll; ll g(ll n, ll p) { if (n == 1 || n == 0) return 0; return n / p + g(n / p, p); } ll g2(ll n, ll p) { ll res = g(n / 2, p); if (p == 2) res += n / 2; return res; } signed main() { ll n, ans; ...
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:2: error: illegal character: '#' #define rep(i, n) for(int i = 0; i < (n); i++) ^ Main.java:2: error: class, interface, enum, or record expected...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890331732|p02833|0
u890331732|p02833|0
codenet
Compile Error
429
v2_s159794700
s159794700
s159794700
p02834
p02834
u288042356
u288042356
1,577,072,353
2019-12-23T03:39:13
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.HashMap; import java.util.NoSuchElementException; public class Main { static int[][] edge; public static void main(String args[]) { FastScanner sc = new FastScanner(); PrintWriter out = new PrintWriter(System.out...
Main.java:118: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p02834|0
u288042356|p02834|0
codenet
Compile Error
2,714
v2_s036046455
s036046455
s036046455
p02834
p02834
u288042356
u288042356
1,577,072,391
2019-12-23T03:39:51
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.HashMap; import java.util.NoSuchElementException; public class Main { static int[][] edge; public static void main(String args[]) { FastScanner sc = new FastScanner(); PrintWriter out = new PrintWriter(System.out...
Main.java:40: error: missing return statement } ^ Main.java:50: error: missing return statement } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p02834|0
u288042356|p02834|0
codenet
Compile Error
2,713
v2_s281107357
s281107357
s281107357
p02835
p02835
u006883624
u006883624
1,575,857,142
2019-12-09T02:05:42
Main.java
public class Main { public static void main(String[] args) { try (var in = new BufferedReader(new InputStreamReader(System.in))) { String line = in.readLine(); String[] params = line.split(" "); int a1 = Integer.parseInt(params[0]); int a2 = Integer.parseInt(params[1]); int a3 = Integer.parseInt(params[2]); int sum ...
Main.java:4: error: cannot find symbol new BufferedReader(new InputStreamReader(System.in))) { ^ symbol: class BufferedReader location: class Main Main.java:4: error: cannot find symbol new BufferedReader(new InputStreamReader(System.in))) { ^ symbol: class InputStreamReader l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u006883624|p02835|0
u006883624|p02835|0
codenet
Compile Error
429
v2_s274929206
s274929206
s274929206
p02835
p02835
u006883624
u006883624
1,575,857,167
2019-12-09T02:06:07
Main.java
public class Main { public static void main(String[] args) { try (BufferedReader in = new BufferedReader(new InputStreamReader(System.in))) { String line = in.readLine(); String[] params = line.split(" "); int a1 = Integer.parseInt(params[0]); int a2 = Integer.parseInt(params[1]); int a3 = Integer.parseInt(params[2])...
Main.java:3: error: cannot find symbol try (BufferedReader in = ^ symbol: class BufferedReader location: class Main Main.java:4: error: cannot find symbol new BufferedReader(new InputStreamReader(System.in))) { ^ symbol: class BufferedReader location: class Main Main.java:4: error: cannot find sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u006883624|p02835|0
u006883624|p02835|0
codenet
Compile Error
440
v2_s997271578
s997271578
s997271578
p02835
p02835
u006883624
u006883624
1,575,857,298
2019-12-09T02:08:18
Main.java
import java.io.*; public class Main { public static void main(String[] args) { try (BufferedReader in = new BufferedReader(new InputStreamReader(System.in))) { String line = in.readLine(); String[] params = line.split(" "); int a1 = Integer.parseInt(params[0]); int a2 = Integer.parseInt(params[1]); int a3 = Integer....
Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown try (BufferedReader in = ^ exception thrown from implicit call to close() on resource variable 'in' Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown String lin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u006883624|p02835|0
u006883624|p02835|0
codenet
Compile Error
458
v2_s907505396
s907505396
s907505396
p02835
p02835
u010415482
u010415482
1,583,013,767
2020-02-29T22:02:47
Main.java
import java.util.*; import java.util.Collections; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); if(A + B + C >= 22){ System.out.println('bust'); }else{ System.out....
Main.java:11: error: unclosed character literal System.out.println('bust'); ^ Main.java:11: error: unclosed character literal System.out.println('bust'); ^ Main.java:11: error: not a statement System.out.println('bust'); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u010415482|p02835|0
u010415482|p02835|0
codenet
Compile Error
348
v2_s945813521
s945813521
s945813521
p02835
p02835
u016753669
u016753669
1,575,857,606
2019-12-09T02:13:26
Main.java
public static void main(String[] args) { Scanner put = new Scanner(System.in); int a = put.nextInt(); int b = put.nextInt(); int c = put.nextInt(); int sum = 0; sum = a + b+ c; if(sum < 22){ System.out.println("win"); }else { ...
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
u016753669|p02835|0
u016753669|p02835|0
codenet
Compile Error
363
v2_s607219286
s607219286
s607219286
p02835
p02835
u016753669
u016753669
1,575,857,692
2019-12-09T02:14:52
Main.java
public static void main(String[] args) { Scanner put = new Scanner(System.in); int a = put.nextInt(); int b = put.nextInt(); int c = put.nextInt(); int sum = 0; sum = a + b + c; if(sum < 22){ System.out.println("win"); } else { ...
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
u016753669|p02835|0
u016753669|p02835|0
codenet
Compile Error
374
v2_s626604168
s626604168
s626604168
p02835
p02835
u016753669
u016753669
1,575,857,796
2019-12-09T02:16:36
Main.java
public static void main(String[] args) { Scanner put = new Scanner(System.in); int a = put.nextInt(); int b = put.nextInt(); int c = put.nextInt(); int sum = 0; sum = a + b+ c; if(sum < 22){ System.out.println("'win'."); }else { ...
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
u016753669|p02835|0
u016753669|p02835|0
codenet
Compile Error
369
v2_s021781149
s021781149
s021781149
p02835
p02835
u016753669
u016753669
1,575,858,037
2019-12-09T02:20:37
Main.java
public static void main(String[] args) { Scanner put = new Scanner(System.in); Integer a = put.nextInt(); Integer b = put.nextInt(); Integer c = put.nextInt(); Integer sum = a + b + c; if(sum < 22){ System.out.println("win"); }else { Sys...
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
u016753669|p02835|0
u016753669|p02835|0
codenet
Compile Error
360
v2_s936596330
s936596330
s936596330
p02835
p02835
u016753669
u016753669
1,575,858,235
2019-12-09T02:23:55
Main.java
public static void main(String[] args) { Scanner put = new Scanner(System.in); if (put.hasNextInt()){ Integer a = put.nextInt(); Integer b = put.nextInt(); Integer c = put.nextInt(); Integer sum = a + b + c; if(sum < 22){ Syst...
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
u016753669|p02835|0
u016753669|p02835|0
codenet
Compile Error
458
v2_s992002801
s992002801
s992002801
p02835
p02835
u016753669
u016753669
1,575,858,459
2019-12-09T02:27:39
Main.java
public static void main(String[] args) { Scanner put = new Scanner(System.in); if (put.hasNextInt()){ Integer a = put.nextInt(); Integer b = put.nextInt(); Integer c = put.nextInt(); Integer sum = a + b + c; if(sum >= 22){ Sys...
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
u016753669|p02835|0
u016753669|p02835|0
codenet
Compile Error
459
v2_s581361220
s581361220
s581361220
p02835
p02835
u016753669
u016753669
1,575,858,630
2019-12-09T02:30:30
Main.java
public static void main(String[] args) { Scanner put = new Scanner(System.in); int a = put.nextInt(); int b = put.nextInt(); int c = put.nextInt(); int sum = a + b + c; if(sum >= 22){ System.out.println("bust"); ...
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
u016753669|p02835|0
u016753669|p02835|0
codenet
Compile Error
403
v2_s380961841
s380961841
s380961841
p02835
p02835
u016753669
u016753669
1,575,858,676
2019-12-09T02:31:16
Main.java
import java.util.Scanner; public static void main(String[] args) { Scanner put = new Scanner(System.in); int a = put.nextInt(); int b = put.nextInt(); int c = put.nextInt(); int sum = a + b + c; if(sum >= 22){ System.out...
Main.java:2: 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
u016753669|p02835|0
u016753669|p02835|0
codenet
Compile Error
429
v2_s329778396
s329778396
s329778396
p02835
p02835
u018679195
u018679195
1,579,512,146
2020-01-20T09:22:26
Main.java
String fun(int a,int b, int c) { if(a+b+c>=22) return "bust"; else return "win"; }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. String fun(int a,int b, int c) ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p02835|1
u018679195|p02835|1
codenet
Compile Error
82
v2_s867147780
s867147780
s867147780
p02835
p02835
u021565805
u021565805
1,575,871,114
2019-12-09T05:58:34
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A1=sc.nextInt(); int A2=sc.nextInt(); int A3=sc.nextInt(); if A1+A2+A3<=21 System.out.println("win"); if A1+A2+A3>21 System.out.println("bust"); } }
Main.java:9: error: '(' expected if A1+A2+A3<=21 ^ Main.java:9: error: ')' expected if A1+A2+A3<=21 ^ Main.java:11: error: '(' expected if A1+A2+A3>21 ^ Main.java:11: error: ')' expected if A1+A2+A3>21 ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u021565805|p02835|0
u021565805|p02835|0
codenet
Compile Error
296
v2_s159950253
s159950253
s159950253
p02835
p02835
u021565805
u021565805
1,575,871,514
2019-12-09T06:05:14
Main.java
import java.util.Scannerimport java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A=sc.nextInt(); int B=sc.nextInt(); int C=sc.nextInt(); if (A+B+C<=21) System.out.println("win"); else System.out.println("bust"); } }
Main.java:1: error: ';' expected import java.util.Scannerimport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u021565805|p02835|0
u021565805|p02835|0
codenet
Compile Error
308
v2_s636418626
s636418626
s636418626
p02835
p02835
u050594720
u050594720
1,576,571,140
2019-12-17T08:25:40
TestCase.java
import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; i...
TestCase.java:45: error: cannot find symbol sb.append((a + b + c) < 22 ? "win" : "bust"); ^ symbol: variable sb location: class TestCase TestCase.java:46: error: cannot find symbol out.println(sb); ^ symbol: variable sb location: class TestCase 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u050594720|p02835|0
u050594720|p02835|0
codenet
Compile Error
2,588
v2_s426664230
s426664230
s426664230
p02835
p02835
u050594720
u050594720
1,576,571,247
2019-12-17T08:27:27
TestCase.java
import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; i...
TestCase.java:45: error: cannot find symbol sb.append((a + b + c) < 22 ? "win" : "bust"); ^ symbol: variable sb location: class TestCase TestCase.java:46: error: cannot find symbol out.println(sb); ^ symbol: variable sb location: class TestCase 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u050594720|p02835|0
u050594720|p02835|0
codenet
Compile Error
2,588
v2_s067675087
s067675087
s067675087
p02835
p02835
u050594720
u050594720
1,576,571,419
2019-12-17T08:30:19
TestCase.java
import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; i...
TestCase.java:37: error: cannot find symbol String NString = br.nextLine(); ^ symbol: method nextLine() location: variable br of type BufferedReader TestCase.java:45: error: cannot find symbol out.println(sb); ^ symbol: variable out location: class TestCase...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u050594720|p02835|0
u050594720|p02835|0
codenet
Compile Error
1,343
v2_s797181186
s797181186
s797181186
p02835
p02835
u050594720
u050594720
1,576,571,497
2019-12-17T08:31:37
Main.java
import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; i...
Main.java:37: error: cannot find symbol String NString = br.nextLine(); ^ symbol: method nextLine() location: variable br of type BufferedReader 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u050594720|p02835|0
u050594720|p02835|0
codenet
Compile Error
1,343
v2_s801111983
s801111983
s801111983
p02835
p02835
u050594720
u050594720
1,576,571,871
2019-12-17T08:37:51
Main.java
import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; i...
Main.java:21: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class TestCase Main.java:21: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class T...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u050594720|p02835|0
u050594720|p02835|0
codenet
Compile Error
906
v2_s787147288
s787147288
s787147288
p02835
p02835
u072631296
u072631296
1,578,786,539
2020-01-11T23:48:59
Main.java
import java.util.*; import java.util.function.*; public class Main { public static void main(String[] args) { long mod = 10*9 + 7; Scanner sc = new Scanner(System.in); int N = sc.nextInt(); long[] A = new long[N]; for (int i = 0; i < N; i++) { A[i] = sc.nextLong(); } long ans = 0; ...
Main.java:22: error: illegal character: '\u3000' ?a = (a << 1) % m; //??????????? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u072631296|p02835|1
u072631296|p02835|1
codenet
Compile Error
789
v2_s353361220
s353361220
s353361220
p02835
p02835
u082302670
u082302670
1,575,857,867
2019-12-09T02:17:47
Blackjack.java
import java.util.*; public class Blackjack { public static void main() { Scanner sc = new Scanner(System.in); // 整数の入力 int A1 = sc.nextInt(); int A2 = sc.nextInt(); int A3 = sc.nextInt(); int sum = A1 + A2 + A3; if(sum<=21){ System.out.println(win); }else{ S...
Blackjack.java:12: error: cannot find symbol System.out.println(win); ^ symbol: variable win location: class Blackjack Blackjack.java:14: error: cannot find symbol System.out.println(bust); ^ symbol: variable bust location: class Blackjac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u082302670|p02835|0
u082302670|p02835|0
codenet
Compile Error
371
v2_s315337871
s315337871
s315337871
p02835
p02835
u082302670
u082302670
1,575,857,990
2019-12-09T02:19:50
Main.java
import java.util.*; public static void main() { Scanner sc = new Scanner(System.in); // 整数の入力 int A1 = sc.nextInt(); int A2 = sc.nextInt(); int A3 = sc.nextInt(); int sum = A1 + A2 + A3; if(sum<=21){ System.out.println("win"); }else{ System.out.println("bus...
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main() { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u082302670|p02835|0
u082302670|p02835|0
codenet
Compile Error
348
v2_s123083650
s123083650
s123083650
p02835
p02835
u082302670
u082302670
1,575,858,101
2019-12-09T02:21:41
Main.java
import java.util.*; public static void main() { Scanner sc = new Scanner(System.in); // 整数の入力 int A1 = sc.nextInt(); int A2 = sc.nextInt(); int A3 = sc.nextInt(); int sum = A1 + A2 + A3; if(sum<=21){ System.out.println("win"); }else{ System.out.println("bus...
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main() { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u082302670|p02835|0
u082302670|p02835|0
codenet
Compile Error
348
v2_s112415615
s112415615
s112415615
p02835
p02835
u093172826
u093172826
1,575,856,969
2019-12-09T02:02:49
Main.java
import java.util.* public static void main(String[]args){ public class Main(){ Scanner sc=new Scanner(System.in); int A1=sc.nextInt(); int A2=sc.nextInt(); int A3=sc.nextInt(); if(A1+A2+A3>=22){ System.out.println("bust"); }else{ System.out.println("win"); } } }
Main.java:1: error: ';' expected import java.util.* ^ Main.java:2: 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) Main.java:3: error: illegal start of expression public ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u093172826|p02835|0
u093172826|p02835|0
codenet
Compile Error
269
v2_s029077893
s029077893
s029077893
p02835
p02835
u093172826
u093172826
1,575,857,034
2019-12-09T02:03:54
Main.java
import java.util.*; public static void main(String[]args){ public class Main(){ Scanner sc=new Scanner(System.in); int A1=sc.nextInt(); int A2=sc.nextInt(); int A3=sc.nextInt(); if(A1+A2+A3>=22){ System.out.println("bust"); }else{ System.out.println("win"); } } }
Main.java:2: 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) Main.java:3: error: illegal start of expression public class Main(){ ^ Main.java:3: error: '{' expected public class Main(){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u093172826|p02835|0
u093172826|p02835|0
codenet
Compile Error
270
v2_s855550855
s855550855
s855550855
p02835
p02835
u140520333
u140520333
1,576,336,415
2019-12-14T15:13:35
Main.java
import java.util.Scanner; public static void main(String[] args) { Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); // 文字列の入力 if (a+b+c >= 22) { System.out.println("bust"); } else { System.out.println("win"); } }
Main.java:3: 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
u140520333|p02835|0
u140520333|p02835|0
codenet
Compile Error
324
v2_s634796573
s634796573
s634796573
p02835
p02835
u141465029
u141465029
1,576,881,948
2019-12-20T22:45:48
Main.java
class practice1{ static void main(){ int x,y,z,v; if(x==0||x>=14){ return; } if(1<=x<=13){ v=x+y+z; if(v<=21){ System.out.print("win") } else{ System.out.print("bust") } } } }
Main.java:10: error: ';' expected System.out.print("win") ^ Main.java:13: error: ';' expected System.out.print("bust") ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u141465029|p02835|0
u141465029|p02835|0
codenet
Compile Error
242
v2_s598879340
s598879340
s598879340
p02835
p02835
u172042531
u172042531
1,575,857,969
2019-12-09T02:19:29
Main.java
import java.util.Scanner; import java.uitl.io; class BlackJack { public static void main(String args[]) { int i,j,k; Scanner sc = new Scanner(System.in); i = sc.nextInt(); j = sc.nextInt(); k = sc.nextInt(); i = i+j; i = i+k; if(i>=22) { System.out.print("bust"); } else { System.out.prin...
Main.java:2: error: package java.uitl does not exist import java.uitl.io; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u172042531|p02835|0
u172042531|p02835|0
codenet
Compile Error
335
v2_s063471426
s063471426
s063471426
p02835
p02835
u188396343
u188396343
1,576,079,000
2019-12-11T15:43:20
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int total = a+b+c; if(total>=22){ System.out.println(bust); }else{ System.out.println(win); } } }
Main.java:10: error: cannot find symbol System.out.println(bust); ^ symbol: variable bust location: class Main Main.java:12: error: cannot find symbol System.out.println(win); ^ symbol: variable win location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u188396343|p02835|0
u188396343|p02835|0
codenet
Compile Error
306
v2_s746454036
s746454036
s746454036
p02835
p02835
u200228637
u200228637
1,575,859,823
2019-12-09T02:50:23
Blackjack.java
public class Blackjack { public static void main(String arg[]){ int A1=x; int A2=y; int A3=z; System.out.println("win"); if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z=>22) System.out.println("bust"); if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z<=21) } }
Blackjack.java:9: error: illegal start of expression if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z=>22) ^ Blackjack.java:9: error: illegal start of expression if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z=>22) ^ Blackjack.java:9: error: illegal start of expression if (13=>x...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u200228637|p02835|0
u200228637|p02835|0
codenet
Compile Error
311
v2_s374937545
s374937545
s374937545
p02835
p02835
u200228637
u200228637
1,575,860,051
2019-12-09T02:54:11
Blackjack.java
public class Blackjack { public static void main(String arg[]){ int A1=x; int A2=y; int A3=z; System.out.println("win"); if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22) System.out.println("bust"); if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z<=21) } }
Blackjack.java:9: error: illegal start of expression if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22) ^ Blackjack.java:9: error: ')' expected if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22) ^ Blackjack.java:9: error: not a statement if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u200228637|p02835|0
u200228637|p02835|0
codenet
Compile Error
299
v2_s766576615
s766576615
s766576615
p02835
p02835
u200228637
u200228637
1,575,860,227
2019-12-09T02:57:07
Blackjack.java
public class Blackjack { public static void main(String arg[]){ int A1(13=>A1>=1); int A2=(13=>A2>=1); int A3=(13=>A3>=1); System.out.println("win"); if (A1+A2+A3=>22) System.out.println("bust"); if (A1+A2+A3<=21) } }
Blackjack.java:4: error: ';' expected int A1(13=>A1>=1); ^ Blackjack.java:4: error: not a statement int A1(13=>A1>=1); ^ Blackjack.java:4: error: ';' expected int A1(13=>A1>=1); ^ Blackjack.java:5: error: illegal start of expression int A2=(13=>A2>=1); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u200228637|p02835|0
u200228637|p02835|0
codenet
Compile Error
274
v2_s670083397
s670083397
s670083397
p02835
p02835
u200228637
u200228637
1,575,860,275
2019-12-09T02:57:55
Blackjack.java
public class Blackjack { public static void main(String arg[]){ int A1(13=>A1>=1); int A2=(13=>A2>=1); int A3=(13=>A3>=1); System.out.println("win"); if (A1+A2+A3=>22) System.out.println("bust"); if (A1+A2+A3<=21) } } public class Blackjack { public static v...
Blackjack.java:4: error: ';' expected int A1(13=>A1>=1); ^ Blackjack.java:4: error: not a statement int A1(13=>A1>=1); ^ Blackjack.java:4: error: ';' expected int A1(13=>A1>=1); ^ Blackjack.java:5: error: illegal start of expression int A2=(13=>A2>=1); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u200228637|p02835|0
u200228637|p02835|0
codenet
Compile Error
548
v2_s282000963
s282000963
s282000963
p02835
p02835
u200228637
u200228637
1,575,860,308
2019-12-09T02:58:28
Blackjack.java
public class Blackjack { public static void main(String arg[]){ int A1(13=>A1>=1); int A2=(13=>A2>=1); int A3=(13=>A3>=1); System.out.println("win"); if (A1+A2+A3=>22) System.out.println("bust"); if (A1+A2+A3<=21) } }
Blackjack.java:4: error: ';' expected int A1(13=>A1>=1); ^ Blackjack.java:4: error: not a statement int A1(13=>A1>=1); ^ Blackjack.java:4: error: ';' expected int A1(13=>A1>=1); ^ Blackjack.java:5: error: illegal start of expression int A2=(13=>A2>=1); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u200228637|p02835|0
u200228637|p02835|0
codenet
Compile Error
274
v2_s775921761
s775921761
s775921761
p02835
p02835
u200228637
u200228637
1,575,860,452
2019-12-09T03:00:52
Blackjack.java
public class Blackjack { public static void main(String arg[]){ int A1(13=>A1>=1); int A2(13=>A2>=1); int A3(13=>A3>=1); System.out.println("win"); IfTesting (A1+A2+A3=>22) System.out.println("bust"); Iftesting (A1+A2+A3<=21) } }
Blackjack.java:4: error: ';' expected int A1(13=>A1>=1); ^ Blackjack.java:4: error: not a statement int A1(13=>A1>=1); ^ Blackjack.java:4: error: ';' expected int A1(13=>A1>=1); ^ Blackjack.java:5: error: ';' expected int A2(13=>A2>=1); ^ Blackjac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u200228637|p02835|0
u200228637|p02835|0
codenet
Compile Error
286
v2_s012604556
s012604556
s012604556
p02835
p02835
u207799478
u207799478
1,580,604,308
2020-02-02T00:45:08
Main.java
public class Main { public static void main(String[] args) { // practice contest Scanner sc = new Scanner(System.in); int a1 = sc.nextInt(); int a2 = sc.nextInt(); int a3 = sc.nextInt(); int add = a1 + a2 + a3; if (add >= 22) { System.out.println("bust"); } else { System.out.println("win"); ...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: 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
u207799478|p02835|0
u207799478|p02835|0
codenet
Compile Error
327
v2_s187484231
s187484231
s187484231
p02835
p02835
u207799478
u207799478
1,580,604,391
2020-02-02T00:46:31
Main.java
class Main { public static void main(String[] args) { // practice contest Scanner sc = new Scanner(System.in); int a1 = sc.nextInt(); int a2 = sc.nextInt(); int a3 = sc.nextInt(); int add = a1 + a2 + a3; if (add >= 22) { System.out.println("bust"); } else { System.out.println("win"); } } }
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: 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
u207799478|p02835|0
u207799478|p02835|0
codenet
Compile Error
320
v2_s626627119
s626627119
s626627119
p02835
p02835
u207799478
u207799478
1,580,605,749
2020-02-02T01:09:09
Main.java
rt java.util.Scanner; public class Main { public static void main(String[] args) { // practice contest Scanner sc = new Scanner(System.in); int a1 = sc.nextInt(); int a2 = sc.nextInt(); int a3 = sc.nextInt(); int add = a1 + a2 + a3; if (add >= 22) { System.out.println("bust"); } else { System...
Main.java:1: error: class, interface, enum, or record expected rt java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207799478|p02835|0
u207799478|p02835|0
codenet
Compile Error
350
v2_s167341253
s167341253
s167341253
p02835
p02835
u213314609
u213314609
1,575,856,993
2019-12-09T02:03:13
Main.java
Scanner in = new Scanner(system.in); int a1 = in.nextInt(); int a2 = in.nextInt(); int a3 = in.nextInt(); int total = a1 + a2 + a3; if (total >= 22) System.out.println("bust"); else System.out.println("win);
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner in = new Scanner(system.in); ^ (use --enable-preview to enable unnamed classes) Main.java:8: error: class, interface, enum, or record expected if (total >= 22) ^ Main.java:10: error: class, interface, enum, or record expect...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u213314609|p02835|0
u213314609|p02835|0
codenet
Compile Error
213
v2_s405042082
s405042082
s405042082
p02835
p02835
u213314609
u213314609
1,575,857,542
2019-12-09T02:12:22
test.java
import java.util.*; public class test{ public void main (String args[]){ Scanner i = new Scanner(system.in); int a1 = i.nextInt(); int a2 = i.nextInt(); int a3 = i.nextInt(); int total = a1 + a2 + a3; if ( total >= 22 ) System.out.println("bust"); else Sy...
test.java:5: error: cannot find symbol Scanner i = new Scanner(system.in); ^ symbol: variable system location: class test 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u213314609|p02835|0
u213314609|p02835|0
codenet
Compile Error
362
v2_s056420028
s056420028
s056420028
p02835
p02835
u223019891
u223019891
1,575,858,023
2019-12-09T02:20:23
Main.java
void func(int a,int b,int c){ if (a+b+c>=22){ return "bust" } else { return "win" } }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. void func(int a,int b,int c){ ^ (use --enable-preview to enable unnamed classes) Main.java:3: error: ';' expected return "bust" ^ Main.java:6: error: ';' expected return "win" ^ 3 er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u223019891|p02835|0
u223019891|p02835|0
codenet
Compile Error
109
v2_s816310877
s816310877
s816310877
p02835
p02835
u236608420
u236608420
1,576,517,686
2019-12-16T17:34:46
Main.java
class Main { public static void main(String[] args) { A1=5 A2=7 A3=9 A=A1+A2+A3 if(A>21){ System.out.println("bust"); }else{ System.out,println("win"); } } }
Main.java:3: error: ';' expected A1=5 ^ Main.java:4: error: ';' expected A2=7 ^ Main.java:5: error: ';' expected A3=9 ^ Main.java:6: error: ';' expected A=A1+A2+A3 ^ Main.java:10: error: not a statement System.out,println("win"); ^ Main.java:10: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u236608420|p02835|0
u236608420|p02835|0
codenet
Compile Error
208
v2_s613189023
s613189023
s613189023
p02835
p02835
u236608420
u236608420
1,576,518,048
2019-12-16T17:40:48
Main.java
class Main { public static void main(String[] args) { int A1=5; int A2=7; int A3=9; A=A1+A2+A3 if(A>21){ System.out.println("bust"); }else{ System.out,println("win"); } } }
Main.java:6: error: ';' expected A=A1+A2+A3 ^ Main.java:10: error: not a statement System.out,println("win"); ^ Main.java:10: error: ';' expected System.out,println("win"); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u236608420|p02835|0
u236608420|p02835|0
codenet
Compile Error
223
v2_s947390022
s947390022
s947390022
p02835
p02835
u236608420
u236608420
1,576,518,755
2019-12-16T17:52:35
Main.java
class Main { public static void main(String[] args) { int A1=5; int A2=7; int A3=9; A=A1+A2+A3; if(A>21){ System.out.println("bust"); }else{ System.out.println("win"); } } }
Main.java:6: error: cannot find symbol A=A1+A2+A3; ^ symbol: variable A location: class Main Main.java:7: error: cannot find symbol if(A>21){ ^ symbol: variable A location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u236608420|p02835|0
u236608420|p02835|0
codenet
Compile Error
224
v2_s004876704
s004876704
s004876704
p02835
p02835
u243078991
u243078991
1,575,857,211
2019-12-09T02:06:51
Main.java
import java.util.*; public exercise{ public static void main(String[] args){ int A1,A2,A3; System.out.println("Enter the value of A1: "); System.out.println("Enter the value of A2: "); System.out.println("Enter the value of A3: "); if(A1+A2+A3==22){ System.out.println("bust"); ...
Main.java:2: error: class, interface, enum, or record expected public exercise{ ^ Main.java:3: 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) Main.java:17: error: class, int...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u243078991|p02835|0
u243078991|p02835|0
codenet
Compile Error
390