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_s588439322
s588439322
s588439322
p02546
p02546
u969694724
u969694724
1,600,548,222
2020-09-19T20:43:42
Main.java
import java.util.io; import java.util.Scanner; import java.lang.String; public class Main{ public static void main(str [] args){ Scanner sc= new Scanner(System.in); String str= sc.next(); if(str.endsWith('s')) { str=str+'es'; } else { str=str+'s'; } System.out.println(str); ...
Main.java:10: error: unclosed character literal str=str+'es'; ^ Main.java:10: error: unclosed character literal str=str+'es'; ^ Main.java:10: error: not a statement str=str+'es'; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969694724|p02546|0
u969694724|p02546|0
codenet
Compile Error
327
v2_s744125253
s744125253
s744125253
p02546
p02546
u969694724
u969694724
1,600,548,336
2020-09-19T20:45:36
Main.java
import java.util.io; import java.util.Scanner; import java.lang.String; public class Main{ public static void main(str [] args){ Scanner sc= new Scanner(System.in); String str= sc.next(); if(str.endsWith('s')) { str=str+"es"; } else { str=str+'s'; } System.out.println(str); ...
Main.java:1: error: cannot find symbol import java.util.io; ^ symbol: class io location: package java.util Main.java:5: error: cannot find symbol public static void main(str [] args){ ^ symbol: class str location: class Main Main.java:8: error: incompatible types: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969694724|p02546|0
u969694724|p02546|0
codenet
Compile Error
327
v2_s823313065
s823313065
s823313065
p02546
p02546
u969694724
u969694724
1,600,548,443
2020-09-19T20:47:23
Main.java
import java.util.*; import java.util.Scanner; import java.lang.String; public class Main{ public static void main(Str [] args){ Scanner sc= new Scanner(System.in); String str1= sc.next(); if(str1.endsWith('s')) { str1=str1+'es'; } else { str1=str1+'s'; } System.out.println(s...
Main.java:10: error: unclosed character literal str1=str1+'es'; ^ Main.java:10: error: unclosed character literal str1=str1+'es'; ^ Main.java:10: error: not a statement str1=str1+'es'; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969694724|p02546|0
u969694724|p02546|0
codenet
Compile Error
333
v2_s971234096
s971234096
s971234096
p02546
p02546
u969694724
u969694724
1,600,548,502
2020-09-19T20:48:22
Main.java
import java.util.*; import java.util.Scanner; import java.lang.String; public class Main{ public static void main(Str [] args){ Scanner sc= new Scanner(System.in); String str1= sc.next(); if(str1.endsWith('s')) { str1=str1+"es"; } else { str1=str1+'s'; } System.out.println(s...
Main.java:5: error: cannot find symbol public static void main(Str [] args){ ^ symbol: class Str location: class Main Main.java:8: error: incompatible types: char cannot be converted to String if(str1.endsWith('s')) ^ Note: Some messages have been simplified; rec...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969694724|p02546|0
u969694724|p02546|0
codenet
Compile Error
333
v2_s665201574
s665201574
s665201574
p02546
p02546
u969694724
u969694724
1,600,548,611
2020-09-19T20:50:11
Main.java
import java.util.*; import java.util.Scanner; import java.lang.String; public class Main{ public static void main(Str [] args){ Scanner sc= new Scanner(System.in); String str1= sc.next(); if(str1.endsWith("s")) { str1=str1+"es"; } else { str1=str1+"s"; } System.out.println(s...
Main.java:5: error: cannot find symbol public static void main(Str [] args){ ^ symbol: class Str location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969694724|p02546|0
u969694724|p02546|0
codenet
Compile Error
333
v2_s728791518
s728791518
s728791518
p02546
p02546
u969694724
u969694724
1,600,548,701
2020-09-19T20:51:41
Main.java
import java.util.*; import java.util.Scanner; import java.lang.String; public class Main{ public static void main(Str [] args){ Scanner sc= new Scanner(System.in); String str1= sc.next(); if(str1.endsWith("s")) { str1=str1+"es"; } else { str1=str1+"s"; } System.out.println(s...
Main.java:19: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:20: error: class, interface, enum, or record expected import java.util.Scanner; ^ Main.java:21: error: class, interface, enum, or record expected import java.lang.String; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969694724|p02546|0
u969694724|p02546|0
codenet
Compile Error
670
v2_s685210176
s685210176
s685210176
p02546
p02546
u969694724
u969694724
1,600,548,808
2020-09-19T20:53:28
Main.java
//import java.util.*; //import java.util.Scanner; //import java.lang.String; public class Main{ public static void main(Str [] args){ Scanner sc= new Scanner(System.in); String str1= sc.next(); if(str1.endsWith("s")) { str1=str1+"es"; } else { str1=str1+"s"; } System.out.pri...
Main.java:5: error: cannot find symbol public static void main(Str [] args){ ^ symbol: class Str location: class Main Main.java:6: error: cannot find symbol Scanner sc= new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symb...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969694724|p02546|0
u969694724|p02546|0
codenet
Compile Error
340
v2_s927198124
s927198124
s927198124
p02547
p02547
u047251903
u047251903
1,600,544,796
2020-09-19T19:46:36
Main.java
import java.lang.String.*; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); for(int i=0;i<n;i++) { int[] d1; d1[i]=sc.nextInt(); int[] d2; d2[i]=sc.nextInt(); } for(int i=0;i<n-2;i++) { if(d1[i]==...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u047251903|p02547|0
u047251903|p02547|0
codenet
Compile Error
450
v2_s438333908
s438333908
s438333908
p02547
p02547
u047251903
u047251903
1,600,544,896
2020-09-19T19:48:16
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(); for(int i=0;i<n;i++) { int[] d1; d1[i]=sc.nextInt(); int[] d2; d2[i]=sc.nextInt(); } for(int i=0;i<n-2;i++) { if(d1[i]==d2[i]&& d1[i+1]==d2[i+1]&&d...
Main.java:15: error: cannot find symbol if(d1[i]==d2[i]&& d1[i+1]==d2[i+1]&&d1[i+2]==d2[i+2]) { ^ symbol: variable d1 location: class Main Main.java:15: error: cannot find symbol if(d1[i]==d2[i]&& d1[i+1]==d2[i+1]&&d1[i+2]==d2[i+2]) { ^ symbol: variable d2 location: class Main M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u047251903|p02547|0
u047251903|p02547|0
codenet
Compile Error
449
v2_s095629386
s095629386
s095629386
p02547
p02547
u161376245
u161376245
1,600,542,880
2020-09-19T19:14:40
Main.java
6 1 1 2 2 3 3 4 4 5 5 6 6
Main.java:1: error: class, interface, enum, or record expected 6 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u161376245|p02547|0
u161376245|p02547|0
codenet
Compile Error
25
v2_s319767500
s319767500
s319767500
p02547
p02547
u311115658
u311115658
1,600,545,410
2020-09-19T19:56:50
Main.java
import java.util.Scanner; import java.lang.*; public class Main { public static void main( String args[] ) { // create Scanner to obtain input from command window Scanner input = new Scanner(System.in); int n; n = input.nextInt(); int flag=0; ...
Main.java:32: error: ';' expected System.out.println("Yes") ^ Main.java:35: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u311115658|p02547|0
u311115658|p02547|0
codenet
Compile Error
868
v2_s206729819
s206729819
s206729819
p02547
p02547
u330907398
u330907398
1,600,544,472
2020-09-19T19:41:12
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 counts = 0; for (int i = 0; i < N; i++) { int a = sc.nextInt(); int b = sc.nextInt(); if (a == b) { counts += 1; if (counts...
Main.java:14: error: <identifier> expected final counts = 3; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330907398|p02547|0
u330907398|p02547|0
codenet
Compile Error
529
v2_s633040625
s633040625
s633040625
p02547
p02547
u330907398
u330907398
1,600,544,540
2020-09-19T19:42:20
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 counts = 0; for (int i = 0; i < N; i++) { int a = sc.nextInt(); int b = sc.nextInt(); if (a == b) { counts += 1; if (counts...
Main.java:14: error: variable counts is already defined in method main(String[]) final int counts = 3; ^ Main.java:20: error: cannot find symbol if (count == 3) { ^ symbol: variable count location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330907398|p02547|0
u330907398|p02547|0
codenet
Compile Error
533
v2_s584646056
s584646056
s584646056
p02547
p02547
u330907398
u330907398
1,600,544,628
2020-09-19T19:43:48
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 counts = 0; for (int i = 0; i < N; i++) { int a = sc.nextInt(); int b = sc.nextInt(); if (a == b) { counts += 1; } else { ...
Main.java:17: error: cannot find symbol if (count == 3) { ^ symbol: variable count location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330907398|p02547|0
u330907398|p02547|0
codenet
Compile Error
464
v2_s453555038
s453555038
s453555038
p02547
p02547
u330907398
u330907398
1,600,545,530
2020-09-19T19:58:50
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 counts = 0; for (int i = 0; i < N; i++) { int a = sc.nextInt(); int b = sc.nextInt(); if (a == b) { counts += 1; if (counts...
Main.java:15: error: ';' expected break: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330907398|p02547|0
u330907398|p02547|0
codenet
Compile Error
480
v2_s593693051
s593693051
s593693051
p02547
p02547
u510476678
u510476678
1,600,543,996
2020-09-19T19:33:16
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int attempt = in.nextInt(); int[][] diceArr = new int[attempt][2]; for (int i = 0; i < attempt; i++) { diceArr[i][0] = in.nextInt(...
Main.java:15: error: ')' expected if (diceArr[i+1][0] == diceArr[i+1][1] and diceArr[i][0] == diceArr[i][1]) { ^ Main.java:15: error: ']' expected if (diceArr[i+1][0] == diceArr[i+1][1] and diceArr[i][0] == diceArr[i][1]) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u510476678|p02547|0
u510476678|p02547|0
codenet
Compile Error
790
v2_s206789943
s206789943
s206789943
p02547
p02547
u516938084
u516938084
1,600,561,295
2020-09-20T00:21:35
Main.java
class wublaba { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] arr = new int[n]; int[] ar = new int[n]; for(int i=0;i<n;i++) { arr[i] = sc.nextInt(); ar[i] = sc.nextInt(); }...
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class wublaba Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class wublaba 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516938084|p02547|0
u516938084|p02547|0
codenet
Compile Error
923
v2_s232649515
s232649515
s232649515
p02547
p02547
u517890644
u517890644
1,600,690,187
2020-09-21T12:09:47
Main.java
public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; StringBuilder sb = new StringBuilder(""); int n = Integer.parseInt(br.readLine()); int res = 0; boolean found = false;...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) throws IOException { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u517890644|p02547|0
u517890644|p02547|0
codenet
Compile Error
782
v2_s069640533
s069640533
s069640533
p02547
p02547
u517890644
u517890644
1,600,691,020
2020-09-21T12:23:40
Main.java
import java.io.*; import java.math.BigDecimal; import java.math.BigInteger; import java.text.ParseException; import java.util.*; public class Main { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static StringTokenizer st; static StringBuilder sb = new StringBuilder("");...
Main.java:24: error: illegal start of expression public static void main(String[] args) throws IOException { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u517890644|p02547|0
u517890644|p02547|0
codenet
Compile Error
3,139
v2_s562448773
s562448773
s562448773
p02547
p02547
u692939738
u692939738
1,600,542,992
2020-09-19T19:16:32
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int t = sc.nextInt(); int count=0; int[] a = new int[2]; int[] b = new int[2]; for(int i=1;i<t;i++){ a[i] = sc.nextInt(); ...
Main.java:19: error: cannot find symbol System.ot.print("Yes"); ^ symbol: variable ot location: class System Main.java:21: error: cannot find symbol System.ot.println("No"); ^ symbol: variable ot location: class System 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u692939738|p02547|0
u692939738|p02547|0
codenet
Compile Error
557
v2_s791181893
s791181893
s791181893
p02547
p02547
u692939738
u692939738
1,600,546,174
2020-09-19T20:09:34
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int t = sc.nextInt(); int count=0; int[] a = new int[t]; int[] b = new int[t]; for(int i=0;i<t;i++){ a[i] = sc.nextInt(); ...
Main.java:15: error: cannot find symbol for(int j=i;j<i+3;j++){ ^ symbol: variable i location: class Main Main.java:15: error: cannot find symbol for(int j=i;j<i+3;j++){ ^ symbol: variable i location: class Main Main.java:16: error: can...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u692939738|p02547|0
u692939738|p02547|0
codenet
Compile Error
664
v2_s138531627
s138531627
s138531627
p02547
p02547
u692939738
u692939738
1,600,546,244
2020-09-19T20:10:44
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int t = sc.nextInt(); int count=0; int[] a = new int[t]; int[] b = new int[t]; for(int i=0;i<t;i++){ a[i] = sc.nextInt(); ...
Main.java:15: error: cannot find symbol for(int j=i;j<i+3;j++){ ^ symbol: variable i location: class Main Main.java:15: error: cannot find symbol for(int j=i;j<i+3;j++){ ^ symbol: variable i location: class Main Main.java:16: error: can...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u692939738|p02547|0
u692939738|p02547|0
codenet
Compile Error
664
v2_s702815091
s702815091
s702815091
p02547
p02547
u751338626
u751338626
1,600,550,308
2020-09-19T21:18:28
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 count = 0; for(int i = 0; i < N; i++){ int a = sc.nextInt(); int b = sc.nextInt(); if(...
Main.java:14: error: cannot find symbol if(cout >= 3){ ^ symbol: variable cout location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u751338626|p02547|0
u751338626|p02547|0
codenet
Compile Error
595
v2_s214518229
s214518229
s214518229
p02547
p02547
u814216470
u814216470
1,600,544,668
2020-09-19T19:44:28
Main.java
import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public final class Main { public static void main(String[] args) { final FastScanner fs = new FastScanner(); final int time = fs.nextInt(); int sameTime = 0; for (int i = 0; i < time; i++) { int a = fs.nextInt...
Main.java:31: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class FastScanner Main.java:31: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814216470|p02547|0
u814216470|p02547|0
codenet
Compile Error
1,452
v2_s638022588
s638022588
s638022588
p02547
p02547
u887501168
u887501168
1,600,557,987
2020-09-19T23:26:27
Main.java
import java.io.*; public class Main{ public static void main(String args[]) { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int n=Integer.parseInt(br.readLine()); int i,c=0,flag=0; String s; for(i=0;i<n;i++) { s=br.readLine(); if(s.charAt[0]==s.charAt[2])...
Main.java:12: error: cannot find symbol if(s.charAt[0]==s.charAt[2]) ^ symbol: variable charAt location: variable s of type String Main.java:12: error: cannot find symbol if(s.charAt[0]==s.charAt[2]) ^ symbol: variable charAt location: variable s of type String 2...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u887501168|p02547|0
u887501168|p02547|0
codenet
Compile Error
490
v2_s003335942
s003335942
s003335942
p02547
p02547
u887501168
u887501168
1,600,558,193
2020-09-19T23:29:53
Main.java
import java.io.*; public class Main{ public static void main(String args[])throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int n=Integer.parseInt(br.readLine()); int i,c=0,flag=0; String s; for(i=0;i<n;i++) { s=br.readLine(); if(s.charA...
Main.java:12: error: cannot find symbol if(s.charAt[0]==s.charAt[2]) ^ symbol: variable charAt location: variable s of type String Main.java:12: error: cannot find symbol if(s.charAt[0]==s.charAt[2]) ^ symbol: variable charAt location: variable s of type String 2...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u887501168|p02547|0
u887501168|p02547|0
codenet
Compile Error
508
v2_s120879190
s120879190
s120879190
p02547
p02547
u947662393
u947662393
1,600,543,793
2020-09-19T19:29:53
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner s=new Scanner(System.in); int n=s.nextInt(); int arr[][]=new int[n][n]; for(int i=0;i<n;i++){ for(int j=0;j<2;j++){ arr[i][j]=s.nextInt(); } } int flag=0; for(int i=0;i<=n-3;i++){ ...
Main.java:24: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947662393|p02547|0
u947662393|p02547|0
codenet
Compile Error
530
v2_s335479993
s335479993
s335479993
p02547
p02547
u954337339
u954337339
1,600,545,267
2020-09-19T19:54:27
Main.java
import java.util.*; public class Main{ public static void main(String[] args)throws Exception{ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); for(N=3;N<=100;N++){ Random rand=new Random(); int DN1=rand.nextInt(7)+1; int DN2=rand.nextInt(7)+1; import java.util.*; public clas...
Main.java:10: error: illegal start of expression import java.util.*; ^ Main.java:10: error: <identifier> expected import java.util.*; ^ Main.java:10: error: illegal start of expression import java.util.*; ^ Main.java:11: error: illegal start of expr...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954337339|p02547|0
u954337339|p02547|0
codenet
Compile Error
683
v2_s529783195
s529783195
s529783195
p02547
p02547
u954337339
u954337339
1,600,545,319
2020-09-19T19:55:19
Main.java
import java.util.*; public class Main{ public static void main(String[] args)throws Exception{ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); for(N=3;N<=100;N++){ Random rand=new Random(); int a,b,c,d,e,f=rand.nextInt(7)+1; if((a==b)&&(c==d)&&(e==f)){ System.out.println("...
Main.java:9: error: variable a might not have been initialized if((a==b)&&(c==d)&&(e==f)){ ^ Main.java:9: error: variable b might not have been initialized if((a==b)&&(c==d)&&(e==f)){ ^ Main.java:9: error: variable c might not have been initialized if((a==b)&&(c==d)&&(e==f)){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954337339|p02547|0
u954337339|p02547|0
codenet
Compile Error
394
v2_s546254535
s546254535
s546254535
p02547
p02547
u966889023
u966889023
1,600,542,620
2020-09-19T19:10:20
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] x = new int[N]; int[] y = new int[N]; int maxc = 0; int c = 0; for(int i = 0; i < N; i++) { x[i] = sc.nextInt(); y[i] = sc.nextInt(); ...
Main.java:21: error: cannot find symbol maxx = c; ^ symbol: variable maxx location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u966889023|p02547|0
u966889023|p02547|0
codenet
Compile Error
495
v2_s344645982
s344645982
s344645982
p02548
p02548
u034090196
u034090196
1,600,600,829
2020-09-20T11:20:29
Main3.java
import java.util.Scanner; public class Main3 { void run(String[] args){ Scanner scan=new Scanner(System.in); long answer=scan.nextInt(); Integer i; Integer j; Integer z; Integer sum; long count=0; for(i=1;i<=answer;i++){ for(j=1;j<(answer-...
Main3.java:14: error: variable sum might not have been initialized for(z=1;z<=answer-sum;z++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u034090196|p02548|0
u034090196|p02548|0
codenet
Compile Error
710
v2_s860200699
s860200699
s860200699
p02548
p02548
u034090196
u034090196
1,600,600,858
2020-09-20T11:20:58
Main.java
import java.util.Scanner; public class Main { void run(String[] args){ Scanner scan=new Scanner(System.in); long answer=scan.nextInt(); Integer i; Integer j; Integer z; Integer sum; long count=0; for(i=1;i<=answer;i++){ for(j=1;j<(answer-1...
Main.java:14: error: variable sum might not have been initialized for(z=1;z<=answer-sum;z++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u034090196|p02548|0
u034090196|p02548|0
codenet
Compile Error
707
v2_s692784822
s692784822
s692784822
p02548
p02548
u099692770
u099692770
1,600,548,217
2020-09-19T20:43:37
Main.java
import java.io.*; import java.math.BigDecimal; import java.math.BigInteger; import java.util.*; public class Main { static final int INF = (int) (1e9 + 10); static final int MOD = (int) (1e9 + 7); // static final int N = (int) (4e5 + 5); // static ArrayList<Integer>[] graph; // static boolean visited[]; // st...
Main.java:22: error: variable c is already defined in method main(String[]) for(int c = 1 ; c < n ; c++){ ^ Main.java:180: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal return new Integer(entry1[col]).compareTo(entry2[col]); ^ 1 error 1 warn...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u099692770|p02548|0
u099692770|p02548|0
codenet
Compile Error
6,936
v2_s080388121
s080388121
s080388121
p02548
p02548
u105921924
u105921924
1,600,543,229
2020-09-19T19:20:29
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long n = sc .nextLong(); long max = n - 1L; long result = 0; for (long i = 1L; i < n; i++) { long tempMax = max / i; result = result + tempMax; } ...
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
u105921924|p02548|0
u105921924|p02548|0
codenet
Compile Error
366
v2_s833590894
s833590894
s833590894
p02548
p02548
u396971617
u396971617
1,600,551,357
2020-09-19T21:35:57
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); int n = Integer.parseInt(line); long count = 0; for (int c = 1; c < n; c++) { int ab = (n - c); f...
Main.java:14: error: cannot find symbol for (int i = 1; i < rootab; i++) { ^ symbol: variable rootab location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u396971617|p02548|1
u396971617|p02548|0
codenet
Compile Error
513
v2_s737579733
s737579733
s737579733
p02548
p02548
u510476678
u510476678
1,600,545,163
2020-09-19T19:52:43
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int ans = 0; for (int a = 0; a < n; a++) { for (int b = 0; b < n; b++) { for (int c = 0; c < n; c++) { if ...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u510476678|p02548|0
u510476678|p02548|0
codenet
Compile Error
480
v2_s297356154
s297356154
s297356154
p02548
p02548
u510476678
u510476678
1,600,546,580
2020-09-19T20:16:20
Main.java
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.util.*; public class Main { public static void main(String[] args) { InputStream inputStream = System.in; ...
Main.java:13: error: cannot find symbol in = new InputReader(inputStream); ^ symbol: variable in location: class Main Main.java:15: error: cannot find symbol out = new PrintWriter(outputStream); ^ symbol: variable out location: class Main Main.java:17: error: cannot find symb...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u510476678|p02548|0
u510476678|p02548|0
codenet
Compile Error
1,499
v2_s803130423
s803130423
s803130423
p02548
p02548
u614496636
u614496636
1,600,636,057
2020-09-20T21:07:37
Main.java
n = int(input()) ans = 0 for a in range(1, n): ans += (n - 1) // a 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
u614496636|p02548|0
u614496636|p02548|0
codenet
Compile Error
99
v2_s524455126
s524455126
s524455126
p02548
p02548
u672107334
u672107334
1,600,543,043
2020-09-19T19:17:23
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.io.BufferedWriter; import java.io.Writer; import java.io.OutputStreamWriter; import java.util.HashMap; import java.util.InputMismatchException; import java.io.IOExcep...
Main.java:39: error: incompatible types: int[] cannot be converted to int static int spf = new int[MAXN]; ^ Main.java:42: error: array required, but int found spf[1] = 1; ^ Main.java:45: error: array required, but int found spf[i] = 2; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u672107334|p02548|0
u672107334|p02548|0
codenet
Compile Error
5,046
v2_s991752882
s991752882
s991752882
p02548
p02548
u825262731
u825262731
1,600,547,408
2020-09-19T20:30:08
Main.java
import java.io.*; import java.util.*; // JAVA program to count distinct // divisors of a given number n import java.io.*; class Main { static void SieveOfEratosthenes(int n, boolean prime[],int a[]) { for (int i = 2; i <= n; i++) prime[i] = true; prime[1] = false; for (int p = 2; p * p <=...
Main.java:57: error: ';' expected ans = ans * 2 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825262731|p02548|0
u825262731|p02548|0
codenet
Compile Error
1,541
v2_s749081081
s749081081
s749081081
p02548
p02548
u951706666
u951706666
1,600,542,922
2020-09-19T19:15:22
Main.java
"C:\Program Files\JetBrains\openjdk-11.0.7_10\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.1\lib\idea_rt.jar=53795:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.1\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\temari\IdeaProjects\Atcoder\ABC179\C\out\produc...
Main.java:1: error: illegal escape character "C:\Program Files\JetBrains\openjdk-11.0.7_10\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.1\lib\idea_rt.jar=53795:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.1\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\te...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951706666|p02548|0
u951706666|p02548|0
codenet
Compile Error
405
v2_s637472083
s637472083
s637472083
p02549
p02549
u575309064
u575309064
1,600,544,023
2020-09-19T19:33:43
Main.java
import java.util.*; public class Main { public static void main(String args[] ) throws Exception { Scanner sc = new Scanner(System.in); String[] ss = sc.nextLine().trim().split(" ") ; int N = Integer.valueOf ( ss[0] ) ; int K = Integer.valueOf ( ss[1] ) ; List<Integer> set = new ArrayList<>() ; for (...
Main.java:32: error: cannot find symbol arr[x+v] %= mod ; ^ symbol: variable v location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u575309064|p02549|0
u575309064|p02549|0
codenet
Compile Error
849
v2_s756272240
s756272240
s756272240
p02549
p02549
u854155653
u854155653
1,600,546,227
2020-09-19T20:10:27
Main.java
import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import java.math.BigInteger; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Collections; import java.util.Comparator; import java.util.Deque; import java.util...
Main.java:292: error: cannot find symbol List<solve_abc179_d_s> s = new ArrayList<>(k); ^ symbol: class solve_abc179_d_s location: class Main Main.java:297: error: cannot find symbol s.add(new solve_abc179_d_s(l, r)); ^ symbol: class solve_abc179_d_s location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u854155653|p02549|0
u854155653|p02549|0
codenet
Compile Error
7,039
v2_s944210793
s944210793
s944210793
p02549
p02549
u881359256
u881359256
1,600,595,671
2020-09-20T09:54:31
Main.java
//fenwick使う意味が全くない実装 class FenwickTree{ private int _n; private long[] data; private final int mod; public FenwickTree(int n, int mod){ this.mod = mod; this._n = n; data = new long[n]; } // public FenwickTree(long[] data) { // this(data.length); // build(data); // } public void add(int p, long x){ ...
Main.java:334: error: cannot find symbol static InputStream is; ^ symbol: class InputStream location: class Main Main.java:335: error: cannot find symbol static PrintWriter out; ^ symbol: class PrintWriter location: class Main Main.java:225: error: cannot find symbol Arrays.sort(ar); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u881359256|p02549|1
u881359256|p02549|1
codenet
Compile Error
10,533
v2_s159222389
s159222389
s159222389
p02549
p02549
u947662393
u947662393
1,600,546,784
2020-09-19T20:19:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner s=new Scanner(System.in); int n=s.nextInt(); int k=s.nextInt(); ArrayList<Integer> arr=new ArrayList<>(); for(int i=0;i<k;i++){ int a=s.nextInt(); int b=s.nextInt(); if(!arr.contains(a)) ...
Main.java:22: error: ']' expected int dp[sum+1][num+1]; ^ Main.java:22: error: not a statement int dp[sum+1][num+1]; ^ Main.java:22: error: ';' expected int dp[sum+1][num+1]; ^ Main.java:22: error: not a statement int dp[sum+1][num+1]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947662393|p02549|0
u947662393|p02549|0
codenet
Compile Error
923
v2_s776853144
s776853144
s776853144
p02549
p02549
u947662393
u947662393
1,600,546,843
2020-09-19T20:20:43
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner s=new Scanner(System.in); int n=s.nextInt(); int k=s.nextInt(); ArrayList<Integer> arr=new ArrayList<>(); for(int i=0;i<k;i++){ int a=s.nextInt(); int b=s.nextInt(); if(!arr.contains(a)) ...
Main.java:23: error: cannot find symbol for(int i=0;i<=n;i++){ ^ symbol: variable n location: class Main Main.java:30: error: cannot find symbol for(int j=1;j<=n;j++){ ^ symbol: variable n location: class Main Main.java:36: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947662393|p02549|0
u947662393|p02549|0
codenet
Compile Error
935
v2_s544489545
s544489545
s544489545
p02549
p02549
u947662393
u947662393
1,600,547,273
2020-09-19T20:27:53
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner s=new Scanner(System.in); int n=s.nextInt(); int k=s.nextInt(); ArrayList<Integer> arr=new ArrayList<>(); for(int i=0;i<k;i++){ int a=s.nextInt(); int b=s.nextInt(); if(!arr.contains(a)) ...
Main.java:25: error: cannot find symbol for (int i=0; i<m; i++) ^ symbol: variable m location: class Main Main.java:29: error: incompatible types: possible lossy conversion from long to int return table[n]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947662393|p02549|0
u947662393|p02549|0
codenet
Compile Error
809
v2_s017284331
s017284331
s017284331
p02550
p02550
u343321735
u343321735
1,600,547,956
2020-09-19T20:39:16
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int x = scn.nextInt(); int m = scn.nextInt(); int sum=x; int a=x; for(int i=1;i<n;i++) { if(a>m) ...
Main.java:16: error: ';' expected {a=(int)Math.pow(a,2)} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343321735|p02550|0
u343321735|p02550|0
codenet
Compile Error
479
v2_s021328851
s021328851
s021328851
p02550
p02550
u361173382
u361173382
1,600,547,181
2020-09-19T20:26:21
Main.java
10000000000 10 99959
Main.java:1: error: class, interface, enum, or record expected 10000000000 10 99959 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u361173382|p02550|0
u361173382|p02550|0
codenet
Compile Error
20
v2_s023337053
s023337053
s023337053
p02550
p02550
u587100042
u587100042
1,600,545,995
2020-09-19T20:06:35
Main.java
import java.util.*; public class Main{ public long f(long x,long m){ return x%m; } public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n=sc.nextInt(); long x=sc.nextLong(),m=sc.nextLong(); long[] a=new long[n],ans=new long[n]; for(int i=0;i<n;i++){ if(...
Main.java:17: error: non-static method f(long,long) cannot be referenced from a static context a[i]=f(a[i-1]*a[i-1],m); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p02550|0
u587100042|p02550|0
codenet
Compile Error
541
v2_s641496727
s641496727
s641496727
p02550
p02550
u613027607
u613027607
1,600,545,189
2020-09-19T19:53:09
Main.java
use proconio::*; use std::collections::HashMap; fn main() { input! { n:i64, mut x:i64, m:i64, } let mut amari = HashMap::new(); // 0番目はあまりが0(Key: あまり, Value 順番) amari.insert(-1i64, 0i64); let mut res = 0i64; let mut ruiseki = vec![0i64; 100005]; let mut ikkai =...
Main.java:1: error: class, interface, enum, or record expected use proconio::*; ^ Main.java:2: error: class, interface, enum, or record expected use std::collections::HashMap; ^ Main.java:5: error: not a statement input! { ^ Main.java:6: error: not a statement n:i64, ^ Main.java:7: error: not ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u613027607|p02550|0
u613027607|p02550|0
codenet
Compile Error
1,405
v2_s858156510
s858156510
s858156510
p02550
p02550
u947662393
u947662393
1,600,547,883
2020-09-19T20:38:03
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner s=new Scanner(System.in); int n=s.nextInt(); int start=s.nextInt(); int end=s.nextInt(); while(n-- >0){ if(sum<=end){ int val=Math.pow(start,2); start=val; sum+=val; } } ...
Main.java:10: error: cannot find symbol if(sum<=end){ ^ symbol: variable sum location: class Main Main.java:11: error: incompatible types: possible lossy conversion from double to int int val=Math.pow(start,2); ^ Main.java:13: error: cannot find symbol sum+=v...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u947662393|p02550|0
u947662393|p02550|0
codenet
Compile Error
356
v2_s425076788
s425076788
s425076788
p02552
p02552
u050412230
u050412230
1,600,024,233
2020-09-13T19:10:33
Main.java
import java.utils.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int x=sc.nextInt(); if(x>=0 && x<=1){ if(x==0){ System.out.println(0); } else if(x==1){ System.out.println(0); } } }
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u050412230|p02552|0
u050412230|p02552|0
codenet
Compile Error
298
v2_s983733095
s983733095
s983733095
p02552
p02552
u096087819
u096087819
1,600,538,923
2020-09-19T18:08:43
JavaApplication14.java
public class JavaApplication14 { public static void main(String[] args) { Scanner in=new Scanner(System.in); int x=in.nextInt(); if(x>=0&&x<=1){ if(x==0){ System.out.println(1); } else if(x==1){ System.out.println(0); ...
JavaApplication14.java:3: error: cannot find symbol Scanner in=new Scanner(System.in); ^ symbol: class Scanner location: class JavaApplication14 JavaApplication14.java:3: error: cannot find symbol Scanner in=new Scanner(System.in); ^ symbol: class Scanner locat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u096087819|p02552|0
u096087819|p02552|0
codenet
Compile Error
424
v2_s003762965
s003762965
s003762965
p02552
p02552
u096087819
u096087819
1,600,538,990
2020-09-19T18:09:50
JavaApplication14.java
public class JavaApplication14 { public static void main(String[] args) { Scanner in=new Scanner(System.in); int x=in.nextInt(); if(x>=0&&x<=1){ if(x==0){ System.out.println(1); } else if(x==1){ System.out.println(0); ...
JavaApplication14.java:3: error: cannot find symbol Scanner in=new Scanner(System.in); ^ symbol: class Scanner location: class JavaApplication14 JavaApplication14.java:3: error: cannot find symbol Scanner in=new Scanner(System.in); ^ symbol: class Scanner locat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u096087819|p02552|0
u096087819|p02552|0
codenet
Compile Error
351
v2_s212032386
s212032386
s212032386
p02552
p02552
u096087819
u096087819
1,600,539,060
2020-09-19T18:11:00
JavaApplication14.java
public class JavaApplication14 { public static void main(String[] args) { Scanner in=new Scanner(System.in); int x=in.nextInt(); if(x>=0&&x<=1){ if(x==0){ System.out.println(1); } else if(x==1){ System.out.println(0); ...
JavaApplication14.java:3: error: cannot find symbol Scanner in=new Scanner(System.in); ^ symbol: class Scanner location: class JavaApplication14 JavaApplication14.java:3: error: cannot find symbol Scanner in=new Scanner(System.in); ^ symbol: class Scanner locat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u096087819|p02552|0
u096087819|p02552|0
codenet
Compile Error
415
v2_s483441028
s483441028
s483441028
p02552
p02552
u096087819
u096087819
1,600,539,124
2020-09-19T18:12:04
Main.java
public static void main(String[] args) { Scanner in=new Scanner(System.in); int x=in.nextInt(); if(x>=0&&x<=1){ if(x==0){ System.out.println(1); } else if(x==1){ System.out.println(0); } } 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
u096087819|p02552|0
u096087819|p02552|0
codenet
Compile Error
373
v2_s942289549
s942289549
s942289549
p02552
p02552
u099692770
u099692770
1,600,023,729
2020-09-13T19:02:09
Main.java
import java.io.*; import java.math.BigDecimal; import java.math.BigInteger; import java.util.*; public class Main { static final int INF = (int) (1e9 + 10); static final int MOD = (int) (1e9 + 7); // static final int N = (int) (4e5 + 5); // static ArrayList<Integer>[] graph; // static boolean visited[]; // st...
Main.java:23: error: cannot find symbol if(n == 0){ ^ symbol: variable n location: class Main Main.java:132: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal return new Integer(entry1[col]).compareTo(entry2[col]); ^ 1 error 1 warning
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u099692770|p02552|0
u099692770|p02552|0
codenet
Compile Error
5,548
v2_s760839387
s760839387
s760839387
p02552
p02552
u103063393
u103063393
1,600,540,822
2020-09-19T18:40:22
tekito.java
public class tekito { public void main(String args[]) { int x ; if(x != 1) { System.out.println(0); }else if(x ==1){ System.out.println(1); } } }
tekito.java:6: error: variable x might not have been initialized if(x != 1) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u103063393|p02552|0
u103063393|p02552|0
codenet
Compile Error
219
v2_s896735318
s896735318
s896735318
p02552
p02552
u119089530
u119089530
1,600,024,165
2020-09-13T19:09:25
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int x = Integer.parseInt(scan.next()); boolean bool = x == 1 ? true : false; int result = !bool ? 1 : 0; PrintWriter out = new PrintWriter(System.out); out.println(result); out.flush(); } ...
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:7: error: cannot ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u119089530|p02552|0
u119089530|p02552|0
codenet
Compile Error
321
v2_s502201736
s502201736
s502201736
p02552
p02552
u135501133
u135501133
1,600,037,585
2020-09-13T22:53:05
Main.java
import java.util.*; public class Main{ public class Main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ int n = sc.nextInt(); System.out.println((n+1)%2); } } }
Main.java:3: error: '{' expected public class Main(String[] args){ ^ Main.java:5: error: illegal start of type while(sc.hasNext()){ ^ Main.java:5: error: <identifier> expected while(sc.hasNext()){ ^ Main.java:5: error: ';' expected while(sc.hasNext()...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u135501133|p02552|0
u135501133|p02552|0
codenet
Compile Error
233
v2_s321040054
s321040054
s321040054
p02552
p02552
u191889858
u191889858
1,600,372,163
2020-09-17T19:49:23
Main.java
x=int(input('x(0<=x<=1)=')) if x==0: print('1') else x==1: print('0')
Main.java:1: error: class, interface, enum, or record expected x=int(input('x(0<=x<=1)=')) ^ Main.java:1: error: unclosed character literal x=int(input('x(0<=x<=1)=')) ^ Main.java:1: error: unclosed character literal x=int(input('x(0<=x<=1)=')) ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u191889858|p02552|0
u191889858|p02552|0
codenet
Compile Error
73
v2_s165111703
s165111703
s165111703
p02552
p02552
u196953553
u196953553
1,600,023,630
2020-09-13T19:00:30
Main.java
#include <bits/stdc++.h> using namespace std; using ll = long long; using ull = unsigned long long; using ld = long double; #define MOD 1000000007LL #define rep(i, n) for(ll (i) = 0LL;(i) < (ll)(n);(i)++) #define rep2(i, s, e) for(ll (i) = (ll)(s);(i) < (ll)(e);(i)++) #define repi(i, n) for(ll (i) = 0LL;(i) <= (ll)(...
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:4: error: unnamed classes are a preview feature and are disabled by default. using ll = long long; ^ (use --enable-preview to enable unname...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u196953553|p02552|0
u196953553|p02552|0
codenet
Compile Error
1,550
v2_s291411798
s291411798
s291411798
p02552
p02552
u217504179
u217504179
1,600,037,608
2020-09-13T22:53:28
Main.java
import java.util.*; class Main { void solve() { Scanner sc=new Scanner(System.in); int x=sc.nextInt(); System.out.println(x==1?0:1); } public static void main(String[] args) { Practice p=new Practice(); p.solve(); } }
Main.java:11: error: cannot find symbol Practice p=new Practice(); ^ symbol: class Practice location: class Main Main.java:11: error: cannot find symbol Practice p=new Practice(); ^ symbol: class Practice location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u217504179|p02552|0
u217504179|p02552|0
codenet
Compile Error
232
v2_s716749353
s716749353
s716749353
p02552
p02552
u220302984
u220302984
1,600,023,669
2020-09-13T19:01:09
Main.java
import java.util.*; import java.io.*; import java.lang.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); if (a == 0) System.out.println("1"); else (a == 1) System.out.println(...
Main.java:14: error: not a statement else (a == 1) ^ Main.java:14: error: ';' expected else (a == 1) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u220302984|p02552|0
u220302984|p02552|0
codenet
Compile Error
335
v2_s909499132
s909499132
s909499132
p02552
p02552
u250068500
u250068500
1,600,023,735
2020-09-13T19:02:15
Not.java
ackage atcoder; import java.util.Scanner; public class Not { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int x = scan.nextInt(); String message = "0"; if(x == 0) { message = "1"; } System.out.println(message); } }
Not.java:1: error: unnamed classes are a preview feature and are disabled by default. ackage atcoder; ^ (use --enable-preview to enable unnamed classes) Not.java:3: error: class, interface, enum, or record expected import java.util.Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u250068500|p02552|0
u250068500|p02552|0
codenet
Compile Error
270
v2_s810530873
s810530873
s810530873
p02552
p02552
u268318008
u268318008
1,600,272,071
2020-09-16T16:01:11
Main.java
int x; if(x==0){ System.out.println("1")} if(x==1){ System.out.println("0")}
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. int x; ^ (use --enable-preview to enable unnamed classes) Main.java:2: error: class, interface, enum, or record expected if(x==0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u268318008|p02552|0
u268318008|p02552|0
codenet
Compile Error
80
v2_s356000563
s356000563
s356000563
p02552
p02552
u291958227
u291958227
1,600,023,915
2020-09-13T19:05:15
Contest.java
import java.util.*; public class Contest{ Scanner sc=new Scanner(System.in); int x=sc.nextInt(); if(x==1)System.out.print(1); else{ System.out.print(0); } }
Contest.java:7: error: illegal start of type if(x==1)System.out.print(1); ^ Contest.java:7: error: <identifier> expected if(x==1)System.out.print(1); ^ Contest.java:7: error: <identifier> expected if(x==1)System.out.print(1); ^ Contest.java:7: error: illegal start of type if(x=...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u291958227|p02552|0
u291958227|p02552|0
codenet
Compile Error
171
v2_s780192537
s780192537
s780192537
p02552
p02552
u310042119
u310042119
1,600,024,062
2020-09-13T19:07:42
Main.java
#include<bits/stdc++.h> using namespace std; int main() { //ios; int t; cin >> t; if(t==0) cout<<1; else cout<<0; }
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:6: error: not a statement cin >> t; ^ Main.java:7: error: not a statement if(t==0) cout<<1; ^ Main.java:8: error: not a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u310042119|p02552|0
u310042119|p02552|0
codenet
Compile Error
125
v2_s558107894
s558107894
s558107894
p02552
p02552
u330907398
u330907398
1,600,539,535
2020-09-19T18:18:55
Main.java
import java.util*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if (x == 0) { System.out.println("1"); } else { System.out.println("0"); } } }
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330907398|p02552|0
u330907398|p02552|0
codenet
Compile Error
254
v2_s851153603
s851153603
s851153603
p02552
p02552
u330907398
u330907398
1,600,539,561
2020-09-19T18:19:21
Main.java
import java.util*: public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if (x == 0) { System.out.println("1"); } else { System.out.println("0"); } } }
Main.java:1: error: ';' expected import java.util*: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330907398|p02552|0
u330907398|p02552|0
codenet
Compile Error
255
v2_s664563381
s664563381
s664563381
p02552
p02552
u391044041
u391044041
1,600,024,686
2020-09-13T19:18:06
Main.java
import org.omg.CORBA.MARSHAL; import java.math.BigInteger; import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); PrintWriter pw = new PrintWriter(System.out); int n ...
Main.java:1: error: package org.omg.CORBA does not exist import org.omg.CORBA.MARSHAL; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u391044041|p02552|0
u391044041|p02552|0
codenet
Compile Error
1,453
v2_s163838761
s163838761
s163838761
p02552
p02552
u401860298
u401860298
1,600,023,917
2020-09-13T19:05:17
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int x = scanner.nextInt(); if(x==1) System.out.println("0"); else System.out.println("1"); }
Main.java:12: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u401860298|p02552|0
u401860298|p02552|0
codenet
Compile Error
237
v2_s092276722
s092276722
s092276722
p02552
p02552
u417017290
u417017290
1,600,023,623
2020-09-13T19:00:23
Main.java
#include <bits/stdc++.h> #define IOS \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0) #define pb push_back #define ff first ...
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 IOS \ ^ Main.java:2: error: illeg...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u417017290|p02552|0
u417017290|p02552|0
codenet
Compile Error
1,040
v2_s924919047
s924919047
s924919047
p02552
p02552
u439942292
u439942292
1,600,025,096
2020-09-13T19:24:56
Main.java
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { solve(); } public static void solve() { long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); long max=Long.MIN_VALUE: ...
Main.java:16: error: ';' expected long max=Long.MIN_VALUE: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u439942292|p02552|0
u439942292|p02552|0
codenet
Compile Error
501
v2_s067175240
s067175240
s067175240
p02552
p02552
u444163977
u444163977
1,600,023,842
2020-09-13T19:04:02
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); // 出力 if(a == 1) { System.out.println(0); } else { System.out.println(1); } } }
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
u444163977|p02552|0
u444163977|p02552|0
codenet
Compile Error
277
v2_s940430369
s940430369
s940430369
p02552
p02552
u444163977
u444163977
1,600,024,235
2020-09-13T19:10: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 c = sc.nextInt(); int d = sc.nextInt(); // 出力 int i = a * c; int j = a * d; int k = b * c; ...
Main.java:15: error: ')' or ',' expected System.out.println(Math.max(Math.max(i, j), Math.max(k, l);)); ^ Main.java:15: error: illegal start of expression System.out.println(Math.max(Math.max(i, j), Math.max(k, l);)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u444163977|p02552|0
u444163977|p02552|0
codenet
Compile Error
426
v2_s326715813
s326715813
s326715813
p02552
p02552
u444163977
u444163977
1,600,024,264
2020-09-13T19:11: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 c = sc.nextInt(); int d = sc.nextInt(); // 出力 int i = a * c; int j = a * d; int k = b * c; ...
Main.java:15: error: ')' or ',' expected System.out.println("" + Math.max(Math.max(i, j), Math.max(k, l);)); ^ Main.java:15: error: illegal start of expression System.out.println("" + Math.max(Math.max(i, j), Math.max(k, l);)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u444163977|p02552|0
u444163977|p02552|0
codenet
Compile Error
431
v2_s941175335
s941175335
s941175335
p02552
p02552
u452956397
u452956397
1,600,024,473
2020-09-13T19:14:33
Main.java
import java.io.*; class solution{ public static int solution(int x){ if(x == 0) return 1; if(x == 1) return 0; } public static void main(String[] args) throws Exception{ BufferedReader buff=new BufferedReader(new InputStreamReader(System.in)); int n=Integer.parseInt(buff.readLine()); Syst...
Main.java:8: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u452956397|p02552|0
u452956397|p02552|0
codenet
Compile Error
353
v2_s936473914
s936473914
s936473914
p02552
p02552
u468390671
u468390671
1,600,027,190
2020-09-13T19:59:50
TestingAtcoder.java
import scala.Int; import java.util.Scanner; public class TestingAtcoder { public static void main(String[] args){ Scanner scan = new Scanner(System.in); var x = scan.nextInt(); if (x>=0 || x <=1){ if (x==0){ System.out.println(1); } else ...
TestingAtcoder.java:1: error: package scala does not exist import scala.Int; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u468390671|p02552|0
u468390671|p02552|0
codenet
Compile Error
402
v2_s142680940
s142680940
s142680940
p02552
p02552
u471895929
u471895929
1,600,541,290
2020-09-19T18:48:10
Main.java
import java.util.*; /* * @author Parvez */ public class Main { public static void main(String[] args) Scanner scn = new Scanner(System.in); int n=scn.nextInt(); if(n==0)System.out.print("1"); else if(n==1)System.out.print("0"); }
Main.java:6: error: ';' expected public static void main(String[] args) ^ Main.java:10: error: illegal start of type if(n==0)System.out.print("1"); ^ Main.java:10: error: <identifier> expected if(n==0)System.out.print("1"); ^ Main.java:10: error: <identifier> e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u471895929|p02552|0
u471895929|p02552|0
codenet
Compile Error
247
v2_s151398845
s151398845
s151398845
p02552
p02552
u471895929
u471895929
1,600,541,406
2020-09-19T18:50:06
Main.java
import java.util.*; /* * @author Parvez */ public class Main { public static void main(String[] args) Scanner scn = new Scanner(System.in); int n=scn.nextInt(); if(n==0){ System.out.print("1"); } else if(n==1){ System.out.print("0"); } }
Main.java:6: error: ';' expected public static void main(String[] args) ^ Main.java:10: error: illegal start of type if(n==0){ ^ Main.java:10: error: <identifier> expected if(n==0){ ^ Main.java:13: error: illegal start of type else if(n==1){ ^ Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u471895929|p02552|0
u471895929|p02552|0
codenet
Compile Error
263
v2_s702608536
s702608536
s702608536
p02552
p02552
u536564370
u536564370
1,600,025,057
2020-09-13T19:24:17
Main.java
import java.util.*; 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 d = sc.nextInt(); int x = a * c; int y = a * d; int z = b * c; int w = b * d; int[] aa = new i...
Main.java:23: error: illegal start of expression if(aa[i] => max){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p02552|0
u536564370|p02552|0
codenet
Compile Error
533
v2_s424829933
s424829933
s424829933
p02552
p02552
u550314572
u550314572
1,600,045,924
2020-09-14T01:12:04
Main.java
import java.util.*; import static java.lang.System; public Main { public static void main(String... args) { out.println((int)(Math.random()*2)); } }
Main.java:3: error: class, interface, enum, or record expected public Main { ^ Main.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) Main.java:7: error: class, interfa...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u550314572|p02552|1
u550314572|p02552|1
codenet
Compile Error
156
v2_s630033915
s630033915
s630033915
p02552
p02552
u550314572
u550314572
1,600,045,958
2020-09-14T01:12:38
Main.java
import java.util.*; import static java.lang.System; class Main { public static void main(String... args) { out.println((int)(Math.random()*2)); } }
Main.java:2: error: cannot find symbol import static java.lang.System; ^ symbol: class lang location: package java Main.java:2: error: static import only from classes and interfaces import static java.lang.System; ^ Main.java:5: error: cannot find symbol out.println((int)(Math.random()*2)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u550314572|p02552|1
u550314572|p02552|1
codenet
Compile Error
156
v2_s137459802
s137459802
s137459802
p02552
p02552
u559459062
u559459062
1,600,027,504
2020-09-13T20:05:04
Main.java
import java.util.Scanner; Scanner myObj = new Scanner(System.in); Integer x = Integer.valueOf(myObj.nextLine()); if(x==0){ System.out.println(1); }else{ System.out.println(0); }
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. Scanner myObj = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:5: error: class, interface, enum, or record expected if(x==0){ ^ Main.java:7: error: class, interface, enum, o...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u559459062|p02552|0
u559459062|p02552|0
codenet
Compile Error
238
v2_s723941399
s723941399
s723941399
p02552
p02552
u559459062
u559459062
1,600,028,297
2020-09-13T20:18:17
Main.java
public class Main { public static void main(String[] args) { Scanner myObj = new Scanner(System.in); Integer x = Integer.valueOf(myObj.nextLine()); if(x==0){ System.out.println(1); }else{ System.out.println(0); } } }
Main.java:6: error: cannot find symbol Scanner myObj = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner myObj = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u559459062|p02552|0
u559459062|p02552|0
codenet
Compile Error
291
v2_s674077663
s674077663
s674077663
p02552
p02552
u563325121
u563325121
1,600,025,639
2020-09-13T19:33:59
first.java
import java.util.Scanner; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.lang.Math; public class first{ public static void main(String[] args){ Scanner scanner1 = new Scanner(System.in); int a=scanner1.nextInt(); if(a==1) System.out.print(0); if(a==0) System.out.print(1);
first.java:15: error: reached end of file while parsing if(a==0) System.out.print(1); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u563325121|p02552|0
u563325121|p02552|0
codenet
Compile Error
317
v2_s101708738
s101708738
s101708738
p02552
p02552
u563325121
u563325121
1,600,026,059
2020-09-13T19:40:59
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); if(a==1){System.out.print(0);} else{System.out.print(1);} } }
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
u563325121|p02552|0
u563325121|p02552|0
codenet
Compile Error
210
v2_s572600225
s572600225
s572600225
p02552
p02552
u587412442
u587412442
1,600,101,846
2020-09-14T16:44:06
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int x = in.nextInt(); if(x==0) { System.out.print(1); }else { System.out.print(0); } } }
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
u587412442|p02552|0
u587412442|p02552|0
codenet
Compile Error
222
v2_s656259391
s656259391
s656259391
p02552
p02552
u592246102
u592246102
1,600,026,611
2020-09-13T19:50:11
P01.java
import java.util.*; import static java.lang.System.*; public class P01 { public static void main(String[] args) { Scanner sc = new Scanner(in); int x = nextInt(); if(x == 0){ out.println("1"); } else{ out.println("0"); } } }
P01.java:7: error: cannot find symbol int x = nextInt(); ^ symbol: method nextInt() location: class P01 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u592246102|p02552|0
u592246102|p02552|0
codenet
Compile Error
289
v2_s756100975
s756100975
s756100975
p02552
p02552
u592246102
u592246102
1,600,026,643
2020-09-13T19:50:43
Main.java
import java.util.*; import static java.lang.System.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(in); int x = nextInt(); if(x == 0){ out.println("1"); } else{ out.println("0"); } } }
Main.java:7: error: cannot find symbol int x = nextInt(); ^ symbol: method nextInt() location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u592246102|p02552|0
u592246102|p02552|0
codenet
Compile Error
291
v2_s265028134
s265028134
s265028134
p02552
p02552
u639930462
u639930462
1,600,029,713
2020-09-13T20:41:53
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); if(n==0) System.out.println("1"); else System.out.println("0"); }
Main.java:9: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u639930462|p02552|0
u639930462|p02552|0
codenet
Compile Error
201
v2_s535186673
s535186673
s535186673
p02552
p02552
u639930462
u639930462
1,600,029,746
2020-09-13T20:42:26
Main.java
import java.util.Scanner; /** * @author yadavd5 * */ public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); if(n==0) System.out.println("1"); else System.out.println("0"); }
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u639930462|p02552|0
u639930462|p02552|0
codenet
Compile Error
258
v2_s769598157
s769598157
s769598157
p02552
p02552
u646630518
u646630518
1,600,024,227
2020-09-13T19:10:27
Main.java
import java.util.Scanner; class Integer{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x == 0){ System.out.prinln(1); }else{ system.out.println(0); } } }
Main.java:8: error: cannot find symbol System.out.prinln(1); ^ symbol: method prinln(int) location: variable out of type PrintStream Main.java:10: error: package system does not exist system.out.println(0); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u646630518|p02552|0
u646630518|p02552|0
codenet
Compile Error
234
v2_s704344475
s704344475
s704344475
p02552
p02552
u646630518
u646630518
1,600,024,877
2020-09-13T19:21:17
Main.java
import java.util.Scanner; class Integer{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x == 0){ System.out.print(1); }else{ system.out.print(0); } } }
Main.java:10: error: package system does not exist system.out.print(0); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u646630518|p02552|0
u646630518|p02552|0
codenet
Compile Error
232
v2_s819778304
s819778304
s819778304
p02552
p02552
u646630518
u646630518
1,600,026,068
2020-09-13T19:41:08
Main.java
import java.util.Scanner; class Integer{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x == 0){ System.out.prinln(1); }else if(x == 1){ System.out.println(0); }else{ System.out.println("Invalid"); } } }
Main.java:8: error: cannot find symbol System.out.prinln(1); ^ symbol: method prinln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u646630518|p02552|0
u646630518|p02552|0
codenet
Compile Error
290
v2_s849125154
s849125154
s849125154
p02552
p02552
u646630518
u646630518
1,600,026,257
2020-09-13T19:44:17
Main.java
import java.util.Scanner; class Not{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x == 0){ System.out.prinln(1); }else if(x == 1){ System.out.println(0); }else{ System.out.println("Invalid"); } } }
Main.java:8: error: cannot find symbol System.out.prinln(1); ^ symbol: method prinln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u646630518|p02552|0
u646630518|p02552|0
codenet
Compile Error
286
v2_s125179735
s125179735
s125179735
p02552
p02552
u646630518
u646630518
1,600,032,417
2020-09-13T21:26:57
Main.java
import java.util.Scanner; class Integer{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x == 0) System.out.prinln(1); else System.out.println(0); } }
Main.java:8: error: cannot find symbol System.out.prinln(1); ^ symbol: method prinln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u646630518|p02552|0
u646630518|p02552|0
codenet
Compile Error
231
v2_s010030826
s010030826
s010030826
p02552
p02552
u693105608
u693105608
1,600,466,940
2020-09-18T22:09:00
Main.java
a = int(input()) if a == 0: print("1") else: print("0")
Main.java:1: error: class, interface, enum, or record expected a = int(input()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u693105608|p02552|1
u693105608|p02552|0
codenet
Compile Error
64