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_s062357978
s062357978
s062357978
p02397
p02397
u749905244
u749905244
1,480,804,371
2016-12-03T22:32:51
Main.java
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); if(x==0 && y==0){ break; }else if(x<y){ System.out.println(y+" "+x); }else if(x>y){ ...
Main.java:12: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u749905244|p02397|0
u749905244|p02397|0
codenet
Compile Error
371
v2_s461818228
s461818228
s461818228
p02397
p02397
u768361792
u768361792
1,461,131,297
2016-04-20T05:48:17
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc= new Scanner(System.in); int i=1; int tmp; while(true){ int x = sc.nextInt(); int y = sc.nextint(); if(x==0 && y==0){break;} if(y>x){ tmp =x; x=y; y=tmp; } System.out.println(x+" "+y); i=i+1; } } }
Main.java:10: error: cannot find symbol int y = sc.nextint(); ^ symbol: method nextint() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u768361792|p02397|0
u768361792|p02397|0
codenet
Compile Error
300
v2_s785462730
s785462730
s785462730
p02397
p02397
u771424992
u771424992
1,405,849,980
2014-07-20T09:53:00
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int i = 1; while(i == -1){ int X = sc.nextInt(); int Y = sc.nextInt(); if(X == 0 && Y == 0) break; else{ if(X > Y){ int tmp; X = tmp; X = Y; Y = tmp; } ...
Main.java:14: error: variable tmp might not have been initialized X = tmp; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u771424992|p02397|0
u771424992|p02397|0
codenet
Compile Error
381
v2_s030156702
s030156702
s030156702
p02397
p02397
u778333573
u778333573
1,429,719,498
2015-04-22T16:18:18
Main.java
vimport java.util.*; 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; if(a < b) System.out.println(a + " " + b); el...
Main.java:1: error: class, interface, enum, or record expected vimport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u778333573|p02397|2
u778333573|p02397|2
codenet
Compile Error
373
v2_s802184933
s802184933
s802184933
p02397
p02397
u778333573
u778333573
1,429,719,584
2015-04-22T16:19:44
Main.java
vimport java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); while(true){ int a = scan.nextInt(); int b = scan.nextInt(); if(a == 0 && b == 0) break; if(a < b){ System.out.println(a + "...
Main.java:1: error: class, interface, enum, or record expected vimport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u778333573|p02397|2
u778333573|p02397|2
codenet
Compile Error
434
v2_s656759744
s656759744
s656759744
p02397
p02397
u784507785
u784507785
1,420,464,651
2015-01-05T13:30:51
Main.java
public class Main { static final String SPACE = " "; static final String RN = "\n"; public static void main(String[] args) { // input int x; int y; StringBuilder sb = new StringBuilder(); Scanner sc = new Scanner(System.in); int temp; while (true) ...
Main.java:12: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:12: 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
u784507785|p02397|0
u784507785|p02397|0
codenet
Compile Error
711
v2_s163083321
s163083321
s163083321
p02397
p02397
u814387366
u814387366
1,393,122,076
2014-02-23T02:21:16
Main.java
class Main { public static void main(String args[]) { int x,y,tmp; Scanner scan=new Scanner(System.in); while(true) { x=scan.nextInt(); y=scan.nextInt(); if((x==0) && (y==0))break; if(x>y) { tmp=x; x=y; y=tmp; } System.out.println(x+" "+y); } } }
Main.java:6: error: cannot find symbol Scanner scan=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner scan=new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814387366|p02397|0
u814387366|p02397|0
codenet
Compile Error
302
v2_s060918621
s060918621
s060918621
p02397
p02397
u820556307
u820556307
1,461,685,976
2016-04-26T15:52:56
Main.java
import java.util.Scanner; public class Main { void swap(){ int x,y; Scanner s = new Scanner(System.in); while(x != 0 && y != 0){ x = s.nextInt(); y = s.nextInt(); if(x < y){ System.out.println(x + " " + y); }else{ ...
Main.java:6: error: variable x might not have been initialized while(x != 0 && y != 0){ ^ Main.java:6: error: variable y might not have been initialized while(x != 0 && y != 0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u820556307|p02397|0
u820556307|p02397|0
codenet
Compile Error
483
v2_s622863589
s622863589
s622863589
p02397
p02397
u820556307
u820556307
1,461,686,027
2016-04-26T15:53:47
Main.java
import java.util.Scanner; public class Main { void swap(){ int x,y; Scanner s = new Scanner(System.in); do{ x = s.nextInt(); y = s.nextInt();} while(x != 0 && y != 0){ if(x < y){ System.out.println(x + " " + y); }else{ ...
Main.java:9: error: ';' expected while(x != 0 && y != 0){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u820556307|p02397|0
u820556307|p02397|0
codenet
Compile Error
488
v2_s296231609
s296231609
s296231609
p02397
p02397
u821106706
u821106706
1,507,986,364
2017-10-14T13:06:04
Main.java
import java.util.Scanner; public class Main { public static void main(String args[] ){ try{ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if (a == b && a == 0 ){ break; }else if(a>b){ System.out.println(b + " " + a); }else{ System.out.println(a + " " ...
Main.java:10: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u821106706|p02397|0
u821106706|p02397|0
codenet
Compile Error
413
v2_s367349155
s367349155
s367349155
p02397
p02397
u832768753
u832768753
1,540,693,506
2018-10-28T02:25:06
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (true) { int a = scanner.nextInt(); int b = scanner.nextInt(); if (a == 0 && b == 0) { break; } if (a <= b) { System.out.println (a + " " + b); } else { Syste...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u832768753|p02397|0
u832768753|p02397|0
codenet
Compile Error
361
v2_s455684607
s455684607
s455684607
p02397
p02397
u843641610
u843641610
1,516,249,665
2018-01-18T04:27:45
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(true){ int[] num = new int[2]; int num[0] = in.nextInt(); int num[1] = in.nextInt(); Array.sort(num); if(num[0] == 0 && num[1] == 0){ break; } System.out.println(num[...
Main.java:8: error: ']' expected int num[0] = in.nextInt(); ^ Main.java:9: error: ']' expected int num[1] = in.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02397|0
u843641610|p02397|0
codenet
Compile Error
349
v2_s910581772
s910581772
s910581772
p02397
p02397
u843641610
u843641610
1,516,249,751
2018-01-18T04:29:11
Main.java
import java.util.Scanner; import java.util; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(true){ int[] num = new int[2]; int num[0] = in.nextInt(); int num[1] = in.nextInt(); Array.sort(num); if(num[0] == 0 && num[1] == 0){ break; } Syste...
Main.java:9: error: ']' expected int num[0] = in.nextInt(); ^ Main.java:10: error: ']' expected int num[1] = in.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02397|0
u843641610|p02397|0
codenet
Compile Error
367
v2_s377394196
s377394196
s377394196
p02397
p02397
u843641610
u843641610
1,516,249,759
2018-01-18T04:29:19
Main.java
import java.util.Scanner; import java.util.Array; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(true){ int[] num = new int[2]; int num[0] = in.nextInt(); int num[1] = in.nextInt(); Array.sort(num); if(num[0] == 0 && num[1] == 0){ break; } ...
Main.java:9: error: ']' expected int num[0] = in.nextInt(); ^ Main.java:10: error: ']' expected int num[1] = in.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02397|0
u843641610|p02397|0
codenet
Compile Error
373
v2_s678834823
s678834823
s678834823
p02397
p02397
u843641610
u843641610
1,516,249,821
2018-01-18T04:30:21
Main.java
import java.util.Scanner; import java.util.Array; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(true){ int[] num = new int[2]; int num[0] = in.nextInt(); int num[1] = in.nextInt(); Array.Sort(num); if(num[0] == 0 && num[1] == 0){ break; } ...
Main.java:9: error: ']' expected int num[0] = in.nextInt(); ^ Main.java:10: error: ']' expected int num[1] = in.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02397|0
u843641610|p02397|0
codenet
Compile Error
373
v2_s641779031
s641779031
s641779031
p02397
p02397
u843641610
u843641610
1,516,249,866
2018-01-18T04:31:06
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(true){ int[] num = new int[2]; int num[0] = in.nextInt(); int num[1] = in.nextInt(); Array.Sort(num); if(num[0] == 0 && num[1] == 0){ break; } ...
Main.java:9: error: ']' expected int num[0] = in.nextInt(); ^ Main.java:10: error: ']' expected int num[1] = in.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02397|0
u843641610|p02397|0
codenet
Compile Error
374
v2_s218204223
s218204223
s218204223
p02397
p02397
u843641610
u843641610
1,516,249,965
2018-01-18T04:32:45
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(true){ int num[] = new int[2]; int num[0] = in.nextInt(); int num[1] = in.nextInt(); Array.Sort(num); if(num[0] == 0 && num[1] == 0){ break; } ...
Main.java:9: error: ']' expected int num[0] = in.nextInt(); ^ Main.java:10: error: ']' expected int num[1] = in.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02397|0
u843641610|p02397|0
codenet
Compile Error
374
v2_s977350302
s977350302
s977350302
p02397
p02397
u843641610
u843641610
1,516,249,978
2018-01-18T04:32:58
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(true){ int num[] = new int[2]; num[0] = in.nextInt(); num[1] = in.nextInt(); Array.Sort(num); if(num[0] == 0 && num[1] == 0){ break; } System...
Main.java:11: error: cannot find symbol Array.Sort(num); ^ symbol: variable Array location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02397|0
u843641610|p02397|0
codenet
Compile Error
366
v2_s714201332
s714201332
s714201332
p02397
p02397
u843641610
u843641610
1,516,250,325
2018-01-18T04:38:45
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(true){ int num[] = new int[2]; num[0] = in.nextInt(); num[1] = in.nextInt(); Array.Sort(num); if(num[0] == 0 && num[1] == 0){ break; } System...
Main.java:11: error: cannot find symbol Array.Sort(num); ^ symbol: variable Array location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02397|0
u843641610|p02397|0
codenet
Compile Error
366
v2_s752502385
s752502385
s752502385
p02397
p02397
u843641610
u843641610
1,516,250,401
2018-01-18T04:40:01
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(true){ int num[] = new int[2]; num[0] = in.nextInt(); num[1] = in.nextInt(); Arrays.Sort(num); if(num[0] == 0 && num[1] == 0){ break; } Syste...
Main.java:11: error: cannot find symbol Arrays.Sort(num); ^ symbol: method Sort(int[]) location: class Arrays 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02397|0
u843641610|p02397|0
codenet
Compile Error
367
v2_s607485850
s607485850
s607485850
p02397
p02397
u843641610
u843641610
1,516,250,433
2018-01-18T04:40:33
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(true){ int[] num = new int[2]; num[0] = in.nextInt(); num[1] = in.nextInt(); Arrays.Sort(num); if(num[0] == 0 && num[1] == 0){ break; } Syste...
Main.java:11: error: cannot find symbol Arrays.Sort(num); ^ symbol: method Sort(int[]) location: class Arrays 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02397|0
u843641610|p02397|0
codenet
Compile Error
367
v2_s541084595
s541084595
s541084595
p02397
p02397
u860429318
u860429318
1,529,333,884
2018-06-18T14:58:04
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int[][] array = new int[3000][2]; int x, y; int counter = 0; while((x=scanner.nextInt())!=0 || (y=scanner.nextInt())!=0){ array[counter][0] = x...
Main.java:11: error: variable y might not have been initialized array[counter][1] = y; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860429318|p02397|0
u860429318|p02397|0
codenet
Compile Error
638
v2_s203596902
s203596902
s203596902
p02397
p02397
u869688911
u869688911
1,503,828,663
2017-08-27T10:11:03
Main.java
import java.io.*; class Main { public static void main(String[] args) throws IOException{ InputStreamReader br = new InputStreamReader(System.in)); int i=0; int x; while((x=Integer.parseInt(br.readLine())) != 0){ i++; System.out.println("Case " +i+ ": " + x); } br.close(); } }
Main.java:4: error: ';' expected InputStreamReader br = new InputStreamReader(System.in)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02397|0
u869688911|p02397|0
codenet
Compile Error
278
v2_s231888385
s231888385
s231888385
p02397
p02397
u869688911
u869688911
1,503,828,685
2017-08-27T10:11:25
Main.java
import java.io.*; class Main { public static void main(String[] args) throws IOException{ InputStreamReader br = new InputStreamReader(System.in); int i=0; int x; while((x=Integer.parseInt(br.readLine())) != 0){ i++; System.out.println("Case " +i+ ": " + x); } br.close(); } }
Main.java:7: error: cannot find symbol while((x=Integer.parseInt(br.readLine())) != 0){ ^ symbol: method readLine() location: variable br of type InputStreamReader 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02397|0
u869688911|p02397|0
codenet
Compile Error
277
v2_s468542874
s468542874
s468542874
p02397
p02397
u869688911
u869688911
1,503,828,739
2017-08-27T10:12:19
Main.java
import java.io.*; class Main { public static void main(String[] args) throws IOException{ InputStreamReader br = new InputStreamReader(System.in); int i=0; int x; while(x=br.read() != 0){ i++; System.out.println("Case " +i+ ": " + x); } br.close(); } }
Main.java:7: error: incompatible types: boolean cannot be converted to int while(x=br.read() != 0){ ^ Main.java:7: error: incompatible types: int cannot be converted to boolean while(x=br.read() != 0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02397|0
u869688911|p02397|0
codenet
Compile Error
253
v2_s421449136
s421449136
s421449136
p02397
p02397
u869688911
u869688911
1,503,838,946
2017-08-27T13:02:26
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,y; while(readStrToInt(br, x, y)){ } br.close(); } static boolean readStrToInt(BufferedReader br, int x, int y)throws IOException{ String str=br.readLine(...
Main.java:6: error: variable x might not have been initialized while(readStrToInt(br, x, y)){ ^ Main.java:6: error: variable y might not have been initialized while(readStrToInt(br, x, y)){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02397|1
u869688911|p02397|0
codenet
Compile Error
588
v2_s797791450
s797791450
s797791450
p02397
p02397
u869688911
u869688911
1,503,839,259
2017-08-27T13:07:39
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); while(readStrToInt(br)){ } br.close(); } static boolean readStrToInt(BufferedReader br)throws IOException{ String str=br.readLine(); String[] arr=str.split(" "...
Main.java:22: error: illegal start of expression } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02397|1
u869688911|p02397|0
codenet
Compile Error
559
v2_s007857372
s007857372
s007857372
p02397
p02397
u895275311
u895275311
1,491,272,265
2017-04-04T02:17:45
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ int x =0; int y =0; int t =0; Scanner scan = new Scanner(System.in); ArrayList<Integer> listx = new ArrayList<Integer>(); ArrayList<Integer> listy = new ArrayList<Integer>(); ...
Main.java:25: error: cannot find symbol for(int i=0;i<list.size();i++){ ^ symbol: variable list location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02397|1
u895275311|p02397|1
codenet
Compile Error
585
v2_s791150039
s791150039
s791150039
p02397
p02397
u901150644
u901150644
1,524,619,913
2018-04-25T01:31:53
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); if(x == 0 && y == 0){ break; } else { int z = x; x = y; y = z; System.out.println(x + " " + y); ...
Main.java:9: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u901150644|p02397|0
u901150644|p02397|0
codenet
Compile Error
335
v2_s135011225
s135011225
s135011225
p02397
p02397
u901150644
u901150644
1,524,620,005
2018-04-25T01:33:25
Main24.java
import java.util.Scanner; public class Main24 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); for(i = 0; ; i++){ int x = sc.nextInt(); int y = sc.nextInt(); if(x == 0 && y == 0){ break; } else { int z = x; x = y; y = z; System.out.prin...
Main24.java:6: error: cannot find symbol for(i = 0; ; i++){ ^ symbol: variable i location: class Main24 Main24.java:6: error: cannot find symbol for(i = 0; ; i++){ ^ symbol: variable i location: class Main24 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u901150644|p02397|0
u901150644|p02397|0
codenet
Compile Error
358
v2_s993877931
s993877931
s993877931
p02397
p02397
u902605499
u902605499
1,556,081,232
2019-04-24T04:47:12
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); while(true){ int a = S.nextInt(); int b = S.nextInt(); if(a == b){ System.out.println(a b); } else if (a>b){ System.out.println(a b); ...
Main.java:11: error: ')' or ',' expected System.out.println(a b); ^ Main.java:11: error: not a statement System.out.println(a b); ^ Main.java:11: error: ';' expected System.out.println(a b); ^ Main.java:14: error: ')' or ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02397|0
u902605499|p02397|0
codenet
Compile Error
421
v2_s748739195
s748739195
s748739195
p02397
p02397
u902605499
u902605499
1,556,081,451
2019-04-24T04:50:51
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); while(true){ int a = S.nextInt(); int b = S.nextInt(); if(a > b){ System.out.printf("%d %d",b, a); } else { System.out.printf("%d %d",...
Main.java:17: error: cannot find symbol if (x==0)break; ^ symbol: variable x location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02397|0
u902605499|p02397|0
codenet
Compile Error
376
v2_s409636947
s409636947
s409636947
p02397
p02397
u902605499
u902605499
1,556,081,501
2019-04-24T04:51:41
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); while(true){ int a = S.nextInt(); int b = S.nextInt(); if(a > b){ System.out.printf("%d %d",b, a); } else { System.out.printf("%d %d",...
Main.java:17: error: bad operand types for binary operator '&' if (a & b == 0)break; ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02397|0
u902605499|p02397|0
codenet
Compile Error
382
v2_s874355359
s874355359
s874355359
p02397
p02397
u902605499
u902605499
1,556,081,704
2019-04-24T04:55:04
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); while(true){ int a = S.nextInt(); int b = S.nextInt(); if(a > b){ System.out.printf("%d %d",a, b); } else { System.out.printf("%d %d...
Main.java:19: error: bad operand types for binary operator '&&' if (a && b == 0)break; ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02397|0
u902605499|p02397|0
codenet
Compile Error
385
v2_s204285236
s204285236
s204285236
p02397
p02397
u902605499
u902605499
1,556,083,603
2019-04-24T05:26:43
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); while(true){ if (x == 0 && y ==0)break; int x = S.nextInt(); int y = S.nextInt(); if(x < y) System.out.printf("%d %d\n",x, y); else System.out.p...
Main.java:10: error: cannot find symbol if (x == 0 && y ==0)break; ^ symbol: variable x location: class Main Main.java:10: error: cannot find symbol if (x == 0 && y ==0)break; ^ symbol: variable y location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02397|0
u902605499|p02397|0
codenet
Compile Error
358
v2_s763328503
s763328503
s763328503
p02397
p02397
u905053912
u905053912
1,464,848,634
2016-06-02T06:23:54
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); ...
Main.java:21: error: <identifier> expected System.out.println(sb); ^ Main.java:21: error: <identifier> expected System.out.println(sb); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u905053912|p02397|0
u905053912|p02397|0
codenet
Compile Error
694
v2_s138666424
s138666424
s138666424
p02397
p02397
u905053912
u905053912
1,464,848,719
2016-06-02T06:25:19
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); ...
Main.java:21: error: <identifier> expected System.out.print(sb); ^ Main.java:21: error: <identifier> expected System.out.print(sb); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u905053912|p02397|0
u905053912|p02397|0
codenet
Compile Error
692
v2_s032929221
s032929221
s032929221
p02397
p02397
u908899927
u908899927
1,492,505,076
2017-04-18T08:44:36
Main.java
class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n"); while(1){ int x=scan.nextInt(); int y=scan.nextInt(); if(x==0 && y==0){break;} int z; if(x>y){z=x;x=y;y=z;} System.out.println(x+" "+y); } } }
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n"); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n"); ^ symbol: class Scanner locati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u908899927|p02397|0
u908899927|p02397|0
codenet
Compile Error
290
v2_s037287004
s037287004
s037287004
p02397
p02397
u908899927
u908899927
1,492,505,357
2017-04-18T08:49:17
Main.java
import jaca.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n"); while(1){ int x=scan.nextInt(); int y=scan.nextInt(); if(x==0 && y==0){break;} int z; if(x>y){z=x;x=y;y=z;} System.out.println(x+" "+y); } } }
Main.java:1: error: package jaca.util does not exist import jaca.util.*; ^ Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n"); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u908899927|p02397|0
u908899927|p02397|0
codenet
Compile Error
311
v2_s882126123
s882126123
s882126123
p02397
p02397
u908899927
u908899927
1,492,506,091
2017-04-18T09:01:31
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n"); while(1){ int x=scan.nextInt(); int y=scan.nextInt(); if(x==0 && y==0){break;} int z; if(x>y){z=x;x=y;y=z;} System.out.println(x+" "+y); } } }
Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in).useDelimitter("\\s\\*n"); ^ symbol: method useDelimitter(String) location: class Scanner Main.java:7: error: incompatible types: int cannot be converted to boolean while(1){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u908899927|p02397|0
u908899927|p02397|0
codenet
Compile Error
311
v2_s983311508
s983311508
s983311508
p02397
p02397
u908899927
u908899927
1,492,506,122
2017-04-18T09:02:02
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in).useDelimiter("\\s\\*n"); while(1){ int x=scan.nextInt(); int y=scan.nextInt(); if(x==0 && y==0){break;} int z; if(x>y){z=x;x=y;y=z;} System.out.println(x+" "+y); } } }
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
u908899927|p02397|0
u908899927|p02397|0
codenet
Compile Error
310
v2_s675937227
s675937227
s675937227
p02397
p02397
u910402677
u910402677
1,477,619,484
2016-10-28T01:51:24
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ List<Integer, Integer> numSet = ArrayList<Integer, Integer>(); for(;;){ String line = new Scanner(System.in).nextLine(); if(line.equals("0 0")){ break; } String[] numbers = line.split("\\s"); int x = Integer.parseInt...
Main.java:5: error: ';' expected List<Integer, Integer> numSet = ArrayList<Integer, Integer>(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02397|0
u910402677|p02397|0
codenet
Compile Error
651
v2_s398253594
s398253594
s398253594
p02397
p02397
u910402677
u910402677
1,477,619,616
2016-10-28T01:53:36
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ List<Integer, Integer> numSet = new ArrayList<Integer, Integer>(); for(;;){ String line = new Scanner(System.in).nextLine(); if(line.equals("0 0")){ break; } String[] numbers = line.split("\\s"); int x = Integer.pars...
Main.java:5: error: wrong number of type arguments; required 1 List<Integer, Integer> numSet = new ArrayList<Integer, Integer>(); ^ Main.java:5: error: wrong number of type arguments; required 1 List<Integer, Integer> numSet = new ArrayList<Integer, Integer>(); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02397|0
u910402677|p02397|0
codenet
Compile Error
655
v2_s330850992
s330850992
s330850992
p02397
p02397
u910402677
u910402677
1,477,619,629
2016-10-28T01:53:49
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ List<Integer, Integer> numSet = new ArrayList<Integer, Integer>(); for(;;){ String line = new Scanner(System.in).nextLine(); if(line.equals("0 0")){ break; } String[] numbers = line.split("\\s"); int x = Integer.pars...
Main.java:5: error: wrong number of type arguments; required 1 List<Integer, Integer> numSet = new ArrayList<Integer, Integer>(); ^ Main.java:5: error: wrong number of type arguments; required 1 List<Integer, Integer> numSet = new ArrayList<Integer, Integer>(); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02397|0
u910402677|p02397|0
codenet
Compile Error
655
v2_s259504970
s259504970
s259504970
p02397
p02397
u913462354
u913462354
1,525,938,878
2018-05-10T07:54:38
Main.java
import java.io.Bu import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; /** * * @author k16069kk */ public class Main{ /** * @param args the command line arguments */ public static void main(String[] args) throws IOExceptio...
Main.java:2: error: ';' expected import java.io.Bu ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u913462354|p02397|0
u913462354|p02397|0
codenet
Compile Error
988
v2_s608472398
s608472398
s608472398
p02397
p02397
u925778868
u925778868
1,546,228,588
2018-12-31T03:56:28
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); if(x>y){ System.out.println(x.y); }else{ System.out.println(y.x); } } }
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 Main.java:8: error: int cannot be dereference...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02397|0
u925778868|p02397|0
codenet
Compile Error
221
v2_s756351143
s756351143
s756351143
p02397
p02397
u925778868
u925778868
1,546,228,605
2018-12-31T03:56:45
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); if(x>y){ System.out.println(x.y); }else{ System.out.println(y.x); } } }
Main.java:9: error: int cannot be dereferenced System.out.println(x.y); ^ Main.java:11: error: int cannot be dereferenced System.out.println(y.x); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02397|0
u925778868|p02397|0
codenet
Compile Error
247
v2_s297812660
s297812660
s297812660
p02397
p02397
u925778868
u925778868
1,546,229,360
2018-12-31T04:09:20
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); for (int i = 1; i < 3000; i++) { if (x == 0 && y == 0) break; if (x < y) { System.out.println(x + " " + y); } else if{ S...
Main.java:14: error: '(' expected } else if{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02397|0
u925778868|p02397|0
codenet
Compile Error
367
v2_s508375280
s508375280
s508375280
p02397
p02397
u925778868
u925778868
1,546,229,608
2018-12-31T04:13:28
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 n = sc.nextInt(); for (int i = 0; i <= 3000; i++) { if (a == 0 && n == 0) { break; }else if (a < b){ System.out.println(a + " " + b); }else if...
Main.java:12: error: cannot find symbol }else if (a < b){ ^ symbol: variable b location: class Main Main.java:13: error: cannot find symbol System.out.println(a + " " + b); ^ symbol: variable b location: class Main Main.java:14: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02397|0
u925778868|p02397|0
codenet
Compile Error
382
v2_s254072807
s254072807
s254072807
p02397
p02397
u925778868
u925778868
1,546,229,624
2018-12-31T04:13:44
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(); for (int i = 0; i <= 3000; i++) { if (a == 0 && n == 0) { break; }else if (a < b){ System.out.println(a + " " + b); }else if...
Main.java:10: error: cannot find symbol if (a == 0 && n == 0) { ^ symbol: variable n location: class Main Main.java:14: error: cannot find symbol }else if (x > y){ ^ symbol: variable x location: class Main Main.java:14: error: cannot find symbol }else if (x > y){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02397|0
u925778868|p02397|0
codenet
Compile Error
382
v2_s477822987
s477822987
s477822987
p02397
p02397
u925778868
u925778868
1,546,229,630
2018-12-31T04:13:50
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(); for (int i = 0; i <= 3000; i++) { if (a == 0 && b == 0) { break; }else if (a < b){ System.out.println(a + " " + b); }else if...
Main.java:14: error: cannot find symbol }else if (x > y){ ^ symbol: variable x location: class Main Main.java:14: error: cannot find symbol }else if (x > y){ ^ symbol: variable y location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02397|0
u925778868|p02397|0
codenet
Compile Error
382
v2_s284844090
s284844090
s284844090
p02397
p02397
u925778868
u925778868
1,546,230,627
2018-12-31T04:30:27
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(); while(true){ if (a == 0 && b == 0) { break; }else if (a < b){ System.out.println(a + " " + b); }else if (a> b){ System.o...
Main.java:20: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02397|0
u925778868|p02397|0
codenet
Compile Error
362
v2_s908981751
s908981751
s908981751
p02397
p02397
u925778868
u925778868
1,546,230,963
2018-12-31T04:36:03
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(); while (true){ int a = sc.nextInt(); int b = sc.nextInt(); if (a == 0 && b == 0)break; if (a < b) { System.out.println(a + " " + ...
Main.java:10: error: variable a is already defined in method main(String[]) int a = sc.nextInt(); ^ Main.java:11: error: variable b is already defined in method main(String[]) int b = sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02397|0
u925778868|p02397|0
codenet
Compile Error
393
v2_s789057808
s789057808
s789057808
p02397
p02397
u925778868
u925778868
1,546,231,004
2018-12-31T04:36:44
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(); while (sc.hasNextInt()){ int a = sc.nextInt(); int b = sc.nextInt(); if (a == 0 && b == 0)break; if (a < b) { System.out.println...
Main.java:10: error: variable a is already defined in method main(String[]) int a = sc.nextInt(); ^ Main.java:11: error: variable b is already defined in method main(String[]) int b = sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02397|0
u925778868|p02397|0
codenet
Compile Error
404
v2_s887761004
s887761004
s887761004
p02397
p02397
u938767283
u938767283
1,478,410,356
2016-11-06T05:32:36
Main.java
public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); StringBuilder sb = new StringBuilder(); int x,y; while ( 0 != ( x = sc.nextInt() ) || 0 != ( y = sc.nextInt() ) ) { if ( x < y ) sb.append( x + " "...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u938767283|p02397|1
u938767283|p02397|1
codenet
Compile Error
414
v2_s769066215
s769066215
s769066215
p02397
p02397
u954258807
u954258807
1,468,941,916
2016-07-19T15:25:16
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); while(true){ int x = scan.nextInt(); int y = scan.nextInt(); if(x == 0 && y == 0){ break; }else{ if(y < x){ int a; int a = x; x = y; y = a; Sy...
Main.java:17: error: variable a is already defined in method main(String[]) int a = x; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954258807|p02397|0
u954258807|p02397|0
codenet
Compile Error
419
v2_s925467069
s925467069
s925467069
p02397
p02397
u954258807
u954258807
1,468,941,949
2016-07-19T15:25:49
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); while(true){ int x = scan.nextInt(); int y = scan.nextInt(); if(x == 0 && y == 0){ break; }else{ if(y < x){ int a; int a = x; x = y; y = a; Sy...
Main.java:17: error: variable a is already defined in method main(String[]) int a = x; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954258807|p02397|0
u954258807|p02397|0
codenet
Compile Error
419
v2_s237607442
s237607442
s237607442
p02397
p02397
u954624738
u954624738
1,509,336,661
2017-10-30T04:11:01
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { int rows = 3000; int columns = 2; int count = 0; Scanner s = new Scanner(System.in); int[][] sort = new int[rows][columns]; int temp; for (int i = 0; i < 3000; i++) { sort[i][0] = s.nextInt(); sort[i][1] = s.ne...
Main.java:35: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954624738|p02397|0
u954624738|p02397|0
codenet
Compile Error
729
v2_s867697324
s867697324
s867697324
p02397
p02397
u954624738
u954624738
1,509,336,710
2017-10-30T04:11:50
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { int rows = 3000; int columns = 2; int count = 0; Scanner s = new Scanner(System.in); int[][] sort = new int[rows][columns]; int temp; for (int i = 0; i < 3000; i++) { sort[i][0] = s.nextInt(); sort[i][1] = s.nex...
Main.java:34: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954624738|p02397|0
u954624738|p02397|0
codenet
Compile Error
728
v2_s585991729
s585991729
s585991729
p02397
p02397
u966110132
u966110132
1,461,222,396
2016-04-21T07:06:36
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = 1, b = 1; while (a != 0 && b != 0) { a = scanner.nextInt(); b = scanner.nextInt(); if (a > b) { int c; c = a; ...
Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u966110132|p02397|0
u966110132|p02397|0
codenet
Compile Error
441
v2_s614804259
s614804259
s614804259
p02397
p02397
u966110132
u966110132
1,461,223,306
2016-04-21T07:21:46
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = 1; int b = 1; while (a != 0 || b != 0) { a = scanner.nextInt(); b = scanner.nextInt(); if (a > b) { int c; ...
Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u966110132|p02397|0
u966110132|p02397|0
codenet
Compile Error
525
v2_s115129187
s115129187
s115129187
p02397
p02397
u966110132
u966110132
1,461,223,962
2016-04-21T07:32:42
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = 1; int b = 1; while (true) { a = scanner.nextInt(); b = scanner.nextInt(); if (a > b) { int c; c = a; ...
Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u966110132|p02397|0
u966110132|p02397|0
codenet
Compile Error
513
v2_s767760185
s767760185
s767760185
p02397
p02397
u967815968
u967815968
1,491,134,106
2017-04-02T11:55:06
Main.java
public class Main { public static void main(String[]args){ Scanner scan =new Scanner(System.in); while(true){ int x =scan.nextInt(); int y=scan.nextInt(); if(x ==0 && y==0) break; if(x>y){ System.out.println(x+" "+y); }else{ System.out.println(y+" " +x); } if(x ==0&& y==...
Main.java:5: error: cannot find symbol Scanner scan =new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan =new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02397|0
u967815968|p02397|0
codenet
Compile Error
356
v2_s041157365
s041157365
s041157365
p02397
p02397
u967815968
u967815968
1,491,134,146
2017-04-02T11:55:46
Main.java
public class Main { public static void main(String[]args){ Scanner scan =new Scanner(System.in); while(true){ int x =scan.nextInt(); int y=scan.nextInt(); if(x ==0 && y==0) break; if(x>y){ System.out.println(x+" "+y); }else{ System.out.println(y+" " +x); } } } }
Main.java:5: error: cannot find symbol Scanner scan =new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan =new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02397|0
u967815968|p02397|0
codenet
Compile Error
311
v2_s517077788
s517077788
s517077788
p02397
p02397
u967815968
u967815968
1,491,134,303
2017-04-02T11:58:23
Main.java
public class Main { public static void main(String[]args){ Scanner scan =new Scanner(System.in); while(true){ int x =scan.nextInt(); int y=scan.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
u967815968|p02397|0
u967815968|p02397|0
codenet
Compile Error
301
v2_s476422048
s476422048
s476422048
p02397
p02397
u967815968
u967815968
1,491,134,366
2017-04-02T11:59:26
Main.java
public class Main { public static void main(String[]args){ Scanner scan =new Scanner(System.in); while(true){ int x =scan.nextInt(); int y=scan.nextInt(); if(x ==0 && y==0) break; if(x<y){ System.out.println(x+" "+y); }else{ System.out.println(y+" " +x); } } } ???
Main.java:20: error: illegal start of type ??? ^ Main.java:20: error: reached end of file while parsing ??? ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02397|0
u967815968|p02397|0
codenet
Compile Error
305
v2_s898502957
s898502957
s898502957
p02397
p02397
u967815968
u967815968
1,491,134,386
2017-04-02T11:59:46
Main.java
public class Main { public static void main(String[]args){ Scanner scan =new Scanner(System.in); while(true){ int x =scan.nextInt(); int y=scan.nextInt(); if(x ==0 && y==0) break; if(x<y){ System.out.println(x+" "+y); }else{ System.out.println(y+" " +x); } } } ???
Main.java:20: error: illegal start of type ??? ^ Main.java:20: error: reached end of file while parsing ??? ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02397|0
u967815968|p02397|0
codenet
Compile Error
302
v2_s326853562
s326853562
s326853562
p02397
p02397
u967815968
u967815968
1,491,134,436
2017-04-02T12:00:36
Main.java
public class Main { public static void main(String[]args){ Scanner scan =new Scanner(System.in); while(true){ int x =scan.nextInt(); int y=scan.nextInt(); if(x ==0 && y==0) break; if(x<y){ System.out.println(x+" "+y); }else{ System.out.println(y+" " +x); } } } }
Main.java:5: error: cannot find symbol Scanner scan =new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan =new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02397|0
u967815968|p02397|0
codenet
Compile Error
303
v2_s869613092
s869613092
s869613092
p02397
p02397
u967961232
u967961232
1,523,160,174
2018-04-08T04:02:54
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int i = 1; while(true) { int x = sc.nextInt(); if(x == 0) break; 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
u967961232|p02397|1
u967961232|p02397|1
codenet
Compile Error
223
v2_s603996079
s603996079
s603996079
p02397
p02397
u973197167
u973197167
1,534,919,546
2018-08-22T06:32:26
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner sc = new Scanner; while(true){ String str = sc.nextLine(); int[] x = Integer.parseInt(str.split(" ")); if(x[0] == 0 && x[1] == 0){ break; } Arrays.sort(x); ...
Main.java:6: error: '(' or '[' expected Scanner sc = new Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02397|0
u973197167|p02397|0
codenet
Compile Error
373
v2_s009729107
s009729107
s009729107
p02397
p02397
u973197167
u973197167
1,534,919,705
2018-08-22T06:35:05
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(true){ String str = sc.nextLine(); int[] x = Integer.parseInt(str.split(" ")); if(x[0] == 0 && x[1] == 0){ break; } Arrays.so...
Main.java:9: error: incompatible types: String[] cannot be converted to String int[] x = Integer.parseInt(str.split(" ")); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02397|0
u973197167|p02397|0
codenet
Compile Error
384
v2_s483783747
s483783747
s483783747
p02397
p02397
u973197167
u973197167
1,534,919,877
2018-08-22T06:37:57
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(true){ String str = sc.nextLine(); String[] str2 = str.split(" "); int[] x = new int[str2.length()]; for (int i = 0; i < str2.length(); i++...
Main.java:10: error: cannot find symbol int[] x = new int[str2.length()]; ^ symbol: method length() location: variable str2 of type String[] Main.java:11: error: cannot find symbol for (int i = 0; i < str2.length(); i++){ ^ symbol: method l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02397|0
u973197167|p02397|0
codenet
Compile Error
509
v2_s565616207
s565616207
s565616207
p02397
p02397
u973197167
u973197167
1,535,511,085
2018-08-29T02:51:25
Main.java
class Main while(true) str = gets str = str.split(" ") str.map { |x| x.to_i } str.sort_by! { |n| n } break if str[0] == 0 puts "#{str[0]} #{str[1]}" end end
Main.java:1: error: '{' expected class Main ^ Main.java:5: error: illegal start of type str.map { |x| x.to_i } ^ Main.java:5: error: <identifier> expected str.map { |x| x.to_i } ^ Main.java:5: error: <identifier> expected str.map { |x| x.to_i } ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02397|1
u973197167|p02397|1
codenet
Compile Error
185
v2_s996629658
s996629658
s996629658
p02397
p02397
u991553323
u991553323
1,422,604,986
2015-01-30T08:03:06
Main.java
import java.util.Scanner; class Main { public void aa() { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); while(x != 0 || y != 0) { if(x < y) { System.out.println(x + " " + y); } else { System.out.println(y + " " + x); } x = sc.nextInt(); y = sc.nextInt()...
Main.java:21: error: class, interface, enum, or record expected import java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u991553323|p02397|0
u991553323|p02397|0
codenet
Compile Error
789
v2_s829553951
s829553951
s829553951
p02398
p02398
u017274040
u017274040
1,493,189,562
2017-04-26T06:52:42
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); int c=sc.nextInt(); 1<=a<=1000 && 1<=b<=1000 && 1<=c<=1000; for(int x=a;x<=b;x++){System.out.println(x%c==0);} }}
Main.java:8: error: not a statement 1<=a<=1000 && 1<=b<=1000 && 1<=c<=1000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02398|0
u017274040|p02398|0
codenet
Compile Error
267
v2_s657744361
s657744361
s657744361
p02398
p02398
u017274040
u017274040
1,493,256,147
2017-04-27T01:22:27
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); int c=sc.nextInt(); int n=0; for(int x=a;x<=b;x++){ if(c%x==0)x++;}System.out.println(x); }}
Main.java:10: error: cannot find symbol if(c%x==0)x++;}System.out.println(x); ^ symbol: variable x location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02398|2
u017274040|p02398|1
codenet
Compile Error
246
v2_s459216212
s459216212
s459216212
p02398
p02398
u017274040
u017274040
1,493,256,184
2017-04-27T01:23:04
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); int c=sc.nextInt(); int n=0; for(int x=a;x<=b;x++){ if(c%x==0)x++;}System.out.println(x); }}
Main.java:10: error: cannot find symbol if(c%x==0)x++;}System.out.println(x); ^ symbol: variable x location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02398|2
u017274040|p02398|1
codenet
Compile Error
246
v2_s229298709
s229298709
s229298709
p02398
p02398
u017274040
u017274040
1,493,256,248
2017-04-27T01:24:08
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); int c=sc.nextInt(); int n=0; for(int x=a;x<=b;x++){ if(c%x==0)x++;}System.out.println(x); }}
Main.java:10: error: cannot find symbol if(c%x==0)x++;}System.out.println(x); ^ symbol: variable x location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02398|2
u017274040|p02398|1
codenet
Compile Error
247
v2_s059371845
s059371845
s059371845
p02398
p02398
u044034654
u044034654
1,443,672,645
2015-10-01T04:10:45
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 b = scan.nextInt(); int c = scan.nextInt(); int x = 0; for( int i = a ; i <= b ; i++ ){ if( (c % i) == 0 )x++; System.out.println("...
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u044034654|p02398|0
u044034654|p02398|0
codenet
Compile Error
338
v2_s120438413
s120438413
s120438413
p02398
p02398
u056328744
u056328744
1,467,603,543
2016-07-04T03:39:03
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BUfferedReader br = new BUfferedReader(new InputStreamreader(System.in)); String str = br.readLine(); String[] strs = str.split(" "); int a = Integer.parseInt(strs[0]); int b = Integer.par...
Main.java:4: error: cannot find symbol BUfferedReader br = new BUfferedReader(new InputStreamreader(System.in)); ^ symbol: class BUfferedReader location: class Main Main.java:4: error: cannot find symbol BUfferedReader br = new BUfferedReader(new InputStreamreader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056328744|p02398|0
u056328744|p02398|0
codenet
Compile Error
574
v2_s740632042
s740632042
s740632042
p02398
p02398
u056328744
u056328744
1,467,603,664
2016-07-04T03:41:04
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BUfferedReader br = new BUfferedReader(new InputStreamReader(System.in)); String str = br.readLine(); String[] strs = str.split(" "); int a = Integer.parseInt(strs[0]); int b = Integer.par...
Main.java:4: error: cannot find symbol BUfferedReader br = new BUfferedReader(new InputStreamReader(System.in)); ^ symbol: class BUfferedReader location: class Main Main.java:4: error: cannot find symbol BUfferedReader br = new BUfferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056328744|p02398|0
u056328744|p02398|0
codenet
Compile Error
574
v2_s776942718
s776942718
s776942718
p02398
p02398
u056328744
u056328744
1,467,603,705
2016-07-04T03:41:45
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BUfferedReader br = new BfferedReader(new InputStreamReader(System.in)); String str = br.readLine(); String[] strs = str.split(" "); int a = Integer.parseInt(strs[0]); int b = Integer.pars...
Main.java:4: error: cannot find symbol BUfferedReader br = new BfferedReader(new InputStreamReader(System.in)); ^ symbol: class BUfferedReader location: class Main Main.java:4: error: cannot find symbol BUfferedReader br = new BfferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056328744|p02398|0
u056328744|p02398|0
codenet
Compile Error
573
v2_s716965729
s716965729
s716965729
p02398
p02398
u092742949
u092742949
1,452,055,252
2016-01-06T04:40:52
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan =new Scanner(System.in); int a=scan.nextint(); int b=scan.nextint(); int c=scan.nextint(); int sum=0; for(a;a<=b;a++){ if(c%a==0) sum=sum+1; } System.out.println(sum); }
Main.java:9: error: not a statement for(a;a<=b;a++){ ^ Main.java:14: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u092742949|p02398|0
u092742949|p02398|0
codenet
Compile Error
260
v2_s892551078
s892551078
s892551078
p02398
p02398
u092742949
u092742949
1,452,055,269
2016-01-06T04:41:09
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan =new Scanner(System.in); int a=scan.nextInt(); int b=scan.nextInt(); int c=scan.nextInt(); int sum=0; for(a;a<=b;a++){ if(c%a==0) sum=sum+1; } System.out.println(sum); }
Main.java:9: error: not a statement for(a;a<=b;a++){ ^ Main.java:14: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u092742949|p02398|0
u092742949|p02398|0
codenet
Compile Error
260
v2_s479557483
s479557483
s479557483
p02398
p02398
u102255374
u102255374
1,491,279,751
2017-04-04T04:22:31
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner as = new Scanner(System.in); int a; int b; int c; int count=0; a = as.nextInt(); b = as.nextInt(); c = as.nextInt(); for(int...
Main.java:20: error: > or ',' expected for(int i=a;i=<b;i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u102255374|p02398|0
u102255374|p02398|0
codenet
Compile Error
490
v2_s341245685
s341245685
s341245685
p02398
p02398
u102255374
u102255374
1,491,279,800
2017-04-04T04:23:20
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner as = new Scanner(System.in); int a; int b; int c; int count=0; a = as.nextInt(); b = as.nextInt(); c = as.nextInt(); for(int...
Main.java:25: error: cannot find symbol println(count); ^ symbol: method println(int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u102255374|p02398|0
u102255374|p02398|0
codenet
Compile Error
490
v2_s780669137
s780669137
s780669137
p02398
p02398
u160833744
u160833744
1,518,350,683
2018-02-11T12:04:43
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); for (int i = a; i <= b; i++) { if (c % i == 0) { cnt++; ...
Main.java:11: error: cannot find symbol cnt++; ^ symbol: variable cnt location: class Main Main.java:14: error: cannot find symbol System.out.println(cnt); ^ symbol: variable cnt location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u160833744|p02398|0
u160833744|p02398|0
codenet
Compile Error
376
v2_s405348069
s405348069
s405348069
p02398
p02398
u164475137
u164475137
1,428,041,249
2015-04-03T06:07:29
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); //???????????´??° a???b???c ??????????????????a ?????? b ?????§?????´??°????????? //c ????´???°?????????????????????????±???????????????°???????????????????????????????????? int a = Integer.parseInt(s...
Main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u164475137|p02398|1
u164475137|p02398|1
codenet
Compile Error
832
v2_s213193462
s213193462
s213193462
p02398
p02398
u188658430
u188658430
1,432,634,180
2015-05-26T09:56:20
Main.java
import java.io.*; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); int i; int x; for(i=a;i<=b;i++){ if((...
Main.java:14: error: unexpected type if((c%i)=0) ^ required: variable found: value 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u188658430|p02398|0
u188658430|p02398|0
codenet
Compile Error
397
v2_s649957123
s649957123
s649957123
p02398
p02398
u188658430
u188658430
1,432,634,228
2015-05-26T09:57:08
Main.java
import java.io.*; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); int i; int x=0; for(i=a;i<=b;i++){ if...
Main.java:14: error: unexpected type if((c%i)=0) ^ required: variable found: value 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u188658430|p02398|0
u188658430|p02398|0
codenet
Compile Error
399
v2_s793459863
s793459863
s793459863
p02398
p02398
u188658430
u188658430
1,432,634,280
2015-05-26T09:58:00
Main.java
import java.io.*; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); int i; int x=0; for(i=a;i<=b;i++){ if...
Main.java:14: error: unexpected type if((c%i)=0){ ^ required: variable found: value 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u188658430|p02398|0
u188658430|p02398|0
codenet
Compile Error
409
v2_s424393947
s424393947
s424393947
p02398
p02398
u195892755
u195892755
1,419,056,969
2014-12-20T06:29:29
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Main{ public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in); int a, b, c; int count = 0; String[] num = i...
Main.java:7: error: ')' or ',' expected BufferedReader in = new BufferedReader(new InputStreamReader(System.in); ^ Main.java:17: error: illegal start of type if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c)...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u195892755|p02398|1
u195892755|p02398|1
codenet
Compile Error
888
v2_s215838208
s215838208
s215838208
p02398
p02398
u195892755
u195892755
1,419,057,076
2014-12-20T06:31:16
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Main{ public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int a, b, c; int count = 0; String[] num = ...
Main.java:17: error: illegal start of type if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) { ^ Main.java:17: error: illegal start of type if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) { ^ Main.java:17: error: > expected if (a < 1 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u195892755|p02398|1
u195892755|p02398|1
codenet
Compile Error
889
v2_s116701152
s116701152
s116701152
p02398
p02398
u195892755
u195892755
1,419,059,196
2014-12-20T07:06:36
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Main{ public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in); int a, b, c; int count = 0; String[] num = i...
Main.java:7: error: ')' or ',' expected BufferedReader in = new BufferedReader(new InputStreamReader(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u195892755|p02398|1
u195892755|p02398|1
codenet
Compile Error
622
v2_s812193261
s812193261
s812193261
p02398
p02398
u209789060
u209789060
1,498,046,568
2017-06-21T12:02:48
Main.java
class Main { public static void main(String[] args) { try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String inputData; inputData = reader.readLine(); String[] strNumber = inputData.split(" "); int aa = Integer.parseInt(strNumber[0...
Main.java:6: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:6: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(Syste...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u209789060|p02398|0
u209789060|p02398|0
codenet
Compile Error
632
v2_s063085052
s063085052
s063085052
p02398
p02398
u211138527
u211138527
1,443,299,389
2015-09-26T20:29:49
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:34: error: ';' expected if(c%i==0) ans++ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02398|0
u211138527|p02398|0
codenet
Compile Error
3,104
v2_s415040458
s415040458
s415040458
p02398
p02398
u226888928
u226888928
1,441,706,444
2015-09-08T10:00:44
Main.java
import java.util.*; class Main { public static void main(String[]args)throws Exception { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int k = 0; for(; a <= b; a++) { if((c % a) == 0) k++ } ...
Main.java:10: error: ';' expected if((c % a) == 0) k++ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u226888928|p02398|0
u226888928|p02398|0
codenet
Compile Error
357
v2_s470614999
s470614999
s470614999
p02398
p02398
u228170966
u228170966
1,509,678,562
2017-11-03T03:09:22
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 b=scan.nextInt(); int c=scan.nextInt(); int d=0; do{ if(c%a==0){ d++; } a++; if(a>b)break; }while(true); System.out.println(d); scan.close(); }
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u228170966|p02398|0
u228170966|p02398|0
codenet
Compile Error
300
v2_s352584549
s352584549
s352584549
p02398
p02398
u233376535
u233376535
1,491,277,832
2017-04-04T03:50:32
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ int a,b,c,i,ans; BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); String[] strAry = str.split(" "); a = Integer.parseInt(strAry[0]); b = Integer.parseInt(str...
Main.java:16: error: ';' expected if(c%ans==0){i++} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02398|0
u233376535|p02398|0
codenet
Compile Error
469
v2_s014880221
s014880221
s014880221
p02398
p02398
u233376535
u233376535
1,491,277,869
2017-04-04T03:51:09
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ int a,b,c,i,ans; BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); String[] strAry = str.split(" "); a = Integer.parseInt(strAry[0]); b = Integer.parseInt(str...
Main.java:14: error: variable i might not have been initialized i++; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02398|0
u233376535|p02398|0
codenet
Compile Error
470