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_s170512686
s170512686
s170512686
p02390
p02390
u810323012
u810323012
1,445,005,505
2015-10-16T14:25:05
Main.java
import java.io.*; public class Main { public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Main m = new Main(); String line = br.readLine(); int num = Integer.parseInt(line); m.SecToTime(num); } ???????????? ????????????publi...
Main.java:12: error: illegal start of type ???????????? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u810323012|p02390|0
u810323012|p02390|0
codenet
Compile Error
515
v2_s886892925
s886892925
s886892925
p02390
p02390
u823973500
u823973500
1,535,172,499
2018-08-25T04:48:19
Main.java
class Main{ public static void main(String arg[]){ if(0<=S&S<86400){ s=S%60; m=(S-s)%3600; h=(S-m-s)/3600; System.out.println(h+":"+m/60+":"+s) }
Main.java:8: error: ';' expected System.out.println(h+":"+m/60+":"+s) ^ Main.java:9: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u823973500|p02390|0
u823973500|p02390|0
codenet
Compile Error
163
v2_s239040331
s239040331
s239040331
p02390
p02390
u823973500
u823973500
1,535,172,536
2018-08-25T04:48:56
Main.java
class Main{ static void main(String arg[]){ if(0<=S&S<86400){ s=S%60; m=(S-s)%3600; h=(S-m-s)/3600; System.out.println(h+":"+m/60+":"+s); }
Main.java:9: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u823973500|p02390|0
u823973500|p02390|0
codenet
Compile Error
157
v2_s011860262
s011860262
s011860262
p02390
p02390
u823973500
u823973500
1,535,172,597
2018-08-25T04:49:57
Main.java
class Main{ static void main(String arg[]){ if(0<=S&S<86400){ s=S%60; m=(S-s)%3600; h=(S-m-s)/3600; System.out.println(h+":"+m/60+":"+s) } }
Main.java:8: error: ';' expected System.out.println(h+":"+m/60+":"+s) ^ Main.java:10: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u823973500|p02390|0
u823973500|p02390|0
codenet
Compile Error
159
v2_s331063933
s331063933
s331063933
p02390
p02390
u823973500
u823973500
1,535,172,656
2018-08-25T04:50:56
Main.java
class Main{ static void main(String arg[]){ if(0<=S&S<86400){ s=S%60; m=(S-s)%3600; h=(S-m-s)/3600; System.out.println(h+":"+m/60+":"+s); } }
Main.java:10: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u823973500|p02390|0
u823973500|p02390|0
codenet
Compile Error
159
v2_s483598902
s483598902
s483598902
p02390
p02390
u833039167
u833039167
1,491,366,543
2017-04-05T04:29:03
Main.java
class Main { /** * @param args */ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); // TODO Auto-generated method stub int inte = scanner.nextInt(); int big = scanner.nextInt(); int middle = scanner.nextInt(); int small = scanner.nextInt(); System.out.printl...
Main.java:7: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02390|0
u833039167|p02390|0
codenet
Compile Error
385
v2_s114665381
s114665381
s114665381
p02390
p02390
u833039167
u833039167
1,491,367,857
2017-04-05T04:50:57
Main.java
class Main { /** * @param args */ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); // TODO Auto-generated method stub int S = scanner.nextInt(); int h = scanner.nextInt(); int m = scanner.nextInt(); System.out.println(S/h+":"+(S%h)/m+":"+(S%h)%m); } }
Main.java:7: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02390|0
u833039167|p02390|0
codenet
Compile Error
319
v2_s123181443
s123181443
s123181443
p02390
p02390
u834356976
u834356976
1,525,682,538
2018-05-07T08:42:18
Main.java
import.java.util.Scanner; class Main { public static void main(String [] args){ Scanner sc = new Scanner(System.in); int Smax = sc.nextInt(); int h = (int)(Smax / 3600); int m = (int)((Smax % 3600) / 60); int s = (int)(((Smax % 3600) % 60) / 60); System.out.println(h + ":" + m...
Main.java:1: error: <identifier> expected import.java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02390|0
u834356976|p02390|0
codenet
Compile Error
339
v2_s912120469
s912120469
s912120469
p02390
p02390
u834356976
u834356976
1,525,682,590
2018-05-07T08:43:10
Main.java
import.java.util.Scanner; class Main { public static void main(String [] args){ Scanner sc = new Scanner(System.in); int Smax = sc.nextInt(); int h = (int)(Smax / 3600); int m = (int)((Smax % 3600) / 60); int s = (int)(((Smax % 3600) % 60) / 60); System.out.println(h + ":" + m...
Main.java:1: error: <identifier> expected import.java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02390|0
u834356976|p02390|0
codenet
Compile Error
339
v2_s807225436
s807225436
s807225436
p02390
p02390
u834356976
u834356976
1,525,682,855
2018-05-07T08:47:35
Main.java
import.java.util.Scanner; class Main { public static void main(String [] args){ Scanner sc = new Scanner(System.in); int Smax = sc.nextInt(); System.out.println((Smax / 3600) + ":" + ((Smax/60)%60) + ":" + (Smax % 60)); } }
Main.java:1: error: <identifier> expected import.java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02390|0
u834356976|p02390|0
codenet
Compile Error
252
v2_s114250091
s114250091
s114250091
p02390
p02390
u834356976
u834356976
1,525,682,874
2018-05-07T08:47:54
Main.java
import.java.util.Scanner; class Main { public static void main(String [] args){ Scanner sc = new Scanner(System.in); int Smax = sc.nextInt(); System.out.println((Smax / 3600) + ":" + ((Smax/60)%60) + ":" + (Smax % 60)); } }
Main.java:1: error: <identifier> expected import.java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02390|0
u834356976|p02390|0
codenet
Compile Error
251
v2_s306418161
s306418161
s306418161
p02390
p02390
u834356976
u834356976
1,525,682,878
2018-05-07T08:47:58
Main.java
import.java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int Smax = sc.nextInt(); System.out.println((Smax / 3600) + ":" + ((Smax/60)%60) + ":" + (Smax % 60)); } }
Main.java:1: error: <identifier> expected import.java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02390|0
u834356976|p02390|0
codenet
Compile Error
250
v2_s642431473
s642431473
s642431473
p02390
p02390
u841286412
u841286412
1,440,560,102
2015-08-26T03:35:02
Main.java
import java.io.*; import java.util.Scanner; class Main { public static void main (String[] args) throws IOException { String S; int time,h,m,s; Scanner in = new Scanner(System.in); S = in.nextLine(); time = Integer.parseInt(S); h = time / 3600; m = (time - h * 3600) / 60; s = (time - h * ...
Main.java:22: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841286412|p02390|0
u841286412|p02390|0
codenet
Compile Error
383
v2_s917552795
s917552795
s917552795
p02390
p02390
u843641610
u843641610
1,519,986,496
2018-03-02T10:28:16
Main.java
import java.util.*; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); String str = ""; while(sc.hasNext(){ str = sc.next(); } System.out.println(str); } }
Main.java:11: error: ')' expected while(sc.hasNext(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02390|1
u843641610|p02390|1
codenet
Compile Error
207
v2_s851878249
s851878249
s851878249
p02390
p02390
u850012739
u850012739
1,484,616,386
2017-01-17T01:26:26
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ //????????£?????????????????§???????????????????????? //????????\??? Scanner sc = new Scanner(System.in); //int???????????? ?????? int h = S.nextInt(); h = h / 3600; //int???????????? ??? ...
Main.java:11: error: cannot find symbol int h = S.nextInt(); ^ symbol: variable S location: class Main Main.java:15: error: cannot find symbol int m = S.nextInt(); ^ symbol: variable S location: class Main Main.java:18: error: cannot find symbol int s ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u850012739|p02390|0
u850012739|p02390|0
codenet
Compile Error
550
v2_s293946962
s293946962
s293946962
p02390
p02390
u852983054
u852983054
1,412,054,715
2014-09-30T05:25:15
Watch.java
public class Watch { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int S = Integer.parseInt(str); int h = S / 3600; S = S % 3600; int m = S / 60; int s = S % 60; System.out.println(h + ":...
Watch.java:2: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Watch Watch.java:3: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u852983054|p02390|0
u852983054|p02390|0
codenet
Compile Error
356
v2_s617491865
s617491865
s617491865
p02390
p02390
u873767663
u873767663
1,484,194,755
2017-01-12T04:19:15
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int s = n%60; int h = n/3600; int m = h-n/60; System.out.println(h + ":" + m + ":" + s); }
Main.java:12: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u873767663|p02390|0
u873767663|p02390|0
codenet
Compile Error
319
v2_s943048905
s943048905
s943048905
p02390
p02390
u873767663
u873767663
1,484,194,874
2017-01-12T04:21:14
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int s = n%60; int h = n/3600; int m = h-n/60; System.out.println(h + ":" + m + ":" + s); }
Main.java:12: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u873767663|p02390|0
u873767663|p02390|0
codenet
Compile Error
319
v2_s390430680
s390430680
s390430680
p02390
p02390
u873767663
u873767663
1,484,195,130
2017-01-12T04:25:30
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int s = n%60; int h = n/3600; int m = h-n/60; System.out.println(h + : + m + : + s); } }
Main.java:11: error: illegal start of expression System.out.println(h + : + m + : + s); ^ Main.java:11: error: illegal start of expression System.out.println(h + : + m + : + s); ^ Main.java:11: error: not a statement System.out.println(h + : + m + : +...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u873767663|p02390|0
u873767663|p02390|0
codenet
Compile Error
319
v2_s448261644
s448261644
s448261644
p02390
p02390
u886744208
u886744208
1,507,434,178
2017-10-08T03:42:58
Main.java
public class Main { public static void main(String[] args){ try { BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); String line; while ((line = stdReader.readLine()) != null){ int hour = Integer.parseInt(line)/(60*60); int minutes = (Integer.parseInt(line)%(60*60))/60;...
Main.java:4: error: cannot find symbol BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:4: error: cannot find symbol BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u886744208|p02390|0
u886744208|p02390|0
codenet
Compile Error
508
v2_s766687239
s766687239
s766687239
p02390
p02390
u900101313
u900101313
1,461,048,838
2016-04-19T06:53:58
Main.java
public class Main { public static void main(String[] args){ int S = new java.util.Scanner( System.in).nextInt(0 <= S <86400); int h,m,s; h = S/3600; m = (S%3600)/60; s = (S%3600)%60; System.out.print(h + ":" + m + ":" +s); } }
Main.java:3: error: bad operand types for binary operator '<' int S = new java.util.Scanner( System.in).nextInt(0 <= S <86400); ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u900101313|p02390|0
u900101313|p02390|0
codenet
Compile Error
241
v2_s800520769
s800520769
s800520769
p02390
p02390
u900101313
u900101313
1,461,048,935
2016-04-19T06:55:35
Main.java
public class Main { public static void main(String[] args){ boolean S = new java.util.Scanner( System.in).nextInt(0 <= S <86400); int h,m,s; h = S/3600; m = (S%3600)/60; s = (S%3600)%60; System.out.print(h + ":" + m + ":" +s); } }
Main.java:3: error: bad operand types for binary operator '<=' boolean S = new java.util.Scanner( System.in).nextInt(0 <= S <86400); ^ first type: int second type: boolean Main.java:5: error: bad operand types for binary operator '/' h = S/3600; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u900101313|p02390|0
u900101313|p02390|0
codenet
Compile Error
245
v2_s821987273
s821987273
s821987273
p02390
p02390
u902605499
u902605499
1,555,907,032
2019-04-22T04:23:52
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); int h = S/3600; int m = (S-3600*h)/60; int s = S mod 3600; System.out.printf("%d %d %d\n" h,m,s) } }
Main.java:9: error: ';' expected int s = S mod 3600; ^ Main.java:9: error: not a statement int s = S mod 3600; ^ Main.java:9: error: ';' expected int s = S mod 3600; ^ Main.java:10: error: ')' or ',' expected System.out.printf("%d %d %d\n" h,m,s)...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02390|0
u902605499|p02390|0
codenet
Compile Error
265
v2_s205037296
s205037296
s205037296
p02390
p02390
u902605499
u902605499
1,555,907,121
2019-04-22T04:25:21
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); int h = S/3600; int m = (S-3600*h)/60; int s = S mod 3600; System.out.printf("%d %d %d\n" h,m,s) } }
Main.java:9: error: ';' expected int s = S mod 3600; ^ Main.java:9: error: not a statement int s = S mod 3600; ^ Main.java:9: error: ';' expected int s = S mod 3600; ^ Main.java:10: error: ')' or ',' expected System.out.printf("%d %d %d\n" h,m,s)...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02390|0
u902605499|p02390|0
codenet
Compile Error
265
v2_s812705936
s812705936
s812705936
p02390
p02390
u902605499
u902605499
1,555,907,154
2019-04-22T04:25:54
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); int h = S/3600; int m = (S-3600*h)/60; int s = S % 3600; System.out.printf("%d %d %d\n" h,m,s) } }
Main.java:10: error: ')' or ',' expected System.out.printf("%d %d %d\n" h,m,s) ^ Main.java:10: error: not a statement System.out.printf("%d %d %d\n" h,m,s) ^ Main.java:10: error: ';' expected System.out.printf("%d %d %d\n" h,m,s)...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02390|0
u902605499|p02390|0
codenet
Compile Error
263
v2_s807546199
s807546199
s807546199
p02390
p02390
u902605499
u902605499
1,555,907,198
2019-04-22T04:26:38
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); int h = S/3600; int m = (S-3600*h)/60; int s = S % 3600; System.out.printf("%d %d %d\n", h,m,s) } }
Main.java:10: error: ';' expected System.out.printf("%d %d %d\n", h,m,s) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02390|0
u902605499|p02390|0
codenet
Compile Error
264
v2_s473659366
s473659366
s473659366
p02390
p02390
u902605499
u902605499
1,555,907,228
2019-04-22T04:27:08
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); int h = S/3600; int m = (S-3600*h)/60; int s = S % 3600; System.out.printf("%d %d %d\n", h,m,s); } }
Main.java:7: error: bad operand types for binary operator '/' int h = S/3600; ^ first type: Scanner second type: int Main.java:8: error: bad operand types for binary operator '-' int m = (S-3600*h)/60; ^ first type: Scanner second type: int Main.java:9: error: bad op...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02390|0
u902605499|p02390|0
codenet
Compile Error
265
v2_s719245978
s719245978
s719245978
p02390
p02390
u902605499
u902605499
1,555,907,446
2019-04-22T04:30:46
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); int h = S; int m = S; int s = S; System.out.printf("%d %d %d\n", h,m,s); } }
Main.java:7: error: incompatible types: Scanner cannot be converted to int int h = S; ^ Main.java:8: error: incompatible types: Scanner cannot be converted to int int m = S; ^ Main.java:9: error: incompatible types: Scanner cannot be converted to int int s = S; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02390|0
u902605499|p02390|0
codenet
Compile Error
241
v2_s517622620
s517622620
s517622620
p02390
p02390
u902605499
u902605499
1,555,907,620
2019-04-22T04:33:40
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); int time= S.nextInt(); System.out.printf("%d %d %d\n", h,m,s); } }
Main.java:9: error: cannot find symbol System.out.printf("%d %d %d\n", h,m,s); ^ symbol: variable h location: class Main Main.java:9: error: cannot find symbol System.out.printf("%d %d %d\n", h,m,s); ^ symbol: variable m...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02390|0
u902605499|p02390|0
codenet
Compile Error
219
v2_s936556887
s936556887
s936556887
p02390
p02390
u902605499
u902605499
1,555,907,831
2019-04-22T04:37:11
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); int time= S.nextInt(); int h = time/ 3600; int m = (time - h*3600)/60 int s = time - h*3600 - m*60 System.out.printf("%d %d %d\n", h,m,s); } }
Main.java:9: error: ';' expected int m = (time - h*3600)/60 ^ Main.java:10: error: ';' expected int s = time - h*3600 - m*60 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02390|0
u902605499|p02390|0
codenet
Compile Error
313
v2_s908567615
s908567615
s908567615
p02390
p02390
u902605499
u902605499
1,555,908,225
2019-04-22T04:43:45
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner S = new Scanner(System.in); int time= S.nextInt(); int h = time/ 3600; int m = (time - h*3600)/60; int s = S % 60; System.out.printf("%d %d %d\n", h,m,s); } }
Main.java:10: error: bad operand types for binary operator '%' int s = S % 60; ^ first type: Scanner second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02390|0
u902605499|p02390|0
codenet
Compile Error
301
v2_s461522069
s461522069
s461522069
p02390
p02390
u910791852
u910791852
1,540,642,541
2018-10-27T12:15:41
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int S = sc.nextInt(); int h = S / 3600; int m = (S - h * 3600)/60; int s = S - h * 3600 - m * 60; System.out.println(h:m:s); } }
Main.java:12: error: ')' or ',' expected System.out.println(h:m:s); ^ Main.java:12: error: not a statement System.out.println(h:m:s); ^ Main.java:12: error: ';' expected System.out.println(h:m:s); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910791852|p02390|0
u910791852|p02390|0
codenet
Compile Error
250
v2_s961513398
s961513398
s961513398
p02390
p02390
u910791852
u910791852
1,540,642,622
2018-10-27T12:17:02
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int S = sc.nextInt(); int h = S / 3600; int m = (S - h * 3600)/60; int s = S - h * 3600 - m * 60; System.out.println(h:m:s); } }
Main.java:9: error: ')' or ',' expected System.out.println(h:m:s); ^ Main.java:9: error: not a statement System.out.println(h:m:s); ^ Main.java:9: error: ';' expected System.out.println(h:m:s); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910791852|p02390|0
u910791852|p02390|0
codenet
Compile Error
247
v2_s822238260
s822238260
s822238260
p02390
p02390
u913462354
u913462354
1,525,920,569
2018-05-10T02:49:29
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int total = scan.nextInt(); int hour = total / 3600; int min = (total % 3600) / 60; int sec = (total % (60)); System.out.println(hour+":"+min...
Main.java:11: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u913462354|p02390|0
u913462354|p02390|0
codenet
Compile Error
337
v2_s230565498
s230565498
s230565498
p02390
p02390
u913462354
u913462354
1,525,920,595
2018-05-10T02:49:55
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int total = scan.nextInt(); int hour = total / 3600; int min = (total % 3600) / 60; int sec = (total % (60)); System.out.println(hour+":"+min...
Main.java:11: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u913462354|p02390|0
u913462354|p02390|0
codenet
Compile Error
337
v2_s831399409
s831399409
s831399409
p02390
p02390
u933808920
u933808920
1,509,545,696
2017-11-01T14:14:56
Main.java
import java.io.*; class Watch{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input = br.readline(); int time = Integer.parseInt(input); int h = time / 3600; int m = (time % 3600) / 60; int s = (time ...
Main.java:6: error: cannot find symbol String input = br.readline(); ^ symbol: method readline() location: variable br of type BufferedReader 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u933808920|p02390|0
u933808920|p02390|0
codenet
Compile Error
392
v2_s078999903
s078999903
s078999903
p02390
p02390
u948586678
u948586678
1,519,036,075
2018-02-19T10:27:55
Main.java
import java.util.*; import java.io.*; class Main {     public static void main (String[] args) throws java.lang.Exception {         Scanner sc = new Scanner(System.in);         int x = sc.nextInt();         System.out.println((x / 3600) + ":" + (x % 3600 / 60) + ":" + (x % 60));     } }
Main.java:4: error: illegal character: '\u00a0' ????public static void main (String[] args) throws java.lang.Exception { ^ Main.java:4: error: illegal character: '\u00a0' ????public static void main (String[] args) throws java.lang.Exception { ^ Main.java:4: error: illegal character: '\u00a0' ????public static void ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u948586678|p02390|0
u948586678|p02390|0
codenet
Compile Error
320
v2_s870244722
s870244722
s870244722
p02390
p02390
u951962896
u951962896
1,476,843,702
2016-10-19T02:21:42
Main.java
import java.io.*; class main { private static String format(long startTime, long endTime) { String diffTime = DurationFormatUtils.formatPeriod(startTime, endTime, "HH:mm:ss.SSS"); return diffTime; } }
Main.java:6: error: cannot find symbol String diffTime = DurationFormatUtils.formatPeriod(startTime, ^ symbol: variable DurationFormatUtils location: class main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951962896|p02390|0
u951962896|p02390|0
codenet
Compile Error
235
v2_s440038575
s440038575
s440038575
p02390
p02390
u951962896
u951962896
1,476,843,731
2016-10-19T02:22:11
Main.java
import java.io.*; class main { private static String main(long startTime, long endTime) { String diffTime = DurationFormatUtils.formatPeriod(startTime, endTime, "HH:mm:ss.SSS"); return diffTime; } }
Main.java:7: error: cannot find symbol String diffTime = DurationFormatUtils.formatPeriod(startTime, ^ symbol: variable DurationFormatUtils location: class main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951962896|p02390|0
u951962896|p02390|0
codenet
Compile Error
234
v2_s668489541
s668489541
s668489541
p02390
p02390
u951962896
u951962896
1,483,590,195
2017-01-05T04:23:15
Main.java
private static String format(long startTime, long endTime) { String diffTime = DurationFormatUtils.formatPeriod(startTime, endTime, "HH:mm:ss.SSS"); return diffTime; }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. private static String format(long startTime, long endTime) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951962896|p02390|1
u951962896|p02390|1
codenet
Compile Error
190
v2_s363071341
s363071341
s363071341
p02390
p02390
u954258807
u954258807
1,468,735,544
2016-07-17T06:05:44
Main.java
public class Main{ public static void main(){ Scanner scan = new Scanner(System.in); int S = scan.nextInt(); int h = S / 3600; int m = (S % 3600) / 60; int s = (S % 3600) % 60; } }
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
u954258807|p02390|0
u954258807|p02390|0
codenet
Compile Error
195
v2_s142939542
s142939542
s142939542
p02390
p02390
u954258807
u954258807
1,468,735,915
2016-07-17T06:11:55
Main.java
public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int S = scan.nextInt(); int h = S / 3600; int m = (S % 3600) / 60; int s = (S % 3600) % 60; } }
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
u954258807|p02390|0
u954258807|p02390|0
codenet
Compile Error
208
v2_s030546787
s030546787
s030546787
p02390
p02390
u954258807
u954258807
1,468,736,077
2016-07-17T06:14:37
Main.java
public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int S; S = scan.nextInt(); int h = S / 3600; int m = (S % 3600) / 60; int s = (S % 3600) % 60; } }
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
u954258807|p02390|0
u954258807|p02390|0
codenet
Compile Error
213
v2_s926740922
s926740922
s926740922
p02390
p02390
u954258807
u954258807
1,468,736,098
2016-07-17T06:14:58
Main.java
public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int S; S = scan.nextInt(); int h = S / 3600; int m = (S % 3600) / 60; int s = (S % 3600) % 60; } }
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
u954258807|p02390|0
u954258807|p02390|0
codenet
Compile Error
213
v2_s372596477
s372596477
s372596477
p02390
p02390
u954258807
u954258807
1,468,736,307
2016-07-17T06:18:27
Main.java
public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a; a = scan.nextInt(); int h = a / 3600; int m = (a % 3600) / 60; int s = (a % 3600) % 60; } }
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
u954258807|p02390|0
u954258807|p02390|0
codenet
Compile Error
213
v2_s155394119
s155394119
s155394119
p02390
p02390
u956519200
u956519200
1,529,397,308
2018-06-19T08:35:08
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int S = scan.nextInt(); System.out.print( S / 3600 ); System.out.print(":"); System.out.print( S % 60); System.out.print(":"); Syste...
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
u956519200|p02390|0
u956519200|p02390|0
codenet
Compile Error
349
v2_s585365308
s585365308
s585365308
p02390
p02390
u956519200
u956519200
1,529,397,865
2018-06-19T08:44:25
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int S = scan.nextInt(); System.out.print( S / 3600 ); System.out.print(":"); System.out.print( S % 60); System.out.print(":"); Syste...
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
u956519200|p02390|0
u956519200|p02390|0
codenet
Compile Error
349
v2_s681399428
s681399428
s681399428
p02390
p02390
u956519200
u956519200
1,529,397,884
2018-06-19T08:44:44
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int S = scan.nextInt(); System.out.print( S / 3600 ); System.out.print(":"); System.out.print( S % 3600 / 60); System.out.print(":"); ...
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
u956519200|p02390|0
u956519200|p02390|0
codenet
Compile Error
368
v2_s237964050
s237964050
s237964050
p02390
p02390
u956519200
u956519200
1,529,397,902
2018-06-19T08:45:02
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int S = scan.nextInt(); System.out.print( S / 3600 ); System.out.print(":"); System.out.print( S % 3600 / 60); System.out.print(":"); ...
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
u956519200|p02390|0
u956519200|p02390|0
codenet
Compile Error
368
v2_s708112254
s708112254
s708112254
p02390
p02390
u956519200
u956519200
1,529,397,927
2018-06-19T08:45:27
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int S = scan.nextInt(); System.out.print( S / 3600 ); System.out.print(":"); System.out.print( S % 3600 / 60); System.out.print(":"); ...
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
u956519200|p02390|0
u956519200|p02390|0
codenet
Compile Error
368
v2_s421184047
s421184047
s421184047
p02390
p02390
u956519200
u956519200
1,529,397,935
2018-06-19T08:45:35
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int S = scan.nextInt(); System.out.print( S / 3600 ); System.out.print(":"); System.out.print( S % 3600 / 60); System.out.print(":"); ...
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
u956519200|p02390|0
u956519200|p02390|0
codenet
Compile Error
367
v2_s308810687
s308810687
s308810687
p02390
p02390
u956519200
u956519200
1,529,397,951
2018-06-19T08:45:51
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int S = scan.nextInt(); System.out.print( S / 3600); System.out.print(":"); System.out.print( S % 3600 / 60); System.out.print(":"); ...
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
u956519200|p02390|0
u956519200|p02390|0
codenet
Compile Error
366
v2_s303195658
s303195658
s303195658
p02390
p02390
u956519200
u956519200
1,529,397,996
2018-06-19T08:46:36
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int S = scan.nextInt() System.out.print( S / 3600); System.out.print(":"); System.out.print( S % 3600 / 60); System.out.print(":"); System.out.println(...
Main.java:7: error: ';' expected int S = scan.nextInt() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u956519200|p02390|0
u956519200|p02390|0
codenet
Compile Error
346
v2_s191643641
s191643641
s191643641
p02390
p02390
u956519200
u956519200
1,529,398,019
2018-06-19T08:46:59
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int S = scan.nextInt() System.out.print(S / 3600); System.out.print(":"); System.out.print(S % 3600 / 60); System.out.print(":"); System.out.println(S ...
Main.java:7: error: ';' expected int S = scan.nextInt() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u956519200|p02390|0
u956519200|p02390|0
codenet
Compile Error
344
v2_s669479480
s669479480
s669479480
p02390
p02390
u959087268
u959087268
1,495,500,633
2017-05-23T00:50:33
Main.java
public class Main { /** * @param args the command line arguments * @throws java.io.IOException */ public static void main(String[] args) throws IOException { // TODO code application logic here InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = n...
Main.java:7: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:9: error: cannot find symbol InputStreamReader is = new InputStreamReader(System.in); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u959087268|p02390|0
u959087268|p02390|0
codenet
Compile Error
571
v2_s084759680
s084759680
s084759680
p02390
p02390
u959087268
u959087268
1,495,500,744
2017-05-23T00:52:24
Main.java
public class Main { /** * @param args the command line arguments * @throws java.io.IOException */ public static void main(String[] args) throws IOException { // TODO code application logic here InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = n...
Main.java:7: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:9: error: cannot find symbol InputStreamReader is = new InputStreamReader(System.in); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u959087268|p02390|0
u959087268|p02390|0
codenet
Compile Error
571
v2_s476096163
s476096163
s476096163
p02390
p02390
u966110132
u966110132
1,460,686,055
2016-04-15T02:07:35
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int s = scanner.nextInt(); int m=s/60; int h=m/60; int ss=s%60; System.out.println(h+ ":" +m+":"+ss); } }
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|p02390|0
u966110132|p02390|0
codenet
Compile Error
274
v2_s920208640
s920208640
s920208640
p02390
p02390
u966110132
u966110132
1,460,686,852
2016-04-15T02:20:52
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int s = scanner.nextInt(); if (0 < s && s < 86400) { int m = s / 60; int h = m / 60; int hh=h%60; int ss = s % 60; System.out....
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|p02390|0
u966110132|p02390|0
codenet
Compile Error
370
v2_s350287513
s350287513
s350287513
p02390
p02390
u967815968
u967815968
1,487,503,051
2017-02-19T11:17:31
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String str = reader.readLine(); int a = Integer.parseInt(str); int h = a/3600; ...
Main.java:17: error: ')' or ',' expected System.out.println(h+":"m+":"+s); ^ Main.java:17: error: not a statement System.out.println(h+":"m+":"+s); ^ Main.java:17: error: ';' expected System.out.println(h+":"m+":"+s); ^ Main.java:8: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02390|0
u967815968|p02390|0
codenet
Compile Error
414
v2_s429964491
s429964491
s429964491
p02390
p02390
u967815968
u967815968
1,487,503,117
2017-02-19T11:18:37
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String str = reader.readLine(); int a = Integer.parseInt(str); int h = a/3600; ...
Main.java:8: error: 'try' without 'catch', 'finally' or resource declarations try { ^ Main.java:20: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02390|0
u967815968|p02390|0
codenet
Compile Error
420
v2_s399243568
s399243568
s399243568
p02390
p02390
u967815968
u967815968
1,487,503,476
2017-02-19T11:24:36
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String str = reader.readLine(); int a = Integer.parseInt(str); int h = a/3600; a%=360...
Main.java:18: error: ')' or ',' expected System.out.println(h+":"m+":"+s); ^ Main.java:18: error: not a statement System.out.println(h+":"m+":"+s); ^ Main.java:18: error: ';' expected System.out.println(h+":"m+":"+s); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02390|0
u967815968|p02390|0
codenet
Compile Error
387
v2_s612801187
s612801187
s612801187
p02390
p02390
u967815968
u967815968
1,487,503,579
2017-02-19T11:26:19
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String str = reader.readLine(); int a = Integer.parseInt(str); int h = a/3600; a%=360...
Main.java:16: error: cannot find symbol a=s; ^ symbol: variable s location: class Main Main.java:18: error: cannot find symbol System.out.println(h+":"+m+":"+s); ^ symbol: variable s location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02390|0
u967815968|p02390|0
codenet
Compile Error
388
v2_s716523014
s716523014
s716523014
p02390
p02390
u967815968
u967815968
1,487,503,621
2017-02-19T11:27:01
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String str = reader.readLine(); int a = Integer.parseInt(str); int h = a/3600; a%=360...
Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown String str = reader.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02390|0
u967815968|p02390|0
codenet
Compile Error
392
v2_s430173713
s430173713
s430173713
p02390
p02390
u967815968
u967815968
1,487,504,284
2017-02-19T11:38:04
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String str = reader.readLine(); int a = Integer.parseInt(str); int h = a/3600; a%=360...
Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown String str = reader.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967815968|p02390|0
u967815968|p02390|0
codenet
Compile Error
392
v2_s570234562
s570234562
s570234562
p02390
p02390
u967961232
u967961232
1,518,176,219
2018-02-09T11:36:59
Main.java
# -*- coding: utf-8 -*- """ Watch """ if __name__ == '__main__': t = int(raw_input()) h = t / 3600 m = (t - 3600 * h) / 60 s = t % 60 print('{0}:{1}:{2}'.format(h, m, s))
Main.java:1: error: illegal character: '#' # -*- coding: utf-8 -*- ^ Main.java:1: error: class, interface, enum, or record expected # -*- coding: utf-8 -*- ^ Main.java:5: error: unclosed character literal if __name__ == '__main__': ^ Main.java:5: error: unclosed character literal if __name__ == '__mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967961232|p02390|0
u967961232|p02390|0
codenet
Compile Error
191
v2_s204032866
s204032866
s204032866
p02390
p02390
u967961232
u967961232
1,518,176,268
2018-02-09T11:37:48
Main.java
if __name__ == '__main__': t = int(raw_input()) h = t / 3600 m = (t - 3600 * h) / 60 s = t % 60 print('{0}:{1}:{2}'.format(h, m, s))
Main.java:1: error: class, interface, enum, or record expected if __name__ == '__main__': ^ Main.java:1: error: unclosed character literal if __name__ == '__main__': ^ Main.java:1: error: unclosed character literal if __name__ == '__main__': ^ Main.java:6: error: unclosed characte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967961232|p02390|0
u967961232|p02390|0
codenet
Compile Error
153
v2_s930392286
s930392286
s930392286
p02390
p02390
u967961232
u967961232
1,523,087,067
2018-04-07T07:44:27
Main.java
public class Main { public static void main(String[] args) { t = int(raw_input()) h = t / 3600 m = (t - 3600 * h) / 60 s = t % 60 print('{0}:{1}:{2}'.format(h, m, s)) sc.close(); } }
Main.java:5: error: '.class' expected t = int(raw_input()) ^ Main.java:5: error: ';' expected t = int(raw_input()) ^ Main.java:6: error: ';' expected h = t / 3600 ^ Main.java:7: error: ';' expected m = (t - 3600 * h) / 60 ^ Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967961232|p02390|1
u967961232|p02390|1
codenet
Compile Error
246
v2_s987987626
s987987626
s987987626
p02390
p02390
u967961232
u967961232
1,523,087,511
2018-04-07T07:51:51
Main.java
public class Main{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = a / 3600; int c = a % 3600; int d = c / 60; int e = c % 60; System.out.println(b+":"+d+":"+e); } }
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
u967961232|p02390|1
u967961232|p02390|1
codenet
Compile Error
299
v2_s499055744
s499055744
s499055744
p02390
p02390
u967961232
u967961232
1,523,087,669
2018-04-07T07:54:29
Main.java
public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ int S = Integer.parseInt(br.readLine()); System.out.printf("%d:%d:%d\n",S/3600,(S%3600)/60,S%60); }catch(IOExce...
Main.java:5: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967961232|p02390|1
u967961232|p02390|1
codenet
Compile Error
383
v2_s571589726
s571589726
s571589726
p02390
p02390
u968810482
u968810482
1,409,921,426
2014-09-05T12:50:26
Main.java
import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); int S = sc.nextInt(); int H = System.out.println(S%60); int M = System.out.println((S%60)%60); System.out.prin...
Main.java:11: error: incompatible types: void cannot be converted to int int H = System.out.println(S%60); ^ Main.java:12: error: incompatible types: void cannot be converted to int int M = System.out.println((S%60)%60); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u968810482|p02390|0
u968810482|p02390|0
codenet
Compile Error
341
v2_s736189389
s736189389
s736189389
p02390
p02390
u973197167
u973197167
1,534,907,500
2018-08-22T03:11:40
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Main{ public static void main(String[] args){ try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int x = Integer.parseInt(br.readLine()); h = x/3600; m = (x%3600)...
Main.java:10: error: cannot find symbol h = x/3600; ^ symbol: variable h location: class Main Main.java:11: error: cannot find symbol m = (x%3600)/60; ^ symbol: variable m location: class Main Main.java:12: error: cannot find symbol s = ((x%3600)%60); ^ symbol: variab...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973197167|p02390|0
u973197167|p02390|0
codenet
Compile Error
479
v2_s953533771
s953533771
s953533771
p02390
p02390
u996485583
u996485583
1,480,495,746
2016-11-30T08:49:06
Mian.java
import java.util.Scanner; public class Mian{ public static void main(String[] args){ Scanner a = new Scanner(System.in); int S = a.nextInt(); int h = S/3600; int m = (S % 3600)/60; int s = S- (h*3600+m*60); System.out.println(h + ":" + m + ":" + s); }
Mian.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u996485583|p02390|0
u996485583|p02390|0
codenet
Compile Error
271
v2_s393781176
s393781176
s393781176
p02390
p02390
u996485583
u996485583
1,480,495,806
2016-11-30T08:50:06
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner a = new Scanner(System.in); int S = a.nextInt(); int h = S/3600; int m = (S % 3600)/60; int s = S- (h*3600+m*60); System.out.println(h + ":" + m + ":" + s); }
Main.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u996485583|p02390|0
u996485583|p02390|0
codenet
Compile Error
271
v2_s268139807
s268139807
s268139807
p02391
p02391
u001888978
u001888978
1,523,855,699
2018-04-16T05:14:59
template.java
import java.util.*; import java.io.*; public class template { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[] intArray = Arrays.stream(sc.nextLine().split(" ")) .mapToInt(Integer::parseInt) .toArray(); int x = intArr...
template.java:15: error: cannot find symbol System.out.printf("%d == %d", a, b); ^ symbol: variable a location: class template template.java:15: error: cannot find symbol System.out.printf("%d == %d", a, b); ^ symbol: varia...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u001888978|p02391|0
u001888978|p02391|0
codenet
Compile Error
565
v2_s397746033
s397746033
s397746033
p02391
p02391
u001888978
u001888978
1,523,855,711
2018-04-16T05:15:11
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[] intArray = Arrays.stream(sc.nextLine().split(" ")) .mapToInt(Integer::parseInt) .toArray(); int x = intArray[0...
Main.java:15: error: cannot find symbol System.out.printf("%d == %d", a, b); ^ symbol: variable a location: class Main Main.java:15: error: cannot find symbol System.out.printf("%d == %d", a, b); ^ symbol: variable b loca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u001888978|p02391|0
u001888978|p02391|0
codenet
Compile Error
561
v2_s115592486
s115592486
s115592486
p02391
p02391
u017073080
u017073080
1,455,771,305
2016-02-18T04:55:05
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); if( a < b ) { System.out.println( a < b ); }else if( a > b ) { System.out.prin...
Main.java:8: error: cannot find symbol scan = new Scanner(System.in); ^ symbol: variable scan location: class Main Main.java:9: error: cannot find symbol int a = scan.nextInt(); ^ symbol: variable scan location: class Main Main.java:10: error: cannot find symbol int b = scan.nextInt(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017073080|p02391|1
u017073080|p02391|1
codenet
Compile Error
401
v2_s474259229
s474259229
s474259229
p02391
p02391
u017274040
u017274040
1,493,117,021
2017-04-25T10:43:41
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.newInt(); int b=sc.newInt(); if(a<b){System.out.println(a<b); even if(a>b){System.out.println(a>b); else {System.out.println(a=b);}}}}}
Main.java:8: error: not a statement even if(a>b){System.out.println(a>b); ^ Main.java:8: error: ';' expected even if(a>b){System.out.println(a>b); ^ Main.java:9: error: 'else' without 'if' else {System.out.println(a=b);}}}}} ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02391|0
u017274040|p02391|0
codenet
Compile Error
258
v2_s388651353
s388651353
s388651353
p02391
p02391
u017274040
u017274040
1,493,117,870
2017-04-25T10:57:50
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.newInt(); int b=sc.newInt(); if(a<b){System.out.println(a<b);} else if(a>b){System.out.println(a>b);} else {System.out.println(a=b);}}}
Main.java:5: error: cannot find symbol int a=sc.newInt(); ^ symbol: method newInt() location: variable sc of type Scanner Main.java:6: error: cannot find symbol int b=sc.newInt(); ^ symbol: method newInt() location: variable sc of type Scanner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02391|0
u017274040|p02391|0
codenet
Compile Error
258
v2_s114829673
s114829673
s114829673
p02391
p02391
u017274040
u017274040
1,493,118,068
2017-04-25T11:01:08
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int a=sc.newInt(); int b=sc.newInt(); if(a<b){System.out.println(a<b);} else if(a>b){System.out.println(a>b);} else {System.out.println(a=b);}}}
Main.java:5: error: cannot find symbol int a=sc.newInt(); ^ symbol: method newInt() location: variable sc of type Scanner Main.java:6: error: cannot find symbol int b=sc.newInt(); ^ symbol: method newInt() location: variable sc of type Scanner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02391|0
u017274040|p02391|0
codenet
Compile Error
258
v2_s522726802
s522726802
s522726802
p02391
p02391
u017274040
u017274040
1,493,179,384
2017-04-26T04:03:04
Main.java
import java.util.a*; import java.util.b*; public class Main{ public static void main(String[] args){ Scanner sc= new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); if(a<b){System.out.println(a<b);} else if(a>b){System.out.println(a>b);} else {System.out.println(a=b);}}}
Main.java:1: error: ';' expected import java.util.a*; ^ Main.java:2: error: ';' expected import java.util.b*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02391|1
u017274040|p02391|1
codenet
Compile Error
283
v2_s378514012
s378514012
s378514012
p02391
p02391
u017274040
u017274040
1,493,179,483
2017-04-26T04:04:43
Main.java
import java.util.a.*; import java.util.b.*; public class Main{ public static void main(String[] args){ Scanner sc= new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); if(a<b){System.out.println(a<b);} else if(a>b){System.out.println(a>b);} else {System.out.println(a=b);}}}
Main.java:1: error: package java.util.a does not exist import java.util.a.*; ^ Main.java:2: error: package java.util.b does not exist import java.util.b.*; ^ Main.java:5: error: cannot find symbol Scanner sc= new Scanner(System.in); ^ symbol: class Scanner location: class Main Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02391|1
u017274040|p02391|1
codenet
Compile Error
285
v2_s867614997
s867614997
s867614997
p02391
p02391
u017274040
u017274040
1,493,179,542
2017-04-26T04:05:42
Main.java
import java.util.*a; import java.util.*b; public class Main{ public static void main(String[] args){ Scanner sc= new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); if(a<b){System.out.println(a<b);} else if(a>b){System.out.println(a>b);} else {System.out.println(a=b);}}}
Main.java:1: error: ';' expected import java.util.*a; ^ Main.java:2: error: ';' expected import java.util.*b; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02391|1
u017274040|p02391|1
codenet
Compile Error
283
v2_s312788602
s312788602
s312788602
p02391
p02391
u017274040
u017274040
1,493,181,372
2017-04-26T04:36:12
Main.java
import java.util.io.*; 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(); if(a<b){System.out.println("a<b");} else if(a>b){System.out.println("a>b");} else {System.out.println("a=b");}}}
Main.java:1: error: package java.util.io does not exist import java.util.io.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02391|1
u017274040|p02391|1
codenet
Compile Error
290
v2_s826389156
s826389156
s826389156
p02391
p02391
u019828441
u019828441
1,540,807,577
2018-10-29T10:06:17
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(); if (a < b){ System.out.println("a<b"); }else if{(a > b) System.out.println("a>b"); }else{ System.out.println("a==b"); } }
Main.java:10: error: '(' expected }else if{(a > b) ^ Main.java:10: error: not a statement }else if{(a > b) ^ Main.java:10: error: ';' expected }else if{(a > b) ^ Main.java:15: error: reached end of file while parsing } ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019828441|p02391|0
u019828441|p02391|0
codenet
Compile Error
284
v2_s763205655
s763205655
s763205655
p02391
p02391
u019828441
u019828441
1,540,807,590
2018-10-29T10:06:30
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(); if (a < b){ System.out.println("a < b"); }else if{(a > b) System.out.println("a > b"); }else{ System.out.println("a == b"); } }
Main.java:10: error: '(' expected }else if{(a > b) ^ Main.java:10: error: not a statement }else if{(a > b) ^ Main.java:10: error: ';' expected }else if{(a > b) ^ Main.java:15: error: reached end of file while parsing } ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019828441|p02391|0
u019828441|p02391|0
codenet
Compile Error
290
v2_s716731589
s716731589
s716731589
p02391
p02391
u030914141
u030914141
1,508,218,968
2017-10-17T05:42:48
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner stdin = new Scanner(System.in); nt a = scan.nextInt(); int b = scan.nextInt(); if(a <= -1000 || b <= 1000){ if(a > b){ System.out.println(" a > b "); } else if (a < b){ System.out.println(" a < b ")...
Main.java:6: error: cannot find symbol nt a = scan.nextInt(); ^ symbol: class nt location: class Main Main.java:6: error: cannot find symbol nt a = scan.nextInt(); ^ symbol: variable scan location: class Main Main.java:7: error: cannot find symbol int b = scan.nextInt(); ^ symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u030914141|p02391|0
u030914141|p02391|0
codenet
Compile Error
380
v2_s031914714
s031914714
s031914714
p02391
p02391
u030914141
u030914141
1,508,228,324
2017-10-17T08:18:44
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(); if(a <= -1000 && b <= 1000){ if(a > b){ System.out.println("a > b"); } if (a < b){ System.out.println("a < b");...
Main.java:26: error: incompatible types: int cannot be converted to boolean if(a = b){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u030914141|p02391|0
u030914141|p02391|0
codenet
Compile Error
419
v2_s089657364
s089657364
s089657364
p02391
p02391
u031022603
u031022603
1,414,653,334
2014-10-30T07:15:34
Main.java
public class Main { public static void main(String[] args) { Scanner i=new Scanner(System.in); int a=i.nextInt(); int b=i.nextInt(); if (a<b) {System.out.println(a+" < "+b);}; if (a>b) {System.out.println(a+" > "+b);}; if (a==b) {System.out.println(a+" == "+b);}; } }
Main.java:3: error: cannot find symbol Scanner i=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner i=new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u031022603|p02391|0
u031022603|p02391|0
codenet
Compile Error
281
v2_s169466593
s169466593
s169466593
p02391
p02391
u043978098
u043978098
1,526,633,924
2018-05-18T08:58:44
Main.java
public class Main { private static Scanner sc; public static void main(String[] args) throws java.lang.Exception { sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if (a < b) { System.out.println("a < b"); } else if (a == b){ System.out.println("a == b"); } else { Syst...
Main.java:3: error: cannot find symbol private static Scanner sc; ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u043978098|p02391|0
u043978098|p02391|0
codenet
Compile Error
355
v2_s456831680
s456831680
s456831680
p02391
p02391
u044034654
u044034654
1,443,583,178
2015-09-30T03:19:38
Main.java
public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); if( a < b ){ System.out.println("a < b"); }else if( a > b ){ System.out.println("a > b"); }else{ System.out....
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u044034654|p02391|0
u044034654|p02391|0
codenet
Compile Error
360
v2_s102919855
s102919855
s102919855
p02391
p02391
u046108504
u046108504
1,523,861,610
2018-04-16T06:53:30
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); if(a > b) System.out.println("a>b"); else if(a < b) System.out.println("a<b"); else System.out.prin...
Main.java:5: error: cannot find symbol Scanner scan = Scanner(System.in); ^ symbol: method Scanner(InputStream) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u046108504|p02391|0
u046108504|p02391|0
codenet
Compile Error
363
v2_s460084094
s460084094
s460084094
p02391
p02391
u049719569
u049719569
1,465,801,288
2016-06-13T07:01:28
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args){ try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); StringTokenizer st = new Tolenizer(line," "); int a = Integer.parseInt(st.nextTolen()); int b = Integer...
Main.java:9: error: cannot find symbol StringTokenizer st = new Tolenizer(line," "); ^ symbol: class Tolenizer location: class Main Main.java:10: error: cannot find symbol int a = Integer.parseInt(st.nextTolen()); ^ symbol: method nextTolen() l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u049719569|p02391|0
u049719569|p02391|0
codenet
Compile Error
577
v2_s609364903
s609364903
s609364903
p02391
p02391
u051380959
u051380959
1,473,506,333
2016-09-10T11:18:53
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String str1 = in.next(); String str2 = in.next(); int a = Integer.parseInt(str1); int b = Integer.parseInt(str2); if(a > b) { System.out.println("a > b"); ...
Main.java:6: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: 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
u051380959|p02391|0
u051380959|p02391|0
codenet
Compile Error
465
v2_s877445600
s877445600
s877445600
p02391
p02391
u063797026
u063797026
1,529,030,548
2018-06-15T02:42:28
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a,b; a = sc.nextLine(); b = sc.nextLine(); if(a<b); System.out.println("a > b"); else if(a<b); System.out.println("a < b"); else(a =...
Main.java:10: error: 'else' without 'if' else if(a<b); ^ Main.java:12: error: not a statement else(a == b) ^ Main.java:12: error: ';' expected else(a == b) ^ Main.java:12: error: 'else' without 'if' else(a == b) ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u063797026|p02391|0
u063797026|p02391|0
codenet
Compile Error
398
v2_s566141253
s566141253
s566141253
p02391
p02391
u063797026
u063797026
1,529,030,563
2018-06-15T02:42:43
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a,b; a = sc.nextLine(); b = sc.nextLine(); if(a<b); System.out.println("a > b"); else if(a<b); System.out.println("a < b"); else(a =...
Main.java:10: error: 'else' without 'if' else if(a<b); ^ Main.java:12: error: not a statement else(a == b) ^ Main.java:12: error: ';' expected else(a == b) ^ Main.java:12: error: 'else' without 'if' else(a == b) ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u063797026|p02391|0
u063797026|p02391|0
codenet
Compile Error
397
v2_s509402173
s509402173
s509402173
p02391
p02391
u063797026
u063797026
1,529,030,577
2018-06-15T02:42:57
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a,b; a = sc.nextLine(); b = sc.nextLine(); if(a<b); System.out.println("a > b"); else if(a<b); System.out.println("a < b"); else(a ==...
Main.java:10: error: 'else' without 'if' else if(a<b); ^ Main.java:12: error: not a statement else(a == b) ^ Main.java:12: error: ';' expected else(a == b) ^ Main.java:12: error: 'else' without 'if' else(a == b) ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u063797026|p02391|0
u063797026|p02391|0
codenet
Compile Error
396
v2_s756480233
s756480233
s756480233
p02391
p02391
u065787019
u065787019
1,395,738,317
2014-03-25T09:05:17
Main.java
public class Main{ public static void main(String[] args){ //テキスト入力クラス Scanner sc = new Scanner(System.in); //入力された値を取ってくる int first = sc.nextInt(); int second = sc.nextInt(); //入力された値を並び替え、大きいほうと小さいほうに分ける int big = 0; int small = 0; //最初の入力値が、2番目の入力値以下だった場合 if(first >= second){ bi...
Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find 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
u065787019|p02391|0
u065787019|p02391|0
codenet
Compile Error
612
v2_s662835159
s662835159
s662835159
p02391
p02391
u071759777
u071759777
1,460,954,113
2016-04-18T04:35:13
Main.java
import java.util,Scanner; public class Main{ public static boid main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a<b){ System.out.println("a<b"); }else if(a>b){ System.out.println("a>b"); }else{ System.out.println("a=b"); } }
Main.java:1: error: ';' expected import java.util,Scanner; ^ Main.java:15: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u071759777|p02391|0
u071759777|p02391|0
codenet
Compile Error
307
v2_s946623838
s946623838
s946623838
p02391
p02391
u071759777
u071759777
1,460,954,169
2016-04-18T04:36:09
Main.java
import java.util,Scanner; public class Main{ public static boid main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a<b){ System.out.println("a<b"); }else if(a>b){ System.out.println("a>b"); }else if(a=b){ System.out.println("a=b"); } }
Main.java:1: error: ';' expected import java.util,Scanner; ^ Main.java:14: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u071759777|p02391|0
u071759777|p02391|0
codenet
Compile Error
314
v2_s728678922
s728678922
s728678922
p02391
p02391
u071759777
u071759777
1,460,954,298
2016-04-18T04:38:18
Main.java
import java.util.Scanner; public class Main{ public static boid main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a<b){ System.out.println("a<b"); }else if(a>b){ System.out.println("a>b"); }else{ System.out.println("a=b"); } }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u071759777|p02391|0
u071759777|p02391|0
codenet
Compile Error
306