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_s463698144
s463698144
s463698144
p02396
p02396
u380305191
u380305191
1,460,958,526
2016-04-18T05:48:46
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); for(i=1;;i++){ int x = nextInt(); if(x == 0){ break; } System.out.printf("Case %d: %d\n" ,i,x); } } }
Main.java:5: error: cannot find symbol for(i=1;;i++){ ^ symbol: variable i location: class Main Main.java:5: error: cannot find symbol for(i=1;;i++){ ^ symbol: variable i location: class Main Main.java:6: error: cannot find symbol int x = nextInt(); ^ symbol: method ne...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u380305191|p02396|0
u380305191|p02396|0
codenet
Compile Error
251
v2_s701321110
s701321110
s701321110
p02396
p02396
u380305191
u380305191
1,460,958,762
2016-04-18T05:52:42
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); for(int i=1;;i++){ int x = nextInt(); if(x == 0){ break; } System.out.printf("Case %d: %d\n" ,i,x); } } }
Main.java:6: error: cannot find symbol int x = nextInt(); ^ symbol: method nextInt() location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u380305191|p02396|0
u380305191|p02396|0
codenet
Compile Error
255
v2_s377695915
s377695915
s377695915
p02396
p02396
u384817181
u384817181
1,523,857,302
2018-04-16T05:41:42
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[] x; x = new int[10000]; int i=0; while(true){ x[i] = sc.nextInt(); if (x[i] == 0) break; i++; } i=0; ...
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
u384817181|p02396|0
u384817181|p02396|0
codenet
Compile Error
469
v2_s396348064
s396348064
s396348064
p02396
p02396
u385793616
u385793616
1,492,487,949
2017-04-18T03:59:09
Main.java
/** * Created by kaki on 2017/04/18. */ import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String args[]) { ArrayList<Integer> number = new ArrayList<Integer>(); Scanner scan = new Scanner(System.in); int i = 0; for (int j = ...
Main.java:15: error: method set in class ArrayList<E> cannot be applied to given types; System.out.println("Case" + (j + 1) + ": " + number.set(j)); ^ required: int,Integer found: int reason: actual and formal argument lists differ in l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u385793616|p02396|0
u385793616|p02396|0
codenet
Compile Error
436
v2_s477181027
s477181027
s477181027
p02396
p02396
u385793616
u385793616
1,492,487,978
2017-04-18T03:59:38
Main.java
/** * Created by kaki on 2017/04/18. */ import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String args[]) { ArrayList<Integer> number = new ArrayList<Integer>(); Scanner scan = new Scanner(System.in); int i = 0; for (int j = ...
Main.java:15: error: method set in class ArrayList<E> cannot be applied to given types; System.out.println("Case" + (j + 1) + ": " + number.set(j)); ^ required: int,Integer found: int reason: actual and formal argument lists differ in l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u385793616|p02396|0
u385793616|p02396|0
codenet
Compile Error
436
v2_s243379539
s243379539
s243379539
p02396
p02396
u390147264
u390147264
1,439,129,242
2015-08-09T14:07:22
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String str = scan.next(); int i = 0; int x = Integer.parseInt(str); do{ i++; }while(x != 0); System.out.println("case " + i + ": " + x );
Main.java:16: error: reached end of file while parsing System.out.println("case " + i + ": " + x ); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u390147264|p02396|0
u390147264|p02396|0
codenet
Compile Error
293
v2_s376738395
s376738395
s376738395
p02396
p02396
u396364211
u396364211
1,386,851,142
2013-12-12T12:25:42
Main.java
import java.util.Scaner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); for(int i = 0; ; i++){ int a = scan.nextInt(); if(a == 0) break; System.out.printf("Case %d: %d\n", i, a); } } }
Main.java:1: error: cannot find symbol import java.util.Scaner; ^ symbol: class Scaner location: package java.util 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 s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u396364211|p02396|0
u396364211|p02396|0
codenet
Compile Error
245
v2_s465896853
s465896853
s465896853
p02396
p02396
u411888544
u411888544
1,512,539,360
2017-12-06T05:49:20
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; ?? public class Main { ????????public static void main(String[] args) throws Exception { ????????????????// Your code here! ????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ????????????????String line = br.readLine...
Main.java:3: error: class, interface, enum, or record expected ?? ^ Main.java:5: error: illegal start of type ????????public static void main(String[] args) throws Exception { ^ Main.java:6: error: illegal start of expression ????????????????// Your code here! ^ Main.java:6: error: illegal start of expression ?????????...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u411888544|p02396|0
u411888544|p02396|0
codenet
Compile Error
742
v2_s648520764
s648520764
s648520764
p02396
p02396
u411888544
u411888544
1,512,540,811
2017-12-06T06:13:31
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader be =new BufferedReader( new InputStreamReader(System.in)); StringBuffer str =new StringBuffer(); int i=1; while(true){ ...
Main.java:18: error: ';' expected str.append("Case").append(Integer.toString(i)) ^ Main.java:19: error: ';' expected .append(":").append(Integer.toString(data)).append("\n") ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u411888544|p02396|0
u411888544|p02396|0
codenet
Compile Error
537
v2_s592431829
s592431829
s592431829
p02396
p02396
u420024944
u420024944
1,476,506,587
2016-10-15T04:43:07
Main.java
import java.io.*; class Prg { public static void main(String args[]) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int t; String ans = ""; for(int i = 1;; i++){ t = Integer.parseInt(reader.readLine()); if(...
Main.java:10: error: illegal start of expression if(t == 0)) break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420024944|p02396|0
u420024944|p02396|0
codenet
Compile Error
409
v2_s301565670
s301565670
s301565670
p02396
p02396
u420024944
u420024944
1,476,506,889
2016-10-15T04:48:09
Main.java
import java.io.IOException; import java.io.BufferedReader; class Prg { public static void main(String args[]) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int t = -1; String ans = ""; for(int i = 1;t != 0; i++){ t = ...
Main.java:7: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class InputStreamReader location: class Prg 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420024944|p02396|0
u420024944|p02396|0
codenet
Compile Error
462
v2_s151161331
s151161331
s151161331
p02396
p02396
u420024944
u420024944
1,476,507,158
2016-10-15T04:52:38
Main.java
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; class Prg { public static void main(String args[]) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String t = ""; int i = 1; t = reader.re...
Main.java:13: error: package system does not exist system.out.println("Case " + i + ": " + t); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420024944|p02396|0
u420024944|p02396|0
codenet
Compile Error
470
v2_s439254401
s439254401
s439254401
p02396
p02396
u425405452
u425405452
1,421,794,706
2015-01-20T22:58:26
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); for(int i = 0; nums != 0 ; i++) { int nums = scan.nextInt(); System.out.println("Case " + i+1 + ": " + nums); } } }
Main.java:7: error: cannot find symbol for(int i = 0; nums != 0 ; i++) { ^ symbol: variable nums location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u425405452|p02396|0
u425405452|p02396|0
codenet
Compile Error
251
v2_s768981584
s768981584
s768981584
p02396
p02396
u438549511
u438549511
1,480,823,215
2016-12-04T03:46:55
Main.java
public class Main { public static void main(String[] args) { try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int i = 1; while (true) { String str = reader.readLine(); if ("0".equals(str)) { break; } System.out.println("Case " + i + ":" + str); i...
Main.java:5: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u438549511|p02396|1
u438549511|p02396|1
codenet
Compile Error
390
v2_s906076767
s906076767
s906076767
p02396
p02396
u450760454
u450760454
1,523,861,697
2018-04-16T06:54:57
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a, i = 1; while(true){ a = sc.nextInt(); if(a == 0) break; System.out.println("case "+i+": "+a); i++; } } }
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
u450760454|p02396|0
u450760454|p02396|0
codenet
Compile Error
297
v2_s740458107
s740458107
s740458107
p02396
p02396
u451272713
u451272713
1,485,784,635
2017-01-30T13:57:15
Main.java
#include <cstdio> int main(){ int b,i; i=0; while(1){ scanf("%d",&b); if(b==0)break; i += 1; printf("Case %d: %d\n",i,b); } return 0; }
Main.java:1: error: illegal character: '#' #include <cstdio> ^ Main.java:1: error: unnamed classes are a preview feature and are disabled by default. #include <cstdio> ^ (use --enable-preview to enable unnamed classes) Main.java:8: error: illegal start of expression scanf("%d",&b); ^ 3 err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u451272713|p02396|0
u451272713|p02396|0
codenet
Compile Error
175
v2_s082217325
s082217325
s082217325
p02396
p02396
u455971060
u455971060
1,502,379,269
2017-08-10T15:34:29
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new java.util.Scanner(System.in); int[] x = new int[10000]; for(int i = 1; i <= 10000; i++){ x[i] = nextInt(); if(x[i] == 0){ break; } ...
Main.java:7: error: cannot find symbol x[i] = nextInt(); ^ symbol: method nextInt() location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455971060|p02396|1
u455971060|p02396|1
codenet
Compile Error
390
v2_s956164577
s956164577
s956164577
p02396
p02396
u455971060
u455971060
1,502,380,527
2017-08-10T15:55:27
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new java.util.Scanner(System.in); for(int i = 1; i <= 10000; i++){ x = scan.nextInt(); if(x == 0){ break; } System.out.println...
Main.java:7: error: cannot find symbol x = scan.nextInt(); ^ symbol: variable x location: class Main Main.java:8: error: cannot find symbol if(x == 0){ ^ symbol: variable x location: class Main Main.java:11: error: cannot find symbol System.out....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455971060|p02396|1
u455971060|p02396|1
codenet
Compile Error
363
v2_s323283593
s323283593
s323283593
p02396
p02396
u464358276
u464358276
1,503,235,415
2017-08-20T13:23:35
Main.java
import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ int testCase = Integer.parseInt(br.readLine()); if(te...
Main.java:7: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:7: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u464358276|p02396|0
u464358276|p02396|0
codenet
Compile Error
437
v2_s389639029
s389639029
s389639029
p02396
p02396
u467587621
u467587621
1,459,745,847
2016-04-04T04:57:27
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int times = 1; while(true) { String str = br.readLine(); ...
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u467587621|p02396|0
u467587621|p02396|0
codenet
Compile Error
459
v2_s565046033
s565046033
s565046033
p02396
p02396
u498369436
u498369436
1,460,943,540
2016-04-18T01:39:00
Main.java
/* * ???????????§??????????´? PrintTestCases.java * * Copyright(C) 2016 Nagasaki Team All Rights Reserved. */ /** * ??°?????????????????????(ITP1_9-B) * * @author Yamashita * @version 1.00 */ import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; class Main{ /* * ??...
Main.java:25: error: ';' expected int coun t= 1; //???????????? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u498369436|p02396|0
u498369436|p02396|0
codenet
Compile Error
864
v2_s490179070
s490179070
s490179070
p02396
p02396
u498691676
u498691676
1,462,266,841
2016-05-03T09:14:01
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int i = 0 while(true){ int x = Scanner.nextInt(); if(x == 0) break; System.out.println("Case "+(i+1)+": "+x); i++; } } }
Main.java:6: error: ';' expected int i = 0 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u498691676|p02396|0
u498691676|p02396|0
codenet
Compile Error
287
v2_s436691742
s436691742
s436691742
p02396
p02396
u527848444
u527848444
1,460,350,997
2016-04-11T05:03:17
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { StringBuilder sb = new StringBuilder(); Scanner scanner = new Scanner(System.in); int i = 0; while (true) { i++; int x = scanner.nextInt(); if(x == 0) { ...
Main.java:15: error: illegal character: '\' sb.append("Case" + i + ":" + x).append(\n); ^ Main.java:15: error: not a statement sb.append("Case" + i + ":" + x).append(\n); ^ Main.java:15: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u527848444|p02396|0
u527848444|p02396|0
codenet
Compile Error
533
v2_s359138226
s359138226
s359138226
p02396
p02396
u530715292
u530715292
1,524,488,514
2018-04-23T13:01:54
Main.java
import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); boolean roopFlag=false; List<Integer>test=new ArrayList<Integer>(); while(!roopFlag) { int x=sc.nextInt(); if(x!=0) { test.add(x); }else { roopFl...
Main.java:9: error: cannot find symbol List<Integer>test=new ArrayList<Integer>(); ^ symbol: class ArrayList location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u530715292|p02396|0
u530715292|p02396|0
codenet
Compile Error
447
v2_s092737778
s092737778
s092737778
p02396
p02396
u534111608
u534111608
1,464,332,882
2016-05-27T07:08:02
Main.java
import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { // Here your code ! BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int i=1; while(true){ String x = br.readLine(); ...
Main.java:6: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:6: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534111608|p02396|1
u534111608|p02396|1
codenet
Compile Error
487
v2_s155201717
s155201717
s155201717
p02396
p02396
u543082794
u543082794
1,475,161,247
2016-09-29T15:00:47
Main.java
import java.util.Scanner; import java.util.*; import java.util.Iterator; public class Main{ public static void main(String[] args){ Scanner input = new Scanner(System.in); String line; while(input.hasnext()){ int i = 1; line = input.next(); int intLine = Integer.parseInt(line); if(intLine!=0){ Sy...
Main.java:8: error: cannot find symbol while(input.hasnext()){ ^ symbol: method hasnext() location: variable input of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u543082794|p02396|0
u543082794|p02396|0
codenet
Compile Error
378
v2_s776031648
s776031648
s776031648
p02396
p02396
u544040886
u544040886
1,525,281,203
2018-05-02T17:13:23
Main.java
import java.util.Scanner; public static void main(String[] args) { int i,x,y; Scanner sc = new Scanner(System.in); for(i=1;;i++){ x = sc.nextInt() if(x == 0){ sc.close(); return; } System.out.println("case "+i+": "+x); } }
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:7: error: ';' expected x = sc.nextInt() ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u544040886|p02396|0
u544040886|p02396|0
codenet
Compile Error
277
v2_s688472275
s688472275
s688472275
p02396
p02396
u544040886
u544040886
1,525,281,251
2018-05-02T17:14:11
Mian.java
import java.util.Scanner; public class Mian{ public static void main(String[] args) { int i,x,y; Scanner sc = new Scanner(System.in); for(i=1;;i++){ x = sc.nextInt() if(x == 0){ sc.close(); return; } System.out.println("case "+i+": "+x); } } }
Mian.java:7: error: ';' expected x = sc.nextInt() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u544040886|p02396|0
u544040886|p02396|0
codenet
Compile Error
301
v2_s375065211
s375065211
s375065211
p02396
p02396
u549912341
u549912341
1,460,906,517
2016-04-17T15:21:57
Main.java
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int count = 1; while(true)) { Syst...
Main.java:9: error: illegal start of expression while(true)) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u549912341|p02396|1
u549912341|p02396|1
codenet
Compile Error
464
v2_s873458461
s873458461
s873458461
p02396
p02396
u584615724
u584615724
1,545,206,827
2018-12-19T08:07:07
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); for (int x = 1; x <= 10000; x++) { int i = scanner.nextInt(); if (i == 0) { break; } else { System.out.println("Case " + x + ": "...
Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: 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
u584615724|p02396|0
u584615724|p02396|0
codenet
Compile Error
359
v2_s061372759
s061372759
s061372759
p02396
p02396
u594816808
u594816808
1,525,743,162
2018-05-08T01:32:42
ITP1_3_B.java
public class ITP1_3_B { public static void main(String[] args) { int i = 1; do { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if (x == 0) { sc.close(); break; }else { System.out.println( "Case "+ i +":"+" "+ x ); i++; continue; ...
ITP1_3_B.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class ITP1_3_B ITP1_3_B.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class ITP1_3_B 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u594816808|p02396|0
u594816808|p02396|0
codenet
Compile Error
354
v2_s346987827
s346987827
s346987827
p02396
p02396
u594816808
u594816808
1,525,743,195
2018-05-08T01:33:15
ITP1_3_B.java
public class ITP1_3_B { public static void ITP1_3_B(String[] args) { int i = 1; do { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if (x == 0) { sc.close(); break; }else { System.out.println( "Case "+ i +":"+" "+ x ); i++; continu...
ITP1_3_B.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class ITP1_3_B ITP1_3_B.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class ITP1_3_B 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u594816808|p02396|0
u594816808|p02396|0
codenet
Compile Error
358
v2_s271403678
s271403678
s271403678
p02396
p02396
u594816808
u594816808
1,525,743,268
2018-05-08T01:34:28
Main.java
public class Main { public static void main(String[] args) { int i = 1; do { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if (x == 0) { sc.close(); break; }else { System.out.println( "Case "+ i +":"+" "+ x ); i++; continue; ...
Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: 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
u594816808|p02396|0
u594816808|p02396|0
codenet
Compile Error
350
v2_s183036192
s183036192
s183036192
p02396
p02396
u594816808
u594816808
1,525,747,126
2018-05-08T02:38:46
ITP1_3_B.java
public class ITP1_3_B { public static void main(String[] args) { int i = 0; int[] nums = new int[10000]; Scanner sc = new Scanner(System.in); do { int x = sc.nextInt(); if (x == 0) { break; }else { nums[i] = x; } i++; }while(true); fo...
ITP1_3_B.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class ITP1_3_B ITP1_3_B.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class ITP1_3_B 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u594816808|p02396|0
u594816808|p02396|0
codenet
Compile Error
439
v2_s075101549
s075101549
s075101549
p02396
p02396
u594816808
u594816808
1,525,747,934
2018-05-08T02:52:14
Main.java
public class Main { public static void main(String[] args) { int i = 0; int[] nums = new int[10000]; Scanner sc = new Scanner(System.in); do { int x = sc.nextInt(); if (x == 0) { break; }else { nums[i] = x; } i++; }while(true); for (i...
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
u594816808|p02396|0
u594816808|p02396|0
codenet
Compile Error
441
v2_s091348831
s091348831
s091348831
p02396
p02396
u606298399
u606298399
1,456,810,098
2016-03-01T05:28:18
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int date, cnt = 1; while(scan.hasNext()){ date = scan.nextInt(); System.out.println("Case " + cnt++ + ": " + date); } scan.close(); } } }
Main.java:16: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606298399|p02396|0
u606298399|p02396|0
codenet
Compile Error
295
v2_s221998260
s221998260
s221998260
p02396
p02396
u606298399
u606298399
1,456,889,903
2016-03-02T03:38:23
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); long d, r;//d = ??????r = ????????? double f;//f = ???????°???° long a = scan.nextInt();//a = ??????????????° int b = scan.nextInt();//b = ????????° d = a / b; r = a % b; ...
Main.java:19: error: reached end of file while parsing scan.close(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606298399|p02396|1
u606298399|p02396|1
codenet
Compile Error
424
v2_s003224481
s003224481
s003224481
p02396
p02396
u614711522
u614711522
1,464,633,835
2016-05-30T18:43:55
Main.java
import static java.lang.System.out; import java.util.List; import java.util.LinkedList; import java.util.Scanner; class PrintTestCases { private StringBuilder msg; PrintTestCases(List<Integer> data) { // create a message this.msg = new StringBuilder(); for (int i = 0; i < data.size(); ...
Main.java:16: error: cannot find symbol this.msg.trim(); ^ symbol: method trim() location: variable msg of type StringBuilder 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u614711522|p02396|1
u614711522|p02396|1
codenet
Compile Error
1,110
v2_s895437000
s895437000
s895437000
p02396
p02396
u615421382
u615421382
1,523,854,490
2018-04-16T04:54:50
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); for(i=0;;i++){ int x = sc.nextInt(); if(x == 0) break; System.out.printf("Case %d: %d",i,x); } } }
Main.java:6: error: cannot find symbol for(i=0;;i++){ ^ symbol: variable i location: class Main Main.java:6: error: cannot find symbol for(i=0;;i++){ ^ symbol: variable i location: class Main Main.java:9: error: cannot find symbol System.out.printf("C...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u615421382|p02396|0
u615421382|p02396|0
codenet
Compile Error
292
v2_s940844082
s940844082
s940844082
p02396
p02396
u620468594
u620468594
1,493,179,128
2017-04-26T03:58:48
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int = 1; while (i <= 10000){ int x = scan.nextInt(); System.out.println(x); i++; } } }
Main.java:8: error: not a statement int = 1; ^ Main.java:8: error: ';' expected int = 1; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02396|0
u620468594|p02396|0
codenet
Compile Error
274
v2_s405209274
s405209274
s405209274
p02396
p02396
u620468594
u620468594
1,493,179,593
2017-04-26T04:06:33
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int i = 1; while (i <= 10000){ case i:x int x = scan.nextInt(); if(x == 0){ break; } System.out.println(x); ...
Main.java:11: error: orphaned case case i:x ^ Main.java:11: error: not a statement case i:x ^ Main.java:11: error: ';' expected case i:x ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02396|0
u620468594|p02396|0
codenet
Compile Error
350
v2_s576949703
s576949703
s576949703
p02396
p02396
u620468594
u620468594
1,493,179,655
2017-04-26T04:07:35
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int i = 1; while (i <= 10000){ case i:x;{ int x = scan.nextInt(); if(x == 0){ break; } System.out.println(x)...
Main.java:11: error: orphaned case case i:x;{ ^ Main.java:11: error: not a statement case i:x;{ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02396|0
u620468594|p02396|0
codenet
Compile Error
362
v2_s941277892
s941277892
s941277892
p02396
p02396
u620468594
u620468594
1,493,180,067
2017-04-26T04:14:27
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int i = 1; int x = scan.nextInt(); which(1 <= 10000){ swich(x){ case 0: break; default: System.out.println(x); i++; ...
Main.java:11: error: ';' expected which(1 <= 10000){ ^ Main.java:12: error: ';' expected swich(x){ ^ Main.java:13: error: orphaned case case 0: ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02396|0
u620468594|p02396|0
codenet
Compile Error
343
v2_s682633234
s682633234
s682633234
p02396
p02396
u620468594
u620468594
1,493,180,125
2017-04-26T04:15:25
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int i = 1; which(i <= 10000){ int x = scan.nextInt(); swich(x){ case 0: break; default: System.out.println(x); i++; ...
Main.java:10: error: ';' expected which(i <= 10000){ ^ Main.java:12: error: ';' expected swich(x){ ^ Main.java:13: error: orphaned case case 0: ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02396|0
u620468594|p02396|0
codenet
Compile Error
343
v2_s944270091
s944270091
s944270091
p02396
p02396
u620468594
u620468594
1,493,181,478
2017-04-26T04:37:58
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args){ int x; 1 <= x && x <= 10000; int i = 1; while(i <= 10000){ Scanner scan = new Scanner(System.in); x = scan.nextInt(); switch(x){ case 0: break; default: ...
Main.java:8: error: not a statement 1 <= x && x <= 10000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02396|0
u620468594|p02396|0
codenet
Compile Error
386
v2_s470134218
s470134218
s470134218
p02396
p02396
u630795095
u630795095
1,438,587,018
2015-08-03T07:30:18
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main{ public static void main(String[] args){ ArrayList list = new ArrayList(); int intSub = -1; while(true){ Scanner scan = new Scanner(System.in); intSub = scan.nextInt(); if(intSub == 0){ break; }else{ list.add(intSub); ...
Main.java:18: error: incompatible types: possible lossy conversion from long to int System.out.println("Case " + (i + 1) + ": " + list.get(i)); ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Som...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u630795095|p02396|0
u630795095|p02396|0
codenet
Compile Error
440
v2_s390986243
s390986243
s390986243
p02396
p02396
u630795095
u630795095
1,438,655,482
2015-08-04T02:31:22
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); List<Integer> list = new ArrayList<Integer>(); int intTemp; while(scan.hasNext()){ intTemp = scan.nextInt(); if(intTenp == 0){ ...
Main.java:12: error: cannot find symbol if(intTenp == 0){ ^ symbol: variable intTenp location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u630795095|p02396|1
u630795095|p02396|1
codenet
Compile Error
533
v2_s487533636
s487533636
s487533636
p02396
p02396
u633849260
u633849260
1,505,045,106
2017-09-10T12:05:06
Main.java
import java.io.*; public class Main{ public static void main(String[] args)throws Exception{ BufferedReader input=new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb=new StringBuilder(); int i=1; String str=input.readLine(); int a=Interger.parseInt(str); while(true){ if(a==0){ break...
Main.java:13: error: illegal character: '\' sb.append("Case ").append(Integer.toString(i++)).append(": ").append("Integer.toString(a)).append("\n"); ^ Main.java:13: error: unclosed string literal sb.append("Case ")....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u633849260|p02396|0
u633849260|p02396|0
codenet
Compile Error
466
v2_s396031443
s396031443
s396031443
p02396
p02396
u637673746
u637673746
1,434,442,924
2015-06-16T08:22: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 = str.readLine(); while(str != null){ str = str.readLine();} String[] str_div = str.split("\n") int ...
Main.java:10: error: ';' expected String[] str_div = str.split("\n") ^ Main.java:13: error: ';' expected System.out.println("Case " + i + "; " + str_div[i])} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
485
v2_s455776575
s455776575
s455776575
p02396
p02396
u637673746
u637673746
1,434,442,961
2015-06-16T08:22:41
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 = str.readLine(); while(str != null) str = str.readLine(); String[ ] str_div = str.split("\n") int c...
Main.java:10: error: ';' expected String[ ] str_div = str.split("\n") ^ Main.java:13: error: ';' expected System.out.println("Case " + i + "; " + str_div[i])} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
484
v2_s800893788
s800893788
s800893788
p02396
p02396
u637673746
u637673746
1,434,442,983
2015-06-16T08:23: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 = str.readLine(); while(str != null) str = str.readLine(); String[ ] str_div = str.split("\n") int c...
Main.java:10: error: ';' expected String[ ] str_div = str.split("\n") ^ Main.java:13: error: ';' expected System.out.println("Case " + i + "; " + str_div[i])} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
484
v2_s427242119
s427242119
s427242119
p02396
p02396
u637673746
u637673746
1,434,443,048
2015-06-16T08:24:08
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 = str.readLine(); while(str != null) str = str.readLine(); String[ ] str_div = str.split("\n"); int ...
Main.java:13: error: ';' expected System.out.println("Case " + i + "; " + str_div[i])} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
485
v2_s555885505
s555885505
s555885505
p02396
p02396
u637673746
u637673746
1,434,443,069
2015-06-16T08:24:29
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 = str.readLine(); while(str != null) str = str.readLine(); String[ ] str_div = str.split("\n"); int ...
Main.java:13: error: ';' expected System.out.println("Case " + i + "; " + str_div[i])} ; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
486
v2_s935084819
s935084819
s935084819
p02396
p02396
u637673746
u637673746
1,434,443,079
2015-06-16T08:24:39
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 = str.readLine(); while(str != null) str = str.readLine(); String[ ] str_div = str.split("\n"); int ...
Main.java:13: error: ';' expected System.out.println("Case " + i + "; " + str_div[i])} ; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
486
v2_s248833468
s248833468
s248833468
p02396
p02396
u637673746
u637673746
1,434,443,107
2015-06-16T08:25:07
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 = str.readLine(); while(str != null) str = str.readLine(); String[ ] str_div = str.split("\n"); int ...
Main.java:6: error: cannot find symbol String str = str.readLine(); ^ symbol: method readLine() location: variable str of type String Main.java:8: error: cannot find symbol str = str.readLine(); ^ symbol: method readLine() location: variable str of ty...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
490
v2_s556662192
s556662192
s556662192
p02396
p02396
u637673746
u637673746
1,434,443,143
2015-06-16T08:25:43
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = str.readLine(); while(str != null) str = str.readLine(); String[ ] str_div = str.split...
Main.java:7: error: cannot find symbol String str = str.readLine(); ^ symbol: method readLine() location: variable str of type String Main.java:9: error: cannot find symbol str = str.readLine(); ^ symbol: method readLine() location: variable str of ty...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
510
v2_s167644827
s167644827
s167644827
p02396
p02396
u637673746
u637673746
1,434,443,187
2015-06-16T08:26:27
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != null) str = br.readLine(); String[ ] str_div = str.split("...
Main.java:12: error: incompatible types: int cannot be converted to String int count = Integer.parseInt(str_div.length); ^ 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
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
508
v2_s179655248
s179655248
s179655248
p02396
p02396
u637673746
u637673746
1,434,443,288
2015-06-16T08:28:08
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != null) str = br.readLine(); String[ ] str_div = str.split("...
Main.java:12: error: incompatible types: int cannot be converted to String int count = Integer.parseInt(str_div.length); ^ 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
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
508
v2_s176956332
s176956332
s176956332
p02396
p02396
u637673746
u637673746
1,434,443,355
2015-06-16T08:29:15
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != null) str = br.readLine(); String[ ] str_div = str.split("...
Main.java:12: error: incompatible types: int cannot be converted to String int count = Integer.parseInt(str_div.length); ^ 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
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
507
v2_s599923085
s599923085
s599923085
p02396
p02396
u637673746
u637673746
1,434,443,405
2015-06-16T08:30:05
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != null) str = br.readLine(); String[ ] str_div = str.split("...
Main.java:13: error: variable i might not have been initialized for(int i;i < count; i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
489
v2_s339678006
s339678006
s339678006
p02396
p02396
u637673746
u637673746
1,434,443,511
2015-06-16T08:31:51
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != null) str = br.readLine(); String[ ] str_div = str.split("...
Main.java:12: error: cannot find symbol int count = str_div.length(); ^ symbol: method length() location: variable str_div of type String[] 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
495
v2_s626214018
s626214018
s626214018
p02396
p02396
u637673746
u637673746
1,434,443,531
2015-06-16T08:32:11
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != null) str = br.readLine(); String[ ] str_div = str.split("...
Main.java:12: error: cannot find symbol int count = Integer.parseInt(str_div.length()); ^ symbol: method length() location: variable str_div of type String[] 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|0
u637673746|p02396|0
codenet
Compile Error
513
v2_s879150695
s879150695
s879150695
p02396
p02396
u637673746
u637673746
1,434,501,343
2015-06-17T00:35:43
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != null) str = br.readLine(); String[ ] str_div = str.split("...
Main.java:12: error: cannot find symbol int count = Integer.parseInt(str_div.length()); ^ symbol: method length() location: variable str_div of type String[] 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
513
v2_s646414630
s646414630
s646414630
p02396
p02396
u637673746
u637673746
1,434,501,415
2015-06-17T00:36:55
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != null) str = br.readLine(); String[ ] str_div = str.split("...
Main.java:12: error: incompatible types: int cannot be converted to String int count = Integer.parseInt(str_div.length); ^ 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
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
511
v2_s944701300
s944701300
s944701300
p02396
p02396
u637673746
u637673746
1,434,501,988
2015-06-17T00:46:28
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != Null) str = br.readLine(); String[ ] str_div = str.split("...
Main.java:8: error: cannot find symbol while(str != Null) ^ symbol: variable Null location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
466
v2_s698121674
s698121674
s698121674
p02396
p02396
u637673746
u637673746
1,434,502,021
2015-06-17T00:47:01
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != null){ str = br.readLine()}; String[ ] str_div = str.split...
Main.java:9: error: ';' expected str = br.readLine()}; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
468
v2_s213471018
s213471018
s213471018
p02396
p02396
u637673746
u637673746
1,434,502,168
2015-06-17T00:49:28
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != null){ str = br.readLine(); } br.close; St...
Main.java:11: error: not a statement br.close; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
495
v2_s740136559
s740136559
s740136559
p02396
p02396
u637673746
u637673746
1,434,502,646
2015-06-17T00:57:26
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(true){ str = br.readLine(); if (str.equals("0"){ ...
Main.java:10: error: ')' expected if (str.equals("0"){ ^ Main.java:11: error: illegal start of expression break;)} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
551
v2_s578901203
s578901203
s578901203
p02396
p02396
u637673746
u637673746
1,434,502,671
2015-06-17T00:57:51
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(true){ str = br.readLine(); if (str.equals("0"){ ...
Main.java:10: error: ')' expected if (str.equals("0"){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
550
v2_s156734852
s156734852
s156734852
p02396
p02396
u637673746
u637673746
1,434,502,744
2015-06-17T00:59:04
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(true){ str = br.readLine(); if (str.equals(null){ ...
Main.java:10: error: ')' expected if (str.equals(null){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
551
v2_s906386640
s906386640
s906386640
p02396
p02396
u637673746
u637673746
1,434,503,635
2015-06-17T01:13:55
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; while(str != null){ str = br.readLine();} br.close(); String[ ] str_div = str....
Main.java:8: error: variable str might not have been initialized while(str != null){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
473
v2_s679809684
s679809684
s679809684
p02396
p02396
u637673746
u637673746
1,434,503,756
2015-06-17T01:15:56
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; int count; while(true){ count++; str = br.readLine();} int x = Integer.p...
Main.java:14: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
602
v2_s780788892
s780788892
s780788892
p02396
p02396
u637673746
u637673746
1,434,503,828
2015-06-17T01:17:08
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; int count; while(true){ count++; str = br.readLine(); int x = Integer.pa...
Main.java:10: error: variable count might not have been initialized count++; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
602
v2_s156509664
s156509664
s156509664
p02396
p02396
u637673746
u637673746
1,434,504,647
2015-06-17T01:30:47
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str !== "0") str = br.readLine(); br.close(); String[...
Main.java:8: error: illegal start of expression while(str !== "0") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
490
v2_s759334035
s759334035
s759334035
p02396
p02396
u637673746
u637673746
1,434,505,012
2015-06-17T01:36:52
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(true){ str = br.readLine(); if(str.equals("0"){ break;} } ...
Main.java:10: error: ')' expected if(str.equals("0"){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
505
v2_s901424749
s901424749
s901424749
p02396
p02396
u637673746
u637673746
1,434,506,629
2015-06-17T02:03:49
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; while(true){ str = br.readLine(); if(str == "0"){ break; ...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
537
v2_s718134269
s718134269
s718134269
p02396
p02396
u637673746
u637673746
1,434,506,723
2015-06-17T02:05:23
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder str; while(true){ str = br.readLine(); if(str.equals("0")){ ...
Main.java:9: error: incompatible types: String cannot be converted to StringBuilder str = br.readLine(); ^ Main.java:15: error: cannot find symbol String[ ] str_div = str.split("\n"); ^ symbol: method split(String) location: variable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
550
v2_s992591198
s992591198
s992591198
p02396
p02396
u637673746
u637673746
1,434,506,745
2015-06-17T02:05:45
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder str; while(true){ str.br.readLine(); if(str.equals("0")){ ...
Main.java:9: error: cannot find symbol str.br.readLine(); ^ symbol: variable br location: variable str of type StringBuilder Main.java:15: error: cannot find symbol String[ ] str_div = str.split("\n"); ^ symbol: method split(String) location:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
548
v2_s999432028
s999432028
s999432028
p02396
p02396
u637673746
u637673746
1,434,507,565
2015-06-17T02:19:25
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuider str = new Stringbuilder; while(str != null) str.append(br.readLine()); br.clos...
Main.java:7: error: '(' or '[' expected StringBuider str = new Stringbuilder; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
511
v2_s545686309
s545686309
s545686309
p02396
p02396
u637673746
u637673746
1,434,507,611
2015-06-17T02:20:11
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder str = new StringBuilder(); while(str != null) str.append(br.readLine()); br.c...
Main.java:13: error: cannot find symbol String[ ] str_div = str.split("\n"); ^ symbol: method split(String) location: variable str of type StringBuilder 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
514
v2_s496585500
s496585500
s496585500
p02396
p02396
u637673746
u637673746
1,434,507,635
2015-06-17T02:20:35
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder str = new StringBuilder(); while(str != null) str.append(br.readLine()); br.c...
Main.java:13: error: cannot find symbol StringBuider[ ] str_div = str.split("\n"); ^ symbol: class StringBuider location: class Main Main.java:13: error: cannot find symbol StringBuider[ ] str_div = str.split("\n"); ^ symbol: method split(String) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
520
v2_s516714759
s516714759
s516714759
p02396
p02396
u637673746
u637673746
1,434,507,709
2015-06-17T02:21:49
Main.java
import java.io.*; import java.lang.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder str = new StringBuilder(); while(str != null) str.append(br.readLine()); br.c...
Main.java:13: error: cannot find symbol String[ ] str_div = str.split("\n"); ^ symbol: method split(String) location: variable str of type StringBuilder 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
514
v2_s979777212
s979777212
s979777212
p02396
p02396
u637673746
u637673746
1,434,508,492
2015-06-17T02:34:52
Main.java
import java.io.*; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = null; for (int i = 1; (str = br.readLine()) != null; i++) { if (str.equals("0")) break; ...
Main.java:9: error: cannot find symbol System.out.println("Case " + i + ": " + line); ^ symbol: variable line location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u637673746|p02396|1
u637673746|p02396|1
codenet
Compile Error
382
v2_s441618591
s441618591
s441618591
p02396
p02396
u642379218
u642379218
1,521,798,594
2018-03-23T09:49:54
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x, t = 1; while(true) { x = sc.nextInt(); if(x == 0)break; System.out.println("Case "+ t++ + ": " + x ); } }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u642379218|p02396|0
u642379218|p02396|0
codenet
Compile Error
264
v2_s736179244
s736179244
s736179244
p02396
p02396
u642379218
u642379218
1,521,798,658
2018-03-23T09:50:58
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x, t = 1; while(true) { x = sc.nextInt(); if(x == 0)break; System.out.println("Case "+ t++ + ": " + x ); } }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u642379218|p02396|0
u642379218|p02396|0
codenet
Compile Error
264
v2_s402754547
s402754547
s402754547
p02396
p02396
u642379218
u642379218
1,521,798,908
2018-03-23T09:55:08
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x, t = 1; while(true) { x = sc.nextInt(); if(x == 0)break; System.out.println("Case "+ t++ + ": " + x ); } }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u642379218|p02396|0
u642379218|p02396|0
codenet
Compile Error
264
v2_s965191895
s965191895
s965191895
p02396
p02396
u642379218
u642379218
1,521,798,927
2018-03-23T09:55:27
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = 1; int t = 1; while(true) { x = sc.nextInt(); if(x == 0)break; System.out.println("Case "+ t++ + ": " + x ); } }
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u642379218|p02396|0
u642379218|p02396|0
codenet
Compile Error
273
v2_s544881936
s544881936
s544881936
p02396
p02396
u642379218
u642379218
1,521,799,140
2018-03-23T09:59:00
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x, t = 1; while(true) { x = sc.nextInt(); if(x == 0)break; System.out.println("Case "+ t++ + ": " + x ); } }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u642379218|p02396|0
u642379218|p02396|0
codenet
Compile Error
264
v2_s709219468
s709219468
s709219468
p02396
p02396
u643920228
u643920228
1,512,486,739
2017-12-05T15:12:19
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = "str "; String delimeter = ": "; for (int i = i; sc.hasNextInt(); i++) { if (sc.nextInt() == 0) { break; } System.out.println(str + i + delimeter + sc.nextInt()); ...
Main.java:17: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u643920228|p02396|0
u643920228|p02396|0
codenet
Compile Error
328
v2_s737722726
s737722726
s737722726
p02396
p02396
u645117411
u645117411
1,495,011,916
2017-05-17T09:05:16
Main.java
public class Main { public static void main(String[] args) { int x = 1; int i = 0; while (x > 0) { int x = new java.util.Scanner(System.in).nextInt(); int i++; System.out.println("Case "+ i + ": " + x); } } }
Main.java:7: error: ';' expected int i++; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u645117411|p02396|1
u645117411|p02396|1
codenet
Compile Error
246
v2_s998086077
s998086077
s998086077
p02396
p02396
u645117411
u645117411
1,495,011,936
2017-05-17T09:05:36
Main.java
public class Main { public static void main(String[] args) { int x = 1; while (x > 0) { int x = new java.util.Scanner(System.in).nextInt(); for (int i = 0; i < 1; i++) { System.out.println("Case "+ i + ": " + x); } } } }
Main.java:5: error: variable x is already defined in method main(String[]) int x = new java.util.Scanner(System.in).nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u645117411|p02396|1
u645117411|p02396|1
codenet
Compile Error
262
v2_s220515166
s220515166
s220515166
p02396
p02396
u647237564
u647237564
1,508,140,677
2017-10-16T07:57:57
Main.java
class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\???????????????????????? StringBuilder st = new StringBuilder(); int i = 1; while(true) { int line = Int...
Main.java:3: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\???????????????????????? ^ symbol: class BufferedReader location: class Main Main.java:3: error: cannot find symbol BufferedReader br = new BufferedReader(new I...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u647237564|p02396|0
u647237564|p02396|0
codenet
Compile Error
576
v2_s974505516
s974505516
s974505516
p02396
p02396
u649647374
u649647374
1,494,906,310
2017-05-16T03:45:10
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int count = 0; while(true) { count++; int input = sc.nextInt(); if(input == 0) { break; } else { System.out.println("case " + count +": " + input); } } }
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u649647374|p02396|0
u649647374|p02396|0
codenet
Compile Error
308
v2_s827238090
s827238090
s827238090
p02396
p02396
u649647374
u649647374
1,494,906,951
2017-05-16T03:55:51
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { ???public static void main(String[] args) throws IOException { ??????BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ??????int count = 0; ??????while (true) { ?????????count++; ???...
Main.java:6: error: illegal start of type ???public static void main(String[] args) throws IOException { ^ Main.java:7: error: illegal start of expression ??????BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ Main.java:7: error: illegal start of expression ??????BufferedReader br = new Buffe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u649647374|p02396|0
u649647374|p02396|0
codenet
Compile Error
542
v2_s807346540
s807346540
s807346540
p02396
p02396
u649647374
u649647374
1,494,906,985
2017-05-16T03:56:25
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { ???public static void main(String[] args) throws IOException { ??????BufferedReader br = new BufferedReader(new InputStreamReader(in.txt)); ??????int count = 0; ??????while (true) { ?????????count++; ??????...
Main.java:6: error: illegal start of type ???public static void main(String[] args) throws IOException { ^ Main.java:7: error: illegal start of expression ??????BufferedReader br = new BufferedReader(new InputStreamReader(in.txt)); ^ Main.java:7: error: illegal start of expression ??????BufferedReader br = new Buffered...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u649647374|p02396|0
u649647374|p02396|0
codenet
Compile Error
539
v2_s646918459
s646918459
s646918459
p02396
p02396
u652449820
u652449820
1,406,194,136
2014-07-24T09:28:56
Main.java
class Main{ public static void main(String[] args)throws java.io.IOException { BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); ArrayList<Integer> x = new ArrayList<Integer>(100); int i = 0; while(true){ String tmp = input.readLine(); int num = Integer.parseInt(tmp); x.a...
Main.java:3: error: cannot find symbol BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:3: error: cannot find symbol BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u652449820|p02396|0
u652449820|p02396|0
codenet
Compile Error
454
v2_s252804106
s252804106
s252804106
p02396
p02396
u653442293
u653442293
1,507,359,754
2017-10-07T07:02:34
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=new int[10000]; int i=0,j; do{ i++; String str=br.readLine(); int num=Integer.parseInt(str); x[i]=Integer.parseInt(num); ...
Main.java:15: error: incompatible types: int cannot be converted to String x[i]=Integer.parseInt(num); ^ 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
u653442293|p02396|1
u653442293|p02396|1
codenet
Compile Error
416
v2_s685515771
s685515771
s685515771
p02396
p02396
u657681515
u657681515
1,497,602,476
2017-06-16T08:41:16
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int value[] = new int[100]; value[0] = scan.nextInt(); int ctr; for (ctr = 1; value[ctr-1] != 0 || i < 100; ctr++) value[ctr] = scan.nextInt(); for (int i = 1; i < ctr-1; ...
Main.java:10: error: cannot find symbol for (ctr = 1; value[ctr-1] != 0 || i < 100; ctr++) ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u657681515|p02396|1
u657681515|p02396|0
codenet
Compile Error
381
v2_s053818860
s053818860
s053818860
p02396
p02396
u657681515
u657681515
1,497,602,892
2017-06-16T08:48:12
Main.java
#include <stdio.h> int main(){ int x; int i=0; while(1){ scanf("%d", &x); if(x==0)break; printf("Case %d: %d\n", ++i, x); } return 0; }
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:5: error: unnamed classes are a preview feature and are disabled by default. int i=0; ^ (use --enable-preview to enable unnamed classes) Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u657681515|p02396|1
u657681515|p02396|0
codenet
Compile Error
180
v2_s625572923
s625572923
s625572923
p02396
p02396
u657681515
u657681515
1,497,603,166
2017-06-16T08:52:46
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int value[] = new int[10000]; int i = 0; while(1){ value[i] = scan.nextInt(); if (value[i] == 0) break; System.out.printf("Case %d: %d\n", ++i, value[i]); } } }
Main.java:9: error: incompatible types: int cannot be converted to boolean while(1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u657681515|p02396|1
u657681515|p02396|0
codenet
Compile Error
313