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_s341999404
s341999404
s341999404
p02396
p02396
u902605499
u902605499
1,556,003,514
2019-04-23T07:11:54
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdln = new Scanner(System.in); int x; x = stdln.nextInt(); for(int i = 0; i < x.length ; i++){ System.out.printf("%s %d: %d\n", "Case", x, x[i]); } } }
Main.java:9: error: int cannot be dereferenced for(int i = 0; i < x.length ; i++){ ^ Main.java:10: error: array required, but int found System.out.printf("%s %d: %d\n", "Case", x, x[i]); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02396|0
u902605499|p02396|0
codenet
Compile Error
291
v2_s436990268
s436990268
s436990268
p02396
p02396
u902605499
u902605499
1,556,004,076
2019-04-23T07:21:16
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdln = new Scanner(System.in); int x; x = stdln.nextInt(); while(boolen b = true) System.out.printf("%s %d: %d\n", "Case", x, x[i]); break; } }
Main.java:9: error: ')' expected while(boolen b = true) ^ Main.java:9: error: ';' expected while(boolen b = true) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02396|0
u902605499|p02396|0
codenet
Compile Error
283
v2_s157984487
s157984487
s157984487
p02396
p02396
u902605499
u902605499
1,556,004,267
2019-04-23T07:24:27
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdln = new Scanner(System.in); int x; x = stdln.nextInt(); while(boolean b = true) System.out.printf("%s %d: %d\n", "Case", x, x[i]); break; } }
Main.java:10: error: '.class' expected while(boolean b = true) ^ Main.java:10: error: ';' expected while(boolean b = true) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02396|0
u902605499|p02396|0
codenet
Compile Error
291
v2_s346444221
s346444221
s346444221
p02396
p02396
u902605499
u902605499
1,556,004,374
2019-04-23T07:26:14
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdln = new Scanner(System.in); int x; boolean b = true; x = stdln.nextInt(); while(b = 0){ System.out.printf("%s %d: %d\n", "Case", x, x[i]); break; } } }
Main.java:10: error: incompatible types: int cannot be converted to boolean while(b = 0){ ^ Main.java:11: error: cannot find symbol System.out.printf("%s %d: %d\n", "Case", x, x[i]); ^ symbol: variable i location: class Main Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02396|0
u902605499|p02396|0
codenet
Compile Error
306
v2_s633476080
s633476080
s633476080
p02396
p02396
u902605499
u902605499
1,556,004,402
2019-04-23T07:26:42
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdln = new Scanner(System.in); int x; boolean b = true; x = stdln.nextInt(); while(i = 0){ System.out.printf("%s %d: %d\n", "Case", x, x[i]); break; } } }
Main.java:10: error: cannot find symbol while(i = 0){ ^ symbol: variable i location: class Main Main.java:11: error: cannot find symbol System.out.printf("%s %d: %d\n", "Case", x, x[i]); ^ symbol: variable i location: class Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02396|0
u902605499|p02396|0
codenet
Compile Error
306
v2_s925090310
s925090310
s925090310
p02396
p02396
u902605499
u902605499
1,556,004,421
2019-04-23T07:27:01
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdln = new Scanner(System.in); int x,i; boolean b = true; x = stdln.nextInt(); while(i = 0){ System.out.printf("%s %d: %d\n", "Case", x, x[i]); break; } } }
Main.java:10: error: incompatible types: int cannot be converted to boolean while(i = 0){ ^ Main.java:11: error: array required, but int found System.out.printf("%s %d: %d\n", "Case", x, x[i]); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02396|0
u902605499|p02396|0
codenet
Compile Error
308
v2_s557343110
s557343110
s557343110
p02396
p02396
u902605499
u902605499
1,556,004,594
2019-04-23T07:29:54
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdln = new Scanner(System.in); int x; boolean i = true; x = stdln.nextInt(); while(i = 0){ System.out.printf("%s %d: %d\n", "Case", x, x); break; } } }
Main.java:10: error: incompatible types: int cannot be converted to boolean while(i = 0){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02396|0
u902605499|p02396|0
codenet
Compile Error
303
v2_s921348238
s921348238
s921348238
p02396
p02396
u902605499
u902605499
1,556,004,918
2019-04-23T07:35:18
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdln = new Scanner(System.in); int x; boolean b = true; x = stdln.nextInt(); while(b = true){ System.out.printf("%s %d: %d\n", "Case", x.length, x.l); break; } } }
Main.java:11: error: int cannot be dereferenced System.out.printf("%s %d: %d\n", "Case", x.length, x.l); ^ Main.java:11: error: int cannot be dereferenced System.out.printf("%s %d: %d\n", "Case", x.length, x.l); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02396|0
u902605499|p02396|0
codenet
Compile Error
315
v2_s073631942
s073631942
s073631942
p02396
p02396
u902605499
u902605499
1,556,004,954
2019-04-23T07:35:54
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdln = new Scanner(System.in); int x; boolean b = true; x = stdln.nextInt(); while(b = true){ System.out.printf("%s %d: %d\n", "Case", x.length, x); break; } } }
Main.java:11: error: int cannot be dereferenced System.out.printf("%s %d: %d\n", "Case", x.length, x); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02396|0
u902605499|p02396|0
codenet
Compile Error
313
v2_s058057576
s058057576
s058057576
p02396
p02396
u902605499
u902605499
1,556,005,008
2019-04-23T07:36:48
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdln = new Scanner(System.in); int x; boolean b = true; x = stdln.nextInt(); while(b = true){ System.out.printf("%s %d: %d\n", "Case", x.length, x); break; } } }
Main.java:11: error: int cannot be dereferenced System.out.printf("%s %d: %d\n", "Case", x.length, x); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02396|0
u902605499|p02396|0
codenet
Compile Error
313
v2_s864811622
s864811622
s864811622
p02396
p02396
u902605499
u902605499
1,556,005,657
2019-04-23T07:47:37
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdln = new Scanner(System.in); int x,i=0; while(true){ x = stdln.nextInt(); if (x==0)break; System.out.printf(“Case%d: %d\n", i++, x); } } }
Main.java:11: error: illegal character: '\u201c' System.out.printf(?Case%d: %d\n", i++, x); ^ Main.java:11: error: not a statement System.out.printf(?Case%d: %d\n", i++, x); ^ Main.java:11: error: ';' expected System.out.printf(?Case%d: %d...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02396|0
u902605499|p02396|0
codenet
Compile Error
295
v2_s968035077
s968035077
s968035077
p02396
p02396
u908899927
u908899927
1,491,984,127
2017-04-12T08:02:07
Main.java
import java.utll.*; class Main{ public static void main(String[] args){ int x,i; Scanner scan = new Scanner; while(1){ i++; x=scan.nextInt(); if(x==0){break;} System.out.println("Case "+x+": "+x); } } }
Main.java:7: error: '(' or '[' expected Scanner scan = new Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u908899927|p02396|0
u908899927|p02396|0
codenet
Compile Error
233
v2_s560132829
s560132829
s560132829
p02396
p02396
u908899927
u908899927
1,491,984,161
2017-04-12T08:02:41
Main.java
import java.utll.*; class Main{ public static void main(String[] args){ int x,i; Scanner scan = new Scanner(); while(1){ i++; x=scan.nextInt(); if(x==0){break;} System.out.println("Case "+x+": "+x); } } }
Main.java:1: error: package java.utll does not exist import java.utll.*; ^ Main.java:7: error: cannot find symbol Scanner scan = new Scanner(); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol Scanner scan = new Scanner(); ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u908899927|p02396|0
u908899927|p02396|0
codenet
Compile Error
235
v2_s702845026
s702845026
s702845026
p02396
p02396
u908899927
u908899927
1,491,984,220
2017-04-12T08:03:40
Main.java
import java.utll.*; class Main{ public static void main(String[] args){ int x,i; Scanner scan = new Scanner(System.in); while(1){ i++; x=scan.nextInt(); if(x==0){break;} System.out.println("Case "+x+": "+x); } } }
Main.java:1: error: package java.utll does not exist import java.utll.*; ^ Main.java:7: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol Scanner scan = new Scanner(System.in); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u908899927|p02396|0
u908899927|p02396|0
codenet
Compile Error
244
v2_s944098527
s944098527
s944098527
p02396
p02396
u908899927
u908899927
1,491,984,267
2017-04-12T08:04:27
Main.java
import java.utll.*; class Main{ public static void main(String[] args){ int x,i=0; Scanner scan = new Scanner(System.in); while(1){ i++; x=scan.nextInt(); if(x==0){break;} System.out.println("Case "+x+": "+x); } } }
Main.java:1: error: package java.utll does not exist import java.utll.*; ^ Main.java:7: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol Scanner scan = new Scanner(System.in); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u908899927|p02396|0
u908899927|p02396|0
codenet
Compile Error
246
v2_s697055347
s697055347
s697055347
p02396
p02396
u908899927
u908899927
1,491,984,338
2017-04-12T08:05:38
Main.java
import java.util.*; class Main{ public static void main(String[] args){ int x,i=0; Scanner scan = new Scanner(System.in); while(1){ i++; x=scan.nextInt(); if(x==0){break;} System.out.println("Case "+x+": "+x); } } }
Main.java:9: error: incompatible types: int cannot be converted to boolean while(1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u908899927|p02396|0
u908899927|p02396|0
codenet
Compile Error
246
v2_s714022019
s714022019
s714022019
p02396
p02396
u908899927
u908899927
1,491,984,584
2017-04-12T08:09:44
Main.java
import java.util.*; class Main{ public static void main(String[] args){ int x,i=0; Scanner scan = new Scanner(System.in); while(1){ i++; x=scan.nextInt(); if(x==0){break;} System.out.println("Case "+i+": "+x); } } }
Main.java:9: error: incompatible types: int cannot be converted to boolean while(1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u908899927|p02396|0
u908899927|p02396|0
codenet
Compile Error
246
v2_s790970952
s790970952
s790970952
p02396
p02396
u910402677
u910402677
1,477,550,499
2016-10-27T06:41:39
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ List<Integer> numbers = new ArrayList<Integer>(); Scanner scan = new Scanner(System.in); for(;;){ int n = scan.nextInt(); if(n == 0){ break; } numbers.add(n); } int i = 0; for(Integer n : numbers){ System.ou...
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02396|0
u910402677|p02396|0
codenet
Compile Error
361
v2_s054136009
s054136009
s054136009
p02396
p02396
u910402677
u910402677
1,479,367,345
2016-11-17T07:22:25
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> list = new ArrayList<Integer>(); for(;;){ int x = scan.nextInt(); if(x == 0){ break; } list.add(x); } for(int i = 0; i < list.size(); i++)...
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02396|1
u910402677|p02396|1
codenet
Compile Error
387
v2_s004556355
s004556355
s004556355
p02396
p02396
u913462354
u913462354
1,525,937,214
2018-05-10T07:26:54
Main.java
public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { int i = 1; int num = Integer.parseInt(br.readLine()); if (num == 0) { break; ...
Main.java:4: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:5: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(Syst...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u913462354|p02396|0
u913462354|p02396|0
codenet
Compile Error
407
v2_s579285122
s579285122
s579285122
p02396
p02396
u925778868
u925778868
1,546,172,970
2018-12-30T12:29:30
Main.java
import java.util.Scanner; public class Main { // クラス名はMain public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int i = 1; while(a <= 10000){ if(x==0) { break; } System.out.println("Case "+i+": "+x); } } }
Main.java:9: error: cannot find symbol while(a <= 10000){ ^ symbol: variable a location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02396|0
u925778868|p02396|0
codenet
Compile Error
295
v2_s114367422
s114367422
s114367422
p02396
p02396
u925778868
u925778868
1,546,173,598
2018-12-30T12:39:58
Main.java
aaaa
Main.java:1: error: reached end of file while parsing aaaa ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02396|0
u925778868|p02396|0
codenet
Compile Error
5
v2_s418245997
s418245997
s418245997
p02396
p02396
u928520672
u928520672
1,531,377,099
2018-07-12T06:31:39
Main.java
fgchnfgvh
Main.java:1: error: reached end of file while parsing fgchnfgvh ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u928520672|p02396|0
u928520672|p02396|0
codenet
Compile Error
10
v2_s657123198
s657123198
s657123198
p02396
p02396
u933808920
u933808920
1,510,663,797
2017-11-14T12:49:57
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str1 = br.readLine(); String[] str2 = str1.split(" "); int num[] = new int[str2.length]; for (int i = 0; i < str2.length; i++){...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u933808920|p02396|0
u933808920|p02396|0
codenet
Compile Error
537
v2_s023701253
s023701253
s023701253
p02396
p02396
u933808920
u933808920
1,510,665,654
2017-11-14T13:20:54
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int i = 1; while(true){ int line = Integer.parseInt(br.readLine()); if (line == 0){ ...
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u933808920|p02396|0
u933808920|p02396|0
codenet
Compile Error
466
v2_s099580326
s099580326
s099580326
p02396
p02396
u933808920
u933808920
1,510,665,682
2017-11-14T13:21:22
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int i = 1; while(true){ int line = Integer.parseInt(br.readLine()); if (line == 0){ ...
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u933808920|p02396|0
u933808920|p02396|0
codenet
Compile Error
466
v2_s911592687
s911592687
s911592687
p02396
p02396
u933808920
u933808920
1,510,666,059
2017-11-14T13:27:39
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int i = 1; while(true){ int line = Integer....
Main.java:5: 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
u933808920|p02396|0
u933808920|p02396|0
codenet
Compile Error
515
v2_s409159869
s409159869
s409159869
p02396
p02396
u933808920
u933808920
1,510,666,120
2017-11-14T13:28:40
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int i = 1; while(true){ int line = I...
Main.java:5: 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
u933808920|p02396|0
u933808920|p02396|0
codenet
Compile Error
522
v2_s299127711
s299127711
s299127711
p02396
p02396
u939720302
u939720302
1,447,257,802
2015-11-11T16:03:22
Main.java
mport java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] a) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int i =1; ...
Main.java:1: error: class, interface, enum, or record expected mport java.io.BufferedReader; ^ Main.java:2: error: class, interface, enum, or record expected import java.io.IOException; ^ Main.java:3: error: class, interface, enum, or record expected import java.io.InputStreamReader; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u939720302|p02396|1
u939720302|p02396|1
codenet
Compile Error
620
v2_s654162302
s654162302
s654162302
p02396
p02396
u951319620
u951319620
1,523,856,132
2018-04-16T05:22:12
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); for (int i = 1; i < 10000; i++) { int x = sc.nextInt(); System.out.println("Case " + i + "; " + x); } } }
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951319620|p02396|0
u951319620|p02396|0
codenet
Compile Error
262
v2_s931682230
s931682230
s931682230
p02396
p02396
u954258807
u954258807
1,468,891,525
2016-07-19T01:25:25
Main.java
import java.util.Scanner; import java.util.ArrayList; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> numbers = new ArrayList<Integer>(); int x = scan.nextInt(); numbers.add(x); while(1){ x = scan.nextInt(); numbers.add(x); if...
Main.java:14: error: incompatible types: int cannot be converted to boolean while(1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954258807|p02396|1
u954258807|p02396|1
codenet
Compile Error
463
v2_s707565562
s707565562
s707565562
p02396
p02396
u960490627
u960490627
1,460,958,527
2016-04-18T05:48:47
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int y=1; for(int i=1;y=0;i++){ int x=sc.nextInt(); if(x!=0){ System.out.printf("case %d %d\n",i,x); }else{ y=0; } } } }
Main.java:7: error: incompatible types: int cannot be converted to boolean for(int i=1;y=0;i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960490627|p02396|0
u960490627|p02396|0
codenet
Compile Error
300
v2_s968425802
s968425802
s968425802
p02396
p02396
u966110132
u966110132
1,461,221,495
2016-04-21T06:51:35
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a=0; while(true){ a++; int b = scanner.nextInt(); if(b==0){break} System.out.println("case "+a+": "+b); } } }
Main.java:9: error: ';' expected if(b==0){break} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u966110132|p02396|0
u966110132|p02396|0
codenet
Compile Error
319
v2_s373924877
s373924877
s373924877
p02396
p02396
u967815968
u967815968
1,487,953,636
2017-02-24T16:27:16
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; ?? ?? public class Main { public static void main(String args[]) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder builder = new StringBuilder(); int i=1; while(tru...
Main.java:4: error: class, interface, enum, or record expected ?? ^ Main.java:16: error: illegal start of expression }???????????????????????????? ^ Main.java:16: error: illegal start of expression }???????????????????????????? ^ Main.java:16: error: illegal start of expression }???????????????????????????? ^ Mai...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02396|0
u967815968|p02396|0
codenet
Compile Error
552
v2_s325028344
s325028344
s325028344
p02396
p02396
u967815968
u967815968
1,487,953,653
2017-02-24T16:27:33
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String args[]) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder builder = new StringBuilder(); int i=1; while(true){ int...
Main.java:13: error: illegal start of expression }???????????????????????????? ^ Main.java:13: error: illegal start of expression }???????????????????????????? ^ Main.java:13: error: illegal start of expression }???????????????????????????? ^ Main.java:13: error: illegal start of expression }?????????????????????...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02396|0
u967815968|p02396|0
codenet
Compile Error
545
v2_s195479857
s195479857
s195479857
p02396
p02396
u967815968
u967815968
1,487,953,704
2017-02-24T16:28:24
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String args[]) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder builder = new StringBuilder(); int i=1; while(true){ int...
Main.java:13: error: illegal start of expression }???? ^ Main.java:13: error: illegal start of expression }???? ^ Main.java:13: error: illegal start of expression }???? ^ Main.java:13: error: illegal start of expression }???? ^ Main.java:14: error: : expected builder.append("Case ").append(Integer.toString(i+...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02396|0
u967815968|p02396|0
codenet
Compile Error
521
v2_s747116718
s747116718
s747116718
p02396
p02396
u967815968
u967815968
1,487,953,851
2017-02-24T16:30:51
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String args[]) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder builder = new StringBuilder(); int i=1; while(true){ int...
Main.java:14: error: cannot find symbol builder.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(data).append("\n")); ^ symbol: method append(String) location: class String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02396|0
u967815968|p02396|0
codenet
Compile Error
530
v2_s850119280
s850119280
s850119280
p02396
p02396
u967815968
u967815968
1,487,953,891
2017-02-24T16:31:31
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String args[]) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder builder = new StringBuilder(); int i=1; while(true){ int...
Main.java:14: error: illegal start of expression ??builder.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(data)).append("\n"); ^ Main.java:14: error: illegal start of expression ??builder.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(data)).append...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02396|0
u967815968|p02396|0
codenet
Compile Error
532
v2_s488119372
s488119372
s488119372
p02396
p02396
u967815968
u967815968
1,487,954,011
2017-02-24T16:33:31
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String args[]) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder builder = new StringBuilder(); int i=1; while(true){ int...
Main.java:13: error: illegal start of expression ?? ^ Main.java:13: error: illegal start of expression ?? ^ Main.java:14: error: : expected builder.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(data)).append("\n"); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02396|0
u967815968|p02396|0
codenet
Compile Error
532
v2_s907387523
s907387523
s907387523
p02396
p02396
u973197167
u973197167
1,534,916,731
2018-08-22T05:45:31
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Main{ public static void main(String[] args){ try{ for(int i = 0; i < 7; i++){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); if ...
Main.java:11: error: '(' expected if !(Integer.parseInt(str) == 0){ ^ Main.java:11: error: ')' expected if !(Integer.parseInt(str) == 0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02396|0
u973197167|p02396|0
codenet
Compile Error
523
v2_s450004125
s450004125
s450004125
p02396
p02396
u973197167
u973197167
1,534,916,752
2018-08-22T05:45:52
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Main{ public static void main(String[] args){ try{ for(int i = 0; i < 7; i++){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); if ...
Main.java:11: error: bad operand type int for unary operator '!' if (!Integer.parseInt(str) == 0){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02396|0
u973197167|p02396|0
codenet
Compile Error
523
v2_s104402156
s104402156
s104402156
p02396
p02396
u973197167
u973197167
1,534,917,416
2018-08-22T05:56:56
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Main{ public static void main(String[] args){ try{ for(int i = 1; i <= 10000; i++){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); ...
Main.java:14: error: unclosed string literal System.out.println("Case " + i + ": + Integer.parseInt(str)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02396|0
u973197167|p02396|0
codenet
Compile Error
541
v2_s999334104
s999334104
s999334104
p02396
p02396
u973197167
u973197167
1,534,918,064
2018-08-22T06:07:44
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int count = 1; while(true){ int value = sc.nextInt(); if (value == 0){ break; } System.out.println("Case " + count++ + ":" + str); } } }
Main.java:12: error: cannot find symbol System.out.println("Case " + count++ + ":" + str); ^ symbol: variable str location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02396|0
u973197167|p02396|0
codenet
Compile Error
305
v2_s736374703
s736374703
s736374703
p02396
p02396
u973197167
u973197167
1,534,918,102
2018-08-22T06:08:22
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int count = 1; while(true){ int value = sc.nextInt(); if (value == 0){ break; } System.out.println("Case " + count + ":" + str); count++; } } }
Main.java:12: error: cannot find symbol System.out.println("Case " + count + ":" + str); ^ symbol: variable str location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02396|0
u973197167|p02396|0
codenet
Compile Error
318
v2_s056956766
s056956766
s056956766
p02397
p02397
u013132149
u013132149
1,531,792,692
2018-07-17T01:58:12
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num1,num2 = 1; while ((num1=sc.nextInt()) != 0 && (num2=sc.nextInt()) != 0){ System.out.println(num1+" "+num2); num++; } } }
Main.java:8: error: cannot find symbol num++; ^ symbol: variable num location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u013132149|p02397|0
u013132149|p02397|0
codenet
Compile Error
277
v2_s087777822
s087777822
s087777822
p02397
p02397
u019517886
u019517886
1,417,504,585
2014-12-02T07:16:25
Main.java
//sucannerクラス使うためにインポート import java.util.*; class Main{ //プログラムのエントリポイント public static void main(String[] args){ //入力ストリームの生成 Scanner sc = new Scanner(System.in); while (true) { int x = sc.nextInt(); int y = sc.nextInt(); if ( x == 0 && y== 0){ break; if( x < y ){ System.out.println( x...
Main.java:22: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019517886|p02397|0
u019517886|p02397|0
codenet
Compile Error
471
v2_s579953496
s579953496
s579953496
p02397
p02397
u019517886
u019517886
1,417,504,630
2014-12-02T07:17:10
Main.java
//sucannerクラス使うためにインポート import java.util.*; class Main{ //プログラムのエントリポイント public static void main(String[] args){ //入力ストリームの生成 Scanner sc = new Scanner(System.in); while (true) { int x = sc.nextInt(); int y = sc.nextInt(); if ( x == 0 && y== 0){ break; if( x < y ){ System.out.println( x...
Main.java:15: error: unreachable statement if( x < y ){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019517886|p02397|0
u019517886|p02397|0
codenet
Compile Error
477
v2_s585936786
s585936786
s585936786
p02397
p02397
u019517886
u019517886
1,417,504,716
2014-12-02T07:18:36
Main.java
//sucannerクラス使うためにインポート import java.util.*; class Main{ //プログラムのエントリポイント public static void main(String[] args){ //入力ストリームの生成 Scanner sc = new Scanner(System.in); while (true) { int x = sc.nextInt(); int y = sc.nextInt(); if ( x == 0 && y== 0){ break; if ( x < y ){ System.out.println( ...
Main.java:15: error: unreachable statement if ( x < y ){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019517886|p02397|0
u019517886|p02397|0
codenet
Compile Error
478
v2_s092566685
s092566685
s092566685
p02397
p02397
u019517886
u019517886
1,417,568,085
2014-12-03T00:54:45
Main.java
//sucannerクラス使うためにインポート import java.util.*; class Main{ //プログラムのエントリポイント public static void main(String[] args){ //入力ストリームの生成 Scanner sc = new Scanner(System.in); while (true) { int x = sc.nextInt(); int y = sc.nextInt(); if ( x == 0 && y== 0){ break; if( x < y ){ System.out.println( x...
Main.java:15: error: unreachable statement if( x < y ){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019517886|p02397|1
u019517886|p02397|1
codenet
Compile Error
477
v2_s720250536
s720250536
s720250536
p02397
p02397
u019517886
u019517886
1,417,568,133
2014-12-03T00:55:33
Main.java
//sucannerクラス使うためにインポート import java.util.*; class Main{ //プログラムのエントリポイント public static void main(String[] args){ //入力ストリームの生成 Scanner sc = new Scanner(System.in); while (true) { int x = sc.nextInt(); int y = sc.nextInt(); if ( x == 0 && y== 0){ break; if ( x < y ){ System.out.println( ...
Main.java:15: error: unreachable statement if ( x < y ){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019517886|p02397|1
u019517886|p02397|1
codenet
Compile Error
478
v2_s617086599
s617086599
s617086599
p02397
p02397
u049719569
u049719569
1,467,012,547
2016-06-27T07:29:07
Main.java
import java.io.*; class Main{ public static void main(String[] args){ try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); while(true){ String line[] = br.readLine().aplit(" "); int x = Integer.parseInt(line[0]); int y = Inte...
Main.java:10: error: cannot find symbol String line[] = br.readLine().aplit(" "); ^ symbol: method aplit(String) location: class String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u049719569|p02397|0
u049719569|p02397|0
codenet
Compile Error
608
v2_s358210209
s358210209
s358210209
p02397
p02397
u051327288
u051327288
1,522,384,356
2018-03-30T04:32:36
Main.java
import java.util.Scanner; class main{ public static void main(String[] args){ Scanner inp = new Scanner(System.in); int x, y; int batas = 0; while (batas<=3000){ int x = inp.nextInt(); int y = inp.nextInt(); if ((x<=10000)&&(y<=100000)){ if (x>y) System.out.println(y+" "+x); else System.out.println(x+" "+y); } } ...
Main.java:11: error: variable x is already defined in method main(String[]) int x = inp.nextInt(); ^ Main.java:12: error: variable y is already defined in method main(String[]) int y = inp.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051327288|p02397|0
u051327288|p02397|0
codenet
Compile Error
325
v2_s472939479
s472939479
s472939479
p02397
p02397
u051327288
u051327288
1,522,388,913
2018-03-30T05:48:33
Main.java
import java.util.ArrayList; import java.util.Scanner; class main { public static void main(String[] args) { List<integer> array = new ArrayList<integer>(); Scanner inp = new Scanner(System.in); int x = -1, y = -1; int batas = 0; while (((x != 0) && (y != 0)) && batas <= 300...
Main.java:7: error: cannot find symbol List<integer> array = new ArrayList<integer>(); ^ symbol: class List location: class main Main.java:7: error: cannot find symbol List<integer> array = new ArrayList<integer>(); ^ symbol: class integer location: class main Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051327288|p02397|0
u051327288|p02397|0
codenet
Compile Error
776
v2_s471507812
s471507812
s471507812
p02397
p02397
u051327288
u051327288
1,522,388,933
2018-03-30T05:48:53
Main.java
import java.util.ArrayList; import java.util.Scanner; class main { public static void main(String[] args) { ArrayList<integer> array = new ArrayList<integer>(); Scanner inp = new Scanner(System.in); int x = -1, y = -1; int batas = 0; while (((x != 0) && (y != 0)) && batas <...
Main.java:7: error: cannot find symbol ArrayList<integer> array = new ArrayList<integer>(); ^ symbol: class integer location: class main Main.java:7: error: cannot find symbol ArrayList<integer> array = new ArrayList<integer>(); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051327288|p02397|0
u051327288|p02397|0
codenet
Compile Error
781
v2_s412304397
s412304397
s412304397
p02397
p02397
u051327288
u051327288
1,522,389,856
2018-03-30T06:04:16
Main.java
import java.util.Scanner; class main{ static void main(String[] args){ Scanner inp = new Scanner(System.in); int x, y; while (true){ x = inp.nextInt(); y = inp.nextInt(); if (x == 0 && y == 0) break; if (x>y) System.out.println(x+" "+y); else System.out.println(y+" "+x); } }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051327288|p02397|0
u051327288|p02397|0
codenet
Compile Error
278
v2_s782801886
s782801886
s782801886
p02397
p02397
u056328744
u056328744
1,467,603,067
2016-07-04T03:31:07
Main.java
import java.io.*; class Mian{ public static void main(String[] args)throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); while(true){ String line[] = br.readLine().split(" "); int...
Main.java:15: error: : expected sb.append(Integer.toString(x < y ? x ; y)).append(" ").append(Integer.toString(x < y ? y : x)).append("\n"); ^ Main.java:15: error: illegal start of expression sb.append(Integer.toString(x < y ? x ; y))....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056328744|p02397|0
u056328744|p02397|0
codenet
Compile Error
662
v2_s532867630
s532867630
s532867630
p02397
p02397
u065787019
u065787019
1,395,832,399
2014-03-26T11:13:19
Main.java
import java.util.Scanner public class Main{ public static void main(String[] args){ int big = 0; int small = 0; //テキスト入力 Scanner sc = new Scanner(System.in); //入力文字を取得 int first = sc.nextInt(); int second = sc.nextInt(); //小さい順に並べる if(first => second){ // big = first; small = second; ...
Main.java:1: error: ';' expected import java.util.Scanner ^ Main.java:17: error: illegal start of expression if(first => second){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u065787019|p02397|0
u065787019|p02397|0
codenet
Compile Error
461
v2_s584536824
s584536824
s584536824
p02397
p02397
u074603828
u074603828
1,474,953,689
2016-09-27T05:21:29
Main.java
import java.io.*; class Main { public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int x = 0; int y = 0; int cnt = 0; boolean end = false; while(!end){ ...
Main.java:32: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u074603828|p02397|0
u074603828|p02397|0
codenet
Compile Error
928
v2_s663791140
s663791140
s663791140
p02397
p02397
u092742949
u092742949
1,452,054,644
2016-01-06T04:30:44
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan=new Scanner(Sysytem.in); while(true){ String A=scan.next(); String B=scan.next(); int a=integer.parseInt(A); int b=integer.parseInt(B); int okiba; if(a>b){ okiba=a; a=b; b=okiba; } System.out.println(a+" "+b); } } }
Main.java:4: error: cannot find symbol Scanner scan=new Scanner(Sysytem.in); ^ symbol: variable Sysytem location: class Main Main.java:8: error: cannot find symbol int a=integer.parseInt(A); ^ symbol: variable integer location: class Main Main.java:9: error: cannot find symbol...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u092742949|p02397|0
u092742949|p02397|0
codenet
Compile Error
306
v2_s184566651
s184566651
s184566651
p02397
p02397
u094756043
u094756043
1,460,798,546
2016-04-16T09:22:26
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner( System.in ); ArrayList<Integer> nums1 = new ArrayList<Integer>(); ArrayList<Integer> nums2 = new ArrayList<Integer>(); while ( true ) { String inputText1 = scanner.next(); String inputText2 = scanner.next(); ...
Main.java:5: error: cannot find symbol Scanner scanner = new Scanner( System.in ); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scanner = new Scanner( System.in ); ^ symbol: class Scanner location: class Main Main.java:7: error: ca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u094756043|p02397|0
u094756043|p02397|0
codenet
Compile Error
707
v2_s861562558
s861562558
s861562558
p02397
p02397
u097204849
u097204849
1,510,297,427
2017-11-10T07:03:47
Main.java
mport javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTextArea; import javax.swing.JButton; import javax.swing.JScrollPane; import java.awt.Container; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Color; import java.awt.event.ActionListener; import java.awt.event.ActionEven...
Main.java:1: error: class, interface, enum, or record expected mport javax.swing.JFrame; ^ Main.java:2: error: class, interface, enum, or record expected import javax.swing.JPanel; ^ Main.java:3: error: class, interface, enum, or record expected import javax.swing.JTextArea; ^ Main.java:4: error: class, interface, enum...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u097204849|p02397|0
u097204849|p02397|0
codenet
Compile Error
1,640
v2_s455388571
s455388571
s455388571
p02397
p02397
u102255374
u102255374
1,491,276,102
2017-04-04T03:21:42
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner as = new Scanner(System.in); int x; int y; int tr; x = as.nextInt(); y = as.nextInt(); while(1){ ...
Main.java:20: error: incompatible types: int cannot be converted to boolean while(1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u102255374|p02397|0
u102255374|p02397|0
codenet
Compile Error
639
v2_s222545557
s222545557
s222545557
p02397
p02397
u102255374
u102255374
1,491,276,155
2017-04-04T03:22:35
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner as = new Scanner(System.in); int x; int y; int tr; x = as.nextInt(); y = as.nextInt(); while(1){ ...
Main.java:20: error: incompatible types: int cannot be converted to boolean while(1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u102255374|p02397|0
u102255374|p02397|0
codenet
Compile Error
646
v2_s554934269
s554934269
s554934269
p02397
p02397
u103389826
u103389826
1,524,808,649
2018-04-27T05:57:29
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { int x,y,z; Scanner sc = new Scanner(System.in); while (true) { x = sc.nextInt(); y = sc.nextInt(); if(x>y){ z=x; x=y; y=z; } if (x == 0 && y==0) break; System.out.println(x +  " " + y); ...
Main.java:17: error: illegal character: '\u3000' System.out.println(x?+? " " + y); ^ Main.java:17: error: illegal character: '\u3000' System.out.println(x?+? " " + y); ^ Main.java:17: error: not a statement System.out.println(x?+? " " + y); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u103389826|p02397|0
u103389826|p02397|0
codenet
Compile Error
346
v2_s556061853
s556061853
s556061853
p02397
p02397
u115706413
u115706413
1,496,280,290
2017-06-01T01:24:50
Main.java
import com.sun.xml.internal.fastinfoset.algorithm.IntEncodingAlgorithm; import javax.xml.bind.Element; import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; /** * Created 2017/06/01. */ public class Main { public static void main(String[] args) { //??\?????¨????????? Scanner ...
Main.java:1: error: package com.sun.xml.internal.fastinfoset.algorithm does not exist import com.sun.xml.internal.fastinfoset.algorithm.IntEncodingAlgorithm; ^ Main.java:3: error: package javax.xml.bind does not exist import javax.xml.bind.Element; ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u115706413|p02397|0
u115706413|p02397|0
codenet
Compile Error
1,250
v2_s408943172
s408943172
s408943172
p02397
p02397
u129532107
u129532107
1,495,802,460
2017-05-26T12:41:00
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException{ BufferedReader buf=new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb=new StringBuilder(); int x,y,tmp; while(true){ String str=buf.readLin...
Main.java:22: error: illegal character: '\' sb.append(x).append(" ").append(y).append(\n); ^ Main.java:22: error: not a statement sb.append(x).append(" ").append(y).append(\n); ^ Main.java:22: error: ';'...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u129532107|p02397|0
u129532107|p02397|0
codenet
Compile Error
691
v2_s942327259
s942327259
s942327259
p02397
p02397
u136295375
u136295375
1,526,283,048
2018-05-14T07:30:48
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(1){ int a = sc.nextInt(); int b = sc.nextInt(); if(x==0 && y==0)break; if(x<=y){ System.out.println(x+" "+y); }else{ System.out.println(y+" "+x); } }
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u136295375|p02397|0
u136295375|p02397|0
codenet
Compile Error
272
v2_s986412763
s986412763
s986412763
p02397
p02397
u136295375
u136295375
1,526,283,063
2018-05-14T07:31:03
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(1){ int a = sc.nextInt(); int b = sc.nextInt(); if(x==0 && y==0)break; if(x<=y){ System.out.println(x+" "+y); }else{ System.out.println(y+" "+x); } } }
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u136295375|p02397|0
u136295375|p02397|0
codenet
Compile Error
275
v2_s883319277
s883319277
s883319277
p02397
p02397
u136295375
u136295375
1,526,283,093
2018-05-14T07:31:33
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(1){ int a = sc.nextInt(); int b = sc.nextInt(); if(x==0 && y==0)break; if(x<=y){ System.out.println(x+" "+y); }else{ System.out.println(y+" "+x); } } } }
Main.java:7: error: incompatible types: int cannot be converted to boolean while(1){ ^ Main.java:11: error: cannot find symbol if(x==0 && y==0)break; ^ symbol: variable x location: class Main Main.java:11: error: cannot find symbol if(x==0 && y==0)break; ^ symbol: variable y location: cl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u136295375|p02397|0
u136295375|p02397|0
codenet
Compile Error
278
v2_s294500701
s294500701
s294500701
p02397
p02397
u136295375
u136295375
1,526,283,149
2018-05-14T07:32:29
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(1){ int a = sc.nextInt(); int b = sc.nextInt(); if(x==0 && y==0)break; if(x<=y){ System.out.println(x+" "+y); }else{ System.out.println(y+" "+x); } } } }
Main.java:7: error: incompatible types: int cannot be converted to boolean while(1){ ^ Main.java:11: error: cannot find symbol if(x==0 && y==0)break; ^ symbol: variable x location: class Main Main.java:11: error: cannot find symbol if(x==0 && y==0)break; ^ symbol: variable y location: cl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u136295375|p02397|0
u136295375|p02397|0
codenet
Compile Error
284
v2_s384889045
s384889045
s384889045
p02397
p02397
u136295375
u136295375
1,526,283,191
2018-05-14T07:33:11
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(1){ int a = sc.nextInt(); int b = sc.nextInt(); if(x==0 && y==0){ break; }else if(x<=y){ System.out.println(x+" "+y); }else{ System.out.println(y+" "+x); } } } }
Main.java:7: error: incompatible types: int cannot be converted to boolean while(1){ ^ Main.java:11: error: cannot find symbol if(x==0 && y==0){ ^ symbol: variable x location: class Main Main.java:11: error: cannot find symbol if(x==0 && y==0){ ^ symbol: variable y location: class Main M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u136295375|p02397|0
u136295375|p02397|0
codenet
Compile Error
291
v2_s805568267
s805568267
s805568267
p02397
p02397
u136295375
u136295375
1,526,283,228
2018-05-14T07:33:48
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(1){ int x = sc.nextInt(); int y = sc.nextInt(); if(x==0 && y==0){ break; }else if(x<=y){ System.out.println(x+" "+y); }else{ System.out.println(y+" "+x); } } } }
Main.java:7: error: incompatible types: int cannot be converted to boolean while(1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u136295375|p02397|0
u136295375|p02397|0
codenet
Compile Error
291
v2_s165576754
s165576754
s165576754
p02397
p02397
u136457939
u136457939
1,519,033,287
2018-02-19T09:41:27
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = 0; int y=0; while(true) { x = sc.nextInt(); y = sc.nextInt(); if(x == 0 || y==0) break; if(x>y) { Sys...
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
u136457939|p02397|1
u136457939|p02397|1
codenet
Compile Error
445
v2_s074005640
s074005640
s074005640
p02397
p02397
u155443227
u155443227
1,459,989,403
2016-04-07T00:36:43
Main.java
import java.io.*; ?? class Main { ????????public static void main (String[ ] args) throws Exception { ????????????????BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); StringBuffer sb = new StringBuffer(); while() { String[] strAry = br.readLine...
Main.java:2: error: class, interface, enum, or record expected ?? ^ Main.java:5: error: illegal start of type ????????public static void main (String[ ] args) throws Exception ^ Main.java:7: error: illegal start of expression ????????????????BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155443227|p02397|0
u155443227|p02397|0
codenet
Compile Error
786
v2_s782238802
s782238802
s782238802
p02397
p02397
u155443227
u155443227
1,459,989,525
2016-04-07T00:38:45
Main.java
import java.io.*; class Main { ????????public static void main (String[ ] args) throws Exception { ????????????????BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); StringBuffer sb = new StringBuffer(); while() { String[] strAry = br.readLine()...
Main.java:5: error: illegal start of type ????????public static void main (String[ ] args) throws Exception ^ Main.java:7: error: illegal start of expression ????????????????BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); ^ Main.java:7: error: illegal start of expression ????????????????Buff...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155443227|p02397|0
u155443227|p02397|0
codenet
Compile Error
784
v2_s328685290
s328685290
s328685290
p02397
p02397
u155443227
u155443227
1,459,989,613
2016-04-07T00:40:13
Main.java
import java.io.*; class Main { ????????public static void main (String[ ] args) throws Exception { ????????????????BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); StringBuffer sb = new StringBuffer(); while() { String[] strAry = br.readLine()...
Main.java:5: error: illegal start of type ????????public static void main (String[ ] args) throws Exception ^ Main.java:7: error: illegal start of expression ????????????????BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); ^ Main.java:7: error: illegal start of expression ????????????????Buff...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155443227|p02397|0
u155443227|p02397|0
codenet
Compile Error
784
v2_s122769685
s122769685
s122769685
p02397
p02397
u155443227
u155443227
1,459,989,652
2016-04-07T00:40:52
Main.java
import java.io.*; class Main { ????????public static void main (String[ ] args) throws Exception { ????????????????BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); StringBuffer sb = new StringBuffer(); while() { String[] strAry = br.readLine()...
Main.java:5: error: illegal start of type ????????public static void main (String[ ] args) throws Exception ^ Main.java:7: error: illegal start of expression ????????????????BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); ^ Main.java:7: error: illegal start of expression ????????????????Buff...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155443227|p02397|0
u155443227|p02397|0
codenet
Compile Error
784
v2_s858052744
s858052744
s858052744
p02397
p02397
u155443227
u155443227
1,459,989,696
2016-04-07T00:41:36
Main.java
import java.io.*; class Main { public static void main (String[ ] args) throws Exception { BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); StringBuffer sb = new StringBuffer(); while() { String[] strAry = br.readLine().split(); ...
Main.java:10: error: illegal start of expression while() ^ Main.java:30: error: illegal start of expression ????????????????System.out.println(sb); ^ Main.java:30: error: illegal start of expression ????????????????System.out.println(sb); ^ Main.java:30: error: illegal start of expression ???????...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155443227|p02397|0
u155443227|p02397|0
codenet
Compile Error
772
v2_s212862287
s212862287
s212862287
p02397
p02397
u155443227
u155443227
1,459,989,731
2016-04-07T00:42:11
Main.java
import java.io.*; class Main { public static void main (String[ ] args) throws Exception { BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); StringBuffer sb = new StringBuffer(); while() { String[] strAry = br.readLine().split(); ...
Main.java:10: error: illegal start of expression while() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155443227|p02397|0
u155443227|p02397|0
codenet
Compile Error
764
v2_s064072216
s064072216
s064072216
p02397
p02397
u155443227
u155443227
1,459,989,797
2016-04-07T00:43:17
Main.java
import java.io.*; class Main { public static void main (String[ ] args) throws Exception { BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); StringBuffer sb = new StringBuffer(); while(true) { String[] strAry = br.readLine().split()...
Main.java:12: error: no suitable method found for split(no arguments) String[] strAry = br.readLine().split(); ^ method String.split(String,int) is not applicable (actual and formal argument lists differ in length) method String.split(String,int,boole...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155443227|p02397|0
u155443227|p02397|0
codenet
Compile Error
768
v2_s081503707
s081503707
s081503707
p02397
p02397
u160833744
u160833744
1,518,308,484
2018-02-11T00:21:24
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x; int y; while ((x = sc.nextInt()) != 0 || (y = sc.nextInt()) != 0) { if (x > y) { System.out.println(y + " " + x); } els...
Main.java:9: error: variable y might not have been initialized if (x > y) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u160833744|p02397|0
u160833744|p02397|0
codenet
Compile Error
405
v2_s822486194
s822486194
s822486194
p02397
p02397
u179323374
u179323374
1,522,732,942
2018-04-03T05:22:22
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner stdIn = new Scanner(System.in); int n = 0, x, y; int datax [] = new int[3000]; int datay [] = new int[3000]; do { x = stdIn.nextInt(); y = stdIn.nextInt(); if(x == 0 && y == 0 || )break; da...
Main.java:14: error: illegal start of expression if(x == 0 && y == 0 || )break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u179323374|p02397|0
u179323374|p02397|0
codenet
Compile Error
622
v2_s587364946
s587364946
s587364946
p02397
p02397
u179323374
u179323374
1,522,733,974
2018-04-03T05:39:34
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner stdIn = new Scanner(System.in); int n = 0, x, y; int data [][] = new int[3000][2]; do { x = stdIn.nextInt(); y = stdIn.nextInt(); if(x == 0 && y == 0 )break; data[n][0] = x; data[n][1] = y...
Main.java:23: error: cannot find symbol x = datay[i][1]; ^ symbol: variable datay location: class Main Main.java:24: error: cannot find symbol y = datax[i][0]; ^ symbol: variable datax location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u179323374|p02397|0
u179323374|p02397|0
codenet
Compile Error
605
v2_s846263158
s846263158
s846263158
p02397
p02397
u182006420
u182006420
1,529,295,171
2018-06-18T04:12:51
Main.java
mport java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { for (int i = 1; i < 3000; i++) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String[] n = line.split(" "); Arrays.sort(n); int a = Integer.parseInt(n[0]); int b = ...
Main.java:1: error: class, interface, enum, or record expected mport java.util.Arrays; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u182006420|p02397|1
u182006420|p02397|1
codenet
Compile Error
436
v2_s199710106
s199710106
s199710106
p02397
p02397
u188658430
u188658430
1,432,632,911
2015-05-26T09:35:11
Main.java
import java.io.*; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int x = in.nextInt(); int y = in.nextInt(); int w; for(x!=0 || y!=0){ if(x>y){ w = x; x = y; ...
Main.java:11: error: not a statement for(x!=0 || y!=0){ ^ Main.java:11: error: ';' expected for(x!=0 || y!=0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u188658430|p02397|0
u188658430|p02397|0
codenet
Compile Error
399
v2_s874808989
s874808989
s874808989
p02397
p02397
u188658430
u188658430
1,432,633,011
2015-05-26T09:36:51
Main.java
import java.io.*; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int x = in.nextInt(); int y = in.nextInt(); int w; for(x!=0 || y!=0){ if(x>y){ w = x; x = y; ...
Main.java:11: error: not a statement for(x!=0 || y!=0){ ^ Main.java:11: error: ';' expected for(x!=0 || y!=0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u188658430|p02397|0
u188658430|p02397|0
codenet
Compile Error
401
v2_s790388462
s790388462
s790388462
p02397
p02397
u189966673
u189966673
1,522,996,369
2018-04-06T06:32:49
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { boolean hantei = false; int x = 0; int y = 0; while (hantei != true ) { Scanner scan = new Scanner(System.in); x = scan.nextInt(); y = scan.nextInt(); if (x == 0 && y ==0) { hantei = true; }else{ if ...
Main.java:22: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u189966673|p02397|1
u189966673|p02397|0
codenet
Compile Error
427
v2_s691395618
s691395618
s691395618
p02397
p02397
u207514209
u207514209
1,372,143,300
2013-06-25T06:55:00
Main.java
public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); while (s.hasNextInt()) { int a = s.nextInt(); int b = s.nextInt(); if (a == 0 && b == 0) break; if (a > b) { int t = a; a = b; b = t; } System.out.printf("%d %d\n", a, b); } } }
Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207514209|p02397|0
u207514209|p02397|0
codenet
Compile Error
312
v2_s531271866
s531271866
s531271866
p02397
p02397
u208491412
u208491412
1,498,306,525
2017-06-24T12:15:25
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); int x=Integer.parseIntln(sc.next()); int y=Integer.parseIntln(sc.next()); while(x!=0 || y!=0){ if(x<y) System.out.print(x+"...
Main.java:9: error: cannot find symbol int x=Integer.parseIntln(sc.next()); ^ symbol: method parseIntln(String) location: class Integer Main.java:10: error: cannot find symbol int y=Integer.parseIntln(sc.next()); ^ symbol: method parseIntln(String) location: class Integer 2...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u208491412|p02397|0
u208491412|p02397|0
codenet
Compile Error
440
v2_s959742023
s959742023
s959742023
p02397
p02397
u211138527
u211138527
1,443,299,215
2015-09-26T20:26:55
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Comparator; import java.util.Deque; import java.util.HashMap; import java.util.HashSet; import java.util.InputMi...
Main.java:36: error: cannot find symbol out.pritln(x+" "+y); ^ symbol: method pritln(String) location: variable out of type PrintWriter 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02397|0
u211138527|p02397|0
codenet
Compile Error
3,112
v2_s647547243
s647547243
s647547243
p02397
p02397
u211598122
u211598122
1,460,378,128
2016-04-11T12:35:28
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); while (true) { int a = in.nextInt(); int b = in.nextInt(); if (a == 0 && b == 0) { break; } else if (a < b) { System.out....
Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211598122|p02397|0
u211598122|p02397|0
codenet
Compile Error
456
v2_s091479533
s091479533
s091479533
p02397
p02397
u211598122
u211598122
1,460,378,145
2016-04-11T12:35:45
Main.java
class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); while (true) { int a = in.nextInt(); int b = in.nextInt(); if (a == 0 && b == 0) { break; } else if (a < b) { System.out.println...
Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211598122|p02397|0
u211598122|p02397|0
codenet
Compile Error
449
v2_s160512231
s160512231
s160512231
p02397
p02397
u211598122
u211598122
1,460,378,236
2016-04-11T12:37:16
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int a = sc.nextInt(); int b = sc.nextInt(); if (a == 0 && b == 0) { break; } else if (a < b) { System.out.println...
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211598122|p02397|0
u211598122|p02397|0
codenet
Compile Error
449
v2_s285553818
s285553818
s285553818
p02397
p02397
u224230439
u224230439
1,419,943,424
2014-12-30T12:43:44
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws Exception { BufferedReader line = new BufferedReader(new InputStreamReader(System.in)); String str = null;// while ((str = line.readLine()) != null) {//入力があれば繰り返しの開始 String[] arr = str.split(" ");//入力文...
Main.java:14: error: cannot find symbol if (a > b)//??????? ^ symbol: variable a location: class Main Main.java:14: error: cannot find symbol if (a > b)//??????? ^ symbol: variable b location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u224230439|p02397|0
u224230439|p02397|0
codenet
Compile Error
798
v2_s593229618
s593229618
s593229618
p02397
p02397
u224230439
u224230439
1,419,943,786
2014-12-30T12:49:46
Main.java
class Main{ public static void main(String[] args) throws Exception { BufferedReader line = new BufferedReader(new InputStreamReader(System.in)); String str = null; while ((str = line.readLine()) != null) { String[] arr = str.split(" "); if ("0".equals(arr[0]) && "0"...
Main.java:3: error: cannot find symbol BufferedReader line = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:3: error: cannot find symbol BufferedReader line = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u224230439|p02397|0
u224230439|p02397|0
codenet
Compile Error
609
v2_s022374233
s022374233
s022374233
p02397
p02397
u228170966
u228170966
1,509,595,239
2017-11-02T04:00:39
Main.java
import java.util.Scanner; class Main{ public static void main(String[]args){ Scanner scan =new Scanner(System.in); int a[]=new int[100001]; int b[]=new int[100001]; int x=0; do{ a[x]=scan.nextInt(); b[x]=scan.nextInt(); if(a[x]==0&&b[x]==0)break; x++; }while(true); x=0; do{ if(a[x]==0&&b[x]==0)break; if(a[x]>b[x]) Sys...
Main.java:19: error: ';' expected System.out.println(b[x]+" "+a[x]) ^ Main.java:21: error: ';' expected System.out.println(a[x]+" "+b[x]) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u228170966|p02397|0
u228170966|p02397|0
codenet
Compile Error
412
v2_s930196627
s930196627
s930196627
p02397
p02397
u233376535
u233376535
1,491,276,921
2017-04-04T03:35:21
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ int x,y; BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); ????String[] strAry = str.split(" "); while(true){ x = Integer.parseInt(strAry[0]); y = Integer.pars...
Main.java:8: error: illegal start of expression ????String[] strAry = str.split(" "); ^ Main.java:8: error: illegal start of expression ????String[] strAry = str.split(" "); ^ Main.java:8: error: illegal start of expression ????String[] strAry = str.split(" "); ^ Main.java:8: error: illegal start of expression ????S...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02397|0
u233376535|p02397|0
codenet
Compile Error
487
v2_s183138957
s183138957
s183138957
p02397
p02397
u233376535
u233376535
1,491,277,269
2017-04-04T03:41:09
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ int x,y; BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(true){ String[] strAry = str.split(" "); x = Integer.parseInt(strAry[0]); y = Integer....
Main.java:16: error: illegal character: '\' System.out.println(x + " "+ y\n); ^ Main.java:16: error: not a statement System.out.println(x + " "+ y\n); ^ Main.java:16: error: ';' expected System.out.println(x + " "+ y\n); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02397|0
u233376535|p02397|0
codenet
Compile Error
495
v2_s637569608
s637569608
s637569608
p02397
p02397
u261541966
u261541966
1,515,641,007
2018-01-11T03:23:27
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int p = 9; int q = 0; int counter = 1; while (p != 0) { p = scan.nextInt(); q = scan.nextInt(); if (p != 0) { if (p > q) { System.out.println(p + " " + q); } } else { System.out.println(q + " "...
Main.java:25: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u261541966|p02397|0
u261541966|p02397|0
codenet
Compile Error
351
v2_s379471952
s379471952
s379471952
p02397
p02397
u261541966
u261541966
1,515,641,441
2018-01-11T03:30:41
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int p = 9; int q = 5; while (p != 0 || q != 0) { p = scan.nextInt(); q = scan.nextInt(); if (p == q && p = 0) { break; } if (p > q) { System.out.println(q + " " + p); } else { System.out.printl...
Main.java:12: error: bad operand types for binary operator '&&' if (p == q && p = 0) { ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u261541966|p02397|0
u261541966|p02397|0
codenet
Compile Error
348