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_s021446259
s021446259
s021446259
p00065
p00065
u720902416
u720902416
1,445,004,646
2015-10-16T14:10:46
Main.java
import java.util.ArrayList; import java.util.Collections; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args){ int i = 0; String tmp; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Ar...
Main.java:26: error: variable tmp might not have been initialized if(tmp.equals("")){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00065|0
u720902416|p00065|0
codenet
Compile Error
1,931
v2_s968546421
s968546421
s968546421
p00065
p00065
u720902416
u720902416
1,445,004,852
2015-10-16T14:14:12
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Collections; public class Main { public static void main(String[] args){ BigDecimal one = new BigDecimal("1.00"); int[] abo = {0,0,0,0}; Buffered...
Main.java:130: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00065|0
u720902416|p00065|0
codenet
Compile Error
2,355
v2_s303913238
s303913238
s303913238
p00065
p00065
u720902416
u720902416
1,445,006,644
2015-10-16T14:44:04
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; public class Main { public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tmp = null; int i...
Main.java:58: error: unreachable statement if(tmp.equals("")){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00065|0
u720902416|p00065|0
codenet
Compile Error
2,306
v2_s924836657
s924836657
s924836657
p00065
p00065
u720902416
u720902416
1,445,006,712
2015-10-16T14:45:12
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; public class Main { public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tmp = null; int i...
Main.java:49: error: exception IOException is never thrown in body of corresponding try statement } catch (IOException e) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00065|0
u720902416|p00065|0
codenet
Compile Error
2,302
v2_s611218729
s611218729
s611218729
p00065
p00065
u907626292
u907626292
1,345,436,740
2012-08-20T04:25:40
Main.java
s = Hash.new nums = Array.new while (line = gets) != "\n" do num,=line.split(",").map(&:to_i) s[num]||=0 s[num]+=1 end while line = gets do num,=line.split(",").map(&:to_i) next unless s[num] nums << num s[num]+=1 end nums.sort! nums.each{|n| puts n.to_s+" "+s[n].to_s }
Main.java:1: error: class, interface, enum, or record expected s = Hash.new ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00065|0
u907626292|p00065|0
codenet
Compile Error
286
v2_s010643411
s010643411
s010643411
p00066
p00066
u170668497
u170668497
1,488,734,971
2017-03-05T17:29:31
Main.java
import java.util.Scanner; /** * @author MS14A * @version 2017/03/06 */ public class Main { private static final String RESULT_DRAW = "d"; /** * メインメソッド * * @param args */ public static void main(String[] args) { // ローカルテスト用。提出時は"System.in"に修正。 InputStream input = Sy...
Main.java:18: error: cannot find symbol InputStream input = System.in; ^ symbol: class InputStream location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u170668497|p00066|0
u170668497|p00066|0
codenet
Compile Error
2,502
v2_s939933646
s939933646
s939933646
p00066
p00066
u211138527
u211138527
1,437,486,954
2015-07-21T13:55:54
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; line=br.readLine(); int d=line.length()/3; char[][][] map=new char[d][3][3]; for(int i=0;i<line.length;i++){ map[(int)i/3][0][i%3]=line.charAt...
Main.java:11: error: ';' expected map[(int)i/3][0][i%3]=line.charAt(i) ^ Main.java:16: error: ';' expected map[(int)i/3][j][i%3]=line.charAt(i) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00066|0
u211138527|p00066|0
codenet
Compile Error
997
v2_s784468189
s784468189
s784468189
p00066
p00066
u211138527
u211138527
1,437,487,045
2015-07-21T13:57:25
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; line=br.readLine(); int d=line.length()/3; char[][][] map=new char[d][3][3]; for(int i=0;i<line.length;i++){ map[(int)i/3][0][i%3]=line.charAt...
Main.java:10: error: cannot find symbol for(int i=0;i<line.length;i++){ ^ symbol: variable length location: variable line of type String Main.java:15: error: cannot find symbol for(int i=0;i<line.length;i++){ ^ symbol: variable length location: variable line of type Strin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00066|0
u211138527|p00066|0
codenet
Compile Error
999
v2_s273425127
s273425127
s273425127
p00066
p00066
u211138527
u211138527
1,437,487,191
2015-07-21T13:59:51
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; line=br.readLine(); int d=line.length()/3; char[][][] map=new char[d][3][3]; for(int i=0;i<line.length();i++){ map[(int)i/3][0][i%3]=line.char...
Main.java:22: error: incomparable types: boolean and char if(map[i][j][0]!='s'&&map[i][j][0]==map[i][j][1]==map[i][j][2]){ ^ Main.java:26: error: incomparable types: boolean and char if(map[i][0][j]!='s'&&map[i][0][j]==map[i][1][j]==map[i][2][j]){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00066|0
u211138527|p00066|0
codenet
Compile Error
1,003
v2_s527442514
s527442514
s527442514
p00066
p00066
u211138527
u211138527
1,437,488,331
2015-07-21T14:18:51
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; line=br.readLine(); int d=line.length()/3; char[][][] map=new char[d][3][3]; for(int i=0;i<line.length();i++){ map[(int)(i/3)][0][i%3]=line.ch...
Main.java:31: error: 'else' without 'if' else if(map[i][1][1]!='s'&&map[i][0][0]==map[i][1][1]&&map[i][1][1]==map[i][2][2]){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00066|0
u211138527|p00066|0
codenet
Compile Error
1,113
v2_s224515689
s224515689
s224515689
p00066
p00066
u226079266
u226079266
1,321,183,687
2011-11-13T11:28:07
Main.java
import java.util.Scanner; public class Main { public static char check(char ch[]) { int i; for(i=0;i+2<9;i+=3){ if(ch[i]==ch[i+1] && ch[i+1]==ch[i+2]) return ch[i]; } for(i=0;i<3;i++){ if(ch[i]==ch[i+3] && ch[i+3]==ch[i+6]) return ch[i]; } i=0; if(ch[i]==ch[i+4] && ch[i+4]==ch[i+8]) return ch[i]; ...
Main.java:24: error: unclosed character literal if(ans=='??') ans='o'; ^ Main.java:24: error: illegal character: '\u009b' if(ans=='??') ans='o'; ^ Main.java:24: error: unclosed character literal if(ans=='??') ans='o'; ^ Main.java:25: error: unclosed character literal if...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u226079266|p00066|0
u226079266|p00066|0
codenet
Compile Error
697
v2_s966592350
s966592350
s966592350
p00066
p00066
u948800138
u948800138
1,352,285,008
2012-11-07T10:43:28
Main.java
import java.util.Arrays; import java.util.Scanner; class Main{ int[][] f; String solve(){ // ヨコ for(int y=0; y<3; ++y){ int t = f[y][0]; if(t==0)continue; boolean b = true; for(int x=0; x<3; ++x){ b &= t==f[y][x]; } if(b){ return t==1 ? "o" : "x"; } } // タテ for(int x=0; x<...
Main.java:37: error: continue outside of loop if(t==0)continue; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u948800138|p00066|0
u948800138|p00066|0
codenet
Compile Error
1,313
v2_s743968502
s743968502
s743968502
p00067
p00067
u211138527
u211138527
1,437,508,327
2015-07-21T19:52:07
Main.java
import java.io.*; ckass Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; int count; char[][] map=new char[12][12]; while(true){ count=0; for(int i=0;i<12;i++){ line=br.readLine(); for(int j=0;j<12;j++){ map[i][j]=li...
Main.java:3: error: class, interface, enum, or record expected ckass Main{ ^ Main.java:4: 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:46: error: class, in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00067|0
u211138527|p00067|0
codenet
Compile Error
755
v2_s760432335
s760432335
s760432335
p00067
p00067
u249262080
u249262080
1,518,069,583
2018-02-08T05:59:43
Main.java
import java.util.Scanner; public class Main { class Island { int[][] map = new int[14][14]; int num = 2; public Island(int[][] map) { this.map = map; } private void label(int row, int column) { map[row][column] = num; for(int i=0; i<4; i++) { if(i==0) { if(map[row][column-1] == 1) labe...
Main.java:74: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u249262080|p00067|1
u249262080|p00067|1
codenet
Compile Error
1,320
v2_s321916104
s321916104
s321916104
p00067
p00067
u399118522
u399118522
1,334,852,871
2012-04-19T16:27:51
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); boolean hasNext = true; while (hasNext) { int[][] before = ne...
Main.java:52: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p00067|0
u399118522|p00067|0
codenet
Compile Error
1,229
v2_s168638480
s168638480
s168638480
p00067
p00067
u399951682
u399951682
1,510,449,075
2017-11-12T01:11:15
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { // ?????????????????????(??????????????????) PackMan packman = new PackMan(); // ?????????????????¨?¨????????????°?????¨??? final int VERTICALLIMIT = 12; final int SIDELIMIT = 12; Scann...
Main.java:66: error: illegal start of type for(int result: packmanCount) { ^ Main.java:66: error: ';' expected for(int result: packmanCount) { ^ Main.java:66: error: <identifier> expected for(int result: packmanCount) { ^ Main.java:72: error: class, interface, enum,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399951682|p00067|1
u399951682|p00067|1
codenet
Compile Error
4,148
v2_s132873774
s132873774
s132873774
p00067
p00067
u399951682
u399951682
1,510,449,095
2017-11-12T01:11:35
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { // ?????????????????????(??????????????????) PackMan packman = new PackMan(); // ?????????????????¨?¨????????????°?????¨??? final int VERTICALLIMIT = 12; final int SIDELIMIT = 12; Scann...
Main.java:66: error: illegal start of type for(int result: packmanCount) { ^ Main.java:66: error: ';' expected for(int result: packmanCount) { ^ Main.java:66: error: <identifier> expected for(int result: packmanCount) { ^ Main.java:72: error: class, interface, enum,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399951682|p00067|1
u399951682|p00067|1
codenet
Compile Error
4,148
v2_s744300437
s744300437
s744300437
p00067
p00067
u425405452
u425405452
1,453,729,141
2016-01-25T13:39:01
Main.java
import java.util.Scanner; public class Main { static Scanner scan = new Scanner(System.in); static boolean[][] map = new boolean[12][12]; static boolean[][] check = new boolean[12][12]; static int island = 0; public static void main(String[] args) { while(scan.hasNext()) { for(int i = 0; i < 12; i++) { ...
Main.java:66: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u425405452|p00067|0
u425405452|p00067|0
codenet
Compile Error
1,125
v2_s692373519
s692373519
s692373519
p00067
p00067
u496376761
u496376761
1,492,224,196
2017-04-15T02:43:16
Main.java
111100001111 111000001111 110000001111 100000001111 000100010000 000000111000 000001111100 100011111110 110001111100 111000111000 111100010000 000000000000 010001111100 110010000010 010010000001 010000000001 010000000110 010000111000 010000000100 010000000010 010000000001 010010000001 010010000010 111001111100 000000...
Main.java:1: error: class, interface, enum, or record expected 111100001111 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u496376761|p00067|0
u496376761|p00067|0
codenet
Compile Error
469
v2_s114602585
s114602585
s114602585
p00067
p00067
u584110575
u584110575
1,474,967,837
2016-09-27T09:17:17
Main.java
#include<iostream> #include<vector> #include<string> using namespace std; char tisei[12][12]; void shima(int a, int b) { tisei[a][b] = 0; if (tisei[a - 1][b] && a - 1>0 )shima(a - 1, b); if (tisei[a + 1][b] && a + 1<13)shima(a + 1, b); if (tisei[a][b - 1] && b - 1>0 )shima(a, b - 1); if (tisei[a][b + 1] && b ...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<vector> ^ Main.java:3: error: illegal character: '#' #include<string> ^ Main.java:6: error: class, interface, enum, or record expected char tisei[12][12]; ^ Main.java:7: error: unnamed classes are a previ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u584110575|p00067|0
u584110575|p00067|0
codenet
Compile Error
690
v2_s093694134
s093694134
s093694134
p00067
p00067
u720902416
u720902416
1,436,927,015
2015-07-15T02:23:35
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tes = null; int g=0; int d = 0; ArrayList<In...
Main.java:71: error: cannot find symbol System.out.print(al2.get(i).get(trans(j,k))); ^ symbol: method get(int) location: class Object Main.java:83: error: incompatible types: Object cannot be converted to ArrayList<Integer> al = al2.get(r); ^ Note: Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00067|0
u720902416|p00067|0
codenet
Compile Error
4,349
v2_s341653086
s341653086
s341653086
p00067
p00067
u720902416
u720902416
1,436,927,409
2015-07-15T02:30:09
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tes = null; int g=0; int d = 0; ArrayList<In...
Main.java:67: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00067|0
u720902416|p00067|0
codenet
Compile Error
1,508
v2_s330785851
s330785851
s330785851
p00067
p00067
u720902416
u720902416
1,436,927,651
2015-07-15T02:34:11
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tes = null; int g=0; int d = 0; ArrayList<In...
Main.java:71: error: cannot find symbol System.out.print(al2.get(i).get(trans(j,k))); ^ symbol: method trans(int,int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00067|0
u720902416|p00067|0
codenet
Compile Error
1,738
v2_s739311635
s739311635
s739311635
p00067
p00067
u720902416
u720902416
1,436,928,436
2015-07-15T02:47:16
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tes = null; int g=0; int d = 0; ArrayList<In...
Main.java:80: error: unnamed classes are a preview feature and are disabled by default. public static int trans(int h,int w){ ^ (use --enable-preview to enable unnamed classes) Main.java:90: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00067|0
u720902416|p00067|0
codenet
Compile Error
1,841
v2_s850462953
s850462953
s850462953
p00067
p00067
u720902416
u720902416
1,436,929,344
2015-07-15T03:02:24
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tes = null; int g=0; int d = 0; ArrayList<In...
Main.java:135: error: class, interface, enum, or record expected } ^ Main.java:139: error: class, interface, enum, or record expected } ^ Main.java:142: error: unnamed classes are a preview feature and are disabled by default. public static int trans(int h,int w){ ^ (use --enable-preview to ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00067|0
u720902416|p00067|0
codenet
Compile Error
3,018
v2_s078239048
s078239048
s078239048
p00067
p00067
u720902416
u720902416
1,436,929,658
2015-07-15T03:07:38
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tes = null; int g=0; int d = 0; ArrayList<In...
Main.java:82: error: cannot find symbol al = al2.get(r).t; ^ symbol: variable r location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720902416|p00067|0
u720902416|p00067|0
codenet
Compile Error
1,935
v2_s791269618
s791269618
s791269618
p00068
p00068
u211138527
u211138527
1,437,632,132
2015-07-23T06:15:32
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.awt.geom.Point2D; import java.util.Arrays; import java.util.ArrayList; import java.util.Comparator; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new In...
Main.java:14: error: ')' expected while((line=br.readLine()!=null){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00068|0
u211138527|p00068|0
codenet
Compile Error
1,440
v2_s754087450
s754087450
s754087450
p00068
p00068
u211138527
u211138527
1,437,632,234
2015-07-23T06:17:14
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.awt.geom.Point2D; import java.util.Arrays; import java.util.ArrayList; import java.util.Comparator; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new I...
Main.java:14: error: ')' expected while((line=br.readLine()!=null){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00068|0
u211138527|p00068|0
codenet
Compile Error
1,441
v2_s336061812
s336061812
s336061812
p00068
p00068
u211138527
u211138527
1,437,632,246
2015-07-23T06:17:26
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.awt.geom.Point2D; import java.util.Arrays; import java.util.ArrayList; import java.util.Comparator; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new I...
Main.java:29: error: cannot find symbol array.add(now); ^ symbol: variable now location: class Main Main.java:60: error: cannot find symbol System.out.println(points.length()-array.size()); ^ symbol: method length() location: variable points of type Point2D[] 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00068|0
u211138527|p00068|0
codenet
Compile Error
1,442
v2_s968834208
s968834208
s968834208
p00068
p00068
u211138527
u211138527
1,453,202,755
2016-01-19T11:25:55
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:53: error: invalid method declaration; return type required public static accurateTotal(double a,double b){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00068|1
u211138527|p00068|1
codenet
Compile Error
4,298
v2_s629583829
s629583829
s629583829
p00068
p00068
u211138527
u211138527
1,453,202,806
2016-01-19T11:26:46
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:71: error: cannot find symbol return this.Y; ^ symbol: variable Y 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00068|1
u211138527|p00068|1
codenet
Compile Error
4,305
v2_s459733479
s459733479
s459733479
p00068
p00068
u211138527
u211138527
1,453,202,852
2016-01-19T11:27:32
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:53: error: invalid method declaration; return type required public static accurateTotal(double a,double b){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00068|1
u211138527|p00068|1
codenet
Compile Error
4,298
v2_s187447306
s187447306
s187447306
p00069
p00069
u211138527
u211138527
1,437,754,748
2015-07-24T16:19:08
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; char[][] map; while(!(line=br.readLine()).equals("0")){ if(line.isEmpty()){ continue; } int n=Integer.parseInt(line); int m=Integer.parseInt(b...
Main.java:13: error: ';' expected int m=Integer.parseInt(br.readLine()): ^ Main.java:14: error: ';' expected int g=Integer.parseInt(br.readLine()): ^ Main.java:15: error: ';' expected int d=Integer.parseInt(br.readLine()): ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00069|0
u211138527|p00069|0
codenet
Compile Error
1,122
v2_s714358166
s714358166
s714358166
p00070
p00070
u211138527
u211138527
1,437,761,333
2015-07-24T18:08:53
Main.java
import???java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; int[][] dp; boolean[] use; while((line=br.readLine())!=null){ String[] values=line.split(" "); int n=Integer.parseInt(values[0]); int s=Inte...
Main.java:1: error: <identifier> expected import???java.io.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00070|0
u211138527|p00070|0
codenet
Compile Error
647
v2_s772837457
s772837457
s772837457
p00070
p00070
u211138527
u211138527
1,437,761,359
2015-07-24T18:09:19
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; int[][] dp; boolean[] use; while((line=br.readLine())!=null){ String[] values=line.split(" "); int n=Integer.parseInt(values[0]); int s=Intege...
Main.java:27: error: method dfs in class Main cannot be applied to given types; dfs(depth+1,sum+depth*i); ^ required: int,int,int[][],boolean[] found: int,int reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00070|0
u211138527|p00070|0
codenet
Compile Error
645
v2_s826603641
s826603641
s826603641
p00070
p00070
u434428594
u434428594
1,425,198,521
2015-03-01T08:28:41
Main.java
import sun.jvm.hotspot.jdi.IntegerTypeImpl; import java.io.*; import java.util.*; public class Main { int[][][] memo; int solve(int n, int bits, int sum) { if (n == 0) { if (sum == 0) return 1; return 0; } if (sum > 330) return 0; if (sum < 0) return 0;...
Main.java:1: error: package sun.jvm.hotspot.jdi does not exist import sun.jvm.hotspot.jdi.IntegerTypeImpl; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u434428594|p00070|0
u434428594|p00070|0
codenet
Compile Error
2,228
v2_s493525158
s493525158
s493525158
p00070
p00070
u435518193
u435518193
1,366,718,134
2013-04-23T11:55:34
Main.java
import java.util.*; public class Main { int n, s, count; @SuppressWarnings("unchecked") ArrayDeque<Integer> q = new ArrayDeque(); void loop(int a, int b){ if(a==n){ if(b==s) count++; }else if(b<=s){ for(int i=0;i<10;i++){ if(q.contains(i)==false){ q.push(i); loop(a+1,b+(a+1)*i); ...
Main.java:38: error: cannot find symbol new Main.solve(); ^ symbol: class solve location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435518193|p00070|0
u435518193|p00070|0
codenet
Compile Error
651
v2_s244709741
s244709741
s244709741
p00070
p00070
u808579085
u808579085
1,468,392,623
2016-07-13T06:50:23
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; class Main { private static int terminal = 0; private static int numConsist = 0; public void nextFor(int iteration, List<Integer> array, int constant, int sum){ int tmpSum; List<Integer> tmpArray = null; for( int i = 0; i <array.siz...
Main.java:15: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal tmpSum = new Integer(sum); ^ Main.java:30: error: cannot find symbol CombinationOfNumberSequences cNS = new CombinationOfNumberSequences(); ^ symbol: class CombinationOfNumberSequences location: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u808579085|p00070|0
u808579085|p00070|0
codenet
Compile Error
1,286
v2_s904863926
s904863926
s904863926
p00070
p00070
u808579085
u808579085
1,470,241,003
2016-08-03T16:16:43
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; class Main { private static int terminal = 0; private static int numConsist = 0; public void nextFor(int iteration, List<Byte> integerList, int constant, int sum){ for( int i = 0; i <integerList.size(); i++){ ...
Main.java:33: error: incompatible types: short cannot be converted to Byte integerList.add(i); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u808579085|p00070|3
u808579085|p00070|3
codenet
Compile Error
1,788
v2_s848971028
s848971028
s848971028
p00071
p00071
u287407095
u287407095
1,425,829,386
2015-03-08T15:43:06
Main.java
s=gets.to_i for i in 1..s gets.chomp num=[] 8.times do num<<gets.chomp.split(//).map(&:to_i) end x=gets.to_i-1 y=gets.to_i-1 check=[x,y] until check.empty? y=check.pop x=check.pop (-3).upto(3) do |t| if (x+t)<8 && 0<=(x+t) && num[...
Main.java:1: error: class, interface, enum, or record expected s=gets.to_i ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u287407095|p00071|0
u287407095|p00071|0
codenet
Compile Error
684
v2_s614459934
s614459934
s614459934
p00075
p00075
u088290348
u088290348
1,399,585,077
2014-05-08T21:37:57
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ArrayList l = new ArrayList(); while(sc.hasNext()){ String[] s = sc.next().split(","); double w = Double.parseDouble(s[1]); double h = Double.parseDo...
Main.java:16: error: incompatible types: Object cannot be converted to Integer else for(Integer i:l)System.out.println(i); ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00075|0
u088290348|p00075|0
codenet
Compile Error
488
v2_s108745194
s108745194
s108745194
p00075
p00075
u088290348
u088290348
1,399,585,382
2014-05-08T21:43:02
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ArrayList l = new ArrayList(); while(sc.hasNext()){ double w = Double.parseDouble(s[1]); double h = Double.parseDouble(s[2]); i...
Main.java:11: error: cannot find symbol double w = Double.parseDouble(s[1]); ^ symbol: variable s location: class Main Main.java:12: error: cannot find symbol double h = Double.parseDouble(s[2]); ^ symbol: variable s location: class Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00075|0
u088290348|p00075|0
codenet
Compile Error
472
v2_s136337067
s136337067
s136337067
p00075
p00075
u260980560
u260980560
1,352,908,461
2012-11-14T15:54:21
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int stnum; double weight, height, BMI; String data, datap[]; while( scan.hasNext()) { data = scan.next(); datap = data.split(",",3); stnum = Integer.valueOf(datap[0]); weight = Double.valueOf(data...
Main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u260980560|p00075|0
u260980560|p00075|0
codenet
Compile Error
453
v2_s757373919
s757373919
s757373919
p00075
p00075
u764432488
u764432488
1,493,818,794
2017-05-03T13:39:54
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner scanner = new Scanner(System.in)) { while (scanner.hasNext()) { String[] s = scanner.nextLine().split(","); Student student = new Student(s[0], Double.parseDouble(s[1]), Double.parseDouble(s...
Main.java:10: error: illegal start of expression if (student.bmi.is??????()) { ^ Main.java:10: error: illegal start of expression if (student.bmi.is??????()) { ^ Main.java:10: error: illegal start of expression if (student.bmi.is??????()) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764432488|p00075|0
u764432488|p00075|0
codenet
Compile Error
1,111
v2_s724765613
s724765613
s724765613
p00075
p00075
u764432488
u764432488
1,493,818,821
2017-05-03T13:40:21
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner scanner = new Scanner(System.in)) { while (scanner.hasNext()) { String[] s = scanner.nextLine().split(","); Student student = new Student(s[0], Double.parseDouble(s[1]), Double.parseDouble(s...
Main.java:10: error: illegal start of expression if (student.bmi.is??????()) { ^ Main.java:10: error: illegal start of expression if (student.bmi.is??????()) { ^ Main.java:10: error: illegal start of expression if (student.bmi.is??????()) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764432488|p00075|0
u764432488|p00075|0
codenet
Compile Error
1,111
v2_s157472085
s157472085
s157472085
p00075
p00075
u764432488
u764432488
1,493,818,903
2017-05-03T13:41:43
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner scanner = new Scanner(System.in)) { while (scanner.hasNext()) { String[] s = scanner.nextLine().split(","); Student student = new Student(s[0], Double.parseDouble(s[1]), Double.parseDouble(s...
Main.java:22: error: <identifier> expected Student(String studentId, double ??????kg, double ??????m) { ^ Main.java:22: error: <identifier> expected Student(String studentId, double ??????kg, double ??????m) { ^ Main.java:22: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764432488|p00075|0
u764432488|p00075|0
codenet
Compile Error
1,061
v2_s866691314
s866691314
s866691314
p00075
p00075
u814387366
u814387366
1,396,192,634
2014-03-30T15:17:14
Main.java
import java.io.*; class Main { public static void main(String args[])throws IOException { BufferedReader input=new BufferedReader(new InputStreamReader(System.in)); String str; while((str=input.readLine())!=null) { String str_ary[]=str.split(","); Double a[]=new Double[3]; for(int i=0;i<3;i++) ...
Main.java:16: error: incompatible types: Double cannot be converted to int if(a[1]/Math.pow(a[2],2)>=25)System.out.println((int)a[0]); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814387366|p00075|0
u814387366|p00075|0
codenet
Compile Error
449
v2_s290888690
s290888690
s290888690
p00077
p00077
u892831253
u892831253
1,460,457,534
2016-04-12T10:38:54
AOJ0077.java
mport java.util.Scanner; //Run Length public class AOJ0077 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()){ char[] s = sc.next().toCharArray(); StringBuilder sb = new StringBuilder(); int i = 0; while(i<s.length){ if(s[i]=='@'){ int x = s[+...
AOJ0077.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u892831253|p00077|0
u892831253|p00077|0
codenet
Compile Error
455
v2_s418017200
s418017200
s418017200
p00077
p00077
u892831253
u892831253
1,460,457,544
2016-04-12T10:39:04
Main.java
mport java.util.Scanner; //Run Length public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()){ char[] s = sc.next().toCharArray(); StringBuilder sb = new StringBuilder(); int i = 0; while(i<s.length){ if(s[i]=='@'){ int x = s[++i]...
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u892831253|p00077|0
u892831253|p00077|0
codenet
Compile Error
452
v2_s625223860
s625223860
s625223860
p00078
p00078
u413313314
u413313314
1,427,269,728
2015-03-25T07:48:48
Main.java
#include <stdio.h> #include <stdlib.h> #define sqr(x) ((x)*(x)) int main(void) { int n,x,y,i,j; int **magic; while (1) { scanf("%d",&n); if (n==0) break; magic = (int **)calloc(n,sizeof(int *)); for (i=0;i<n;i++) magic[i] = (int *)calloc(n,sizeof(int)); x = n/2; y = n/2+1; for (i=1;i<=sqr(n);i++) { ...
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 <stdlib.h> ^ Main.java:3: error: illegal character: '#' #define sqr(x) ((x)*(x)) ^ Main.java:7: error: class, i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u413313314|p00078|0
u413313314|p00078|0
codenet
Compile Error
645
v2_s656871256
s656871256
s656871256
p00078
p00078
u533679381
u533679381
1,336,190,525
2012-05-05T04:02:05
Main.java
&#65279;import java.util.Scanner; public class Main { static int cnt; static int x, y; static int[][] a; static int n; static void pushNumber(){ // 2. 次の数字を右斜め下のマス目に... x++; y++; /* 2-1. 右にはみ出した場合には、同じ行の左はしに、 * 左にはみ出した場合には、同じ行の右はしに、 * 下にはみ出した場合には、同じ列の一番上に... */ if(x>=n){ x=...
Main.java:1: error: class, interface, enum, or record expected &#65279;import java.util.Scanner; ^ Main.java:1: error: illegal character: '#' &#65279;import java.util.Scanner; ^ Main.java:1: error: class, interface, enum, or record expected &#65279;import java.util.Scanner; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u533679381|p00078|1
u533679381|p00078|1
codenet
Compile Error
1,398
v2_s627633498
s627633498
s627633498
p00078
p00078
u533679381
u533679381
1,336,190,561
2012-05-05T04:02:41
Main.java
&#65279;import java.util.Scanner; public class Main { static int cnt; static int x, y; static int[][] a; static int n; static void pushNumber(){ // 2. 次の数字を右斜め下のマス目に... x++; y++; /* 2-1. 右にはみ出した場合には、同じ行の左はしに、 * 左にはみ出した場合には、同じ行の右はしに、 * 下にはみ出した場合には、同じ列の一番上に... */ if(x>=n){ x=...
Main.java:1: error: class, interface, enum, or record expected &#65279;import java.util.Scanner; ^ Main.java:1: error: illegal character: '#' &#65279;import java.util.Scanner; ^ Main.java:1: error: class, interface, enum, or record expected &#65279;import java.util.Scanner; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u533679381|p00078|1
u533679381|p00078|1
codenet
Compile Error
1,398
v2_s299788559
s299788559
s299788559
p00080
p00080
u399118522
u399118522
1,429,012,119
2015-04-14T11:48:39
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); double q; while ((q = in.nextDouble() >= 1) { double xn = q / 2.0; double checkVal = Math.pow(xn, 3.0) - q; while (Math.abs(checkVal) >= 0.00001 * q) { checkVal = Math.pow(xn,...
Main.java:7: error: ')' expected while ((q = in.nextDouble() >= 1) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p00080|0
u399118522|p00080|0
codenet
Compile Error
424
v2_s742122895
s742122895
s742122895
p00082
p00082
u213849509
u213849509
1,423,816,592
2015-02-13T08:36:32
Main.java
a.util.Scanner; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (scanner.hasNext()) { StringTokenizer tokenizer = new StringTokenizer(scanner.nextLine() ); int[] num = new int[8]; for (int i = 0; i < 8; ...
Main.java:1: error: class, interface, enum, or record expected a.util.Scanner; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.StringTokenizer; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u213849509|p00082|0
u213849509|p00082|0
codenet
Compile Error
918
v2_s989860067
s989860067
s989860067
p00084
p00084
u037061989
u037061989
1,444,640,926
2015-10-12T09:08:46
Main.java
public class Main{ Scanner sc = new Scanner(System.in); public static void main(String[] args) { new Main(); } public Main() { new Base().doIt(); } class Base{ String[] STR(String a){ String[] sp1 = a.split("[, .]"); return sp1; } /* class Data{ int x; double y; public Data...
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
u037061989|p00084|0
u037061989|p00084|0
codenet
Compile Error
541
v2_s766095971
s766095971
s766095971
p00084
p00084
u284889485
u284889485
1,376,008,236
2013-08-09T00:30:36
Main.java
mport java.io.*; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String tmp = br.readLine(); int cnt = 0; String[] ans = new String[1024]; char[] s = tmp.toCharArray(); f...
Main.java:1: error: class, interface, enum, or record expected mport java.io.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u284889485|p00084|1
u284889485|p00084|1
codenet
Compile Error
808
v2_s225641991
s225641991
s225641991
p00084
p00084
u473115569
u473115569
1,528,880,392
2018-06-13T08:59:52
Main.java
import java.util.Scanner; public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)) { while(sc.hasNextLine()){ String line=sc.nextLine(); String[] tokens = line.split(“[,. ]“); ArrayList<String> list = new ArrayList<>(); for(String t: t...
Main.java:6: error: illegal character: '\u201c' String[] tokens = line.split(?[,. ]?); ^ Main.java:6: error: illegal character: '\u201c' String[] tokens = line.split(?[,. ]?); ^ Main.java:13: error: illegal c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u473115569|p00084|1
u473115569|p00084|1
codenet
Compile Error
556
v2_s281056602
s281056602
s281056602
p00084
p00084
u752673456
u752673456
1,322,058,318
2011-11-23T14:25:18
Main.java
mport java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] ary = sc.nextLine().split("[ ,\\.]"); int i =0; for(String o : ary) { if(i==0) i=1; else System.out.print(" "); System.out.prin...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752673456|p00084|0
u752673456|p00084|0
codenet
Compile Error
372
v2_s268006850
s268006850
s268006850
p00084
p00084
u752673456
u752673456
1,322,058,463
2011-11-23T14:27:43
Main.java
mport java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] ary = sc.nextLine().split("[ ,\\.]"); int i=0,j; for(String o : ary) { j=o.length(); if(j>2&&j<7){ if(i==0) i=1; else Syst...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752673456|p00084|0
u752673456|p00084|0
codenet
Compile Error
418
v2_s291542337
s291542337
s291542337
p00084
p00084
u799031017
u799031017
1,512,714,121
2017-12-08T06:22:01
Main.java
import java.util.*; public class Main{ Scanner in = new Scanner(System.in); void solve(){ List<String> list = Arrays.asList(in.nextLine().replaceAll(",|\\."," ").split("[ ]+")); System.out.println(String.join(" ", list.stream().filter(s -> 2 < s.length() && s.length() < 7).collect(Collectors.t...
Main.java:8: error: cannot find symbol System.out.println(String.join(" ", list.stream().filter(s -> 2 < s.length() && s.length() < 7).collect(Collectors.toList()))); ^ symbol: variable Collectors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u799031017|p00084|0
u799031017|p00084|0
codenet
Compile Error
421
v2_s986473430
s986473430
s986473430
p00086
p00086
u163346020
u163346020
1,426,334,356
2015-03-14T11:59:16
Main.java
import java.io.*; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.NoSuchElementException; import java.util.Scanner; public class Main { public static void main...
Main.java:37: error: ')' or ',' expected out.println(((list[1] % 2 == 1 && list[2] % 2 == 1 && o == 2)?"OK":"NG"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u163346020|p00086|0
u163346020|p00086|0
codenet
Compile Error
3,578
v2_s295732527
s295732527
s295732527
p00086
p00086
u213849509
u213849509
1,423,828,492
2015-02-13T11:54:52
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (scanner.hasNext()) { int[] map = new int[101]; while (true) { int n = scanner.nextInt(); int s = scanner.nextInt(); if (n == 0 && s == 0) { break; } map[n]++; map[s]...
Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u213849509|p00086|0
u213849509|p00086|0
codenet
Compile Error
623
v2_s185846124
s185846124
s185846124
p00086
p00086
u562651626
u562651626
1,383,050,199
2013-10-29T12:36:39
Main.java
public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int array[]=new int[50]; int count=0,a,b; while(true){ for(int i=0;i<50;i++){ array[i]=0; } while(true){ a=scan.nextInt(); b=scan.nextInt(); array[a]++; array[b]++; if(a==0){ ...
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u562651626|p00086|0
u562651626|p00086|0
codenet
Compile Error
694
v2_s820823665
s820823665
s820823665
p00087
p00087
u197786702
u197786702
1,403,530,912
2014-06-23T13:41:52
Main.java
import java.util.Scanner; import java.util.Stack; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNextLine()){ Stack<Double> stack = new Stack<Double>(); for(String s : sc.nextLine().split(" ");){...
Main.java:12: error: ')' expected for(String s : sc.nextLine().split(" ");){ ^ Main.java:12: error: illegal start of expression for(String s : sc.nextLine().split(" ");){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u197786702|p00087|1
u197786702|p00087|1
codenet
Compile Error
1,205
v2_s748856466
s748856466
s748856466
p00087
p00087
u660498157
u660498157
1,281,202,312
2010-08-07T17:31:52
Main.java
import java.util.*; import java.lang.*; import java.math.*; import java.io.*; import static java.lang.Math.*; import static java.util.Arrays.*; public class Main{ Scanner sc; static final int INF=1<<28; static final double EPS=1e-9; void run(){ sc=new Scanner(System.in); for(; sc.hasNext();){ Scanner c=...
Main.java:47: error: illegal start of expression println(ans+"");*/ ^ Main.java:47: error: illegal start of expression println(ans+"");*/ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p00087|0
u660498157|p00087|0
codenet
Compile Error
1,099
v2_s051827022
s051827022
s051827022
p00088
p00088
u017525488
u017525488
1,377,486,068
2013-08-26T03:01:08
Main.java
import java.util.*; import java.io.*; import static java.lang.Math.*; class Main { public static void main( final String[] args ) { final char[] inFromLst = { ' ', '\'', ',', '-', '.', '?', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y...
Main.java:27: error: cannot find symbol while ( stdin.hasNextLine() ) { ^ symbol: variable stdin location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017525488|p00088|0
u017525488|p00088|0
codenet
Compile Error
2,198
v2_s117621216
s117621216
s117621216
p00089
p00089
u306553775
u306553775
1,392,125,073
2014-02-11T13:24:33
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { static int[][] diamond = null; static int[][] max = null; static int[] tmpMax = null; static int height = -1; static int width = -1; public static void main(String[] args)...
Main.java:6: error: illegal character: '\u3000' public class?Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u306553775|p00089|1
u306553775|p00089|0
codenet
Compile Error
1,687
v2_s478560941
s478560941
s478560941
p00090
p00090
u193379042
u193379042
1,362,481,335
2013-03-05T11:02:15
Main.java
00.07 sec 20600 KB 90 lines 2654 bytes 2013-03-05 19:22 ? 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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 ...
Main.java:1: error: class, interface, enum, or record expected 00.07 sec 20600 KB 90 lines 2654 bytes 2013-03-05 19:22 ^ Main.java:93: error: class, interface, enum, or record expected import java.io.IOException; ^ Main.java:94: error: class, interface, enum, or record expected import java.io.InputStreamRe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u193379042|p00090|1
u193379042|p00090|0
codenet
Compile Error
3,490
v2_s111260960
s111260960
s111260960
p00090
p00090
u205820388
u205820388
1,332,167,236
2012-03-19T14:27:16
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner s = new Scanner(System.in); while(true){ int num = s.nextInt(); if(num==-)break; double[][] data = new double[num][2]; for(int i=0 ; i<num ; i++){ String[] temp = s.next().split(","); ...
Main.java:9: error: illegal start of expression if(num==-)break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u205820388|p00090|0
u205820388|p00090|0
codenet
Compile Error
800
v2_s472494533
s472494533
s472494533
p00090
p00090
u418253672
u418253672
1,342,327,612
2012-07-15T04:46:52
Main.java
15 3.14979,8.51743 2.39506,3.84915 2.68432,5.39095 5.61904,9.16332 7.85653,4.75593 2.84021,5.41511 1.79500,8.59211 7.55389,8.17604 4.70665,4.66125 1.63470,4.42538 7.34959,4.61981 5.09003,8.11122 5.24373,1.30066 0.13517,1.83659 7.57313,1.58150 0
Main.java:1: error: class, interface, enum, or record expected 15 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u418253672|p00090|1
u418253672|p00090|1
codenet
Compile Error
259
v2_s630918472
s630918472
s630918472
p00091
p00091
u211138527
u211138527
1,436,121,404
2015-07-05T18:36:44
Main.java
import java.io.*; class Main{ int[] sx={0,0,1,0,-1}; int[] sy={0,1,0,-1,0}; int[] mx={0,0,1,0,-1,-1,-1,1,1}; int[] my={0,1,0,-1,0,-1,1,-1,1}; int[] sx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; int[] my={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; int total; int res; int[][] map=new int[10][10]; int[][] drop=new int[10][10]; static void sd...
Main.java:86: error: <identifier> expected public staic void main(String[] args) throws IOException{ ^ Main.java:110: error: ';' expected return search(x+1,1,3) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,974
v2_s423670642
s423670642
s423670642
p00091
p00091
u211138527
u211138527
1,436,121,469
2015-07-05T18:37:49
Main.java
import java.io.*; class Main{ int[] sx={0,0,1,0,-1}; int[] sy={0,1,0,-1,0}; int[] mx={0,0,1,0,-1,-1,-1,1,1}; int[] my={0,1,0,-1,0,-1,1,-1,1}; int[] sx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; int[] my={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; int total; int res; int[][] map=new int[10][10]; int[][] drop=new int[10][10]; static void sd...
Main.java:86: error: <identifier> expected public staic void main(String[] args) throws IOException{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,975
v2_s503098470
s503098470
s503098470
p00091
p00091
u211138527
u211138527
1,436,122,081
2015-07-05T18:48:01
Main.java
import java.io.*; class Main{ int[] sx={0,0,1,0,-1}; int[] sy={0,1,0,-1,0}; int[] mx={0,0,1,0,-1,-1,-1,1,1}; int[] my={0,1,0,-1,0,-1,1,-1,1}; int[] sx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; int[] my={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; int total; int res; int[][] map=new int[10][10]; int[][] drop=new int[10][10]; static void sd...
Main.java:8: error: variable sx is already defined in class Main int[] sx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; ^ Main.java:9: error: variable my is already defined in class Main int[] my={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; ^ Main.java:15: error: non-static variable sx cannot be referenced from a static context for...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,976
v2_s281286373
s281286373
s281286373
p00091
p00091
u211138527
u211138527
1,436,122,109
2015-07-05T18:48:29
Main.java
import java.io.*; class Main{ int[] sx={0,0,1,0,-1}; int[] sy={0,1,0,-1,0}; int[] mx={0,0,1,0,-1,-1,-1,1,1}; int[] my={0,1,0,-1,0,-1,1,-1,1}; int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; int total; int res; int[][] map=new int[10][10]; int[][] drop=new int[10][10]; static void sd...
Main.java:15: error: non-static variable sx cannot be referenced from a static context for(int i=0;i<sx.length;i++){ ^ Main.java:16: error: non-static variable map cannot be referenced from a static context map[x+sx[i]][y+sy[i]]--; ^ Main.java:16: error: non-static variable sx cannot be referenced from a ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,976
v2_s534740601
s534740601
s534740601
p00091
p00091
u211138527
u211138527
1,436,122,184
2015-07-05T18:49:44
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] ma...
Main.java:144: error: continue outside of loop continue; ^ Main.java:157: error: continue outside of loop continue; ^ Main.java:170: error: continue outside of loop continue; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
3,046
v2_s410810587
s410810587
s410810587
p00091
p00091
u211138527
u211138527
1,436,122,248
2015-07-05T18:50:48
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] ma...
Main.java:137: error: unreachable statement break; ^ Main.java:149: error: unreachable statement break; ^ Main.java:161: error: unreachable statement break; ^ Main.java:170: error: unreachable statement break; ^ Main.java:172: error: missing return statement } ^ 5...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,995
v2_s759663017
s759663017
s759663017
p00091
p00091
u211138527
u211138527
1,436,122,280
2015-07-05T18:51:20
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] ma...
Main.java:168: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,939
v2_s402152826
s402152826
s402152826
p00091
p00091
u211138527
u211138527
1,436,122,839
2015-07-05T19:00:39
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] ma...
Main.java:167: error: unreachable statement break; ^ Main.java:169: error: missing return statement } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,953
v2_s559883170
s559883170
s559883170
p00091
p00091
u211138527
u211138527
1,436,122,865
2015-07-05T19:01:05
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] ma...
Main.java:168: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,939
v2_s169067122
s169067122
s169067122
p00091
p00091
u211138527
u211138527
1,436,124,393
2015-07-05T19:26:33
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] ma...
Main.java:168: error: incompatible types: missing return value return; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,947
v2_s344974949
s344974949
s344974949
p00091
p00091
u211138527
u211138527
1,436,124,427
2015-07-05T19:27:07
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] ma...
Main.java:168: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,939
v2_s519523681
s519523681
s519523681
p00091
p00091
u211138527
u211138527
1,436,124,480
2015-07-05T19:28:00
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] ma...
Main.java:137: error: unreachable statement break; ^ Main.java:149: error: unreachable statement break; ^ Main.java:161: error: unreachable statement break; ^ Main.java:170: error: unreachable statement break; ^ Main.java:172: error: missing return statement } ^ 5 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,967
v2_s034898349
s034898349
s034898349
p00091
p00091
u211138527
u211138527
1,436,124,880
2015-07-05T19:34:40
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] ma...
Main.java:168: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,927
v2_s835248696
s835248696
s835248696
p00091
p00091
u211138527
u211138527
1,436,124,962
2015-07-05T19:36:02
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] ma...
Main.java:167: error: unreachable statement break; ^ Main.java:169: error: missing return statement } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,934
v2_s262007557
s262007557
s262007557
p00091
p00091
u211138527
u211138527
1,436,129,832
2015-07-05T20:57:12
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] m...
Main.java:122: error: ';' expected return false ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
2,975
v2_s520635257
s520635257
s520635257
p00091
p00091
u211138527
u211138527
1,436,134,588
2015-07-05T22:16:28
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[][] ...
Main.java:165: error: unreachable statement size=3; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|0
u211138527|p00091|0
codenet
Compile Error
3,278
v2_s648260419
s648260419
s648260419
p00091
p00091
u211138527
u211138527
1,436,547,617
2015-07-10T17:00:17
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static int[...
Main.java:151: error: ')' expected else if(mcd(x,y)&&search(x,y,2){ ^ Main.java:154: error: ')' expected else if(scd(x,y)&&search(x,y,1){ ^ Main.java:168: error: ')' expected else if(scd(x,y)&&search(x,y,1){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|2
u211138527|p00091|2
codenet
Compile Error
3,527
v2_s366357620
s366357620
s366357620
p00091
p00091
u211138527
u211138527
1,436,548,641
2015-07-10T17:17:21
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static in...
Main.java:163: error: orphaned case case 2:if(mcd(x,y)){ ^ Main.java:202: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|2
u211138527|p00091|2
codenet
Compile Error
3,567
v2_s724762455
s724762455
s724762455
p00091
p00091
u211138527
u211138527
1,437,592,507
2015-07-22T19:15:07
Main.java
import java.io.*; class Main{ static int[] sx={0,0,1,0,-1}; static int[] sy={0,1,0,-1,0}; static int[] mx={0,0,1,0,-1,-1,-1,1,1}; static int[] my={0,1,0,-1,0,-1,1,-1,1}; static int[] lx={0,0,1,0,-1,-1,-1,1,1,0,2,0,-2}; static int[] ly={0,1,0,-1,0,-1,1,-1,1,2,0,-2,0}; static int total; static int res; static in...
Main.java:102: error: ';' expected int m=drop[i][j][k-1] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|3
u211138527|p00091|3
codenet
Compile Error
3,314
v2_s454678529
s454678529
s454678529
p00091
p00091
u211138527
u211138527
1,448,901,803
2015-11-30T16:43:23
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: illegal start of expression static int total,res; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|4
u211138527|p00091|4
codenet
Compile Error
6,175
v2_s885402199
s885402199
s885402199
p00091
p00091
u211138527
u211138527
1,448,901,941
2015-11-30T16:45:41
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:41: error: illegal start of expression static int total,res; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|4
u211138527|p00091|4
codenet
Compile Error
6,186
v2_s323791397
s323791397
s323791397
p00091
p00091
u211138527
u211138527
1,448,902,059
2015-11-30T16:47: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:45: error: illegal start of expression static void sd(int x,int y){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00091|4
u211138527|p00091|4
codenet
Compile Error
6,185
v2_s649265573
s649265573
s649265573
p00091
p00091
u280402997
u280402997
1,403,238,711
2014-06-20T04:31:51
Main.java
import java.util.Stack; import java.util.Scanner; import java.util.TreeSet; import java.util.Comparator; class Sheet { private byte n; private byte [][] t = new byte[10][10]; private Stack<String> st = new Stack<String>(); private final static int[][][] inkPos = { { {-1, 0} , {1, 0} , {0,-1} , {0, 1}, {0,...
Main.java:152: error: ';' expected operateInk(a,i,j,1) ){ ^ Main.java:160: error: illegal start of expression public void input() ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u280402997|p00091|4
u280402997|p00091|2
codenet
Compile Error
3,155
v2_s152843894
s152843894
s152843894
p00093
p00093
u079104535
u079104535
1,351,834,774
2012-11-02T05:39:34
Member3.java
// 作成日 : 2012/11/02 // 作成者 : 01 石川力太 package 電話番号管理3; import java.io.*; import java.sql.*; public class Member3 { // Oracle DB 操作用のクラスをインスタンス化 OracleManager olm; BufferedReader br; ResultSet rs; public Member3 () throws IOException, SQLException { olm = new OracleManager(); //DB操作? br = new BufferedReader(...
Member3.java:11: error: cannot find symbol OracleManager olm; ^ symbol: class OracleManager location: class Member3 Member3.java:16: error: cannot find symbol olm = new OracleManager(); //DB??? ^ symbol: class OracleManager location: class Member3 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u079104535|p00093|0
u079104535|p00093|0
codenet
Compile Error
4,975
v2_s586462149
s586462149
s586462149
p00093
p00093
u594816808
u594816808
1,527,037,933
2018-05-23T01:12:13
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int a = sc.nextInt(); int b = sc.nextInt(); if (a == 0 && b == 0) { break; } hasLeapYear(a, b); } sc.close(); } private static void hasLeapYear(int a, int b) { boolean h...
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u594816808|p00093|0
u594816808|p00093|0
codenet
Compile Error
820
v2_s094833993
s094833993
s094833993
p00093
p00093
u764432488
u764432488
1,352,982,341
2012-11-15T12:25:41
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = null; String buf; try{ br = new BufferedReader(new InputStreamReader(System.in)); while((buf = br.readLine()) !=null){ int[] year = new int[2]; for(int i=0;year.length;i++){ year[i]= I...
Main.java:11: error: incompatible types: int cannot be converted to boolean for(int i=0;year.length;i++){ ^ Main.java:12: error: incompatible types: String[] cannot be converted to String year[i]= Integer.parseInt(buf.split(" ")); ^ Note: Some messages ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764432488|p00093|0
u764432488|p00093|0
codenet
Compile Error
629
v2_s613180368
s613180368
s613180368
p00093
p00093
u764432488
u764432488
1,352,982,666
2012-11-15T12:31:06
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = null; String buf; try{ br = new BufferedReader(new InputStreamReader(System.in)); while((buf = br.readLine()) !=null){ int[] year = new int[2]; for(int i=0;i<year.length;i++){ year[i]=...
Main.java:25: error: 'finally' without 'try' }finally{ ^ Main.java:7: error: 'try' without 'catch', 'finally' or resource declarations try{ ^ Main.java:31: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764432488|p00093|0
u764432488|p00093|0
codenet
Compile Error
679
v2_s419185249
s419185249
s419185249
p00093
p00093
u764432488
u764432488
1,352,983,140
2012-11-15T12:39:00
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = null; String buf; int line = true; try{ br = new BufferedReader(new InputStreamReader(System.in)); while((buf = br.readLine()) !=null){ int[] year = new int[2]; for(int i=0;i<year.length;i+...
Main.java:31: error: 'finally' without 'try' }finally{ ^ Main.java:8: error: 'try' without 'catch', 'finally' or resource declarations try{ ^ Main.java:37: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764432488|p00093|0
u764432488|p00093|0
codenet
Compile Error
794
v2_s365111918
s365111918
s365111918
p00093
p00093
u764432488
u764432488
1,352,983,159
2012-11-15T12:39:19
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = null; String buf; int line = true; try{ br = new BufferedReader(new InputStreamReader(System.in)); while((buf = br.readLine()) !=null){ int[] year = new int[2]; for(int i=0;i<year.length;i+...
Main.java:7: error: incompatible types: boolean cannot be converted to int int line = true; ^ Main.java:16: error: incompatible types: int cannot be converted to boolean if(line){ ^ Main.java:17: error: incompatible types: boolean cannot be converted to int line = false; ^ 3 error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764432488|p00093|0
u764432488|p00093|0
codenet
Compile Error
795
v2_s440457250
s440457250
s440457250
p00094
p00094
u213849509
u213849509
1,423,888,507
2015-02-14T04:35:07
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); double c = 3.305785; System.out.println(a * b / c); } }
Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u213849509|p00094|0
u213849509|p00094|0
codenet
Compile Error
227