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_s554314170
s554314170
s554314170
p00424
p00424
u211138527
u211138527
1,440,849,067
2015-08-29T11:51:07
Main.java
import java.io.InputStream; import java.io.InputStreamReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.HashMap; import java.util.InputMismatchException; ...
Main.java:29: error: non-static variable n cannot be referenced from a static context n=ir.nextInt(); ^ Main.java:30: error: non-static variable n cannot be referenced from a static context if(n==0) break; ^ Main.java:31: error: non-static variable n cannot be referenced from a static context while(n-->0){ ^ M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00424|0
u211138527|p00424|0
codenet
Compile Error
2,528
v2_s544389177
s544389177
s544389177
p00424
p00424
u211138527
u211138527
1,455,976,303
2016-02-20T13:51:43
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:20: error: cannot find symbol HashMap<String,String> map=new HashMap<String,String>(); ^ symbol: class HashMap location: class Main Main.java:20: error: cannot find symbol HashMap<String,String> map=new HashMap<String,String>(); ^ symbol: class HashMap locati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00424|1
u211138527|p00424|1
codenet
Compile Error
2,228
v2_s674233941
s674233941
s674233941
p00424
p00424
u340901659
u340901659
1,387,291,066
2013-12-17T14:37:46
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.HashMap; public class Main { public static void main(String[] args) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); HashMap<String,String> c = new HashMap<String,String>(); while(true)...
Main.java:11: error: unreported exception IOException; must be caught or declared to be thrown int tn = Integer.parseInt(in.readLine()); ^ Main.java:16: error: unreported exception IOException; must be caught or declared to be thrown String[] tl = in.readLine().split...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u340901659|p00424|2
u340901659|p00424|2
codenet
Compile Error
910
v2_s577282885
s577282885
s577282885
p00425
p00425
u502223364
u502223364
1,481,031,408
2016-12-06T13:36:48
Main.java
public class Main { public static void main(String args[] ) throws Exception { Scanner sc = new Scanner(System.in); int[] dice = {1, 2, 3, 4, 5, 6}; List<Integer> resultList = new ArrayList<Integer>(); while (true) { int n = sc.nextInt(); if (n == 0) break; int result = 0; for (int i = 0; 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 Main.java:6: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u502223364|p00425|0
u502223364|p00425|0
codenet
Compile Error
1,457
v2_s204200889
s204200889
s204200889
p00425
p00425
u605441342
u605441342
1,342,013,707
2012-07-11T13:35:07
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); while(true){ int count=0; int N = cin.nextInt(); if(N==0){ break; } Dice di = new Dice(1, 2); count += di.dice[0]; for(int i = 0; i < N; i++){ String str = cin....
Main.java:139: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605441342|p00425|0
u605441342|p00425|0
codenet
Compile Error
2,309
v2_s763594106
s763594106
s763594106
p00425
p00425
u703446356
u703446356
1,427,522,219
2015-03-28T05:56:59
Main.java
import java.io.*; // namespace... class 0502 { public static void main() { System.out.printf("%d%n", solve()); return; } private int solve() { InputStreamReader isr = new InputStreamReader(System.in); BufferdReader br = new BufferedReader(isr); int ret = 1; String buf; int dtop=1, dforwa...
Main.java:3: error: <identifier> expected class 0502 { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u703446356|p00425|0
u703446356|p00425|0
codenet
Compile Error
954
v2_s717103091
s717103091
s717103091
p00425
p00425
u895568790
u895568790
1,445,804,937
2015-10-25T20:28:57
Main.java
import java.io.FileReader; import java.io.BufferedReader; import java.io.IOException; public class Dice { int top, bottom, north, south, west, east; public Dice(){ this.top = 1; this.bottom = 6; this.north = 5; this.south = 2; this.west = 4; this.east = 3; } public void initial(){ this.top = 1;...
Main.java:5: error: class Dice is public, should be declared in a file named Dice.java public class Dice { ^ Main.java:28: error: class Operation is public, should be declared in a file named Operation.java public class Operation { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895568790|p00425|0
u895568790|p00425|0
codenet
Compile Error
2,576
v2_s292138018
s292138018
s292138018
p00425
p00425
u895568790
u895568790
1,445,805,178
2015-10-25T20:32:58
Main.java
import java.io.FileReader; import java.io.BufferedReader; import java.io.IOException; public class Dice { int top, bottom, north, south, west, east; public Dice(){ this.top = 1; this.bottom = 6; this.north = 5; this.south = 2; this.west = 4; this.east = 3; } public void initial(){ this.top = 1;...
Main.java:5: error: class Dice is public, should be declared in a file named Dice.java public class Dice { ^ Main.java:28: error: class Operation is public, should be declared in a file named Operation.java public class Operation { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895568790|p00425|0
u895568790|p00425|0
codenet
Compile Error
2,576
v2_s153040826
s153040826
s153040826
p00425
p00425
u895568790
u895568790
1,445,806,008
2015-10-25T20:46:48
Main.java
import java.io.FileReader; import java.io.BufferedReader; import java.io.IOException; public class Main { int before_north, before_south, before_west, before_east, before_top, before_bottom; int after_north, after_south, after_west, after_east, after_top, after_bottom; public void read(){ try { //ファイルを読...
Main.java:105: error: cannot find symbol Main op = new Operation(); ^ symbol: class Operation location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895568790|p00425|0
u895568790|p00425|0
codenet
Compile Error
2,545
v2_s696916611
s696916611
s696916611
p00425
p00425
u918457647
u918457647
1,453,444,464
2016-01-22T06:34:24
Main.java
import java.util.Scanner; public class Main { public static Scanner sc; public static void main(String[] args){ sc=new Scanner(System.in); while(true){ int n=sc.nextInt(); if(n==0)break; Dice dice=new Dice(); int ans=0; for(int i=0;i<n;i++){ dice.roll(sc.next()); ans+=dice.get(1); } ...
Main.java:66: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918457647|p00425|0
u918457647|p00425|0
codenet
Compile Error
1,012
v2_s485178139
s485178139
s485178139
p00426
p00426
u211138527
u211138527
1,441,718,072
2015-09-08T13:14:32
Main.java
import java.io.InputStream; import java.io.InputStreamReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.HashMap; import java.util.InputMismatchException; ...
Main.java:49: error: cannot find symbol if(queA.size()==n||queC.size==n) return depth; ^ symbol: variable size location: variable queC of type Deque<Integer> Main.java:68: error: variable u is already defined in method dfs(int) int u=dfs(depth+1); ^ Main.java:69: error: method pollFirst...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00426|0
u211138527|p00426|0
codenet
Compile Error
3,599
v2_s658579181
s658579181
s658579181
p00426
p00426
u211138527
u211138527
1,441,718,123
2015-09-08T13:15:23
Main.java
import java.io.InputStream; import java.io.InputStreamReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.HashMap; import java.util.InputMismatchException; ...
Main.java:69: error: method pollFirst in interface Deque<E> cannot be applied to given types; queA.pollFirst(temp); ^ required: no arguments found: int reason: actual and formal argument lists differ in length where E is a type-variable: E extends Object declared in interface Deque Main.java:76: erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00426|0
u211138527|p00426|0
codenet
Compile Error
3,593
v2_s364382730
s364382730
s364382730
p00426
p00426
u211138527
u211138527
1,441,718,166
2015-09-08T13:16:06
Main.java
import java.io.InputStream; import java.io.InputStreamReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.HashMap; import java.util.InputMismatchException; ...
Main.java:79: error: variable s might not have been initialized return Math.min(Math.min(s,t),Math.min(u,v)); ^ Main.java:79: error: variable t might not have been initialized return Math.min(Math.min(s,t),Math.min(u,v)); ^ Main.java:79: error: variable u might not ha...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00426|0
u211138527|p00426|0
codenet
Compile Error
3,585
v2_s134664484
s134664484
s134664484
p00426
p00426
u211138527
u211138527
1,441,719,390
2015-09-08T13:36:30
Main.java
import java.io.InputStream; import java.io.InputStreamReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.HashMap; import java.util.InputMismatchException; ...
Main.java:99: error: illegal start of type return Math.min(Math.min(s,t),Math.min(u,v)); ^ Main.java:99: error: <identifier> expected return Math.min(Math.min(s,t),Math.min(u,v)); ^ Main.java:99: error: <identifier> expected return Math.min(Math.min(s,t),Math.min(u,v)); ^ Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00426|0
u211138527|p00426|0
codenet
Compile Error
3,881
v2_s652676826
s652676826
s652676826
p00426
p00426
u211138527
u211138527
1,441,719,873
2015-09-08T13:44:33
Main.java
import java.io.InputStream; import java.io.InputStreamReader; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.HashMap; import java.util.InputMismatchException; ...
Main.java:78: error: method dfs in class Main cannot be applied to given types; u=dfs(depth+1,3); ^ required: int found: int,int reason: actual and formal argument lists differ in length Main.java:85: error: method dfs in class Main cannot be applied to given types; u=dfs(depth+1,3); ^ required: int fo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00426|0
u211138527|p00426|0
codenet
Compile Error
3,898
v2_s252399558
s252399558
s252399558
p00429
p00429
u238871185
u238871185
1,393,928,885
2014-03-04T10:28:05
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { public static void main(String[] args){ try{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); while(true){ ...
Main.java:18: error: cannot find symbol }catch(StackOverFlowException e){ ^ symbol: class StackOverFlowException location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u238871185|p00429|0
u238871185|p00429|0
codenet
Compile Error
1,443
v2_s661120906
s661120906
s661120906
p00429
p00429
u238871185
u238871185
1,393,928,929
2014-03-04T10:28:49
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { public static void main(String[] args){ try{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); while(true){ ...
Main.java:18: error: cannot find symbol }catch(StackOverFlowError e){ ^ symbol: class StackOverFlowError location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u238871185|p00429|0
u238871185|p00429|0
codenet
Compile Error
1,439
v2_s160470905
s160470905
s160470905
p00429
p00429
u238871185
u238871185
1,393,931,303
2014-03-04T11:08:23
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { public static void main(String[] args){ StringBuilder result = new StringBuilder(); try{ BufferedReader in = new BufferedReader(new InputStrea...
Main.java:42: error: illegal character: '\' }\ ^ Main.java:42: error: reached end of file while parsing }\ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u238871185|p00429|0
u238871185|p00429|0
codenet
Compile Error
1,589
v2_s180578758
s180578758
s180578758
p00429
p00429
u238871185
u238871185
1,393,931,587
2014-03-04T11:13:07
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { public static void main(String[] args){ StringBuilder result = new StringBuilder(); bool flag = false; try{ BufferedReader in = new BufferedRe...
Main.java:8: error: cannot find symbol bool flag = false; ^ symbol: class bool location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u238871185|p00429|0
u238871185|p00429|0
codenet
Compile Error
1,688
v2_s255369221
s255369221
s255369221
p00429
p00429
u901080241
u901080241
1,488,805,266
2017-03-06T13:01:06
Main.java
public class Main { public static void main(String[] args)throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String line[] = br.readLine().split(" "); int n = Integer.parseInt(line[0]); if(n==0){break;} String answer = br.readLine().split(" ")[0]...
Main.java:2: error: cannot find symbol public static void main(String[] args)throws IOException { ^ symbol: class IOException location: class Main Main.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
u901080241|p00429|0
u901080241|p00429|0
codenet
Compile Error
761
v2_s956612665
s956612665
s956612665
p00430
p00430
u184702694
u184702694
1,353,957,714
2012-11-26T19:21:54
Main.java
public class Main { int[] a; public static void main(String []args){ try{ FileWriter fw = new FileWriter("output.txt"); BufferedWriter bw = new BufferedWriter(fw); while (true) { Scanner in = new Scanner(System.in); int num = in.nextInt(); if(num==0) break; int[] a=new int[num]; ...
Main.java:6: error: cannot find symbol FileWriter fw = new FileWriter("output.txt"); ^ symbol: class FileWriter location: class Main Main.java:6: error: cannot find symbol FileWriter fw = new FileWriter("output.txt"); ^ symbol: class FileWriter location: class Main Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u184702694|p00430|0
u184702694|p00430|0
codenet
Compile Error
1,845
v2_s791336879
s791336879
s791336879
p00430
p00430
u828386150
u828386150
1,353,380,987
2012-11-20T03:09:47
Main.java
public class Main { static final Scanner scan = new Scanner(System.in); public static void main(String[] args) { int n = scan.nextInt(); while(n!=0){ int[] l = new int[n]; routine(n,-1, 0, l); n = scan.nextInt(); } } private static void routine(int n, int m, int depth, int[] l){ if(n==0){ for(...
Main.java:2: error: cannot find symbol static final Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:2: error: cannot find symbol static final Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u828386150|p00430|0
u828386150|p00430|0
codenet
Compile Error
543
v2_s479350328
s479350328
s479350328
p00431
p00431
u460456614
u460456614
1,495,598,507
2017-05-24T04:01:47
Main.java
import java.util.*; import java.lang.*; import java.io.*; public class Main{ public static void main (String[] args) throws java.lang.Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); while(true){ Ring.ringList = ne...
Main.java:25: error: incompatible types: Ring cannot be converted to int for(int key:Ring.getSeachRing()){ ^ Main.java:106: error: for-each not applicable to expression type for(Ring ring:ringList){ ^ required: array or java.la...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u460456614|p00431|0
u460456614|p00431|0
codenet
Compile Error
3,381
v2_s952342186
s952342186
s952342186
p00431
p00431
u877118008
u877118008
1,423,800,199
2015-02-13T04:03:19
Main.java
import java.util.*; import java.io.*; public class Main{ public static void main(String[] args){ ArrayList<Integer> result=new ArrayList<Integer>(); try{ BufferedReader fin=new BufferedReader(new FileReader("input.txt")); while(true){ String sc=fin.readLine()...
Main.java:52: error: class Reflexive is public, should be declared in a file named Reflexive.java public class Reflexive{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u877118008|p00431|0
u877118008|p00431|0
codenet
Compile Error
4,687
v2_s447043137
s447043137
s447043137
p00431
p00431
u877118008
u877118008
1,423,800,681
2015-02-13T04:11:21
Main.java
import java.util.*; import java.io.*; class StringwithRing{ public static void main(String[] args){ ArrayList<Integer> result=new ArrayList<Integer>(); try{ BufferedReader fin=new BufferedReader(new FileReader("input.txt")); while(true){ String sc=fin.readLin...
Main.java:121: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u877118008|p00431|0
u877118008|p00431|0
codenet
Compile Error
5,157
v2_s485740907
s485740907
s485740907
p00433
p00433
u194854904
u194854904
1,413,983,023
2014-10-22T13:03:43
Main.java
import java.until.Scanner; public class Main { public static void main(String[] args) { int a = 0; int b = 0; java.util.Scanner stdIn = new Scanner(System.in); for(int i=0;i<4;i++){ int p = stdIn.nextInt(); a += p; } for(int i=0;i<4;i++){ int p = stdIn.nextInt(); b += p; } System.out.print...
Main.java:1: error: package java.until does not exist import java.until.Scanner; ^ Main.java:7: error: cannot find symbol java.util.Scanner stdIn = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:16: error: cannot find symbol Syst...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u194854904|p00433|0
u194854904|p00433|0
codenet
Compile Error
344
v2_s432116410
s432116410
s432116410
p00433
p00433
u532353839
u532353839
1,321,025,436
2011-11-11T15:30:36
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int sumA, sumB; while((n = sc.nextInt()) != 0){ sumA = sumB = 0; for(int i = 0; i < 4; i++){ sumA += sc.nextInt(); } for(int i = 0; i < 4; i++){ sumB += sc.nextInt(); } Syst...
Main.java:7: error: cannot find symbol while((n = sc.nextInt()) != 0){ ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532353839|p00433|0
u532353839|p00433|0
codenet
Compile Error
366
v2_s879723059
s879723059
s879723059
p00433
p00433
u770686467
u770686467
1,349,763,629
2012-10-09T06:20:29
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ int sumA = 0; int sumB = 0; for(int i=0;i<4;i++)sumA += stdIn.nextInt(); for(int j=0;j<4;j++)sumB += stdIn.nextInt(); if(sumA >= sumB)System.out.println(sumA); else if(sumA < sumB)System.out.println(sumB); } }
Main.java:7: error: cannot find symbol for(int i=0;i<4;i++)sumA += stdIn.nextInt(); ^ symbol: variable stdIn location: class Main Main.java:8: error: cannot find symbol for(int j=0;j<4;j++)sumB += stdIn.nextInt(); ^ symbol: variable stdIn locat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00433|0
u770686467|p00433|0
codenet
Compile Error
302
v2_s734426062
s734426062
s734426062
p00434
p00434
u194854904
u194854904
1,414,388,707
2014-10-27T05:45:07
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int num[31]={},cn=0; for(int i=1; i<29; i++){ int n = stdIn.nextInt(); num[n]++; } for(int i=1; i<31; i++){ if(num[i]==0){ System.out.println(i); cn++; } for(cn==2)break; ...
Main.java:7: error: ']' expected int num[31]={},cn=0; ^ Main.java:7: error: illegal start of expression int num[31]={},cn=0; ^ Main.java:17: error: not a statement for(cn==2)break; ^ Main.java:17: error: ';' expected for(cn==2)break; ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u194854904|p00434|0
u194854904|p00434|0
codenet
Compile Error
327
v2_s620373238
s620373238
s620373238
p00434
p00434
u759949288
u759949288
1,284,960,307
2010-09-20T05:25:07
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); boolean submited[] = new boolean[30]; for (int i = 0; i < 28; i++) { submited[sc.nextInt() - 1] = true; } for (int i = 0; i < 30; i++) { if (!submited)System.out.println(i+1); } ...
Main.java:15: error: bad operand type boolean[] for unary operator '!' if (!submited)System.out.println(i+1); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759949288|p00434|0
u759949288|p00434|0
codenet
Compile Error
324
v2_s227694262
s227694262
s227694262
p00434
p00434
u770686467
u770686467
1,349,765,929
2012-10-09T06:58:49
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); int[] attendanceNumbers = new int[28]; for(int i:attendanceNumbers)attendanceNumbers[i] = stdIn.nextInt(); Arrays.sort(attendanceNumbers); for(int j=0;j<28;j++){ if(attendanceNumbers[j...
Main.java:8: error: cannot find symbol Arrays.sort(attendanceNumbers); ^ symbol: variable Arrays location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00434|0
u770686467|p00434|0
codenet
Compile Error
400
v2_s665084568
s665084568
s665084568
p00434
p00434
u770686467
u770686467
1,349,767,949
2012-10-09T07:32:29
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); int[] attendanceNumbers = new int[28]; for(int i:attendanceNumbers)attendanceNumbers[i] = stdIn.nextInt(); Arrays.sort(attendanceNumbers); ArrayList<Integer> array =...
Main.java:13: error: ';' expected for(int l:attendanceNumbers)System.out.println(l) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00434|0
u770686467|p00434|0
codenet
Compile Error
488
v2_s847024498
s847024498
s847024498
p00434
p00434
u770686467
u770686467
1,349,767,986
2012-10-09T07:33:06
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); int[] attendanceNumbers = new int[28]; for(int i:attendanceNumbers)attendanceNumbers[i] = stdIn.nextInt(); Arrays.sort(attendanceNumbers); ArrayList<Integer> array =...
Main.java:10: error: cannot find symbol ArrayList<Integer> array = new ArrayList<Integer>(); ^ symbol: class ArrayList location: class Main Main.java:10: error: cannot find symbol ArrayList<Integer> array = new ArrayList<Integer>(); ^ symbol: class ArrayList location: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00434|0
u770686467|p00434|0
codenet
Compile Error
489
v2_s916098899
s916098899
s916098899
p00434
p00434
u770686467
u770686467
1,349,768,636
2012-10-09T07:43:56
Main.java
import java.util.Scanner; import java.util.Arrays; import java.util.ArrayList; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); while(true){ int[] attendanceNumbers = new int[28]; for(int i=0;i<28;i++)attendanceNumbers[i] = stdIn.nextInt(); Arrays.sort(attendanc...
Main.java:14: error: bad initializer for for-loop for(i:attendanceNumbers)array.remove(i); ^ Main.java:15: error: bad initializer for for-loop for(i:attendanceNumbers)System.out.println(i); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00434|0
u770686467|p00434|0
codenet
Compile Error
524
v2_s472429221
s472429221
s472429221
p00434
p00434
u770686467
u770686467
1,349,768,865
2012-10-09T07:47:45
Main.java
import java.util.Scanner; import java.util.Arrays; import java.util.ArrayList; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); while(true){ int[] attendanceNumbers = new int[28]; int i; for(i=0;i<28;i++)attendanceNumbers[i] = stdIn.nextInt(); Arrays.sort(att...
Main.java:15: error: bad initializer for for-loop for(i:attendanceNumbers)array.remove(i); ^ Main.java:16: error: bad initializer for for-loop for(i:attendanceNumbers)System.out.println(i); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00434|0
u770686467|p00434|0
codenet
Compile Error
530
v2_s749288379
s749288379
s749288379
p00434
p00434
u858740869
u858740869
1,435,561,601
2015-06-29T07:06:41
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashSet; class Main public static void main(String[] args) throws IOException { // TODO Auto-generated method stub final int NUM = 28; final int NUMs = 30; ArrayList<Inte...
Main.java:8: error: '{' expected class Main ^ Main.java:10: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) throws IOException { ^ (use --enable-preview to enable unnamed classes) Main.java:27: error: class, interface, enum, or...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858740869|p00434|0
u858740869|p00434|0
codenet
Compile Error
657
v2_s796858579
s796858579
s796858579
p00436
p00436
u770686467
u770686467
1,349,934,093
2012-10-11T05:41:33
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); static int n = stdIn.nextInt(); static int[] cardSet = cardSet[2*n]; for(int i=0;i<n*2;i++){ cardSet[i] = i+1; } int m = stdIn.nextInt(); for(i=0;i<m;i++){ int shuffle = stdIn.n...
Main.java:6: error: illegal start of expression static int n = stdIn.nextInt(); ^ Main.java:9: error: illegal start of type for(int i=0;i<n*2;i++){ ^ Main.java:9: error: > or ',' expected for(int i=0;i<n*2;i++){ ^ Main.java:9: error: <identifier> expected for(int i=0;i<n*2;i++){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00436|0
u770686467|p00436|0
codenet
Compile Error
1,068
v2_s539073740
s539073740
s539073740
p00436
p00436
u770686467
u770686467
1,349,934,353
2012-10-11T05:45:53
Main.java
import java.util.Scanner; class Main{ static int n = 0; static int[] cardSet = null; public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); n = stdIn.nextInt(); cardSet = Integer[2*n]; for(int i=0;i<n*2;i++){ cardSet[i] = i+1; } int m = stdIn.nextInt(); for(i=0;i<m;i++){...
Main.java:9: error: cannot find symbol cardSet = Integer[2*n]; ^ symbol: variable Integer location: class Main Main.java:15: error: cannot find symbol for(i=0;i<m;i++){ ^ symbol: variable i location: class Main Main.java:15: error: cannot find symbol for(i=0;i<m;i++){ ^ s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00436|0
u770686467|p00436|0
codenet
Compile Error
1,093
v2_s588507167
s588507167
s588507167
p00436
p00436
u770686467
u770686467
1,349,934,462
2012-10-11T05:47:42
Main.java
import java.util.Scanner; class Main{ static int n = 0; static int[] cardSet = null; public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); n = stdIn.nextInt(); cardSet = new Integer[2*n]; for(int i=0;i<n*2;i++){ cardSet[i] = i+1; } int m = stdIn.nextInt(); for(int i=0;i...
Main.java:9: error: incompatible types: Integer[] cannot be converted to int[] cardSet = new Integer[2*n]; ^ Main.java:28: error: incompatible types: Integer[] cannot be converted to int[] int temp[] = new Integer[shufflePosition]; ^ Main.java:33: error: cannot find symbol for(i=0;i<car...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00436|0
u770686467|p00436|0
codenet
Compile Error
1,105
v2_s072855091
s072855091
s072855091
p00437
p00437
u399118522
u399118522
1,370,370,526
2013-06-04T18:28:46
Main.java
import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); while (in.hasNext()) { int a = in.nextInt(); int b = in.nextInt(); int c = in.ne...
Main.java:155: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p00437|0
u399118522|p00437|0
codenet
Compile Error
3,081
v2_s870381339
s870381339
s870381339
p00438
p00438
u507781558
u507781558
1,555,905,328
2019-04-22T03:55:28
Main.java
5 4 3 2 2 2 3 4 2 5 4 3 2 2 2 3 4 2 0 0
Main.java:1: error: class, interface, enum, or record expected 5 4 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507781558|p00438|0
u507781558|p00438|0
codenet
Compile Error
40
v2_s484611594
s484611594
s484611594
p00439
p00439
u197786702
u197786702
1,511,352,665
2017-11-22T12:11:05
Main.java
public class Main { public static class BIT { int[] dat; public BIT(int n){ dat = new int[n + 1]; } public void add(int k, int a){ // k : 0-indexed for(int i = k + 1; i < dat.length; i += i & -i){ dat[i] += a; } } public int sum(int s, int t){ // [s, t) if(s > 0) return sum(0, ...
Main.java:29: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:29: 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
u197786702|p00439|3
u197786702|p00439|3
codenet
Compile Error
1,022
v2_s102773721
s102773721
s102773721
p00439
p00439
u231369830
u231369830
1,530,516,118
2018-07-02T07:21:58
Main.java
#include<stdio.h> #include<iostream> #include<math.h> #include<chrono> #include<string> using namespace std; int main() { int nsize; int ksize; int a[100000]; while (true) { cin >> nsize >> ksize; if (nsize == 0 && ksize == 0)break; for (int i = 0; i < nsize; i++) { cin >> a[i]; } int maxva...
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:2: error: illegal character: '#' #include<iostream> ^ Main.java:3: error: illegal character: '#' #include<math.h> ^ Main.java:4: error: illegal character: '...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u231369830|p00439|0
u231369830|p00439|0
codenet
Compile Error
615
v2_s419456485
s419456485
s419456485
p00439
p00439
u714423078
u714423078
1,559,131,908
2019-05-29T12:11:48
Main.java
n,k = map(int,input().split()) a = [int(input()) for i in range(n)] unko = [0] for i in range(n): unko.append(unko[i]+a[i]) inf = float("inf")*(-1) mvl = inf for i in range(n-k+1): if unko[i+k]-unko[i] >= mvl: mvl = unko[i+k]-unko[i] print(mvl)
Main.java:1: error: class, interface, enum, or record expected n,k = map(int,input().split()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u714423078|p00439|0
u714423078|p00439|0
codenet
Compile Error
278
v2_s871942963
s871942963
s871942963
p00440
p00440
u399118522
u399118522
1,337,045,372
2012-05-15T01:29:32
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int flagN = in.nextInt(); int flagK = in.nextInt(); while ((flagN != 0) && (flagK != 0)) { final int k = flagK; boolean has0 = false; NumTree nums = null; for (int i = 0; i < k; i++) { int num = in...
Main.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: 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
u399118522|p00440|1
u399118522|p00440|1
codenet
Compile Error
1,555
v2_s814686119
s814686119
s814686119
p00440
p00440
u399118522
u399118522
1,337,047,643
2012-05-15T02:07:23
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); while (in.hasNext()) { int flagN = Integer.parseInt(in.next()); int flagK = Integer.parseInt(in.next()); if (flagN == 0) { break; } int k = flagK; int[] array = new int...
Main.java:77: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p00440|1
u399118522|p00440|1
codenet
Compile Error
1,636
v2_s357903563
s357903563
s357903563
p00440
p00440
u399118522
u399118522
1,337,048,863
2012-05-15T02:27:43
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); while (in.hasNext()) { int flagN = Integer.parseInt(in.next()); int flagK = Integer.parseInt(in.next()); if (flagN == 0) { break; } int k = flagK; int[] array = new int[flagK]; boolean has0 = ...
Main.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: 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
u399118522|p00440|1
u399118522|p00440|1
codenet
Compile Error
1,753
v2_s329661226
s329661226
s329661226
p00443
p00443
u211138527
u211138527
1,454,933,254
2016-02-08T12:07:34
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:39: error: incompatible types: possible lossy conversion from long to int if(r[now]==0&&b[now]==0) return (long)p[now]+q[now]; ^ Main.java:42: error: incompatible types: possible lossy conversion from long to int return bb/gcd(q[now],bb)*(p[now]+q[now]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00443|0
u211138527|p00443|0
codenet
Compile Error
3,598
v2_s743002620
s743002620
s743002620
p00443
p00443
u211138527
u211138527
1,454,933,327
2016-02-08T12:08:47
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:39: error: incompatible types: possible lossy conversion from long to int if(r[now]==0&&b[now]==0) return (long)p[now]+(long)q[now]; ^ Main.java:42: error: incompatible types: possible lossy conversion from long to int return bb/gcd(q[now],bb)*(p[now]+q[now]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00443|0
u211138527|p00443|0
codenet
Compile Error
3,616
v2_s028717418
s028717418
s028717418
p00443
p00443
u211138527
u211138527
1,454,933,391
2016-02-08T12:09:51
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:49: error: incompatible types: possible lossy conversion from long to int int g=gcd(bb*p[now],rr*q[now]); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00443|0
u211138527|p00443|0
codenet
Compile Error
3,617
v2_s649592492
s649592492
s649592492
p00443
p00443
u860016155
u860016155
1,348,308,535
2012-09-22T10:08:55
Main.java
gimport java.io.*; import java.util.*; class Node { public int p, q, r, b, parent; Node(int p, int q, int r, int b) { this.p = p; this.q = q; this.r = r; this.b = b; this.parent = -1; } } public class Main { Scanner sc; int n; int root; Node[] tree; ...
Main.java:1: error: class, interface, enum, or record expected gimport java.io.*; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860016155|p00443|0
u860016155|p00443|0
codenet
Compile Error
2,596
v2_s179461388
s179461388
s179461388
p00444
p00444
u562651626
u562651626
1,398,479,289
2014-04-26T02:28:09
Main.java
import java.util.Scanner; class Main{ Main(){ Scanner scan = new Scanner(System.in); while(true){ int yen=scan.nextInt(); if(yen==0){ break; } yen=1000-yen; System.out.println(hantei(yen)); } } int[] init(int[] w){ for(int i=0;i<w.length;i++){ w[i]=0; } return w; } int hante...
Main.java:72: error: reached end of file while parsing public st ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u562651626|p00444|0
u562651626|p00444|0
codenet
Compile Error
909
v2_s479829245
s479829245
s479829245
p00444
p00444
u758546346
u758546346
1,401,093,146
2014-05-26T08:32:26
Main.java
public static void main(String[] args) { Scanner cin = new Scanner(System.in); while(true){ int x,ans; x=cin.nextInt(); if(x==0){ break; } x=1000-x; ans=x/500; x=x%500; ans=ans+x/100; x=x%100; ans=ans+x/50; x=x%50; ans=ans+x/10; x=x%10; ans=ans+x; System....
Main.java:1: 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) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u758546346|p00444|0
u758546346|p00444|0
codenet
Compile Error
352
v2_s672684931
s672684931
s672684931
p00448
p00448
u746184552
u746184552
1,288,078,434
2010-10-26T07:33:54
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int row,col; int[] cols; int cnt_min = 10*10000; row = scn.nextInt(); col = scn.nextInt(); cols = new int[col]; for(int i=0; i<row; i++) for(int j=0; j<col; j++) cols[j] = cols...
Main.java:23: error: bad operand types for binary operator '&' if(column&1 == 0) ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u746184552|p00448|0
u746184552|p00448|0
codenet
Compile Error
683
v2_s854263817
s854263817
s854263817
p00448
p00448
u746184552
u746184552
1,288,870,596
2010-11-04T11:36:36
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int row,col; int[] cols; int cnt_min = 10*10000; while(true){ row = scn.nextInt(); col = scn.nextInt(); if(row==0&&col==0) break; cols = new int[col]; for(int i=0; i<row; i++) for(in...
Main.java:26: error: bad operand types for binary operator '&' if(column&1 == 0) ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u746184552|p00448|3
u746184552|p00448|3
codenet
Compile Error
717
v2_s210702650
s210702650
s210702650
p00449
p00449
u503690808
u503690808
1,351,922,999
2012-11-03T06:09:59
Main.java
import java.util.*; public class Main{ int max =(1<<27); int[][] M = new int[101][101]; int [] d = new int[101]; int[] flg = new int[101]; int a,n,m,c,e,k,min,z; public void compute(){ Scanner scan = new Scanner(System.in); for(int i=0;i<101;i++){ for(int j=0;j<101;j++){ M[i][j]=; ...
Main.java:12: error: illegal start of expression M[i][j]=; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u503690808|p00449|0
u503690808|p00449|0
codenet
Compile Error
1,166
v2_s719931063
s719931063
s719931063
p00451
p00451
u660498157
u660498157
1,307,783,529
2011-06-11T09:12:09
Main.java
import java.util.*; import java.lang.*; import java.math.*; import java.io.*; import static java.lang.Math.*; import static java.util.Arrays.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); for(;sc.hasNext();){ String s=sc.next(); String t=sc.next(); System.out.println(lcs(s,t...
Main.java:15: error: non-static method lcs(String,String) cannot be referenced from a static context System.out.println(lcs(s,t)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p00451|0
u660498157|p00451|0
codenet
Compile Error
650
v2_s509320966
s509320966
s509320966
p00453
p00453
u662227160
u662227160
1,422,795,299
2015-02-01T12:54:59
Main.java
#include <iostream> #include <vector> #include <map> #include <algorithm> #include <cmath> #include <cstring> using namespace std; const int INF = 1e+9; typedef pair<int, int> P; int memo[151][11][80]; int N, M; vector<P> G[151]; int rec(int n, int p, int m){ if(memo[n][p][m] != -1) return memo[n][p][m]; int ...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <vector> ^ Main.java:3: error: illegal character: '#' #include <map> ^ Main.java:4: error: illegal character: '#' #include <algorithm> ^ Main.java:5: error: illegal character: '#' #include <cmath> ^ Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u662227160|p00453|0
u662227160|p00453|0
codenet
Compile Error
1,439
v2_s403411321
s403411321
s403411321
p00453
p00453
u663807940
u663807940
1,558,998,609
2019-05-27T23:10:09
Main.java
import java.io.*; import java.util.*; import java.util.Map.Entry; import java.util.stream.Collectors; @SuppressWarnings("unused") public class Main { //final boolean isDebug = true; final boolean isDebug = false; String fileName = "input.txt"; FastScanner sc; PrintWriter out; final int MOD = (int)1e9+7; //fin...
Main.java:27: error: cannot find symbol ArrayList<ArrayList<Pair>> list = new ArrayList<>(); ^ symbol: class Pair location: class Main Main.java:34: error: cannot find symbol list.get(i).add(new Pair(x, d)); ^ symbol: class Pair location: class Main 2 erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u663807940|p00453|1
u663807940|p00453|1
codenet
Compile Error
5,043
v2_s105460342
s105460342
s105460342
p00454
p00454
u722076734
u722076734
1,447,560,319
2015-11-15T04:05:19
Main.java
#include <iostream> #include <vector> #include <math.h> #include <stdio.h> #include <algorithm> #include <string> #include <map> #include <queue> #include <memory.h> using namespace std; int dx[] = {1,0,-1,0}; int dy[] = {0,1,0,-1}; int W, H, N; int X1[1000], X2[1000], Y1[1000], Y2[1000]; bool fld[1000 * 6][1000 * 6]...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <vector> ^ Main.java:3: error: illegal character: '#' #include <math.h> ^ Main.java:4: error: illegal character: '#' #include <stdio.h> ^ Main.java:5: error: illegal character: '#' #include <algorithm> ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u722076734|p00454|1
u722076734|p00454|1
codenet
Compile Error
2,014
v2_s047654300
s047654300
s047654300
p00455
p00455
u069727578
u069727578
1,551,341,495
2019-02-28T08:11:35
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UncheckedIOException; import java.util.StringTokenizer; class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); while(!sc.hasNext()) { int sh=s...
Main.java:10: error: cannot find symbol Scanner sc=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:10: 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
u069727578|p00455|0
u069727578|p00455|0
codenet
Compile Error
1,550
v2_s483888209
s483888209
s483888209
p00455
p00455
u069727578
u069727578
1,551,341,501
2019-02-28T08:11:41
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UncheckedIOException; import java.util.StringTokenizer; class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); while(sc.hasNext()) { int sh=sc...
Main.java:10: error: cannot find symbol Scanner sc=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:10: 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
u069727578|p00455|0
u069727578|p00455|0
codenet
Compile Error
1,549
v2_s445828131
s445828131
s445828131
p00455
p00455
u579589311
u579589311
1,393,170,428
2014-02-23T15:47:08
Main.java
Scanner scan = new Scanner(System.in); int[6] h,m,s; for(int i=0;i<6;i++){ h[i] = scan.next(); m[i] = scan.next(); s[i] = scan.next(); } for(int i=1;i<6;i+=2){ if((s[i]-=s[i-1])<0){s[i]=60-s[i];m[i]-=1;} if((m[i]-=m[i-1])<0){m[i]=60-b[i];h[i]-=1;} h[i]-=h[i-1]; } for(int i=1;i<6;i+=2){ System.out.println(h[i]+" "+m[i]+...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner scan = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:2: error: class, interface, enum, or record expected int[6] h,m,s; ^ Main.java:3: error: class, interface, enum, or record expected...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579589311|p00455|0
u579589311|p00455|0
codenet
Compile Error
332
v2_s966834096
s966834096
s966834096
p00455
p00455
u579589311
u579589311
1,393,170,640
2014-02-23T15:50:40
Main.java
import java.util.Scanner; class AOJ0532{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int[6] h,m,s; for(int i=0;i<6;i++){ h[i] = scan.next(); m[i] = scan.next(); s[i] = scan.next(); } for(int i=1;i<6;i+=2){ if((s[i]-=s[i-1])<0){s[i]=60-s[i];m[i]-=1;} if((m[i]-=m[i-1])<0){m[i]=60-b[i];h...
Main.java:5: error: ']' expected int[6] h,m,s; ^ Main.java:5: error: not a statement int[6] h,m,s; ^ Main.java:5: error: not a statement int[6] h,m,s; ^ Main.java:5: error: ';' expected int[6] h,m,s; ^ Main.java:5: error: not a statement int[6] h,m,s; ^ Main.java:5: error: ';' expected in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579589311|p00455|0
u579589311|p00455|0
codenet
Compile Error
417
v2_s501698890
s501698890
s501698890
p00455
p00455
u579589311
u579589311
1,393,170,783
2014-02-23T15:53:03
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int[6] h,m,s; for(int i=0;i<6;i++){ h[i] = scan.next(); m[i] = scan.next(); s[i] = scan.next(); } for(int i=1;i<6;i+=2){ if((s[i]-=s[...
Main.java:6: error: ']' expected int[6] h,m,s; ^ Main.java:6: error: not a statement int[6] h,m,s; ^ Main.java:6: error: not a statement int[6] h,m,s; ^ Main.java:6: error: ';' expected int[6] h,m,s; ^ Main.java:6: error: not a statement int[6]...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579589311|p00455|0
u579589311|p00455|0
codenet
Compile Error
529
v2_s074728037
s074728037
s074728037
p00455
p00455
u579589311
u579589311
1,393,170,892
2014-02-23T15:54:52
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int[6] h;int[6] m;int[6] s; for(int i=0;i<6;i++){ h[i] = scan.next(); m[i] = scan.next(); s[i] = scan.next(); } for(int i=1;i<6;i+=2){ ...
Main.java:6: error: ']' expected int[6] h;int[6] m;int[6] s; ^ Main.java:6: error: not a statement int[6] h;int[6] m;int[6] s; ^ Main.java:6: error: not a statement int[6] h;int[6] m;int[6] s; ^ Main.java:6: error: ']' expected int[6] h;int[6] m;int[6] s; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579589311|p00455|0
u579589311|p00455|0
codenet
Compile Error
543
v2_s344718604
s344718604
s344718604
p00455
p00455
u579589311
u579589311
1,393,170,993
2014-02-23T15:56:33
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int[] h = new int[6]; int[] m = new int[6]; int[] s = new int[6]; for(int i=0;i<6;i++){ h[i] = scan.next(); m[i] = scan.next(); s[i] = scan.ne...
Main.java:6: error: illegal character: '\u3000' int[] h?= new int[6]; ^ Main.java:6: error: not a statement int[] h?= new int[6]; ^ Main.java:7: error: illegal character: '\u3000' int[] m?= new int[6]; ^ Main.java:7: error: not a statement int[] m?= new ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579589311|p00455|0
u579589311|p00455|0
codenet
Compile Error
599
v2_s600933668
s600933668
s600933668
p00455
p00455
u579589311
u579589311
1,393,171,040
2014-02-23T15:57:20
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); h = new int[6]; m = new int[6]; s = new int[6]; for(int i=0;i<6;i++){ h[i] = scan.next(); m[i] = scan.next(); s[i] = scan.next(); } ...
Main.java:6: error: illegal character: '\u3000' h?= new int[6]; ^ Main.java:6: error: not a statement h?= new int[6]; ^ Main.java:6: error: not a statement h?= new int[6]; ^ Main.java:7: error: illegal character: '\u3000' m?= new int[6]; ^ Main.java:7: error: not a ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579589311|p00455|0
u579589311|p00455|0
codenet
Compile Error
581
v2_s715443273
s715443273
s715443273
p00455
p00455
u579589311
u579589311
1,393,171,094
2014-02-23T15:58:14
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int[] h = new int[6]; int[] m = new int[6]; int[] s = new int[6]; for(int i=0;i<6;i++){ h[i] = scan.next(); m[i] = scan.next(); s[i] = scan.ne...
Main.java:6: error: illegal character: '\u3000' int[] h?= new int[6]; ^ Main.java:6: error: not a statement int[] h?= new int[6]; ^ Main.java:7: error: illegal character: '\u3000' int[] m?= new int[6]; ^ Main.java:7: error: not a statement int[] m?= new ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579589311|p00455|0
u579589311|p00455|0
codenet
Compile Error
599
v2_s568660517
s568660517
s568660517
p00455
p00455
u579589311
u579589311
1,393,171,181
2014-02-23T15:59:41
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int h[] = new int[6]; int m[] = new int[6]; int s[] = new int[6]; for(int i=0;i<6;i++){ h[i] = scan.next(); m[i] = scan.next(); s[i] = scan.ne...
Main.java:6: error: illegal character: '\u3000' int h[]?= new int[6]; ^ Main.java:6: error: not a statement int h[]?= new int[6]; ^ Main.java:7: error: illegal character: '\u3000' int m[]?= new int[6]; ^ Main.java:7: error: not a statement int m[]?= new ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579589311|p00455|0
u579589311|p00455|0
codenet
Compile Error
599
v2_s041001093
s041001093
s041001093
p00455
p00455
u579589311
u579589311
1,393,171,314
2014-02-23T16:01:54
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int[] h,m,s; h = new int[6]; m = new int[6]; s = new int[6]; for(int i=0;i<6;i++){ h[i] = scan.next(); m[i] = scan.next(); s[i] = scan.n...
Main.java:7: error: illegal character: '\u3000' h?= new int[6]; ^ Main.java:7: error: not a statement h?= new int[6]; ^ Main.java:7: error: not a statement h?= new int[6]; ^ Main.java:8: error: illegal character: '\u3000' m?= new int[6]; ^ Main.java:8: error: not a ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579589311|p00455|0
u579589311|p00455|0
codenet
Compile Error
600
v2_s013536651
s013536651
s013536651
p00455
p00455
u579589311
u579589311
1,393,171,452
2014-02-23T16:04:12
Main.java
import java.util.Scanner; class public Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int[] h,m,s; h = new int[6]; m = new int[6]; s = new int[6]; for(int i=0;i<6;i++){ h[i] = scan.next(); m[i] = scan.next(); s[i] =...
Main.java:3: error: <identifier> expected class public Main{ ^ Main.java:3: error: class, interface, enum, or record expected class public Main{ ^ Main.java:7: error: illegal character: '\u3000' h?= new int[6]; ^ Main.java:7: error: not a statement h?= new int[6]; ^ Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579589311|p00455|0
u579589311|p00455|0
codenet
Compile Error
607
v2_s967768484
s967768484
s967768484
p00455
p00455
u700120734
u700120734
1,445,492,985
2015-10-22T05:49:45
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Solve s = new Solve(); s.solve(); } } class Solve{ Solve(){} Scanner in = new Scanner(System.in); void solve(){ int h1,m1,s1,h2,m2,s2; for(int i = 0; i < 3; i++){ h1 = in.nextInt(); m1 = in.nextInt(); s1 = in.nextInt(); ...
Main.java:42: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u700120734|p00455|0
u700120734|p00455|0
codenet
Compile Error
698
v2_s582733532
s582733532
s582733532
p00456
p00456
u194854904
u194854904
1,421,294,381
2015-01-15T03:59:41
Main.java
import java.util.Scanner; class Main { public static void main(String args[]){ Scanner in = new Scanner(System.in); int w=0, k=0; int ws[] = new int[10], ks[] = new int[10]; for(int i=0; i<10; i++) ws[i] = in.nextInt(); for(int i=0; i<10; i++) ks[i] = in.nextInt(); A...
Main.java:13: error: cannot find symbol Arrays.sort(ks); ^ symbol: variable Arrays location: class Main Main.java:14: error: cannot find symbol Arrays.sort(ws); ^ symbol: variable Arrays location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u194854904|p00456|0
u194854904|p00456|0
codenet
Compile Error
510
v2_s018991889
s018991889
s018991889
p00456
p00456
u194854904
u194854904
1,421,294,728
2015-01-15T04:05:28
Main.java
import java.util.Scanner; class Main { public static void main(String args[]){ Scanner in = new Scanner(System.in); int w=0, k=0; int ws[] = new int[10], ks[] = new int[10]; for(int i=0; i<10; i++) ws[i] = in.nextInt(); for(int i=0; i<10; i++) ks[i] = in.nextInt(); A...
Main.java:13: error: cannot find symbol Arrays.sort(ks); ^ symbol: variable Arrays location: class Main Main.java:14: error: cannot find symbol Arrays.sort(ws); ^ symbol: variable Arrays location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u194854904|p00456|0
u194854904|p00456|0
codenet
Compile Error
510
v2_s455270992
s455270992
s455270992
p00458
p00458
u079104535
u079104535
1,356,924,029
2012-12-31T03:20:29
Main.java
import java.util.*; public class Main { static int n, m, ans; static int[] dx = {0,0,-1,1}, dy = {-1,1,0,0}; static boolean[][] map, check; public static void dfs (int y, int x, int step) { max[y][x] = step; check[y][x] = true; boolean f = true; for (int i = 0; i < dx.length; i++) { int nextX = x + dx...
Main.java:10: error: cannot find symbol max[y][x] = step; ^ symbol: variable max location: class Main Main.java:36: error: cannot find symbol max = new int[n][m]; ^ symbol: variable max location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u079104535|p00458|0
u079104535|p00458|0
codenet
Compile Error
1,086
v2_s523075829
s523075829
s523075829
p00458
p00458
u220160744
u220160744
1,531,890,382
2018-07-18T05:06:22
Main.java
d
Main.java:1: error: reached end of file while parsing ? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u220160744|p00458|0
u220160744|p00458|0
codenet
Compile Error
4
v2_s956494145
s956494145
s956494145
p00463
p00463
u211138527
u211138527
1,455,024,699
2016-02-09T13:31:39
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:51: error: array required, but int found else if(swp[i][0]<k) tot=Math.min(tot,tot-scr[pos[i][0]]+scr[pos[i][1]]); ^ Main.java:51: error: array required, but int found else if(swp[i][0]<k) tot=Math.min(tot,tot-scr[pos[i][0]]+scr[pos[i][1]]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00463|0
u211138527|p00463|0
codenet
Compile Error
3,716
v2_s145253011
s145253011
s145253011
p00464
p00464
u392271245
u392271245
1,364,377,872
2013-03-27T09:51:12
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int x = 0; int y = 0; int h; int w; int n; int[][] route; while(ture){ h = scan.nextInt(); w = scan.nextInt(); n = scan.nextInt(); if(h == 0 && w == 0 && n == 0){ ...
Main.java:12: error: cannot find symbol while(ture){ ^ symbol: variable ture location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u392271245|p00464|0
u392271245|p00464|0
codenet
Compile Error
717
v2_s777128670
s777128670
s777128670
p00465
p00465
u137027976
u137027976
1,406,390,672
2014-07-26T16:04:32
Main.java
### constant MAX_INT = 1 << 30 ### main loop do r = gets.strip.to_i break if r == 0 mlss = [] for k in (0..1) w, h, ex, ey = gets.strip.split(' ').map{|s| s.to_i} ex -= 1 ey -= 1 als = h.times.map{gets.strip.split(' ').map{|s| s.to_i}} mls = h.times.map{w.times.map{MAX_INT}} visite...
Main.java:1: error: illegal character: '#' ### constant ^ Main.java:1: error: illegal character: '#' ### constant ^ Main.java:1: error: illegal character: '#' ### constant ^ Main.java:3: error: class, interface, enum, or record expected MAX_INT = 1 << 30 ^ Main.java:5: error: illegal character: '#' ### main ^ Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u137027976|p00465|1
u137027976|p00465|0
codenet
Compile Error
1,401
v2_s828564817
s828564817
s828564817
p00466
p00466
u453670013
u453670013
1,541,144,910
2018-11-02T07:48:30
Main.java
#include <stdio.h> int main(void) { int goukei, i, n; scanf("%d", &goukei); for(i = 0; i < 9; i++){ scanf("%d", &n); goukei = goukei - n; } printf("%d\n", goukei); 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: class, interface, enum, or record expected scanf("%d", &goukei); ^ Main.java:6: error: class, interface, enum, or record expected for(i = 0;...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u453670013|p00466|0
u453670013|p00466|0
codenet
Compile Error
188
v2_s234590141
s234590141
s234590141
p00471
p00471
u197786702
u197786702
1,370,524,124
2013-06-06T13:08:44
Main.java
#include <math.h> #include <utility> #include <string> #include <vector> #include <algorithm> #include <iostream> using namespace std; int m; int n; int map[10][10] = {0}; int cnt = 0; int churchx; int churchy; int dx[4] = {-1,1,0,0}; int dy[4] = {0,0,-1,1}; int saiki( int xinput, int yinput, int nokori ) { for...
Main.java:1: error: illegal character: '#' #include <math.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <math.h> ^ Main.java:2: error: illegal character: '#' #include <utility> ^ Main.java:3: error: illegal character: '#' #include <string> ^ Main.java:4: error: illegal character:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u197786702|p00471|0
u197786702|p00471|0
codenet
Compile Error
1,770
v2_s807771197
s807771197
s807771197
p00473
p00473
u211138527
u211138527
1,454,419,269
2016-02-02T13:21:09
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:21: error: illegal start of expression for(int j=;j<m;j++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00473|0
u211138527|p00473|0
codenet
Compile Error
3,271
v2_s112040291
s112040291
s112040291
p00474
p00474
u759934006
u759934006
1,374,771,468
2013-07-25T16:57:48
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Comparator; import java.util.PriorityQueue; import java.util.Queue; /** * Icicles */ public class Main { static P0551 main = new P0551(); public static void main(String[] args) throws IOException { Bu...
Main.java:13: error: cannot find symbol static P0551 main = new P0551(); ^ symbol: class P0551 location: class Main Main.java:13: error: cannot find symbol static P0551 main = new P0551(); ^ symbol: class P0551 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759934006|p00474|2
u759934006|p00474|1
codenet
Compile Error
1,877
v2_s068425300
s068425300
s068425300
p00478
p00478
u116766943
u116766943
1,332,163,620
2012-03-19T13:27:00
Main.java
import java.util.*; class Main{ public static void main(String[] args) { Scanner in = new Scanner(System.in); String s,s2; int n,de=0; s = in.next(); n = in.nextInt(); for(int i=0;i<n;i++) { s2 = in.next(); int ln = s2.length(); s2 = s2 + s2; while(ln*2-- > 0) { if(s2.contains(s)) ...
Main.java:15: error: unexpected type while(ln*2-- > 0) ^ required: variable found: value 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u116766943|p00478|0
u116766943|p00478|0
codenet
Compile Error
463
v2_s693138436
s693138436
s693138436
p00479
p00479
u229177350
u229177350
1,304,237,355
2011-05-01T08:09:15
Main.java
import java.util.*;class Main{public static void main(String[]n){Scanner s=new Scanner(System.in);for(int n=s.nextInt()+1,m=n/2,a,b,i=s.nextInt();i-->0;)System.out.println((m-1-Math.max(Math.abs((a=s.nextInt()-m)>0&&n%2>0?a-1:a),Math.abs((b=s.nextInt()-m)>0&&n%2>0?b-1:b)))%3+1);}}
Main.java:1: error: variable n is already defined in method main(String[]) import java.util.*;class Main{public static void main(String[]n){Scanner s=new Scanner(System.in);for(int n=s.nextInt()+1,m=n/2,a,b,i=s.nextInt();i-->0;)System.out.println((m-1-Math.max(Math.abs((a=s.nextInt()-m)>0&&n%2>0?a-1:a),Math.abs((b=s.ne...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u229177350|p00479|0
u229177350|p00479|0
codenet
Compile Error
281
v2_s106154482
s106154482
s106154482
p00480
p00480
u104102582
u104102582
1,436,942,069
2015-07-15T06:34:29
Main2.java
import java.util.Scanner; // First Grader public class Main2 { public static void main(String[] args) { new Main2().run(); } void run() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] number = new int[n]; for (int i = 0; i < n; i++) number[i] = sc.nextInt(); long[][] dp = new long...
Main2.java:31: error: class, interface, enum, or record expected import java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u104102582|p00480|0
u104102582|p00480|0
codenet
Compile Error
1,333
v2_s879192747
s879192747
s879192747
p00480
p00480
u104102582
u104102582
1,436,942,081
2015-07-15T06:34:41
Main.java
import java.util.Scanner; // First Grader public class Main { public static void main(String[] args) { new Main2().run(); } void run() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] number = new int[n]; for (int i = 0; i < n; i++) number[i] = sc.nextInt(); long[][] dp = new long[...
Main.java:31: error: class, interface, enum, or record expected import java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u104102582|p00480|0
u104102582|p00480|0
codenet
Compile Error
1,332
v2_s570137143
s570137143
s570137143
p00480
p00480
u104102582
u104102582
1,436,942,117
2015-07-15T06:35:17
Main.java
import java.util.Scanner; // First Grader public class Main { public static void main(String[] args) { new Main2().run(); } void run() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] number = new int[n]; for (int i = 0; i < n; i++) number[i] = sc.nextInt(); long[][] dp = new long[...
Main.java:6: error: cannot find symbol new Main2().run(); ^ symbol: class Main2 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u104102582|p00480|0
u104102582|p00480|0
codenet
Compile Error
665
v2_s978729607
s978729607
s978729607
p00481
p00481
u763534154
u763534154
1,436,891,978
2015-07-14T16:39:38
AOJ0558.java
import java.util.ArrayDeque; import java.util.Arrays; import java.util.Scanner; /** * Created by sotetsuk on 2015/07/14. */ public class AOJ0558 implements { public static final int MAX_H = 1005; public static final int MAX_W = 1005; public static final int MAX_N = 15; public static int H, W, N; ...
AOJ0558.java:8: error: illegal start of type public class AOJ0558 implements { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u763534154|p00481|0
u763534154|p00481|0
codenet
Compile Error
2,735
v2_s031461031
s031461031
s031461031
p00481
p00481
u763534154
u763534154
1,436,891,988
2015-07-14T16:39:48
Main.java
import java.util.ArrayDeque; import java.util.Arrays; import java.util.Scanner; /** * Created by sotetsuk on 2015/07/14. */ public class Main implements { public static final int MAX_H = 1005; public static final int MAX_W = 1005; public static final int MAX_N = 15; public static int H, W, N; pub...
Main.java:8: error: illegal start of type public class Main implements { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u763534154|p00481|0
u763534154|p00481|0
codenet
Compile Error
2,732
v2_s576067553
s576067553
s576067553
p00481
p00481
u807809285
u807809285
1,489,725,587
2017-03-17T04:39:47
Main.java
import com.sun.xml.internal.xsom.impl.scd.Iterators; import java.util.*; public class Main { private static class Point { int x; int y; Point(int x, int y) { this.x = x; this.y = y; } public boolean equals(Point p) { return p.x == x &&...
Main.java:1: error: package com.sun.xml.internal.xsom.impl.scd does not exist import com.sun.xml.internal.xsom.impl.scd.Iterators; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u807809285|p00481|0
u807809285|p00481|0
codenet
Compile Error
2,892
v2_s890505569
s890505569
s890505569
p00481
p00481
u859978914
u859978914
1,461,940,380
2016-04-29T14:33:00
Main.java
package cad.week2.a2; import java.awt.Point; import java.util.LinkedList; import java.util.Scanner; import cad.week2.a.Main.P; public class Main{ public static class P{ int x; int y; public P(){ } public P(int x, int y) { super(); this.x = x; this.y = y; } } static P s = new P(); stat...
Main.java:7: error: package cad.week2.a.Main does not exist import cad.week2.a.Main.P; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u859978914|p00481|1
u859978914|p00481|1
codenet
Compile Error
1,884
v2_s424528314
s424528314
s424528314
p00485
p00485
u211138527
u211138527
1,454,417,240
2016-02-02T12:47:20
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:34: error: ';' expected md[i]=1<<27 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00485|0
u211138527|p00485|0
codenet
Compile Error
5,641
v2_s843684933
s843684933
s843684933
p00487
p00487
u211138527
u211138527
1,455,277,937
2016-02-12T11:52:17
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:37: error: cannot find symbol for(int i=0;i<n;i++){ ^ symbol: variable n location: class Main Main.java:42: error: cannot find symbol for(int i=0;i<m;i++) tot+=buff[n-1-i]; ^ symbol: variable n location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00487|0
u211138527|p00487|0
codenet
Compile Error
3,199
v2_s393965984
s393965984
s393965984
p00487
p00487
u211138527
u211138527
1,455,282,754
2016-02-12T13:12:34
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:18: error: ';' expected int[][] bs=new int[n][] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00487|0
u211138527|p00487|0
codenet
Compile Error
3,524
v2_s826236429
s826236429
s826236429
p00487
p00487
u211138527
u211138527
1,455,282,972
2016-02-12T13:16:12
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:52: error: cannot find symbol if(cnt!=m) continue; ^ symbol: variable cnt location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00487|0
u211138527|p00487|0
codenet
Compile Error
3,548
v2_s445526135
s445526135
s445526135
p00487
p00487
u211138527
u211138527
1,455,291,416
2016-02-12T15:36:56
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.util.PriorityQueue; import java.math.BigInteger; public cla...
Main.java:37: error: '(' or '[' expected PriorityQueue<Integer> pque=new PriorityQueue>(); ^ Main.java:37: error: -> expected PriorityQueue<Integer> pque=new PriorityQueue>(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00487|1
u211138527|p00487|0
codenet
Compile Error
3,460
v2_s320269072
s320269072
s320269072
p00487
p00487
u211138527
u211138527
1,455,291,468
2016-02-12T15:37:48
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.util.PriorityQueue; import java.math.BigInteger; public cla...
Main.java:29: error: method ok in class Main cannot be applied to given types; if(ok(mid)) lb=mid; ^ required: int,int[][] found: int reason: actual and formal argument lists differ in length Main.java:40: error: cannot find symbol pque.offer(-fs[i][0]); ^ symbol: variable fs locat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00487|1
u211138527|p00487|0
codenet
Compile Error
3,461
v2_s720337452
s720337452
s720337452
p00487
p00487
u211138527
u211138527
1,455,291,510
2016-02-12T15:38:30
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.util.PriorityQueue; import java.math.BigInteger; public cla...
Main.java:41: error: cannot find symbol pque.offer(-fs[i][0]); ^ symbol: variable fs location: class Main Main.java:42: error: cannot find symbol tot+=(long)fs[i][0]; ^ symbol: variable fs location: class Main Main.java:44: error: cannot find symbol if(tot<=(long)fs[m-1][1]*(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00487|1
u211138527|p00487|0
codenet
Compile Error
3,482