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_s774192792
s774192792
s774192792
p02401
p02401
u544040886
u544040886
1,525,342,908
2018-05-03T10:21:48
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a,b; char op; int d; while(0){ a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); if(op == '+'){ d = a+b; } else if(op =...
Main.java:11: error: incompatible types: int cannot be converted to boolean while(0){ ^ Main.java:13: error: incompatible types: String cannot be converted to char op = sc.next(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u544040886|p02401|0
u544040886|p02401|0
codenet
Compile Error
567
v2_s206450957
s206450957
s206450957
p02401
p02401
u544040886
u544040886
1,525,342,920
2018-05-03T10:22:00
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a,b; char op; int d; while(true){ a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); if(op == '+'){ d = a+b; } else if(o...
Main.java:13: error: incompatible types: String cannot be converted to char op = sc.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u544040886|p02401|0
u544040886|p02401|0
codenet
Compile Error
570
v2_s607593632
s607593632
s607593632
p02401
p02401
u545116855
u545116855
1,460,358,269
2016-04-11T07:04:29
Main.java
import java.util.Scanner; pubric class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true){ int a = sc.nextInt(); String op = sc.next(); int b = sc.nextInt(); if (op.equals("+")) System.out.println(a + b); else if (op.equals("-")) System.out.println(a - b...
Main.java:2: error: class, interface, enum, or record expected pubric class Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u545116855|p02401|0
u545116855|p02401|0
codenet
Compile Error
476
v2_s534219391
s534219391
s534219391
p02401
p02401
u578315807
u578315807
1,509,350,911
2017-10-30T08:08:31
Main.java
public class Main { public static void main(String[] args) { { Scanner stdin = new Scanner(System.in); List<Integer> result = new ArrayList<>(); int i = 0, count = 0; while (true) { String[] input = stdin.nextLine().split(" "); int num1 = 0; int num2 = 0; char operation = 0; num1 = I...
Main.java:5: error: cannot find symbol Scanner stdin = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner stdin = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot f...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u578315807|p02401|0
u578315807|p02401|0
codenet
Compile Error
856
v2_s721858138
s721858138
s721858138
p02401
p02401
u615421382
u615421382
1,523,253,894
2018-04-09T06:04:54
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(true){ int a = sc.nextInt(); char op = sc.next(); int b = sc.nextInt(); if(op == '+') System.out.println(a+b); if(op == '-') System...
Main.java:8: error: incompatible types: String cannot be converted to char char op = sc.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u615421382|p02401|0
u615421382|p02401|0
codenet
Compile Error
480
v2_s699749624
s699749624
s699749624
p02401
p02401
u619017212
u619017212
1,523,256,581
2018-04-09T06:49:41
Main.java
fqlwk
Main.java:1: error: reached end of file while parsing fqlwk ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u619017212|p02401|0
u619017212|p02401|0
codenet
Compile Error
8
v2_s508690862
s508690862
s508690862
p02401
p02401
u620468594
u620468594
1,494,396,630
2017-05-10T06:10:30
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(string[] args){ Scanner scan = new Scanner(System.in); char op = scan.nextChar(); int a = scan.nextInt(); int b = scan.nextInt(); if (op == "+"){ System.out.println(a + b); } if (op == "+"){ System.out.println(a - b); ...
Main.java:5: error: cannot find symbol public static void main(string[] args){ ^ symbol: class string location: class Main Main.java:8: error: cannot find symbol char op = scan.nextChar(); ^ symbol: method nextChar() location: variable scan of type Scanner Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02401|0
u620468594|p02401|0
codenet
Compile Error
434
v2_s078546616
s078546616
s078546616
p02401
p02401
u620468594
u620468594
1,494,396,705
2017-05-10T06:11:45
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(string[] args){ Scanner scan = new Scanner(System.in); char op = scan.next()charAT; int a = scan.nextInt(); int b = scan.nextInt(); if (op == "+"){ System.out.println(a + b); } if (op == "-"){ System.out.println(a - b); ...
Main.java:8: error: ';' expected char op = scan.next()charAT; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02401|0
u620468594|p02401|0
codenet
Compile Error
436
v2_s693820634
s693820634
s693820634
p02401
p02401
u620468594
u620468594
1,494,396,724
2017-05-10T06:12:04
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(string[] args){ Scanner scan = new Scanner(System.in); char op = scan.next.charAT(); int a = scan.nextInt(); int b = scan.nextInt(); if (op == "+"){ System.out.println(a + b); } if (op == "-"){ System.out.println(a - b);...
Main.java:5: error: cannot find symbol public static void main(string[] args){ ^ symbol: class string location: class Main Main.java:8: error: cannot find symbol char op = scan.next.charAT(); ^ symbol: variable next location: variable scan of type Scanner Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02401|0
u620468594|p02401|0
codenet
Compile Error
437
v2_s262111641
s262111641
s262111641
p02401
p02401
u620468594
u620468594
1,494,397,827
2017-05-10T06:30:27
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); char op = scan.next().charAt(0); int b = scan.nextint(); if (op = '?'){ } else if (op = '+'){ System.out.println(a + b); } else if (op = '-...
Main.java:10: error: cannot find symbol int b = scan.nextint(); ^ symbol: method nextint() location: variable scan of type Scanner Main.java:12: error: incompatible types: char cannot be converted to boolean if (op = '?'){ ^ Main.java:13: error: incompatible types: char cannot be conve...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02401|0
u620468594|p02401|0
codenet
Compile Error
478
v2_s889871639
s889871639
s889871639
p02401
p02401
u620468594
u620468594
1,494,397,945
2017-05-10T06:32:25
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); char op = scan.next().charAt(0); int b = scan.nextInt(); if (op = '?'){ } else if (op = '+'){ System.out.println(a + b); } else if (op = '-...
Main.java:12: error: incompatible types: char cannot be converted to boolean if (op = '?'){ ^ Main.java:13: error: incompatible types: char cannot be converted to boolean } else if (op = '+'){ ^ Main.java:15: error: incompatible types: char cannot be converted to boolean } else if (op ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02401|0
u620468594|p02401|0
codenet
Compile Error
478
v2_s818764953
s818764953
s818764953
p02401
p02401
u635302206
u635302206
1,462,871,289
2016-05-10T09:08:09
Main.java
if(op.equals("?")){ break; }
Main.java:2: error: class, interface, enum, or record expected if(op.equals("?")){ ^ Main.java:4: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u635302206|p02401|0
u635302206|p02401|0
codenet
Compile Error
72
v2_s600099510
s600099510
s600099510
p02401
p02401
u653324378
u653324378
1,556,234,580
2019-04-25T23:23:00
Main.java
import java.util.*; public class Main{ public static void main(String[] arg){ int a, b, c; c = 0; Scanner sc = new Scanner(System.in); for(;;){ a = sc.nextInt(); char op = sc.next(); b = sc.nextInt(); ...
Main.java:9: error: incompatible types: String cannot be converted to char char op = sc.next(); ^ Main.java:11: error: char cannot be dereferenced if(op.equals('?')) break; ^ Main.java:12: error: char cannot be dereferenced ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653324378|p02401|1
u653324378|p02401|1
codenet
Compile Error
757
v2_s885067026
s885067026
s885067026
p02401
p02401
u688860661
u688860661
1,523,252,582
2018-04-09T05:43:02
Main.java
import java.io.*; public class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); while (true) { String line = reader.readline(); String[] ops = line.split(" ", 0); if (ops == "+") { System.out....
Main.java:11: error: cannot find symbol String line = reader.readline(); ^ symbol: method readline() location: variable reader of type BufferedReader Main.java:14: error: incomparable types: String[] and String if (ops == "+") ^ Main.java:18: error: incomparable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u688860661|p02401|0
u688860661|p02401|0
codenet
Compile Error
672
v2_s054195658
s054195658
s054195658
p02401
p02401
u688860661
u688860661
1,523,253,390
2018-04-09T05:56:30
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int operand1 = sc.nextInt(); char operator = sc.nextChar(); int operand2 = sc.nextInt(); switch(operator) { case '+': ...
Main.java:12: error: cannot find symbol char operator = sc.nextChar(); ^ symbol: method nextChar() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u688860661|p02401|0
u688860661|p02401|0
codenet
Compile Error
670
v2_s587449898
s587449898
s587449898
p02401
p02401
u697401148
u697401148
1,525,000,123
2018-04-29T11:08:43
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scanner = new Scanner(System.in); for(int i = 0; i < 20_000; i++){ int a = scanner.nextInt(); String op = scanner.next(); int b = scanner.nextInt(); if(op....
Main.java:12: error: ')' expected if(op.equals("?"){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u697401148|p02401|0
u697401148|p02401|0
codenet
Compile Error
729
v2_s313399460
s313399460
s313399460
p02401
p02401
u699160354
u699160354
1,513,153,024
2017-12-13T08:17:04
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); while(scanner.hasNextLine()){ String[] input = scanner.nextLine().split(" "); int a = Integer.parseInt(input[0]); int b = Integer.parseInt(input[2]); if(input[1].equals("+")){ System....
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02401|0
u699160354|p02401|0
codenet
Compile Error
551
v2_s675888271
s675888271
s675888271
p02401
p02401
u745110271
u745110271
1,534,819,070
2018-08-21T02:37:50
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(true){ int a=sc.nextInt(); String op=sc.next(); int b=sc.nextInt(); if(op.equals("?"))break; System.out.println(Calc(a,op,b)); } ...
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
u745110271|p02401|0
u745110271|p02401|0
codenet
Compile Error
563
v2_s089359263
s089359263
s089359263
p02401
p02401
u745846646
u745846646
1,460,444,349
2016-04-12T06:59:09
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); StringBuilder sb = new StringBuilder(); int answer = 0; while (true) { int a = scan.nextInt(); String op = scan.next(); ...
Main.java:28: error: ';' expected Systeem.out.println(answer) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u745846646|p02401|0
u745846646|p02401|0
codenet
Compile Error
776
v2_s057681636
s057681636
s057681636
p02401
p02401
u745846646
u745846646
1,460,444,362
2016-04-12T06:59:22
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); StringBuilder sb = new StringBuilder(); int answer = 0; while (true) { int a = scan.nextInt(); String op = scan.next(); ...
Main.java:28: error: ';' expected System.out.println(answer) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u745846646|p02401|0
u745846646|p02401|0
codenet
Compile Error
775
v2_s174491262
s174491262
s174491262
p02401
p02401
u761641457
u761641457
1,452,489,924
2016-01-11T05:25:24
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt; int op = scan.nextInt; int b = scan.nextInt;//????????¶??\??? if(op == "?"){ break; } else if(op == "+") { int x = a + b; } else if(op == "-") { x = a - b; } else if(op == ...
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: bad operand typ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761641457|p02401|0
u761641457|p02401|0
codenet
Compile Error
417
v2_s824883973
s824883973
s824883973
p02401
p02401
u761641457
u761641457
1,452,490,262
2016-01-11T05:31:02
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt; int op = scan.nextInt; int b = scan.nextInt;//????????¶??\??? if(op == "+") { int x = a + b; } else if(op == "-") { x = a - b; } else if(op == "*")...
Main.java:6: error: cannot find symbol int a = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:7: error: cannot find symbol int op = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:8: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761641457|p02401|0
u761641457|p02401|0
codenet
Compile Error
434
v2_s871935481
s871935481
s871935481
p02401
p02401
u761641457
u761641457
1,452,490,613
2016-01-11T05:36:53
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt; int op = scan.nextInt; int b = scan.nextInt; //????????¶??\??? if (op == "+") { int x = a + b; } else if(op == "-") { x = a - b; } else if(op == "*...
Main.java:6: error: cannot find symbol int a = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:7: error: cannot find symbol int op = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:8: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761641457|p02401|0
u761641457|p02401|0
codenet
Compile Error
436
v2_s251614174
s251614174
s251614174
p02401
p02401
u761641457
u761641457
1,452,491,013
2016-01-11T05:43:33
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt; int op = scan.nextInt; int b = scan.nextInt;//????????¶??\??? for (i = 0;; i++){ if(op == '+') { int x = a + b; } else if(op == '-') { x = a - b; ...
Main.java:6: error: cannot find symbol int a = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:7: error: cannot find symbol int op = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:8: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761641457|p02401|0
u761641457|p02401|0
codenet
Compile Error
459
v2_s873883306
s873883306
s873883306
p02401
p02401
u761641457
u761641457
1,452,491,192
2016-01-11T05:46:32
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt; int op = scan.nextChar; int b = scan.nextInt;//????????¶??\??? for (i = 0;; i++){ if(op == '+') { int x = a + b; } else if(op == '-') { x = a - b; ...
Main.java:6: error: cannot find symbol int a = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:7: error: cannot find symbol int op = scan.nextChar; ^ symbol: variable nextChar location: variable scan of type Scanner Main.java:8: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761641457|p02401|0
u761641457|p02401|0
codenet
Compile Error
460
v2_s013861955
s013861955
s013861955
p02401
p02401
u761641457
u761641457
1,452,491,400
2016-01-11T05:50:00
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt; char op = scan.nextChar; int b = scan.nextInt;//????????¶??\??? for (i = 0;; i++){ if(op == '+') { System.out.println(a + b); } else if(op == '-')...
Main.java:6: error: cannot find symbol int a = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:7: error: cannot find symbol char op = scan.nextChar; ^ symbol: variable nextChar location: variable scan of type Scanner Main.java:8: e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761641457|p02401|0
u761641457|p02401|0
codenet
Compile Error
505
v2_s003207196
s003207196
s003207196
p02401
p02401
u761641457
u761641457
1,452,491,701
2016-01-11T05:55:01
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt; String op = scan.next(); int b = scan.nextInt;//????????¶??\??? for (i = 0;; i++){ if(op == '+') { System.out.println(a + b); } else if(op == '-')...
Main.java:6: error: cannot find symbol int a = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:8: error: cannot find symbol int b = scan.nextInt;//???????????\??? ^ symbol: variable nextInt location: variable scan of type Scanner Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761641457|p02401|0
u761641457|p02401|0
codenet
Compile Error
505
v2_s449710706
s449710706
s449710706
p02401
p02401
u761641457
u761641457
1,452,491,829
2016-01-11T05:57:09
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt; String op = scan.next(); int b = scan.nextInt;//????????¶??\??? for ( int i = 0;; i++){ if(op == '+') { System.out.println(a + b); } else if(op ==...
Main.java:6: error: cannot find symbol int a = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:8: error: cannot find symbol int b = scan.nextInt;//???????????\??? ^ symbol: variable nextInt location: variable scan of type Scanner Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761641457|p02401|0
u761641457|p02401|0
codenet
Compile Error
510
v2_s579115487
s579115487
s579115487
p02401
p02401
u761641457
u761641457
1,452,495,132
2016-01-11T06:52:12
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { String s[] = new String[3]; Scanner scan = new Scanner(System.in); int a = scan.nextInt; s[i] = scan.next(); int b = scan.nextInt;//????????¶??\??? for ( int i = 0;; i++){ String op = s[1]; if(op == '?') { ...
Main.java:7: error: cannot find symbol int a = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:8: error: cannot find symbol s[i] = scan.next(); ^ symbol: variable i location: class Main Main.java:9: error: cannot find symbol int b = scan.nex...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761641457|p02401|0
u761641457|p02401|0
codenet
Compile Error
573
v2_s706408461
s706408461
s706408461
p02401
p02401
u761641457
u761641457
1,452,495,716
2016-01-11T07:01:56
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { String s[] = new String[3]; Scanner scan = new Scanner(System.in); for ( int i = 0;; i++){ int a = scan.nextInt; s[i] = scan.next(); int b = scan.nextInt;//????????¶??\??? String op = s[i]; if(op == '?') { ...
Main.java:8: error: cannot find symbol int a = scan.nextInt; ^ symbol: variable nextInt location: variable scan of type Scanner Main.java:10: error: cannot find symbol int b = scan.nextInt;//???????????\??? ^ symbol: variable nextInt location: variable scan of type Scanne...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761641457|p02401|0
u761641457|p02401|0
codenet
Compile Error
575
v2_s435478551
s435478551
s435478551
p02401
p02401
u761641457
u761641457
1,452,564,450
2016-01-12T02:07:30
Main.java
mport java.util.Scanner; public class Main { public static void main(String[] args){ int ans = 0;// ??¨????????????????¨????????????? String s[] = new String[3]; Scanner scan = new Scanner(System.in); while(true){//??\???????????£????????°????????????????????? for(int i = 0; i < s.length; i++){ //i???s???...
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761641457|p02401|1
u761641457|p02401|1
codenet
Compile Error
1,044
v2_s729099626
s729099626
s729099626
p02401
p02401
u771424992
u771424992
1,406,016,635
2014-07-22T08:10:35
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); boolean eter = true; while(eter == true){ int a = sc.nextInt(); String op = sc.next(); int b = sc.nextInt(); if(m == "+"){ System.out.println(a + b); }else if(m == "-"){ ...
Main.java:12: error: cannot find symbol if(m == "+"){ ^ symbol: variable m location: class Main Main.java:14: error: cannot find symbol }else if(m == "-"){ ^ symbol: variable m location: class Main Main.java:16: error: cannot find symbol }else if(m == "*"){ ^ symbol:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u771424992|p02401|0
u771424992|p02401|0
codenet
Compile Error
531
v2_s831030108
s831030108
s831030108
p02401
p02401
u774210788
u774210788
1,457,967,623
2016-03-14T15:00:23
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ int a,b; char op; Scanner sc = new Scanner(System.in); while(true) { a = sc.nextInt(); op = sc.next().charAt(0); b = sc.nextInt(); switch (op) { ...
Main.java:29: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u774210788|p02401|0
u774210788|p02401|0
codenet
Compile Error
799
v2_s205316254
s205316254
s205316254
p02401
p02401
u775942576
u775942576
1,459,854,599
2016-04-05T11:09:59
Main.java
import java.util.Scanner; class Main{ public static void main(String[] arg){ int a, b, ans; String op; Scanner in = new Scanner(System.in); a = in.nextInt(); op = in.next(); b = in.nextInt(); if("?".equals(op)){ return; }else if("+".equals(op)){ ans = a + b; }els...
Main.java:24: error: variable ans might not have been initialized System.out.println(ans); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u775942576|p02401|0
u775942576|p02401|0
codenet
Compile Error
506
v2_s155053069
s155053069
s155053069
p02401
p02401
u775942576
u775942576
1,459,858,380
2016-04-05T12:13:00
Main.java
import java.util.Scanner; class Main{ public static void main(String[] arg){ int a, b, ans = 0; String op; Scanner in = new Scanner(System.in); while(true){ a = in.nextInt(); op = in.next(); b = in.nextInt(); if("?".equals(op)){ return; }else if(...
Main.java:27: error: unreachable statement System.out.printf("%d\n",ans); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u775942576|p02401|0
u775942576|p02401|0
codenet
Compile Error
600
v2_s425078585
s425078585
s425078585
p02401
p02401
u775942576
u775942576
1,459,858,420
2016-04-05T12:13:40
Main.java
import java.util.Scanner; class Main{ public static void main(String[] arg){ int a, b, ans = 0; String op; Scanner in = new Scanner(System.in); while(true){ a = in.nextInt(); op = in.next(); b = in.nextInt(); if("?".equals(op)){ return; }else if(...
Main.java:27: error: unreachable statement System.out.println(ans); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u775942576|p02401|0
u775942576|p02401|0
codenet
Compile Error
590
v2_s143523343
s143523343
s143523343
p02401
p02401
u782400744
u782400744
1,499,752,831
2017-07-11T06:00:31
Main.java
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String input = br.readLine(); String[] cut = input.split(" "); int a = Integer.parseInt(cut[0]); int b = Integer.parseInt(c...
Main.java:22: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u782400744|p02401|0
u782400744|p02401|0
codenet
Compile Error
572
v2_s787388260
s787388260
s787388260
p02401
p02401
u792486880
u792486880
1,468,653,687
2016-07-16T07:21:27
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); scan.nextline();String op = scan.nextLine(); int b = scan.nextInt(); if(op.equals("?")) {} else {System.out.println(a op b);} } }
Main.java:11: error: ')' or ',' expected else {System.out.println(a op b);} ^ Main.java:11: error: ';' expected else {System.out.println(a op b);} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02401|0
u792486880|p02401|0
codenet
Compile Error
316
v2_s226937885
s226937885
s226937885
p02401
p02401
u792486880
u792486880
1,468,653,761
2016-07-16T07:22:41
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); scan.nextline();String op = scan.nextLine(); int b = scan.nextInt(); if(!op.equals("?")) {} System.out.println(a op b); } }
Main.java:11: error: ')' or ',' expected System.out.println(a op b); ^ Main.java:11: error: ';' expected System.out.println(a op b); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02401|0
u792486880|p02401|0
codenet
Compile Error
308
v2_s955387193
s955387193
s955387193
p02401
p02401
u792486880
u792486880
1,468,653,808
2016-07-16T07:23:28
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); scan.nextline();String op = scan.nextLine(); int b = scan.nextInt(); if(!op.equals("?")) { System.out.println(a op b);} } }
Main.java:11: error: ')' or ',' expected System.out.println(a op b);} ^ Main.java:11: error: ';' expected System.out.println(a op b);} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02401|0
u792486880|p02401|0
codenet
Compile Error
305
v2_s672565038
s672565038
s672565038
p02401
p02401
u792486880
u792486880
1,468,654,495
2016-07-16T07:34:55
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a; int b; String op = "a" while(! op == ?){ int a = scan.next(); String op = scan.next(); int b = scan.next(); if(op == +) {System.out.println(a + b);} el...
Main.java:6: error: ';' expected int a; int b; String op = "a" ^ Main.java:7: error: illegal start of expression while(! op == ?){ ^ Main.java:7: error: illegal start of expression while(! op == ?){ ^ Main.java:12: error: illegal start of express...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02401|0
u792486880|p02401|0
codenet
Compile Error
475
v2_s417555075
s417555075
s417555075
p02401
p02401
u792486880
u792486880
1,468,654,665
2016-07-16T07:37:45
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a; int b; String op = "a"; while(! op == "?"){ int a = scan.next(); String op = scan.next(); int b = scan.next(); if(op == "+") {System.out.println(a + b);} ...
Main.java:7: error: bad operand type String for unary operator '!' while(! op == "?"){ ^ Main.java:8: error: variable a is already defined in method main(String[]) int a = scan.next(); ^ Main.java:8: error: incompatible types: String cannot be converted to int int a = scan.next(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02401|0
u792486880|p02401|0
codenet
Compile Error
486
v2_s294363420
s294363420
s294363420
p02401
p02401
u792486880
u792486880
1,468,654,731
2016-07-16T07:38:51
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a; int b; String op = "a"; while(op !== "?"){ a = scan.next(); op = scan.next(); b = scan.next(); if(op == "+") {System.out.println(a + b);} else if(op ==...
Main.java:7: error: illegal start of expression while(op !== "?"){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02401|0
u792486880|p02401|0
codenet
Compile Error
470
v2_s981242073
s981242073
s981242073
p02401
p02401
u792486880
u792486880
1,468,654,839
2016-07-16T07:40:39
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a; int b; String op = "a"; while(op !== "?"){ a = scan.next(); op = scan.next(); b = scan.next(); if(op == "+") {System.out.println(a + b);} else if(op ...
Main.java:7: error: illegal start of expression while(op !== "?"){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02401|0
u792486880|p02401|0
codenet
Compile Error
472
v2_s371140874
s371140874
s371140874
p02401
p02401
u837693739
u837693739
1,523,257,536
2018-04-09T07:05:36
SimpleCalculator.java
import java.util.Scanner; public class SimpleCalculator { public static void main(String args[]) { String op = null; while (!op.equals(?)) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); op = sc.next(); int b = sc.nextInt(); int ans; if (op.equals("+")) { ans = a + b; } else ...
SimpleCalculator.java:6: error: illegal start of expression while (!op.equals(?)) { ^ SimpleCalculator.java:6: error: illegal start of expression while (!op.equals(?)) { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u837693739|p02401|0
u837693739|p02401|0
codenet
Compile Error
535
v2_s305975177
s305975177
s305975177
p02401
p02401
u845463247
u845463247
1,523,257,307
2018-04-09T07:01:47
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String[]args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { String line = br.readLine(); String[]...
Main.java:24: error: break outside switch or loop } else break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u845463247|p02401|0
u845463247|p02401|0
codenet
Compile Error
976
v2_s247329787
s247329787
s247329787
p02401
p02401
u845463247
u845463247
1,523,257,329
2018-04-09T07:02:09
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String[]args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { String line = br.readLine(); String[]...
Main.java:10: error: unreported exception IOException; must be caught or declared to be thrown String line = br.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u845463247|p02401|0
u845463247|p02401|0
codenet
Compile Error
969
v2_s997141453
s997141453
s997141453
p02401
p02401
u846561881
u846561881
1,556,255,623
2019-04-26T05:13:43
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a ; String op ; int b ; int sum=0; String tasu = "+" ; String hiku = "-" ; ...
Main.java:18: error: ';' expected While(true){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u846561881|p02401|0
u846561881|p02401|0
codenet
Compile Error
846
v2_s541570539
s541570539
s541570539
p02401
p02401
u869688911
u869688911
1,503,984,242
2017-08-29T05:24:02
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int x; boolean i=true; while(i){ String str=br.nextLine(); String[] arr=str.split(" "); int a=Integer.parseInt(arr[0]); int b=Integer.parseInt(arr[2]); switch(arr[1]){ case "+": ...
Main.java:8: error: cannot find symbol String str=br.nextLine(); ^ symbol: method nextLine() location: variable br of type BufferedReader 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02401|0
u869688911|p02401|0
codenet
Compile Error
502
v2_s795662749
s795662749
s795662749
p02401
p02401
u869688911
u869688911
1,503,984,578
2017-08-29T05:29:38
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int x; boolean i=true; while(i){ String str=br.nextLine(); String[] arr=str.split(" "); int a=Integer.parseInt(arr[0]); int b=Integer.parseInt(arr[2]); switch(a...
Main.java:8: error: cannot find symbol String str=br.nextLine(); ^ symbol: method nextLine() location: variable br of type BufferedReader 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02401|0
u869688911|p02401|0
codenet
Compile Error
520
v2_s267514932
s267514932
s267514932
p02401
p02401
u869688911
u869688911
1,503,984,646
2017-08-29T05:30:46
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int x; boolean i=true; while(i){ String str=br.readLine(); String[] arr=str.split(" "); int a=Integer.parseInt(arr[0]); int b=Integer.parseInt(arr[2]); switch(a...
Main.java:20: error: variable x might not have been initialized if(i==true) System.out.println(x); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02401|0
u869688911|p02401|0
codenet
Compile Error
520
v2_s953959768
s953959768
s953959768
p02401
p02401
u873575627
u873575627
1,442,761,110
2015-09-20T14:58:30
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); while(true){ String str = (br.readline()).split(" "); if (str[1] == "?") { break; } String con = str[0] +...
Main.java:8: error: cannot find symbol String str = (br.readline()).split(" "); ^ symbol: method readline() location: variable br of type BufferedReader Main.java:9: error: array required, but String found if (str[1] == "?") { ^ Main.java:12: error: array required, but String fo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u873575627|p02401|0
u873575627|p02401|0
codenet
Compile Error
436
v2_s960173897
s960173897
s960173897
p02401
p02401
u873575627
u873575627
1,442,761,280
2015-09-20T15:01:20
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); while(true){ String[] str = (br.readline()).split(" "); if (str[1] == "?") { break; } String con = str[0]...
Main.java:8: error: cannot find symbol String[] str = (br.readline()).split(" "); ^ symbol: method readline() location: variable br of type BufferedReader 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u873575627|p02401|0
u873575627|p02401|0
codenet
Compile Error
438
v2_s196109676
s196109676
s196109676
p02401
p02401
u873575627
u873575627
1,442,761,906
2015-09-20T15:11:46
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String st = br.readline(); String[] str = st.split(" "); int a = Integer.parseInt(str[0]); String op = str[1]; int b = Integer.parseInt...
Main.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u873575627|p02401|0
u873575627|p02401|0
codenet
Compile Error
616
v2_s437008563
s437008563
s437008563
p02401
p02401
u873575627
u873575627
1,442,761,925
2015-09-20T15:12:05
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String st = br.readline(); String[] str = st.split(" "); int a = Integer.parseInt(str[0]); String op = str[1]; int b = Integer.parseInt...
Main.java:7: error: cannot find symbol String st = br.readline(); ^ symbol: method readline() location: variable br of type BufferedReader 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u873575627|p02401|0
u873575627|p02401|0
codenet
Compile Error
618
v2_s480699566
s480699566
s480699566
p02401
p02401
u873575627
u873575627
1,442,761,983
2015-09-20T15:13:03
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String st = br.readLine(); String[] str = st.split(" "); int a = Integer.parseInt(str[0]); String op = str[1]; int b = Integer.parseInt...
Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown String st = br.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u873575627|p02401|0
u873575627|p02401|0
codenet
Compile Error
618
v2_s171662652
s171662652
s171662652
p02401
p02401
u895275311
u895275311
1,491,281,821
2017-04-04T04:57:01
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ int a = scan.nextInt(); string op = scan.nextLine i...
Main.java:10: error: ';' expected string op = scan.nextLine ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
697
v2_s649145735
s649145735
s649145735
p02401
p02401
u895275311
u895275311
1,491,281,848
2017-04-04T04:57:28
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ int a = scan.nextInt(); string op = scan.nextLine(); ...
Main.java:10: error: cannot find symbol string op = scan.nextLine(); ^ symbol: class string location: class Main Main.java:35: error: cannot find symbol for(int i=0;i<listx.size();i++){ ^ symbol: variable listx location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
700
v2_s249562924
s249562924
s249562924
p02401
p02401
u895275311
u895275311
1,491,281,885
2017-04-04T04:58:05
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ int a = scan.nextInt(); string op = scan.nextString();...
Main.java:10: error: cannot find symbol string op = scan.nextString(); ^ symbol: class string location: class Main Main.java:10: error: cannot find symbol string op = scan.nextString(); ^ symbol: method nextString() location: variable scan of type Scanner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
701
v2_s707474708
s707474708
s707474708
p02401
p02401
u895275311
u895275311
1,491,282,216
2017-04-04T05:03:36
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ int a = scan.nextInt(); string op = scan.next(); in...
Main.java:10: error: cannot find symbol string op = scan.next(); ^ symbol: class string location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
695
v2_s677983307
s677983307
s677983307
p02401
p02401
u895275311
u895275311
1,491,282,292
2017-04-04T05:04:52
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ string a = scan.next(); string op = scan.next(); st...
Main.java:9: error: cannot find symbol string a = scan.next(); ^ symbol: class string location: class Main Main.java:10: error: cannot find symbol string op = scan.next(); ^ symbol: class string location: class Main Main.java:11: error: cannot find symbol string b = scan.next(); ^ symbol...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
695
v2_s957051397
s957051397
s957051397
p02401
p02401
u895275311
u895275311
1,491,282,428
2017-04-04T05:07:08
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ String a = scan.nextLine(); String op = scan.next(); ...
Main.java:19: error: incompatible types: String cannot be converted to int cal = a + b; ^ Main.java:22: error: bad operand types for binary operator '-' cal = a - b; ^ first type: String second type: String Main.java:25: error: bad operand types for binary operator '*' cal ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
699
v2_s947389616
s947389616
s947389616
p02401
p02401
u895275311
u895275311
1,491,282,729
2017-04-04T05:12:09
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ String a = scan.nextInt(); String op = scan.next(); ...
Main.java:9: error: incompatible types: int cannot be converted to String String a = scan.nextInt(); ^ Main.java:11: error: incompatible types: int cannot be converted to String String b = scan.nextInt(); ^ Main.java:21: error: incompatible types: String cannot ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
771
v2_s834079112
s834079112
s834079112
p02401
p02401
u895275311
u895275311
1,491,282,764
2017-04-04T05:12:44
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ Int a = scan.nextInt(); String op = scan.next(); In...
Main.java:9: error: cannot find symbol Int a = scan.nextInt(); ^ symbol: class Int location: class Main Main.java:11: error: cannot find symbol Int b = scan.nextInt(); ^ symbol: class Int location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
765
v2_s603349076
s603349076
s603349076
p02401
p02401
u895275311
u895275311
1,491,283,417
2017-04-04T05:23:37
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ //String aa = scan.next(); //String op = scan.next(); ...
Main.java:12: error: cannot find symbol int a = Integer.parseInt(aa); ^ symbol: variable aa location: class Main Main.java:13: error: cannot find symbol int b = Integer.parseInt(bb); ^ symbol: variable bb location: class Main Main.java:16: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
759
v2_s208542840
s208542840
s208542840
p02401
p02401
u895275311
u895275311
1,491,283,439
2017-04-04T05:23:59
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ String aa = scan.next(); String op = scan.next(); S...
Main.java:21: error: cannot find symbol cal = a + b; ^ symbol: variable a location: class Main Main.java:21: error: cannot find symbol cal = a + b; ^ symbol: variable b location: class Main Main.java:24: error: cannot find symbol cal = a - b; ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
757
v2_s953200274
s953200274
s953200274
p02401
p02401
u895275311
u895275311
1,491,283,460
2017-04-04T05:24:20
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ String a = scan.next(); String op = scan.next(); St...
Main.java:21: error: incompatible types: String cannot be converted to int cal = a + b; ^ Main.java:24: error: bad operand types for binary operator '-' cal = a - b; ^ first type: String second type: String Main.java:27: error: bad operand types for binary operator '*' cal ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
755
v2_s803292293
s803292293
s803292293
p02401
p02401
u895275311
u895275311
1,491,283,743
2017-04-04T05:29:03
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ String a = scan.next(); String op = scan.next(); St...
Main.java:24: error: bad operand types for binary operator '-' cal = a - b; ^ first type: String second type: String Main.java:27: error: bad operand types for binary operator '*' cal = a * b; ^ first type: String second type: String Main.java:30: error: bad operand types f...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
791
v2_s703808196
s703808196
s703808196
p02401
p02401
u895275311
u895275311
1,491,283,837
2017-04-04T05:30:37
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ String a = scan.next(); //String op = scan.next(); ...
Main.java:16: error: cannot find symbol if(op == "?"){ ^ symbol: variable op location: class Main Main.java:20: error: cannot find symbol if(op == "+"){ ^ symbol: variable op location: class Main Main.java:23: error: cannot find symbol if(op == "-"){ ^ symbol: variable op ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|0
u895275311|p02401|0
codenet
Compile Error
911
v2_s665485705
s665485705
s665485705
p02401
p02401
u895275311
u895275311
1,491,292,817
2017-04-04T08:00:17
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ int a = scan.nextInt(); String op = scan.next(); in...
Main.java:11: error: cannot find symbol int b = scan.nextIn(); ^ symbol: method nextIn() location: variable scan of type Scanner Main.java:16: error: bad operand types for binary operator '==' if(op == '?'){ ^ first type: String second type: char Main.java:20: error: bad operand...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|1
u895275311|p02401|0
codenet
Compile Error
900
v2_s359511451
s359511451
s359511451
p02401
p02401
u895275311
u895275311
1,491,292,884
2017-04-04T08:01:24
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ int a = scan.nextInt(); String op = scan.next(); in...
Main.java:11: error: cannot find symbol int b = scan.nextIn(); ^ symbol: method nextIn() location: variable scan of type Scanner Main.java:16: error: bad operand types for binary operator '==' if(op == '?'){ ^ first type: String second type: char Main.java:20: error: bad operand...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|1
u895275311|p02401|0
codenet
Compile Error
754
v2_s786888327
s786888327
s786888327
p02401
p02401
u895275311
u895275311
1,491,292,907
2017-04-04T08:01:47
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ int a = scan.nextInt(); String op = scan.next(); in...
Main.java:16: error: bad operand types for binary operator '==' if(op == '?'){ ^ first type: String second type: char Main.java:20: error: bad operand types for binary operator '==' if(op == '+'){ ^ first type: String second type: char Main.java:23: error: bad operand types for binar...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|1
u895275311|p02401|0
codenet
Compile Error
755
v2_s750958352
s750958352
s750958352
p02401
p02401
u895275311
u895275311
1,491,292,930
2017-04-04T08:02:10
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ int a = scan.nextInt(); Char op = scan.next(); int ...
Main.java:10: error: cannot find symbol Char op = scan.next(); ^ symbol: class Char location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02401|1
u895275311|p02401|0
codenet
Compile Error
753
v2_s750282978
s750282978
s750282978
p02401
p02401
u900101313
u900101313
1,465,904,065
2016-06-14T11:34:25
Main.java
public class Main { public static void main(String[] args) throws IOException{ java.util.Scanner scan = new java.util.Scanner(System.in); int a = Integer.parseInt(scan.next()); String op = scan.next(); int b = Integer.parseInt(scan.next()); //String op = scan.nextLine(); if("+".equals(op)){ System.out...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws IOException{ ^ symbol: class IOException location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u900101313|p02401|2
u900101313|p02401|2
codenet
Compile Error
549
v2_s961154341
s961154341
s961154341
p02401
p02401
u901080241
u901080241
1,488,638,369
2017-03-04T14:39:29
Main.java
public class Main { public static void main(String[] args){ Scanner std = new Scanner(System.in); while(true){ int a = Integer.parseInt(std.next()); String op = std.next(); int b = Integer.parseInt(std.next()); int res = 0; if(op!="?"){ switch(op){ case "+" : res =...
Main.java:3: error: cannot find symbol Scanner std = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner std = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u901080241|p02401|0
u901080241|p02401|0
codenet
Compile Error
512
v2_s873157691
s873157691
s873157691
p02401
p02401
u910402677
u910402677
1,477,641,902
2016-10-28T08:05:02
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); List<Integer> answers = new ArrayList<Integer>(); for(;;){ String line = scan.nextLine(); String[] div = line.split("\\s"); int a = Integer.parseInt(div[0]); String op = div[1]; i...
Main.java:40: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02401|0
u910402677|p02401|0
codenet
Compile Error
715
v2_s726977672
s726977672
s726977672
p02401
p02401
u910402677
u910402677
1,477,641,931
2016-10-28T08:05:31
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); List<Integer> answers = new ArrayList<Integer>(); for(;;){ String line = scan.nextLine(); String[] div = line.split("\\s"); int a = Integer.parseInt(div[0]); String op = div[1]; i...
Main.java:33: error: variable ans might not have been initialized answers.add(ans); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02401|0
u910402677|p02401|0
codenet
Compile Error
717
v2_s294379238
s294379238
s294379238
p02401
p02401
u910402677
u910402677
1,477,642,059
2016-10-28T08:07:39
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); List<Integer> answers = new ArrayList<Integer>(); for(;;){ String line = scan.nextLine(); String[] div = line.split("\\s"); int a = Integer.parseInt(div[0]); String op = div[1]; i...
Main.java:16: error: incompatible types: <null> cannot be converted to int int ans = null; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02401|0
u910402677|p02401|0
codenet
Compile Error
724
v2_s687872336
s687872336
s687872336
p02401
p02401
u910402677
u910402677
1,479,376,270
2016-11-17T09:51:10
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Integer> answers = new ArrayList<Integer>(); for(;;){ int a = scan.nextInt(); char op = scan.next(); int b = scan.nextInt(); if(op == '?'){ break; } ...
Main.java:10: error: incompatible types: String cannot be converted to char char op = scan.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02401|1
u910402677|p02401|1
codenet
Compile Error
655
v2_s600656733
s600656733
s600656733
p02401
p02401
u910402677
u910402677
1,479,376,364
2016-11-17T09:52:44
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Integer> answers = new ArrayList<Integer>(); for(;;){ int a = scan.nextInt(); String op = scan.next(); char o = op.charAt(0); int b = scan.nextInt(); if(...
Main.java:13: error: bad operand types for binary operator '==' if(op == '?'){ ^ first type: String second type: char 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02401|1
u910402677|p02401|1
codenet
Compile Error
682
v2_s648568472
s648568472
s648568472
p02401
p02401
u925778868
u925778868
1,546,333,248
2019-01-01T09:00:48
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(); String op =sc.nextLine(); Switch(op){ case "+": System.out.println(a+b); break; case "-": System.out.println(a-b); break; case "*": System.out.println(a*b); break;...
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:8: error: ';' expected Switch(op){ ^ Main.java:9: error: orphaned case case "+": ^ Main.java:25: error: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02401|0
u925778868|p02401|0
codenet
Compile Error
386
v2_s640305475
s640305475
s640305475
p02401
p02401
u925778868
u925778868
1,546,333,271
2019-01-01T09:01:11
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(); String op =sc.nextLine(); Switch(op){ case "+": System.out.println(a+b); break; case "-": System.out.println(a-b); break; case "*": System.out.println(a*b); break;...
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:8: error: ';' expected Switch(op){ ^ Main.java:9: error: orphaned case case "+": ^ Main.java:25: error: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02401|0
u925778868|p02401|0
codenet
Compile Error
386
v2_s599672589
s599672589
s599672589
p02401
p02401
u925778868
u925778868
1,546,333,520
2019-01-01T09:05:20
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(); String op =sc.nextLine(); if(op.equals("+")){ System.out.println(a+b); }else if(op.equals("-")){ System.out.println(a-b); }else if(op.equals("*")){ System.out.p...
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:22: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02401|0
u925778868|p02401|0
codenet
Compile Error
406
v2_s521537694
s521537694
s521537694
p02401
p02401
u925778868
u925778868
1,546,333,558
2019-01-01T09:05:58
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(); String op = sc.nextLine(); if(op.equals("+")){ System.out.println(a+b); }else if(op.equals("-")){ System.out.println(a-b); }else if(op.equals("*")){ System.out....
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:22: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02401|0
u925778868|p02401|0
codenet
Compile Error
407
v2_s076726211
s076726211
s076726211
p02401
p02401
u925778868
u925778868
1,546,333,586
2019-01-01T09:06:26
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(); } }
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:12: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02401|0
u925778868|p02401|0
codenet
Compile Error
165
v2_s374120966
s374120966
s374120966
p02401
p02401
u925778868
u925778868
1,546,333,687
2019-01-01T09:08:07
Main.java
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(); String op = sc.nextLine(); if(op.equals("+")){ System.out.println(a+b); }else if(op.equals("-")){ System.out.println(a-b); }else if(op.equals(...
Main.java:18: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02401|0
u925778868|p02401|0
codenet
Compile Error
426
v2_s221964510
s221964510
s221964510
p02401
p02401
u925778868
u925778868
1,546,333,710
2019-01-01T09:08:30
Main.java
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(); String op = sc.nextLine(); if (op.equals("+")) { System.out.println(a + b); } else if (op.equals("-")) { System.out.println(a - b);...
Main.java:19: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02401|0
u925778868|p02401|0
codenet
Compile Error
474
v2_s329560575
s329560575
s329560575
p02401
p02401
u925778868
u925778868
1,546,346,157
2019-01-01T12:35:57
Main.java
public class Main { public static void main(String[] args) { // Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); String op = sc.nextLine(); while (true) { if (op.equals("+")) { System.out.println(a + b); } else if (op.equals("-")) { System.out.println(a - b); ...
Main.java:4: error: cannot find symbol int a = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:5: error: cannot find symbol int b = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:6: error: cannot find symbol String op = sc.nextLine(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02401|1
u925778868|p02401|0
codenet
Compile Error
503
v2_s612999827
s612999827
s612999827
p02401
p02401
u925778868
u925778868
1,546,347,059
2019-01-01T12:50:59
Main.java
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(); String op = sc.nextLine(); if(op.equals("+")){ System.out.println(a+b); }else if(op.equals("-")){ System.out.println(a-b); ...
Main.java:21: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02401|1
u925778868|p02401|0
codenet
Compile Error
489
v2_s499262352
s499262352
s499262352
p02401
p02401
u951319620
u951319620
1,523,257,150
2018-04-09T06:59:10
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { while(true){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); String op =sc.nextLine(); if(op.equals("+")){ int aopb = a+b; ...
Main.java:24: error: cannot find symbol System.out.println(aopb); ^ symbol: variable aopb location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951319620|p02401|0
u951319620|p02401|0
codenet
Compile Error
632
v2_s312288423
s312288423
s312288423
p02401
p02401
u973197167
u973197167
1,535,981,773
2018-09-03T13:36:13
Main.java
class Main while true str = gets.split(" ") a = str[0].to_i op = str[1] b = str[2].to_i case op when "+" puts a + b break when "-" puts a - b break when "*" puts a * b break when "/" puts a / b break else break end end...
Main.java:1: error: '{' expected class Main ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02401|0
u973197167|p02401|0
codenet
Compile Error
325
v2_s900813002
s900813002
s900813002
p02401
p02401
u973197167
u973197167
1,535,981,849
2018-09-03T13:37:29
Main.java
class Main while true str = gets.split(" ") a = str[0].to_i op = str[1] b = str[2].to_i case op when "+" puts a + b when "-" puts a - b when "*" puts a * b when "/" puts a / b else break end end end
Main.java:1: error: '{' expected class Main ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02401|0
u973197167|p02401|0
codenet
Compile Error
277
v2_s654184559
s654184559
s654184559
p02401
p02401
u986012016
u986012016
1,497,357,853
2017-06-13T12:44:13
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true) { String[] line = br.readLine().split...
Main.java:5: error: class, interface, enum, or record expected public Main { ^ Main.java:6: 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) Main.java:21: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u986012016|p02401|2
u986012016|p02401|2
codenet
Compile Error
764
v2_s572794634
s572794634
s572794634
p02401
p02401
u996485583
u996485583
1,480,648,034
2016-12-02T03:07:14
Main.java
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(); String op = sc.next(); while(!op == ("?")){ if(op == ("+")) System.out.println(a + b); else if(op == ("-")) System.out.p...
Main.java:12: error: bad operand type String for unary operator '!' while(!op == ("?")){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u996485583|p02401|0
u996485583|p02401|0
codenet
Compile Error
453
v2_s336316534
s336316534
s336316534
p02401
p02401
u996485583
u996485583
1,480,648,226
2016-12-02T03:10:26
Main.java
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(); String op = sc.next(); while(!op == ("?")){ if(op == ("+")) System.out.println(a + b); else if(op == ("-")) System.out.p...
Main.java:12: error: bad operand type String for unary operator '!' while(!op == ("?")){ ^ Main.java:21: error: variable a is already defined in method main(String[]) int a = sc.nextInt(); ^ Main.java:22: error: variable b is already defined in method main(String[]) int b = sc.nextInt(); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u996485583|p02401|0
u996485583|p02401|0
codenet
Compile Error
529
v2_s218140556
s218140556
s218140556
p02401
p02401
u996485583
u996485583
1,480,648,295
2016-12-02T03:11:35
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int = a, b; String = op; a = sc.nextInt(); b = sc.nextInt(); op = sc.next(); while(!op == ("?")){ if(op == ("+")) System.out.println(a + b); else if(op == ("-")) ...
Main.java:7: error: not a statement int = a, b; ^ Main.java:7: error: ';' expected int = a, b; ^ Main.java:7: error: not a statement int = a, b; ^ Main.java:7: error: ';' expected int = a, b; ^ Main.java:7: error: not a statement int = a, b; ^ Main.java:27: error: reached en...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u996485583|p02401|0
u996485583|p02401|0
codenet
Compile Error
526
v2_s724398864
s724398864
s724398864
p02401
p02401
u996485583
u996485583
1,480,648,378
2016-12-02T03:12:58
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int = a, b; String = op; a = sc.nextInt(); b = sc.nextInt(); op = sc.next(); while(!op.eqauls ("?")){ if(op.equals ("+")) System.out.println(a + b); else if(op.equa...
Main.java:7: error: not a statement int = a, b; ^ Main.java:7: error: ';' expected int = a, b; ^ Main.java:7: error: not a statement int = a, b; ^ Main.java:7: error: ';' expected int = a, b; ^ Main.java:7: error: not a statement int = a, b; ^ Main.java:27: error: reached en...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u996485583|p02401|0
u996485583|p02401|0
codenet
Compile Error
546
v2_s981241017
s981241017
s981241017
p02401
p02401
u996485583
u996485583
1,480,648,427
2016-12-02T03:13:47
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int = a, b; String = op; a = sc.nextInt(); b = sc.nextInt(); op = sc.next(); while(!op.eqauls ("?")){ if(op.equals ("+")) System.out.println(a + b); else if(op.equa...
Main.java:7: error: not a statement int = a, b; ^ Main.java:7: error: ';' expected int = a, b; ^ Main.java:7: error: not a statement int = a, b; ^ Main.java:7: error: ';' expected int = a, b; ^ Main.java:7: error: not a statement int = a, b; ^ 5 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u996485583|p02401|0
u996485583|p02401|0
codenet
Compile Error
548
v2_s954066023
s954066023
s954066023
p02401
p02401
u996485583
u996485583
1,480,648,484
2016-12-02T03:14:44
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int = a, b; String = op; a = sc.nextInt(); b = sc.nextInt(); op = sc.next(); while(!op == ("?")){ if(op ==("+")) System.out.println(a + b); else if(op ==("-")) ...
Main.java:7: error: not a statement int = a, b; ^ Main.java:7: error: ';' expected int = a, b; ^ Main.java:7: error: not a statement int = a, b; ^ Main.java:7: error: ';' expected int = a, b; ^ Main.java:7: error: not a statement int = a, b; ^ 5 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u996485583|p02401|0
u996485583|p02401|0
codenet
Compile Error
526
v2_s911975670
s911975670
s911975670
p02402
p02402
u015414098
u015414098
1,455,687,090
2016-02-17T05:31:30
Main.java
import java.util.Scanner; classMain{ @SuppressWarnings("resource") public static void main(String[] args) { //??\????????£?¨? Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] hako = new int[n]; int sum = 0; //??°??????????????????hako[0]???????????\??? for(int i = 0; i < n; i++){ ...
Main.java:4: error: class, interface, enum, or record expected classMain{ ^ Main.java:6: 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:37: error: class, interface, enum, or...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u015414098|p02402|0
u015414098|p02402|0
codenet
Compile Error
933