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_s778361586
s778361586
s778361586
p00517
p00517
u164295725
u164295725
1,398,240,633
2014-04-23T08:10:33
AOJ0594.java
public class AOJ0594 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); int n = sc.nextInt(); int result,x,result2,y; int mov = 0; int go[][] = new int[n][2]; for(int i = 0; i < n; i++){ ...
AOJ0594.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class AOJ0594 AOJ0594.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class AOJ0594 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u164295725|p00517|0
u164295725|p00517|0
codenet
Compile Error
929
v2_s607985735
s607985735
s607985735
p00517
p00517
u164295725
u164295725
1,398,240,693
2014-04-23T08:11:33
main.java
public class main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); int n = sc.nextInt(); int result,x,result2,y; int mov = 0; int go[][] = new int[n][2]; for(int i = 0; i < n; 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
u164295725|p00517|0
u164295725|p00517|0
codenet
Compile Error
926
v2_s138043066
s138043066
s138043066
p00517
p00517
u164295725
u164295725
1,398,240,917
2014-04-23T08:15:17
AOJ0594.java
public class AOJ0594 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); int n = sc.nextInt(); int result,x,result2,y; int mov = 0; int go[][] = new int[n][2]; for(int i = 0; i < n; i++){ ...
AOJ0594.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class AOJ0594 AOJ0594.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class AOJ0594 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u164295725|p00517|0
u164295725|p00517|0
codenet
Compile Error
929
v2_s203064906
s203064906
s203064906
p00517
p00517
u211138527
u211138527
1,439,130,729
2015-08-09T14:32:09
Main.java
import java.io.*; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); public sttic void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputSteamReader(System.in)); String line=""; while((line=br.readLine())!=null&&!line.isEmpty())...
Main.java:8: error: <identifier> expected public sttic void main(String[] args) throws IOException{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00517|0
u211138527|p00517|0
codenet
Compile Error
1,048
v2_s772182922
s772182922
s772182922
p00517
p00517
u211138527
u211138527
1,439,130,879
2015-08-09T14:34:39
Main.java
import java.io.*; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputSteamReader(System.in)); String line=""; while((line=br.readLine())!=null&&!line.isEmpty()...
Main.java:9: error: cannot find symbol BufferedReader br=new BufferedReader(new InputSteamReader(System.in)); ^ symbol: class InputSteamReader location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00517|0
u211138527|p00517|0
codenet
Compile Error
1,049
v2_s445310322
s445310322
s445310322
p00517
p00517
u670984940
u670984940
1,506,852,020
2017-10-01T10:00:20
Main.java
//============================================================================ // Name : JOI.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #include <iostr...
Main.java:9: error: illegal character: '#' #include <iostream> ^ Main.java:9: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:11: error: unnamed classes are a preview feature and are disabled by default. char chr; ^ (use --enable-preview to enable unnamed classes) Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u670984940|p00517|0
u670984940|p00517|0
codenet
Compile Error
783
v2_s095598633
s095598633
s095598633
p00517
p00517
u670984940
u670984940
1,506,852,036
2017-10-01T10:00:36
Main.java
//============================================================================ // Name : JOI.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #include <iostr...
Main.java:9: error: illegal character: '#' #include <iostream> ^ Main.java:9: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:11: error: unnamed classes are a preview feature and are disabled by default. char chr; ^ (use --enable-preview to enable unnamed classes) Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u670984940|p00517|0
u670984940|p00517|0
codenet
Compile Error
777
v2_s113341653
s113341653
s113341653
p00518
p00518
u211138527
u211138527
1,439,139,658
2015-08-09T17:00:58
Main.java
import java.io.*; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); while((line=br.readLine())!=null&&!line.isEmpty()){ int n=Integer.parseInt(line); char[] mem={'J',...
Main.java:30: error: ';' expected dp[i][1]+=dp[i-1][1]+dp[i-1][4]+dp[i-1][6]++dp[i-1][7]; ^ Main.java:30: error: not a statement dp[i][1]+=dp[i-1][1]+dp[i-1][4]+dp[i-1][6]++dp[i-1][7]; ^ Main.java:36: error: ';' expected dp[i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00518|0
u211138527|p00518|0
codenet
Compile Error
1,641
v2_s881153766
s881153766
s881153766
p00518
p00518
u211138527
u211138527
1,439,139,706
2015-08-09T17:01:46
Main.java
import java.io.*; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); while((line=br.readLine())!=null&&!line.isEmpty()){ int n=Integer.parseInt(line); char[] mem={'J',...
Main.java:9: error: cannot find symbol while((line=br.readLine())!=null&&!line.isEmpty()){ ^ symbol: variable line location: class Main Main.java:9: error: cannot find symbol while((line=br.readLine())!=null&&!line.isEmpty()){ ^ symbol: variable line location: class...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00518|0
u211138527|p00518|0
codenet
Compile Error
1,638
v2_s678451989
s678451989
s678451989
p00518
p00518
u211138527
u211138527
1,439,870,171
2015-08-18T03:56:11
Main.java
import java.io.*; import java.util.Arrays; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int MOD=10007; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine(...
Main.java:19: error: bad operand types for binary operator '&&' if(i>>0&1&&i>>pic[0]&1) dp[0][i]=1; ^ first type: int second type: int Main.java:24: error: bad operand types for binary operator '&&' if(j>>pic[i]&1&&k>>pic[i]&1) dp[i][k]+=dp[i-1][j]; ^ first type: int second type: int Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00518|1
u211138527|p00518|1
codenet
Compile Error
964
v2_s568720215
s568720215
s568720215
p00518
p00518
u211138527
u211138527
1,439,870,694
2015-08-18T04:04:54
Main.java
import java.io.*; import java.util.Arrays; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int MOD=10007; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine(...
Main.java:19: error: bad operand types for binary operator '&' if(i>>(1<<0)&1==0&&i>>pic[0]&1==0) dp[0][i]=1; ^ first type: int second type: boolean Main.java:19: error: bad operand types for binary operator '&' if(i>>(1<<0)&1==0&&i>>pic[0]&1==0) dp[0][i]=1; ^ first type: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00518|1
u211138527|p00518|1
codenet
Compile Error
987
v2_s242896105
s242896105
s242896105
p00518
p00518
u211138527
u211138527
1,439,870,868
2015-08-18T04:07:48
Main.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 import java.io.*; import java.util.Arrays; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int MOD=10007; public static void main(String[] args) throws IOEx...
Main.java:2: error: class, interface, enum, or record expected 1 ^ Main.java:45: error: class, interface, enum, or record expected import java.util.Arrays; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00518|1
u211138527|p00518|1
codenet
Compile Error
1,117
v2_s513949830
s513949830
s513949830
p00518
p00518
u211138527
u211138527
1,439,870,917
2015-08-18T04:08:37
Main.java
import java.io.*; import java.util.Arrays; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int MOD=10007; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLi...
Main.java:19: error: bad operand types for binary operator '&&' if((i>>(1<<0)&1)&&(i>>pic[0]&1)) dp[0][i]=1; ^ first type: int second type: int Main.java:24: error: bad operand types for binary operator '&' if((j>>pic[i]&1==0)&&(k>>pic[i]&1==0)) dp[i][k]+=dp[i-1][j]; ^ first type: i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00518|1
u211138527|p00518|1
codenet
Compile Error
999
v2_s346062529
s346062529
s346062529
p00518
p00518
u211138527
u211138527
1,439,871,173
2015-08-18T04:12:53
Main.java
import java.io.*; import java.util.Arrays; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int MOD=10007; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLi...
Main.java:25: error: bad operand type int for unary operator '!' if((!j>>pic[i]&1)==0&&(k>>pic[i]&1)==0&&(j&k)!=0) dp[i][k]+=dp[i-1][j]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00518|1
u211138527|p00518|1
codenet
Compile Error
1,007
v2_s285128873
s285128873
s285128873
p00518
p00518
u211138527
u211138527
1,439,872,980
2015-08-18T04:43:00
Main.java
? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 import java.io.*; import java.util.Arrays; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int MOD=10007; public static void main(String[] args) throws ...
Main.java:1: error: class, interface, enum, or record expected ? ^ Main.java:45: error: class, interface, enum, or record expected import java.util.Arrays; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00518|1
u211138527|p00518|1
codenet
Compile Error
1,102
v2_s948460949
s948460949
s948460949
p00519
p00519
u211138527
u211138527
1,439,904,536
2015-08-18T13:28:56
Main.java
import java.io.*; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.PriorityQueue; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; public static cl...
Main.java:116: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00519|0
u211138527|p00519|0
codenet
Compile Error
2,766
v2_s944836977
s944836977
s944836977
p00519
p00519
u211138527
u211138527
1,439,904,576
2015-08-18T13:29:36
Main.java
import java.io.*; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.PriorityQueue; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; public static cl...
Main.java:57: error: non-static variable this cannot be referenced from a static context array[i]=new MyArrayList(); ^ Main.java:110: error: cannot find symbol if(d[e.to]>d[v]+e.cost){ ^ symbol: variable d location: class Main Main.java:110: error: cannot find symbol if(d[e.to]>d[v]+e.cost){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00519|0
u211138527|p00519|0
codenet
Compile Error
2,768
v2_s098926435
s098926435
s098926435
p00519
p00519
u211138527
u211138527
1,439,904,958
2015-08-18T13:35:58
Main.java
import java.io.*; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.PriorityQueue; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; public static cl...
Main.java:66: error: cannot find symbol for(int i=0;i<n;i++) bfs(i,d[i],visited,cg,array); ^ symbol: variable visited location: class Main Main.java:79: error: cannot find symbol Arrays.fill(visited,false); ^ symbol: variable visited location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00519|0
u211138527|p00519|0
codenet
Compile Error
2,741
v2_s124890440
s124890440
s124890440
p00519
p00519
u211138527
u211138527
1,439,907,842
2015-08-18T14:24:02
Main.java
import java.io.*; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.PriorityQueue; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE; public static clas...
Main.java:58: error: incompatible types: MyArrayList[] cannot be converted to MyArrayList MyArrayList carray=array.clone(); ^ Main.java:69: error: array required, but MyArrayList found if(cg[i][j]) carray[i].add(new Edge(j,c[i])); ^ Main.java:72: error: incompatible type...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00519|0
u211138527|p00519|0
codenet
Compile Error
2,682
v2_s519773697
s519773697
s519773697
p00519
p00519
u211138527
u211138527
1,439,909,468
2015-08-18T14:51:08
Main.java
import java.io.*; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.PriorityQueue; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE; public static clas...
Main.java:82: error: illegal start of expression while(!que.isEmpty()&&){ ^ Main.java:100: error: ')' expected while(!pque.isEmpty()dist[dist.length-1]!=INF){ ^ Main.java:100: error: not a statement while(!pque.isEmpty()dist[dist.length-1]!=INF){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00519|0
u211138527|p00519|0
codenet
Compile Error
2,733
v2_s615570985
s615570985
s615570985
p00519
p00519
u211138527
u211138527
1,439,985,744
2015-08-19T12:02:24
Main.java
import java.io.*; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.PriorityQueue; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=In...
Main.java:45: error: cannot find symbol int n=Integer.parseInt(line.split(" ")[0]); ^ symbol: variable line location: class Main Main.java:46: error: cannot find symbol int k=Integer.parseInt(line.split(" ")[1]); ^ symbol: variable line location: class Main 2 er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00519|1
u211138527|p00519|1
codenet
Compile Error
2,773
v2_s922123101
s922123101
s922123101
p00519
p00519
u211138527
u211138527
1,439,986,242
2015-08-19T12:10:42
Main.java
import java.io.*; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.PriorityQueue; import java.util.StringTokenizer; class Main{ static final int INF=Integer.MAX_VALUE; public static class Edge{ int to; int cost; p...
Main.java:44: error: cannot find symbol int n=Integer.parseInt(line.split(" ")[0]); ^ symbol: variable line location: class Main Main.java:45: error: cannot find symbol int k=Integer.parseInt(line.split(" ")[1]); ^ symbol: variable line location: class Main 2 er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00519|1
u211138527|p00519|1
codenet
Compile Error
2,703
v2_s959487757
s959487757
s959487757
p00521
p00521
u211138527
u211138527
1,440,656,414
2015-08-27T06:20:14
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:50: error: <identifier> expected public staitc int numOfEmblem(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00521|0
u211138527|p00521|0
codenet
Compile Error
2,937
v2_s401743298
s401743298
s401743298
p00521
p00521
u211138527
u211138527
1,440,656,437
2015-08-27T06:20:37
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:25: error: illegal initializer for char static final char JOI={'J','O','I'}; ^ Main.java:31: error: cannot find symbol flag=ir.makeCharMap(m,n); ^ symbol: method makeCharMap(int,int) location: variable ir of type InputReader Main.java:32: error: cannot find symbol emblem=ir....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00521|0
u211138527|p00521|0
codenet
Compile Error
2,937
v2_s366626825
s366626825
s366626825
p00521
p00521
u211138527
u211138527
1,440,656,508
2015-08-27T06:21:48
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:31: error: cannot find symbol flag=ir.makeCharMap(m,n); ^ symbol: method makeCharMap(int,int) location: variable ir of type InputReader Main.java:32: error: cannot find symbol emblem=ir.makeCharMap(2,2); ^ symbol: method makeCharMap(int,int) location: variable ir of type InputReade...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00521|0
u211138527|p00521|0
codenet
Compile Error
2,936
v2_s217133916
s217133916
s217133916
p00521
p00521
u211138527
u211138527
1,440,658,967
2015-08-27T07:02:47
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:37: error: incompatible types: possible lossy conversion from int to char count[i][j]=_count(i-1,j-1)+_count(i,j-1)+_count(i,j)+_count(i-1,j); ^ Main.java:38: error: cannot find symbol sum+=count[i][j]; ^ symbol: variable sum location: class Main Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00521|0
u211138527|p00521|0
codenet
Compile Error
3,211
v2_s727789532
s727789532
s727789532
p00521
p00521
u211138527
u211138527
1,440,659,236
2015-08-27T07:07:16
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:39: error: cannot find symbol sum+=t; ^ symbol: variable sum location: class Main Main.java:47: error: cannot find symbol int cnt=sum-4*(count[i-1][j-1]+count[i][j-1]+count[i][j]+count[i-1][j]); ^ symbol: variable sum location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00521|0
u211138527|p00521|0
codenet
Compile Error
3,253
v2_s375467680
s375467680
s375467680
p00521
p00521
u211138527
u211138527
1,440,659,286
2015-08-27T07:08: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:63: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00521|0
u211138527|p00521|0
codenet
Compile Error
3,259
v2_s453888129
s453888129
s453888129
p00521
p00521
u211138527
u211138527
1,440,659,713
2015-08-27T07:15:13
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:58: error: cannot find symbol ans=Math.max(cnt,ans); ^ symbol: variable cnt location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00521|0
u211138527|p00521|0
codenet
Compile Error
3,375
v2_s316626869
s316626869
s316626869
p00522
p00522
u211138527
u211138527
1,450,709,878
2015-12-21T14:57:58
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:60: error: cannot find symbol for(int i=0;i<n;i++) ret[a.length-1-i]=a[i]; ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00522|1
u211138527|p00522|1
codenet
Compile Error
3,870
v2_s670822651
s670822651
s670822651
p00523
p00523
u211138527
u211138527
1,441,113,835
2015-09-01T13:23:55
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.HashSet; import java.uti...
Main.java:40: error: variable a is already defined in method main(String[]) long a=sum[i+N]-sum[r]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00523|0
u211138527|p00523|0
codenet
Compile Error
2,712
v2_s710358250
s710358250
s710358250
p00523
p00523
u211138527
u211138527
1,455,096,396
2016-02-10T09:26:36
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:17: error: cannot find symbol N=ir.nextInt(); ^ symbol: variable N location: class Main Main.java:18: error: cannot find symbol int[] s=ir.nextIntArray(N); ^ symbol: variable N location: class Main Main.java:19: error: cannot find symbol long[] sum=new long[2*N+1]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00523|1
u211138527|p00523|1
codenet
Compile Error
3,225
v2_s135122699
s135122699
s135122699
p00523
p00523
u673816849
u673816849
1,522,992,950
2018-04-06T05:35:50
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = BufferedReader(is); String str = br.readLine(); int kosuu = Integer.perseInt(str); int[] A = new int[kosuu];//配列の宣言の仕方自信なし int m = 2000000000, M = 0;...
Main.java:16: error: ';' expected A[i] = Integer.perseInt(br.readLine())//?????????????????????????? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673816849|p00523|0
u673816849|p00523|0
codenet
Compile Error
1,054
v2_s213421696
s213421696
s213421696
p00523
p00523
u673816849
u673816849
1,522,993,058
2018-04-06T05:37:38
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = BufferedReader(is); String str = br.readLine(); int kosuu = Integer.perseInt(str); int[] A = new int[kosuu];//配列の宣言の仕方自信なし int m = 2000000000, M = 0;...
Main.java:16: error: ';' expected str = br.readLine() ^ Main.java:17: error: ';' expected A[i] = Integer.perseInt(str)//?????????????????????????? ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673816849|p00523|0
u673816849|p00523|0
codenet
Compile Error
1,067
v2_s563870074
s563870074
s563870074
p00523
p00523
u673816849
u673816849
1,522,993,241
2018-04-06T05:40:41
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = BufferedReader(is); String str = br.readLine(); int kosuu = Integer.perseInt(str); int[] A = new int[kosuu];//配列の宣言の仕方自信なし int m =...
Main.java:6: error: cannot find symbol BufferedReader br = BufferedReader(is); ^ symbol: method BufferedReader(InputStreamReader) location: class Main Main.java:9: error: cannot find symbol int kosuu = Integer.perseInt(str); ^ symbol: method perseInt(String) lo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673816849|p00523|0
u673816849|p00523|0
codenet
Compile Error
1,088
v2_s883553113
s883553113
s883553113
p00523
p00523
u673816849
u673816849
1,522,993,433
2018-04-06T05:43:53
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); String str = br.readLine(); int kosuu = Integer.perseInt(str); int[] A = new int[kosuu];//配列の宣言の仕方自信なし int...
Main.java:9: error: cannot find symbol int kosuu = Integer.perseInt(str); ^ symbol: method perseInt(String) location: class Integer Main.java:17: error: cannot find symbol A[i] = Integer.perseInt(str);//?????????????????????????? ^ symbol: method perseInt(String) l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673816849|p00523|0
u673816849|p00523|0
codenet
Compile Error
1,092
v2_s410659322
s410659322
s410659322
p00523
p00523
u673816849
u673816849
1,523,361,029
2018-04-10T11:50:29
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); String str = br.readLine(); int N = Integer.parseInt(str); int[] A = new int[N]; long int m = 200000000000...
Main.java:11: error: not a statement long int m = 200000000000, M = 0; ^ Main.java:11: error: ';' expected long int m = 200000000000, M = 0; ^ Main.java:11: error: integer number too large long int m = 200000000000, M = 0; ^ Main.java:37: error: integer number too large m = 2000000000...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673816849|p00523|1
u673816849|p00523|1
codenet
Compile Error
1,318
v2_s562501838
s562501838
s562501838
p00523
p00523
u673816849
u673816849
1,523,361,099
2018-04-10T11:51:39
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); String str = br.readLine(); int N = Integer.parseInt(str); int[] A = new int[N]; long m = 200000000000, M ...
Main.java:11: error: integer number too large long m = 200000000000, M = 0; ^ Main.java:37: error: integer number too large m = 200000000000; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673816849|p00523|1
u673816849|p00523|1
codenet
Compile Error
1,314
v2_s362519978
s362519978
s362519978
p00523
p00523
u673816849
u673816849
1,523,361,158
2018-04-10T11:52:38
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); String str = br.readLine(); int N = Integer.parseInt(str); int[] A = new int[N]; long m = 20000000000, M =...
Main.java:11: error: integer number too large long m = 20000000000, M = 0; ^ Main.java:37: error: integer number too large m = 20000000000; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673816849|p00523|1
u673816849|p00523|1
codenet
Compile Error
1,312
v2_s509127515
s509127515
s509127515
p00523
p00523
u673816849
u673816849
1,523,362,029
2018-04-10T12:07:09
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); String str = br.readLine(); int N = Integer.parseInt(str); long[] A = new int[N]; long m = 1000000000000L,...
Main.java:10: error: incompatible types: int[] cannot be converted to long[] long[] A = new int[N]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u673816849|p00523|1
u673816849|p00523|1
codenet
Compile Error
1,310
v2_s061032101
s061032101
s061032101
p00524
p00524
u211138527
u211138527
1,441,117,282
2015-09-01T14:21:22
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.HashSet; import java.uti...
Main.java:61: error: non-static variable this cannot be referenced from a static context for(int i=0;i<N;i++) list[i]=new MyArrayList(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00524|0
u211138527|p00524|0
codenet
Compile Error
3,665
v2_s503653391
s503653391
s503653391
p00524
p00524
u211138527
u211138527
1,441,119,928
2015-09-01T15:05:28
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.HashSet; import java.uti...
Main.java:73: error: cannot find symbol nh=H[N-1]; ^ symbol: variable nh location: class Main Main.java:74: error: cannot find symbol nv=N-1; ^ symbol: variable nv location: class Main Main.java:76: error: cannot find symbol while(nv!=0){ ^ symbol: variable nv location: class Main Main.java:77: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00524|0
u211138527|p00524|0
codenet
Compile Error
3,811
v2_s389999925
s389999925
s389999925
p00524
p00524
u211138527
u211138527
1,441,119,969
2015-09-01T15:06:09
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.HashSet; import java.uti...
Main.java:77: error: incompatible types: possible lossy conversion from long to int int d=dist[nv]-dist[prev[nv]]; ^ Main.java:87: error: cannot find symbol out.printn(ans); ^ symbol: method printn(long) location: variable out of type PrintWriter 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00524|0
u211138527|p00524|0
codenet
Compile Error
3,819
v2_s203420650
s203420650
s203420650
p00524
p00524
u211138527
u211138527
1,441,123,102
2015-09-01T15:58:22
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.HashSet; import java.uti...
Main.java:66: error: incompatible types: possible lossy conversion from long to int int T=ir.nextLong(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00524|0
u211138527|p00524|0
codenet
Compile Error
3,906
v2_s427584018
s427584018
s427584018
p00524
p00524
u211138527
u211138527
1,441,123,142
2015-09-01T15:59:02
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.HashSet; import java.uti...
Main.java:67: error: incompatible types: possible lossy conversion from long to int if(H[A]>=T) list[A].add(new Edge(B,T)); ^ Main.java:68: error: incompatible types: possible lossy conversion from long to int if(H[B]>=T) list[B].add(new Edge(A,T)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00524|0
u211138527|p00524|0
codenet
Compile Error
3,907
v2_s021588533
s021588533
s021588533
p00524
p00524
u211138527
u211138527
1,455,106,468
2016-02-10T12:14:28
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:102: error: ';' expected pque.offerLast(new int[]{d[to],to,nh}) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00524|1
u211138527|p00524|1
codenet
Compile Error
4,537
v2_s339016594
s339016594
s339016594
p00524
p00524
u211138527
u211138527
1,455,106,554
2016-02-10T12:15:54
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:100: error: cannot find symbol if(d[to]>d[v]+re){ ^ symbol: variable d location: class G Main.java:100: error: cannot find symbol if(d[to]>d[v]+re){ ^ symbol: variable d location: class G Main.java:101: error: cannot find symbol d[to]=d[v]+re; ^ symbol: va...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00524|1
u211138527|p00524|1
codenet
Compile Error
4,538
v2_s523691763
s523691763
s523691763
p00524
p00524
u211138527
u211138527
1,455,106,604
2016-02-10T12:16:44
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:102: error: cannot find symbol pque.offerLast(new int[]{dist[to],to,nh}); ^ symbol: method offerLast(int[]) location: variable pque of type PriorityQueue<int[]> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00524|1
u211138527|p00524|1
codenet
Compile Error
4,553
v2_s121095985
s121095985
s121095985
p00524
p00524
u211138527
u211138527
1,455,107,341
2016-02-10T12:29:01
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:107: error: incompatible types: long[] cannot be converted to int[] return dist; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00524|1
u211138527|p00524|1
codenet
Compile Error
4,577
v2_s831246298
s831246298
s831246298
p00531
p00531
u211138527
u211138527
1,439,063,194
2015-08-08T19:46:34
Main.java
import java.io.*; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null&&!line.isEmpty()){ int a=Integer.parseInt(line); ...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00531|0
u211138527|p00531|0
codenet
Compile Error
557
v2_s026497362
s026497362
s026497362
p00531
p00531
u547217070
u547217070
1,460,615,693
2016-04-14T06:34:53
Main.java
class Main{ public static void main(String[] args){ if(p*a-(p-c)*d+b)>0; System.out.println((p-c)*d+d); else System.out.println(p*a) } }
Main.java:4: error: illegal start of expression if(p*a-(p-c)*d+b)>0; ^ Main.java:6: error: ';' expected else System.out.println(p*a) ^ Main.java:6: error: 'else' without 'if' else System.out.println(p*a) ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547217070|p00531|0
u547217070|p00531|0
codenet
Compile Error
192
v2_s205388760
s205388760
s205388760
p00532
p00532
u211138527
u211138527
1,439,064,612
2015-08-08T20:10:12
Main.java
import java.io.*; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReadrer(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null&&!ine.isEmpty(...
Main.java:9: error: cannot find symbol BufferedReader br=new BufferedReadrer(new InputStreamReader(System.in)); ^ symbol: class BufferedReadrer location: class Main Main.java:11: error: cannot find symbol while((line=br.readLine())!=null&&!ine.isEmpty()){ ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00532|0
u211138527|p00532|0
codenet
Compile Error
895
v2_s390453310
s390453310
s390453310
p00533
p00533
u211138527
u211138527
1,439,066,062
2015-08-08T20:34:22
Main.java
import java.io.*; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null&&!line.isEmpty(...
Main.java:13: error: cannot find symbol int h=Integer.parseInt(st.netToken()); ^ symbol: method netToken() location: variable st of type StringTokenizer Main.java:14: error: cannot find symbol int w=Integer.parseInt(st.netToken()); ^ symbol: method netToken() ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00533|0
u211138527|p00533|0
codenet
Compile Error
765
v2_s949746814
s949746814
s949746814
p00533
p00533
u547217070
u547217070
1,461,214,552
2016-04-21T04:55:52
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int H = sc.nextInt(); int W = sc.nextInt(); int[][] A; A = new int[H][W]; for(int i=0; i<H; i++){...
Main.java:28: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547217070|p00533|0
u547217070|p00533|0
codenet
Compile Error
802
v2_s547946637
s547946637
s547946637
p00533
p00533
u608108146
u608108146
1,461,731,642
2016-04-27T04:34:02
mapcloud.java
import java.util.Scanner; public class mapcloud{ public void draw(int h,int w){ char[] c = new char[w]; int[][] map= new int[h][w]; int t = 0; for(int i = 0; i < h; i++){ t = -1; for(int j = 0; j < w ; j++){ if(c[j] == 'c') t = 0; map...
mapcloud.java:26: error: illegal start of expression public static void main(String[] args) { ^ mapcloud.java:33: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u608108146|p00533|1
u608108146|p00533|1
codenet
Compile Error
830
v2_s240155945
s240155945
s240155945
p00533
p00533
u608108146
u608108146
1,461,814,753
2016-04-28T03:39:13
mapcloud.java
import java.util.Scanner; public class mapcloud{ public int w; public int h; public char[] c = new char[w]; int t = 0; void draw(int h,int w){ int[][] map= new int[h][w]; for(int i = 0; i < h; i++){ t = -1; for(int j = 0; j < w ; j++){ if(c[j] == 'c') t = ...
mapcloud.java:29: error: illegal start of expression public static void main(String[] args) { ^ mapcloud.java:36: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u608108146|p00533|2
u608108146|p00533|2
codenet
Compile Error
851
v2_s349077188
s349077188
s349077188
p00533
p00533
u608108146
u608108146
1,461,814,829
2016-04-28T03:40:29
Main.java
import java.util.Scanner; public class Main{ public int w; public int h; public char[] c = new char[w]; int t = 0; void doIt(int h,int w){ int[][] map= new int[h][w]; for(int i = 0; i < h; i++){ t = -1; for(int j = 0; j < w ; j++){ if(c[j] == 'c') t = 0; ...
Main.java:29: error: illegal start of expression public static void main(String[] args) { ^ Main.java:36: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u608108146|p00533|2
u608108146|p00533|2
codenet
Compile Error
843
v2_s836357086
s836357086
s836357086
p00533
p00533
u608108146
u608108146
1,461,814,929
2016-04-28T03:42:09
Main.java
import java.util.Scanner; public int w; public int h; public class Main{ public int w; public int h; public char[] c = new char[w]; int t = 0; void doIt(int h,int w){ int[][] map= new int[h][w]; for(int i = 0; i < h; i++){ t = -1; for(int j = 0; j < w ; j++){ ...
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public int w; ^ (use --enable-preview to enable unnamed classes) Main.java:30: error: illegal start of expression public static void main(String[] args) { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u608108146|p00533|2
u608108146|p00533|2
codenet
Compile Error
868
v2_s496085982
s496085982
s496085982
p00533
p00533
u931639161
u931639161
1,461,210,998
2016-04-21T03:56:38
main.java
public class main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int h = sc.nextInt(); int w = sc.nextInt(); int[][] section = new int[h][w]; for (int i = 0; i < h; i++){ char [] wether = sc.next().toCharArray(); int count = 0; for(int j = 0; j < w; j++){ if(wethe...
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
u931639161|p00533|1
u931639161|p00533|0
codenet
Compile Error
683
v2_s994140575
s994140575
s994140575
p00534
p00534
u211138527
u211138527
1,439,105,827
2015-08-09T07:37:07
Main.java
import java.io.*; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null&&!line.isEmpty(...
Main.java:12: error: cannot find symbol StringTokenier st=new StringTokenizer(line); ^ symbol: class StringTokenier location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00534|0
u211138527|p00534|0
codenet
Compile Error
789
v2_s900305707
s900305707
s900305707
p00534
p00534
u211138527
u211138527
1,439,106,758
2015-08-09T07:52:38
Main.java
import java.io.*; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while(...
Main.java:18: error: ';' expected tir[m-1][n]=0 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00534|0
u211138527|p00534|0
codenet
Compile Error
873
v2_s541409419
s541409419
s541409419
p00534
p00534
u211138527
u211138527
1,439,106,797
2015-08-09T07:53:17
Main.java
import java.io.*; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while(...
Main.java:17: error: cannot find symbol Arrays.fill(tir[m-1],INF); ^ symbol: variable Arrays location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00534|0
u211138527|p00534|0
codenet
Compile Error
874
v2_s428558611
s428558611
s428558611
p00535
p00535
u211138527
u211138527
1,439,147,831
2015-08-09T19:17:11
Main.java
import java.io.*; import java.util.StringTokenizer; import java.util.Deque; import java.util.ArrayDeque; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; class Pair{ int x; int y; Pair(int x,int y){ this.x=x; this.y=y; } } public staitc void main(String...
Main.java:19: error: <identifier> expected public staitc void main(String[] args) throws IOException{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00535|0
u211138527|p00535|0
codenet
Compile Error
1,442
v2_s965343827
s965343827
s965343827
p00535
p00535
u211138527
u211138527
1,439,147,863
2015-08-09T19:17:43
Main.java
import java.io.*; import java.util.StringTokenizer; import java.util.Deque; import java.util.ArrayDeque; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; class Pair{ int x; int y; Pair(int x,int y){ this.x=x; this.y=y; } } public static void main(String...
Main.java:51: error: non-static variable this cannot be referenced from a static context que.offerLast(new Pair(i,j)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00535|0
u211138527|p00535|0
codenet
Compile Error
1,442
v2_s293555662
s293555662
s293555662
p00535
p00535
u211138527
u211138527
1,439,188,172
2015-08-10T06:29:32
Main.java
import java.io.*; import java.util.StringTokenizer; import java.util.Deque; import java.util.ArrayDeque; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; static int[] d={-1,0,1}; static class Pair{ int x; int y; Pair(int x,int y){ this.x=x; this.y=y; } }...
Main.java:66: error: bad operand types for binary operator '&&' if(i==1&&j=1) continue loop; ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00535|1
u211138527|p00535|1
codenet
Compile Error
1,503
v2_s524984084
s524984084
s524984084
p00535
p00535
u211138527
u211138527
1,439,188,652
2015-08-10T06:37:32
Main.java
import java.io.*; import java.util.StringTokenizer; import java.util.Deque; import java.util.ArrayDeque; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; static int[] d={-1,0,1}; static class Pair{ int x; int y; Pair(int x,int y){ this.x=x; this.y=y; } }...
Main.java:71: error: cannot find symbol else cnt2++; ^ symbol: variable cnt2 location: class Main Main.java:77: error: cannot find symbol if(cnt2+hxy<8) break loop; ^ symbol: variable cnt2 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00535|1
u211138527|p00535|1
codenet
Compile Error
1,546
v2_s110869314
s110869314
s110869314
p00535
p00535
u211138527
u211138527
1,439,188,926
2015-08-10T06:42:06
Main.java
import java.io.*; import java.util.StringTokenizer; import java.util.Deque; import java.util.ArrayDeque; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; static int[] d={-1,0,1}; static class Pair{ int x; int y; Pair(int x,int y){ this.x=x; this.y=y; } }...
Main.java:70: error: array required, but int found if(h[nx][ny]==INF) cnt1++; ^ Main.java:72: error: array required, but int found if(cnt1>=h[x][y]){ ^ Main.java:77: error: array required, but int found if(cnt2+h[x][y]<8) break loop; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00535|1
u211138527|p00535|1
codenet
Compile Error
1,552
v2_s376115425
s376115425
s376115425
p00535
p00535
u211138527
u211138527
1,439,189,593
2015-08-10T06:53:13
Main.java
import java.io.*; import java.util.StringTokenizer; import java.util.Deque; import java.util.ArrayDeque; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; static int[] d={-1,0,1}; static class Pair{ int x; int y; Pair(int x,int y){ this.x=x; this.y=y; } }...
Main.java:64: error: ';' expected int hxy=hmap[x][y] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00535|1
u211138527|p00535|1
codenet
Compile Error
1,582
v2_s557912412
s557912412
s557912412
p00535
p00535
u211138527
u211138527
1,439,190,921
2015-08-10T07:15:21
Main.java
import java.io.*; import java.util.StringTokenizer; import java.util.Deque; import java.util.ArrayDeque; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; static int[] d={-1,0,1}; static class TPair{ int t; int x; int y; TPair(int t,int x,int y){ this.t=t...
Main.java:78: error: not a statement que,offerLast(new TPair(ans+1,x,y)); ^ Main.java:78: error: ';' expected que,offerLast(new TPair(ans+1,x,y)); ^ Main.java:85: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00535|1
u211138527|p00535|1
codenet
Compile Error
1,637
v2_s868693783
s868693783
s868693783
p00535
p00535
u211138527
u211138527
1,439,190,997
2015-08-10T07:16:37
Main.java
import java.io.*; import java.util.StringTokenizer; import java.util.Deque; import java.util.ArrayDeque; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; static int[] d={-1,0,1}; static class TPair{ int t; int x; int y; TPair(int t,int x,int y){ this.t=t...
Main.java:76: error: not a statement que,offerLast(new TPair(ans+1,x,y)); ^ Main.java:76: error: ';' expected que,offerLast(new TPair(ans+1,x,y)); ^ Main.java:83: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00535|1
u211138527|p00535|1
codenet
Compile Error
1,636
v2_s086055645
s086055645
s086055645
p00535
p00535
u211138527
u211138527
1,439,191,895
2015-08-10T07:31:35
Main.java
import java.io.*; import java.util.StringTokenizer; import java.util.Deque; import java.util.ArrayDeque; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; static int[] d={-1,0,1}; static class TPair{ int t; int x; int y; TPair(int t,int x,int y){ this.t=t...
Main.java:52: error: cannot find symbol if(update){ ^ symbol: variable update location: class Main Main.java:76: error: cannot find symbol update=true; ^ symbol: variable update location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00535|1
u211138527|p00535|1
codenet
Compile Error
1,647
v2_s680701206
s680701206
s680701206
p00535
p00535
u211138527
u211138527
1,439,191,959
2015-08-10T07:32:39
Main.java
import java.io.*; import java.util.StringTokenizer; import java.util.Deque; import java.util.ArrayDeque; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; static int[] d={-1,0,1}; static class TPair{ int t; int x; int y; TPair(int t,int x,int y){ this.t=t...
Main.java:87: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00535|1
u211138527|p00535|1
codenet
Compile Error
1,660
v2_s285777500
s285777500
s285777500
p00543
p00543
u584110575
u584110575
1,480,664,385
2016-12-02T07:39:45
Main.java
#include<iostream> using namespace std;int main(){int a[100];int b,c;cin>>b>>c;for (int d = 0; d < b; d++) cin>>a[d];for(int k=2;k<=c;k++)for(int g=0;g<b-1;g++)if(a[g]% k>a[g+1] % k)swap(a[g],a[g + 1]);for(int s=0;s<b;s++)cout<<a[s]<<endl;}
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include<iostream> ^ Main.java:2: error: not a statement using namespace std;int main(){int a[100];int b,c;cin>>b>>c;for (int d = 0; d < b; d++) cin>>a[d];for(int k=2;k<=c;k++)for(int g...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u584110575|p00543|0
u584110575|p00543|0
codenet
Compile Error
240
v2_s967846272
s967846272
s967846272
p00546
p00546
u759934006
u759934006
1,467,037,352
2016-06-27T14:22:32
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; import static java.lang.Integer.parseInt; /** * Zombie Island * JOI 15th, Pre 5 */ public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedRea...
Main.java:19: error: cannot find symbol P0623 main = new P0623(); ^ symbol: class P0623 location: class Main Main.java:19: error: cannot find symbol P0623 main = new P0623(); ^ symbol: class P0623 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759934006|p00546|0
u759934006|p00546|0
codenet
Compile Error
3,764
v2_s285509120
s285509120
s285509120
p00564
p00564
u069727578
u069727578
1,525,086,394
2018-04-30T11:06:34
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; class Main{ public static void main(String[] args) { BufferedReader bfr=new BufferedReader(new InputStreamReader(System.in)); String str=""; StringTokenizer stk; int[] k1=new int[5];...
Main.java:15: error: 'try' without 'catch', 'finally' or resource declarations try{ ^ Main.java:56: error: 'catch' without 'try' }catch(IOException e) { ^ Main.java:59: error: 'catch' without 'try' catch(NumberFormatException ee) { ^ Main.java:63: error: 'catch' without 'try' catch(NullPointerExce...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u069727578|p00564|0
u069727578|p00564|0
codenet
Compile Error
1,423
v2_s663786670
s663786670
s663786670
p00564
p00564
u069727578
u069727578
1,525,087,901
2018-04-30T11:31:41
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; class Main{ public static void main(String[] args) { BufferedReader bfr=new BufferedReader(new InputStreamReader(System.in)); String str=""; StringTokenizer stk; int[] k1=new int[5];...
Main.java:65: error: cannot find symbol sougaku_2[jj]=jj*k1[4]+set1_kosu*k1[2]; ^ symbol: variable sougaku_2 location: class Main Main.java:66: error: cannot find symbol if(saiyasune_2>sougaku_2[jj]) { ^ symbol: variable sougaku_2 location: class Main Main.java:67: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u069727578|p00564|0
u069727578|p00564|0
codenet
Compile Error
1,867
v2_s236324670
s236324670
s236324670
p00564
p00564
u069727578
u069727578
1,525,090,616
2018-04-30T12:16:56
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; class Main{ public static void main(String[] args) { BufferedReader bfr=new BufferedReader(new InputStreamReader(System.in)); String str=""; StringTokenizer stk; int[] k1=new int[5];...
Main.java:15: error: 'try' without 'catch', 'finally' or resource declarations try{ ^ Main.java:74: error: 'catch' without 'try' catch(IOException e) { ^ Main.java:77: error: 'catch' without 'try' catch(NumberFormatException ee) { ^ Main.java:81: error: 'catch' without 'try' catch(NullPointerExce...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u069727578|p00564|0
u069727578|p00564|0
codenet
Compile Error
1,942
v2_s329988727
s329988727
s329988727
p00564
p00564
u806788716
u806788716
1,528,373,366
2018-06-07T12:09:26
Main.java
steamsass's
Main.java:1: error: unclosed character literal steamsass's ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u806788716|p00564|0
u806788716|p00564|0
codenet
Compile Error
12
v2_s147468016
s147468016
s147468016
p00567
p00567
u132756922
u132756922
1,556,252,113
2019-04-26T04:15:13
Main.java
import java.util.Scanner; import java.util.TreeSet; public class Main { public static void main(String[] args){ int n, i, j, max, min, calcu; double sum = 0, subsum = 0, number = 0, nearestPrime, box = 0, floor = 0, ceiling = 0; int[] a = new int[51]; try (Scanner sc = new Scanner(System.in)) { n = sc.next...
Main.java:61: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u132756922|p00567|1
u132756922|p00567|1
codenet
Compile Error
1,379
v2_s371254816
s371254816
s371254816
p00567
p00567
u132756922
u132756922
1,556,253,035
2019-04-26T04:30:35
Main.java
import java.util.Scanner; import java.util.TreeSet; public class Main { public static void main(String[] args){ int n, i, j, max, min, calcu; double sum = 0, subsum = 0, number = 0, nearestPrime, box = 0, floor = 0, ceiling = 0, adjust; int[] a = new int[51]; try (Scanner sc = new Scanner(System.in)) { n =...
Main.java:63: error: reached end of file while parsing System.out.println(min); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u132756922|p00567|1
u132756922|p00567|1
codenet
Compile Error
1,493
v2_s431944839
s431944839
s431944839
p00574
p00574
u211138527
u211138527
1,530,563,620
2018-07-02T20:33:40
Main.java
videoimport java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.InputMismatchException; import java.util.NoSuchElementException; public class Main { static PrintWriter out; static InputReader ir; static boolean debug = f...
Main.java:1: error: class, interface, enum, or record expected videoimport java.io.IOException; ^ Main.java:2: error: class, interface, enum, or record expected import java.io.InputStream; ^ Main.java:3: error: class, interface, enum, or record expected import java.io.PrintWriter; ^ Main.java:4: error: class, interface...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00574|0
u211138527|p00574|0
codenet
Compile Error
5,413
v2_s171755822
s171755822
s171755822
p00574
p00574
u874152376
u874152376
1,540,870,825
2018-10-30T03:40:25
Main.java
import java.util.Scanner; public class Main { private static int[] sArray; public static void main(String[] args) { try (Scanner scanner = new Scanner(System.in)) { while (scanner.hasNextLine()) { String[] tmp = scanner.nextLine().split(" "); final int L = Integer.valueOf(tm...
Main.java:27: error: cannot find symbol exit(0); ^ symbol: method exit(int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u874152376|p00574|4
u874152376|p00574|4
codenet
Compile Error
2,033
v2_s910899832
s910899832
s910899832
p00574
p00574
u874152376
u874152376
1,540,870,947
2018-10-30T03:42:27
Main.java
import java.util.Scanner; public class Main { private static int[] sArray; public static void main(String[] args) { try (Scanner scanner = new Scanner(System.in)) { while (scanner.hasNextLine()) { String[] tmp = scanner.nextLine().split(" "); final int L = Integer.valueOf(tm...
Main.java:26: error: ';' expected scanner.nextLine() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u874152376|p00574|4
u874152376|p00574|4
codenet
Compile Error
2,065
v2_s739189159
s739189159
s739189159
p00575
p00575
u021078771
u021078771
1,555,981,145
2019-04-23T00:59:05
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int goal = sc.nextInt(); int day = 1; int coin = 0; while(coin < goal){ ...
Main.java:15: error: cannot find symbol coin += B; ^ symbol: variable B location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u021078771|p00575|0
u021078771|p00575|0
codenet
Compile Error
457
v2_s401401927
s401401927
s401401927
p00576
p00576
u021078771
u021078771
1,555,983,606
2019-04-23T01:40:06
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scnner(System.in); int N = sc.nextInt(); int[] piece = sc.nextLine().split(" "); int M = sc.nextInt(); int[] operation[] = sc.nextLine().split(" "); } }
Main.java:5: error: cannot find symbol Scanner sc = new Scnner(System.in); ^ symbol: class Scnner location: class Main Main.java:7: error: incompatible types: String[] cannot be converted to int[] int[] piece = sc.nextLine().split(" "); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u021078771|p00576|0
u021078771|p00576|0
codenet
Compile Error
316
v2_s846489510
s846489510
s846489510
p00576
p00576
u021078771
u021078771
1,555,983,627
2019-04-23T01:40:27
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scaner(System.in); int N = sc.nextInt(); int[] piece = sc.nextLine().split(" "); int M = sc.nextInt(); int[] operation[] = sc.nextLine().split(" "); } }
Main.java:5: error: cannot find symbol Scanner sc = new Scaner(System.in); ^ symbol: class Scaner location: class Main Main.java:7: error: incompatible types: String[] cannot be converted to int[] int[] piece = sc.nextLine().split(" "); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u021078771|p00576|0
u021078771|p00576|0
codenet
Compile Error
316
v2_s338987486
s338987486
s338987486
p00576
p00576
u021078771
u021078771
1,555,983,689
2019-04-23T01:41:29
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] piece = sc.nextLine().split(" "); int M = sc.nextInt(); int[] operation[] = sc.nextLine().split(" "); } }
Main.java:7: error: incompatible types: String[] cannot be converted to int[] int[] piece = sc.nextLine().split(" "); ^ Main.java:9: error: incompatible types: String[] cannot be converted to int[][] int[] operation[] = sc.nextLine().split(" "); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u021078771|p00576|0
u021078771|p00576|0
codenet
Compile Error
317
v2_s975263125
s975263125
s975263125
p00576
p00576
u021078771
u021078771
1,555,983,744
2019-04-23T01:42:24
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Integer[] piece = sc.nextLine().split(" "); int M = sc.nextInt(); int[] operation[] = sc.nextLine().split(" "); } }...
Main.java:7: error: incompatible types: String[] cannot be converted to Integer[] Integer[] piece = sc.nextLine().split(" "); ^ Main.java:9: error: incompatible types: String[] cannot be converted to int[][] int[] operation[] = sc.nextLine().split(" "); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u021078771|p00576|0
u021078771|p00576|0
codenet
Compile Error
321
v2_s543741483
s543741483
s543741483
p00576
p00576
u021078771
u021078771
1,555,983,757
2019-04-23T01:42:37
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] piece = sc.nextLine().split(" "); int M = sc.nextInt(); int[] operation[] = sc.nextLine().split(" "); } }
Main.java:7: error: incompatible types: String[] cannot be converted to int[] int[] piece = sc.nextLine().split(" "); ^ Main.java:9: error: incompatible types: String[] cannot be converted to int[][] int[] operation[] = sc.nextLine().split(" "); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u021078771|p00576|0
u021078771|p00576|0
codenet
Compile Error
317
v2_s682031676
s682031676
s682031676
p00578
p00578
u950221358
u950221358
1,555,922,558
2019-04-22T08:42:38
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.TreeSet; class Main { static long[] orthometric; //海抜 static Long[] sea; //海の変化 static int num = 0; //配列の長さ public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)){ int len = sc.nextIn...
Main.java:28: error: cannot find symbol if (orthometric.size()>0) { ^ symbol: method size() location: variable orthometric of type long[] 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u950221358|p00578|0
u950221358|p00578|0
codenet
Compile Error
2,048
v2_s701425654
s701425654
s701425654
p00579
p00579
u950221358
u950221358
1,556,243,558
2019-04-26T01:52:38
Main.java
import java.util.Arrays; import java.util.Scanner; class Main { static long[] beauty; //美しさ static int[] L; static int[] R; public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)){ int treeNum = sc.nextInt(); beauty = new long[treeNum]; boolean[] illumination = new boolean[...
Main.java:45: error: ',', ')', or '[' expected (int j=0; j<illu.length; j++) copy[j] = illu[j]; //????? ^ Main.java:45: error: not a statement (int j=0; j<illu.length; j++) copy[j] = illu[j]; //????? ^ Main.java:45: error: > or ',' expected (int j=0; j<illu.length; j++) copy[j] = illu[j]; /...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u950221358|p00579|1
u950221358|p00579|1
codenet
Compile Error
1,815
v2_s778250936
s778250936
s778250936
p00586
p00586
u142627828
u142627828
1,353,385,613
2012-11-20T04:26:53
Main.java
class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a, b; while(sc.hasNext()){ a = sc.nextInt(); b = sc.nextInt(); System.out.println(a+b); } } }
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
u142627828|p00586|0
u142627828|p00586|0
codenet
Compile Error
187
v2_s861731977
s861731977
s861731977
p00586
p00586
u425405452
u425405452
1,453,452,217
2016-01-22T08:43:37
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); while(true) { System.out.println(scan.nextInt() + scan.nextInt); } } }
Main.java:6: error: cannot find symbol System.out.println(scan.nextInt() + scan.nextInt); ^ symbol: variable nextInt location: variable scan of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u425405452|p00586|0
u425405452|p00586|0
codenet
Compile Error
207
v2_s071485965
s071485965
s071485965
p00586
p00586
u425405452
u425405452
1,453,452,641
2016-01-22T08:50:41
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); while(true) { System.out.println(scan.nextInt().equals(null) ? break : scan.nextInt() + scan.nextInt()); } } }
Main.java:7: error: illegal start of expression System.out.println(scan.nextInt().equals(null) ? break : scan.nextInt() + scan.nextInt()); ^ Main.java:7: error: ';' expected System.out.println(scan.nextInt().equals(null) ? break : scan.nextInt() + scan.nextInt()...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u425405452|p00586|0
u425405452|p00586|0
codenet
Compile Error
248
v2_s648865698
s648865698
s648865698
p00586
p00586
u425405452
u425405452
1,453,452,800
2016-01-22T08:53:20
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); while(true) { int a = scan.nextInt(); if(a == null) break; System.out.println( a + scan.nextInt()); } } }
Main.java:8: error: bad operand types for binary operator '==' if(a == null) break; ^ first type: int second type: <null> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u425405452|p00586|0
u425405452|p00586|0
codenet
Compile Error
250
v2_s099913417
s099913417
s099913417
p00586
p00586
u437912497
u437912497
1,499,064,606
2017-07-03T06:50:06
Main.java
class Main { public static void main(String args[]){ Scanner input = new Scanner(System.in); while(true){ System.out.println(input.nextInt() + input.nextInt()); } } }
Main.java:3: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u437912497|p00586|0
u437912497|p00586|0
codenet
Compile Error
183
v2_s516886619
s516886619
s516886619
p00586
p00586
u437912497
u437912497
1,499,065,375
2017-07-03T07:02:55
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner input = new Scanner(System.in); while(10){ System.out.println(input.nextInt() + input.nextInt()); } } }
Main.java:7: error: incompatible types: int cannot be converted to boolean while(10){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u437912497|p00586|0
u437912497|p00586|0
codenet
Compile Error
210
v2_s803582620
s803582620
s803582620
p00586
p00586
u465811853
u465811853
1,545,349,850
2018-12-20T23:50:50
Main.java
public class Main { Scanner sc = new Scanner(System.in); void doIt() { while(sc.hasNext()) { System.out.println(sc.nextInt() + sc.nextInt()); } } public static void main(String[] args) { new Main().doIt(); } }
Main.java:2: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:2: 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
u465811853|p00586|0
u465811853|p00586|0
codenet
Compile Error
226
v2_s366638277
s366638277
s366638277
p00586
p00586
u493797593
u493797593
1,389,164,331
2014-01-08T06:58:51
Main.java
#include <stdio.h> int main(int argc, const char * argv[]) { int a, b; while (scanf("%d %d\n", &a, &b) != EOF) { printf("%d\n", a + b); } 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:8: error: class, interface, enum, or record expected while (scanf("%d %d\n", &a, &b) != EOF) { ^ Main.java:10: error: class, interface, enum, or ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u493797593|p00586|0
u493797593|p00586|0
codenet
Compile Error
185
v2_s500832343
s500832343
s500832343
p00586
p00586
u766582426
u766582426
1,335,416,055
2012-04-26T04:54:15
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.nextLine()){ int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a+b); } } }
Main.java:6: error: incompatible types: String cannot be converted to boolean while(sc.nextLine()){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u766582426|p00586|0
u766582426|p00586|0
codenet
Compile Error
247