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_s532054807
s532054807
s532054807
p01300
p01300
u759934006
u759934006
1,473,260,622
2016-09-07T15:03:42
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import static java.lang.Integer.parseInt; import static java.lang.Long.parseLong; /** * Eleven Lover */ public class Main { static String sub; public static void main(String[] args) throws IOException { BufferedReader...
Main.java:48: error: cannot find symbol P2182.sub = ""; ^ symbol: variable P2182 location: class Main Main.java:50: error: cannot find symbol P2182.sub = mod + sub.substring(i, i + 17); ^ symbol: variable P2182 location: class Main Main.java:52: error: cannot find symbol P2182.sub = mod + ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759934006|p01300|0
u759934006|p01300|0
codenet
Compile Error
1,283
v2_s430238667
s430238667
s430238667
p01314
p01314
u140956409
u140956409
1,528,450,650
2018-06-08T09:37:30
Main.java
public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int input = Integer.parseInt(str); while(input != 0) { int count = 0; int sum; for(int i = 1; ...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws NumberFormatException, IOException { ^ symbol: class IOException location: class Main Main.java:4: error: cannot find symbol BufferedReader br = new Buffere...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u140956409|p01314|0
u140956409|p01314|0
codenet
Compile Error
555
v2_s037553333
s037553333
s037553333
p01314
p01314
u355971134
u355971134
1,509,406,465
2017-10-30T23:34:25
Main.java
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); for (int n = sc.nextInt(); n != 0; n = sc.nextInt();) { int r = 0; for(int j = 2,i = 1,s = 3;j<n;s += (s < n)?++j:-i++) if(s == n) r++; System.out.println(r); } } }
Main.java:6: error: ')' expected for (int n = sc.nextInt(); n != 0; n = sc.nextInt();) { ^ Main.java:6: error: illegal start of expression for (int n = sc.nextInt(); n != 0; n = sc.nextInt();) { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u355971134|p01314|0
u355971134|p01314|0
codenet
Compile Error
310
v2_s836198475
s836198475
s836198475
p01314
p01314
u464358276
u464358276
1,510,048,368
2017-11-07T09:52:48
Main.java
public class Main { static int[][] map; static int[] list; static int initnum; static int N; static int count; public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); list= new int[45]; list=getInitlist(); map = new int[46...
Main.java:11: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:11: 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
u464358276|p01314|1
u464358276|p01314|1
codenet
Compile Error
1,349
v2_s805849597
s805849597
s805849597
p01314
p01314
u568743301
u568743301
1,529,888,350
2018-06-25T00:59:10
Main.java
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.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { static int count = 0; static int input = 0; public static int sum(int x, in...
Main.java:2: error: class, interface, enum, or record expected 3 ^ Main.java:43: error: class, interface, enum, or record expected import java.io.IOException; ^ Main.java:44: error: class, interface, enum, or record expected import java.io.InputStreamReader; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568743301|p01314|0
u568743301|p01314|0
codenet
Compile Error
1,169
v2_s177745926
s177745926
s177745926
p01314
p01314
u766898982
u766898982
1,528,453,428
2018-06-08T10:23:48
Main.java
class Main{ public static void main(String[] args){ while (true) { Scanner sc = new Scanner(System.in); // 標準入力読み取り int num = Integer.parseInt(sc.nextLine()); if (num == 0) { break; } // int max; // if (num % 2 == 0) { // max = num / 2; // } else {...
Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u766898982|p01314|0
u766898982|p01314|0
codenet
Compile Error
987
v2_s075456122
s075456122
s075456122
p01314
p01314
u806788716
u806788716
1,528,366,922
2018-06-07T10:22:02
Main.java
ああああああ
Main.java:1: error: reached end of file while parsing ?????? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u806788716|p01314|1
u806788716|p01314|1
codenet
Compile Error
19
v2_s182711802
s182711802
s182711802
p01314
p01314
u847890533
u847890533
1,528,451,136
2018-06-08T09:45:36
Main.java
public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a,c=0; while (true){ a = sc.nextInt(); for(int i=0;i<a/2;i++){ if((2*i+1)==a){ c++; } } Sys...
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
u847890533|p01314|0
u847890533|p01314|0
codenet
Compile Error
360
v2_s971004949
s971004949
s971004949
p01314
p01314
u847890533
u847890533
1,528,452,748
2018-06-08T10:12:28
Main.java
public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a; while (true){ int c = 0; a = sc.nextInt(); for(int i=0;i<a;i++){ int sum=0; for(int j=i;j<a;j++) { s...
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
u847890533|p01314|0
u847890533|p01314|0
codenet
Compile Error
451
v2_s958862870
s958862870
s958862870
p01314
p01314
u847890533
u847890533
1,528,452,781
2018-06-08T10:13:01
Main.java
class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a; while (true){ int c = 0; a = sc.nextInt(); for(int i=0;i<a;i++){ int sum=0; for(int j=i;j<a;j++) { sum +=j;...
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
u847890533|p01314|0
u847890533|p01314|0
codenet
Compile Error
444
v2_s490852770
s490852770
s490852770
p01314
p01314
u886744208
u886744208
1,509,179,417
2017-10-28T08:30:17
main.java
import java.util.Scanner; public class main{ public static void main(String[] args){ new SumOfConsecutiveIntegers().run(); } public void run() { try { // ?????????????????????????????? Scanner sc = new Scanner(System.in); for(;;){ if(sc.hasNext()){ int inputNumber = sc.nextInt(); if(input...
main.java:5: error: cannot find symbol new SumOfConsecutiveIntegers().run(); ^ symbol: class SumOfConsecutiveIntegers location: class main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u886744208|p01314|1
u886744208|p01314|1
codenet
Compile Error
1,030
v2_s874916793
s874916793
s874916793
p01315
p01315
u211138527
u211138527
1,457,358,649
2016-03-07T13:50:49
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:43: error: not a statement info[6]*info[7]*info[8]-info[0]; ^ Main.java:47: error: not a statement info[1]+info[2]+info[3]+(info[4]+info[5])*info[8]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01315|0
u211138527|p01315|0
codenet
Compile Error
3,362
v2_s309277553
s309277553
s309277553
p01315
p01315
u211138527
u211138527
1,457,358,678
2016-03-07T13:51:18
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:20: error: cannot find symbol Crop[] cs=new Crops[n]; ^ symbol: class Crops location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01315|0
u211138527|p01315|0
codenet
Compile Error
3,376
v2_s720233639
s720233639
s720233639
p01315
p01315
u473115569
u473115569
1,530,028,794
2018-06-26T15:59:54
Main.java
import java.util.PriorityQueue; import java.util.Scanner; public class Main { static class State implements Comparable<State>{ String name; int cost; State(String name, int cost){ this.name=name; this.cost=cost; } public int compareTo(State s) { ...
Main.java:15: error: illegal character: '\u3000' ?return this.name.compareTo(s.name); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u473115569|p01315|0
u473115569|p01315|0
codenet
Compile Error
1,684
v2_s452500319
s452500319
s452500319
p01315
p01315
u473115569
u473115569
1,530,028,812
2018-06-26T16:00:12
Main.java
import java.util.PriorityQueue; import java.util.Scanner; public class Main { static class State implements Comparable<State>{ String name; int cost; State(String name, int cost){ this.name=name; this.cost=cost; } public int compareTo(State s) { ...
Main.java:15: error: illegal character: '\u3000' ?return this.name.compareTo(s.name); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u473115569|p01315|0
u473115569|p01315|0
codenet
Compile Error
1,684
v2_s821201156
s821201156
s821201156
p01321
p01321
u588294115
u588294115
1,405,059,116
2014-07-11T06:11:56
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] point = new int[100]; int n; while((n = sc.nextInt()) != 0){ for(int i = 0; i < n; i++){ for(int j = 0; j < 5; j++){ point[i] += sc.nextInt(); } System.out.println(point[i]); } int ...
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
u588294115|p01321|0
u588294115|p01321|0
codenet
Compile Error
518
v2_s022529037
s022529037
s022529037
p01324
p01324
u441981269
u441981269
1,318,729,756
2011-10-16T01:49:16
Main.java
3 1 km = 10^3 m 1 m = 10^2 cm 1 km = 10^5 cm 7 1 kilometre = 10^3 metre 1 megametre = 10^3 kilometre 1 metre = 10^-6 megametre 1 terametre = 10^3 gigametre 1 petametre = 10^3 terametre 1 gigametre = 10^-6 petametre 1 metre = 10^-15 petametre 4 1 a = 10^2 b 1 a = 10^3 c 1 b = 10^2 c 1 c = 10^1 d 4 1 acm = 10^2 icpc 1 ic...
Main.java:1: error: class, interface, enum, or record expected 3 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u441981269|p01324|0
u441981269|p01324|0
codenet
Compile Error
382
v2_s688467633
s688467633
s688467633
p01324
p01324
u441981269
u441981269
1,318,730,868
2011-10-16T02:07:48
Main.java
3 1 km = 10^3 m 1 m = 10^2 cm 1 km = 10^5 cm 7 1 kilometre = 10^3 metre 1 megametre = 10^3 kilometre 1 metre = 10^-6 megametre 1 terametre = 10^3 gigametre 1 petametre = 10^3 terametre 1 gigametre = 10^-6 petametre 1 metre = 10^-15 petametre 4 1 a = 10^2 b 1 a = 10^3 c 1 b = 10^2 c 1 c = 10^1 d 4 1 acm = 10^2 icpc 1 ic...
Main.java:1: error: class, interface, enum, or record expected 3 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u441981269|p01324|0
u441981269|p01324|0
codenet
Compile Error
382
v2_s582079217
s582079217
s582079217
p01336
p01336
u605441342
u605441342
1,370,490,828
2013-06-06T03:53:48
Main2.java
import java.util.Arrays; import java.util.Scanner; import p2219.Main.Unit; public class Main2 { static int N,M; static int[][] idol; static int[][] dp; static int rank,ability; public static void main(String[] args) { Scanner cin=new Scanner(System.in); for(;;){ String NM=cin.nextLine(); N=Integer.par...
Main2.java:4: error: package p2219.Main does not exist import p2219.Main.Unit; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605441342|p01336|0
u605441342|p01336|0
codenet
Compile Error
1,292
v2_s223908208
s223908208
s223908208
p01352
p01352
u323357326
u323357326
1,478,950,428
2016-11-12T11:33:48
Main.java
import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Scanner; public class Main { static ArrayList<List<Integer>>[] questions; static int N; static DJSet ds; static String[] ans; static int k; @SuppressWarnings("unc...
Main.java:198: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p01352|0
u323357326|p01352|0
codenet
Compile Error
3,992
v2_s643599823
s643599823
s643599823
p01359
p01359
u211138527
u211138527
1,457,444,139
2016-03-08T13:35: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:47: error: cannot find symbol public Era(int begin,int end,Stirng name){ ^ symbol: class Stirng location: class Era 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01359|0
u211138527|p01359|0
codenet
Compile Error
3,720
v2_s308772344
s308772344
s308772344
p01369
p01369
u843866464
u843866464
1,401,168,619
2014-05-27T05:30:19
Main.java
public class Main { static Scanner sc = new Scanner(System.in); public static void main(String args[]){ int count; boolean left; String line; char[] tmp; Character[] qwert = {'q','w','e','r','t', 'a','s','d','f','g', ...
Main.java:2: error: cannot find symbol static Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:2: error: cannot find symbol static Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843866464|p01369|0
u843866464|p01369|0
codenet
Compile Error
1,113
v2_s822678091
s822678091
s822678091
p01370
p01370
u211138527
u211138527
1,457,427,603
2016-03-08T09:00:03
Main.java
import java.io.InputStream; 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.InputMismatchException; import java.util.NoSuchElementException; import java.math.Bi...
Main.java:25: error: incompatible types: int cannot be converted to boolean for(int i=0;i=60;i++) Arrays.fill(dist[i],INF); ^ Main.java:29: error: incompatible types: int cannot be converted to boolean for(int i=0;i=60;i++) for(int j=0;j<60;j++) if(dist[i][j]!=INF) ct++; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01370|0
u211138527|p01370|0
codenet
Compile Error
3,758
v2_s172106483
s172106483
s172106483
p01370
p01370
u399118522
u399118522
1,370,341,717
2013-06-04T10:28:37
Main.java
public static void main(String[] arg) { Scanner in = new Scanner(System.in); while (in.hasNext()) { int life = in.nextInt() + 1; int n = in.nextInt(); if (life == 0 && n == 0) { break; } int[][] map = new int[MAP_SIZE * 2 + 1][MAP_SIZE * 2 + 1]; for (int i = 0; i < n; i++) { int x = in.ne...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] arg) { ^ (use --enable-preview to enable unnamed classes) Main.java:66: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p01370|1
u399118522|p01370|0
codenet
Compile Error
1,595
v2_s659500651
s659500651
s659500651
p01370
p01370
u399118522
u399118522
1,370,341,740
2013-06-04T10:29:00
Main.java
public static void main(String[] arg) { Scanner in = new Scanner(System.in); while (in.hasNext()) { int life = in.nextInt() + 1; int n = in.nextInt(); if (life == 0 && n == 0) { break; } int[][] map = new int[MAP_SIZE * 2 + 1][MAP_SIZE * 2 + 1]; for (int i = 0; i < n; i++) { int x = in.ne...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] arg) { ^ (use --enable-preview to enable unnamed classes) Main.java:66: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p01370|1
u399118522|p01370|0
codenet
Compile Error
1,595
v2_s801963977
s801963977
s801963977
p01370
p01370
u759934006
u759934006
1,470,491,126
2016-08-06T13:45:26
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayDeque; import java.util.Deque; import static java.lang.Integer.parseInt; /** * Brave Force Story */ public class Main { static final int MAX = 60; static final int[] H = new int[]{1, 1, 0, -1, -1, 0...
Main.java:22: error: cannot find symbol P2253 main = new P2253(); ^ symbol: class P2253 location: class Main Main.java:22: error: cannot find symbol P2253 main = new P2253(); ^ symbol: class P2253 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759934006|p01370|4
u759934006|p01370|4
codenet
Compile Error
2,996
v2_s236362884
s236362884
s236362884
p01374
p01374
u323357326
u323357326
1,476,860,915
2016-10-19T07:08:35
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Queue; public class Main { static InputStream is; static PrintWriter out; static String INPUT =...
Main.java:229: error: method does not override or implement a method from a supertype @Override ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p01374|0
u323357326|p01374|0
codenet
Compile Error
7,534
v2_s247569450
s247569450
s247569450
p01374
p01374
u323357326
u323357326
1,476,860,915
2016-10-19T07:08:35
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Queue; public class Main { static InputStream is; static PrintWriter out; static String INPUT =...
Main.java:229: error: method does not override or implement a method from a supertype @Override ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p01374|0
u323357326|p01374|0
codenet
Compile Error
7,534
v2_s227735734
s227735734
s227735734
p01374
p01374
u323357326
u323357326
1,476,860,920
2016-10-19T07:08:40
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Queue; public class Main { static InputStream is; static PrintWriter out; static String INPUT =...
Main.java:229: error: method does not override or implement a method from a supertype @Override ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p01374|0
u323357326|p01374|0
codenet
Compile Error
7,534
v2_s892568766
s892568766
s892568766
p01374
p01374
u323357326
u323357326
1,476,880,829
2016-10-19T12:40:29
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Queue; public class Main { static InputStream is...
Main.java:109: error: illegal character: '\' out.println(a\\ns); ^ Main.java:109: error: illegal character: '\' out.println(a\\ns); ^ Main.java:109: error: not a statement out.println(a\\ns); ^ Main.java:109: error: ';' expected out.println(a\\ns); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p01374|1
u323357326|p01374|0
codenet
Compile Error
7,652
v2_s255921091
s255921091
s255921091
p01374
p01374
u323357326
u323357326
1,476,880,838
2016-10-19T12:40:38
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Queue; public class Main { static InputStream is...
Main.java:109: error: illegal character: '\' out.println(a\\ns); ^ Main.java:109: error: illegal character: '\' out.println(a\\ns); ^ Main.java:109: error: not a statement out.println(a\\ns); ^ Main.java:109: error: ';' expected out.println(a\\ns); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p01374|1
u323357326|p01374|0
codenet
Compile Error
7,652
v2_s512058878
s512058878
s512058878
p01377
p01377
u014050391
u014050391
1,356,005,373
2012-12-20T12:09:33
Main.java
import java.util.*; public class Main { static Scanner kbd = new Scanner(System.in); public static void main(String[] args){ while(kbd.hasNext()){ String n = kbd.next(); if(n.length()!=0){ String[] c = new String[n.length()]; int i; int count = 0; for(i=0; i<n.length(); i++){ c[i] = n.s...
Main.java:38: error: ')' expected else if(a.equals(")"){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u014050391|p01377|0
u014050391|p01377|0
codenet
Compile Error
940
v2_s919569627
s919569627
s919569627
p01379
p01379
u441981269
u441981269
1,318,663,265
2011-10-15T07:21:05
Main.java
//@2262 Stopping Problem public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String s = reader.readLine(); String[] sp = s.split(" "); int ymax = Integer.parseInt(sp[0]); int xmax = Integer.parseInt(sp[1]); Str...
Main.java:3: 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:102: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u441981269|p01379|0
u441981269|p01379|0
codenet
Compile Error
1,812
v2_s018587789
s018587789
s018587789
p01398
p01398
u229177350
u229177350
1,318,742,152
2011-10-16T05:15:52
Main.java
import java.util.*;class Main{public static void main(String[]z){Scanner s=new Scanner(System.in);for(int n;(n=s.nextInt())>0;){char[]c=s.next().toCharArray();int a[][]=new int[n][],x=0;for(;i<n;++i)a[i]=new int[]{s.nextInt()-1,s.nextInt()-1};for(;n-->0;c[u]=(char)(p-(p>122?26:0)),c[v]=(char)(t-(t>122?26:0)))int u=a[n]...
Main.java:1: error: variable declaration not allowed here import java.util.*;class Main{public static void main(String[]z){Scanner s=new Scanner(System.in);for(int n;(n=s.nextInt())>0;){char[]c=s.next().toCharArray();int a[][]=new int[n][],x=0;for(;i<n;++i)a[i]=new int[]{s.nextInt()-1,s.nextInt()-1};for(;n-->0;c[u]=(ch...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u229177350|p01398|0
u229177350|p01398|0
codenet
Compile Error
400
v2_s878142397
s878142397
s878142397
p01410
p01410
u755268821
u755268821
1,473,523,958
2016-09-10T16:12:38
Main.java
\import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { new Main().solver(); } @SuppressWarnings("unchecked") void solver() { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] A...
Main.java:1: error: illegal character: '\' \import java.util.ArrayDeque; ^ Main.java:1: error: class, interface, enum, or record expected \import java.util.ArrayDeque; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.ArrayList; ^ Main.java:3: error: class, interface, enum, or re...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u755268821|p01410|0
u755268821|p01410|0
codenet
Compile Error
3,629
v2_s589330959
s589330959
s589330959
p01416
p01416
u312158419
u312158419
1,316,304,363
2011-09-18T00:06:03
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { new CopyOfMain().run(); return; } Scanner scanner = new Scanner(System.in); int m; int[][][] tile = new int[26][2][2]; boolean[] cantGet =new boolean[26]; int score = 0; void run() { m = scanner.nextInt(); ...
Main.java:7: error: cannot find symbol new CopyOfMain().run(); ^ symbol: class CopyOfMain location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u312158419|p01416|0
u312158419|p01416|0
codenet
Compile Error
2,381
v2_s763491111
s763491111
s763491111
p01417
p01417
u211138527
u211138527
1,457,519,491
2016-03-09T10:31:31
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:19: error: incompatible types: int[][] cannot be converted to double[][] double[][] c=new int[n][3]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01417|0
u211138527|p01417|0
codenet
Compile Error
3,288
v2_s120825337
s120825337
s120825337
p01417
p01417
u211138527
u211138527
1,457,519,609
2016-03-09T10:33:29
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:42: error: cannot find symbol DecimalFormat df=new DecimalFormat("0.000000000"); ^ symbol: class DecimalFormat location: class Main Main.java:42: error: cannot find symbol DecimalFormat df=new DecimalFormat("0.000000000"); ^ symbol: class DecimalFormat location: class Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01417|0
u211138527|p01417|0
codenet
Compile Error
3,354
v2_s729113948
s729113948
s729113948
p01417
p01417
u211138527
u211138527
1,457,520,606
2016-03-09T10:50:06
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; import java.text.DecimalFormat; public cla...
Main.java:31: error: ';' expected double d=0.0 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01417|0
u211138527|p01417|0
codenet
Compile Error
3,409
v2_s751217144
s751217144
s751217144
p01423
p01423
u852311840
u852311840
1,525,396,041
2018-05-04T01:07:21
Main.java
#include <iostream> #include <vector> #include <algorithm> using namespace std; int c[109][109], n, m, p, q, r, maxn; void dfs(vector<int>vec) { if (vec.size() >= 2) { int sum = 0; for (int i = 0; i < vec.size(); i++) { int minx = 1000009; for (int j = 0; j < vec.size(); j++) { if (i == j) continue; ...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <vector> ^ Main.java:3: error: illegal character: '#' #include <algorithm> ^ Main.java:6: error: class, interface, enum, or record expected int c[109][109], n, m, p, q, r, maxn; ^ Main.java:8: error: unn...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u852311840|p01423|0
u852311840|p01423|0
codenet
Compile Error
758
v2_s186473010
s186473010
s186473010
p01427
p01427
u323357326
u323357326
1,471,496,677
2016-08-18T05:04:37
Main.java
#include <iostream> #include <vector> #include <cmath> #include <algorithm> using namespace std; const double EPS = 1e-8; int main(){ int H, W; string f[600]; while(cin >> H >> W){ for(int i=H-1;i>=0;i--) cin >> f[i]; vector< pair<double, int> > vd; // ????????°??????????????????????????????. // ??????(...
Main.java:2: error: illegal character: '#' #include <iostream> ^ Main.java:3: error: illegal character: '#' #include <vector> ^ Main.java:4: error: illegal character: '#' #include <cmath> ^ Main.java:5: error: illegal character: '#' #include <algorithm> ^ Main.java:9: error: class, interface, enum, or record expected c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p01427|0
u323357326|p01427|0
codenet
Compile Error
1,176
v2_s351970071
s351970071
s351970071
p01428
p01428
u827710398
u827710398
1,503,548,624
2017-08-24T04:23:44
Main.java
import java.io.PrintStream; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Optional; import java.util.Scanner; import java.util.Set; import java.util.function.Function; import java.util.stream.Collectors; import java.util.stream.Stream; public class Main { public static fi...
Main.java:70: error: invalid method declaration; return type required public DessertWitch(Boolean[][] boad) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u827710398|p01428|0
u827710398|p01428|0
codenet
Compile Error
6,107
v2_s262271345
s262271345
s262271345
p01440
p01440
u338373191
u338373191
1,476,568,254
2016-10-15T21:50:54
Main.java
import java.util.*; import java.math.*; import java.io.*; private class InfiniteSequence { private BigInteger patternBInt; private String patternStr; private int patternLen; private LinkedList<String> seqNumList = new LinkedList<String>(); private int patternOffset; public BigInteger indexO...
Main.java:4: error: modifier private not allowed here private class InfiniteSequence { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u338373191|p01440|0
u338373191|p01440|0
codenet
Compile Error
7,861
v2_s790954782
s790954782
s790954782
p01440
p01440
u338373191
u338373191
1,476,568,311
2016-10-15T21:51:51
Main.java
import java.util.*; import java.math.*; import java.io.*; public class Main { private BigInteger patternBInt; private String patternStr; private int patternLen; private LinkedList<String> seqNumList = new LinkedList<String>(); private int patternOffset; public BigInteger indexOf(String patt...
Main.java:165: error: cannot find symbol InfiniteSequence infSeq = new InfiniteSequence(); ^ symbol: class InfiniteSequence location: class Main Main.java:165: error: cannot find symbol InfiniteSequence infSeq = new InfiniteSequence(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u338373191|p01440|0
u338373191|p01440|0
codenet
Compile Error
7,848
v2_s598823536
s598823536
s598823536
p01447
p01447
u392271245
u392271245
1,375,166,621
2013-07-30T06:43:41
Main.java
public class Main{ public static void main(String[] args){ new Main().run(); } public void run(){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int count = 0; int a = 0; while(n > 1){ if(n <= 3){ count++; break; } a = (int)(0.5 + ((double)n/3.0)); n = Math.m...
Main.java:6: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: 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
u392271245|p01447|0
u392271245|p01447|0
codenet
Compile Error
387
v2_s239365884
s239365884
s239365884
p01453
p01453
u197786702
u197786702
1,434,646,478
2015-06-18T16:54:38
Main.java
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Main { public static final int[] vs = {1, 0, -1, 0}; public static final double EPS = 1e-10; ...
Main.java:93: error: illegal character: '\' while(upper - lower > EPS){\ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u197786702|p01453|1
u197786702|p01453|0
codenet
Compile Error
5,923
v2_s182790465
s182790465
s182790465
p01467
p01467
u435518193
u435518193
1,387,376,153
2013-12-18T14:15:53
Main.java
import java.util.*; public class Main { int n, k, max; int[] c; StringBuffer a, b; void loop(int id, int br, int kk){ if(kk==k+1) return; if(id==n){ int ans = 0; int ten = 1; for(int i=0;i<n;i++){ ans += c[i]*ten; ten *= 10; } max = Math.max(max, ans); return; } int p = a.c...
Main.java:49: error: cannot find symbol new Main.run(); ^ symbol: class run location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435518193|p01467|0
u435518193|p01467|0
codenet
Compile Error
862
v2_s213162076
s213162076
s213162076
p01470
p01470
u116766943
u116766943
1,332,520,039
2012-03-23T16:27:19
Main.java
import java.util.Scanner; import java.math.*; class Main{ public static void main(String[] args){ int N,o; Scanner in = new Scanner(System.in); N = in.nextInt(); BigDecimal x = new BigDecimal("0.0"); for(int i = 0; i<N; i++){ o = in.nextInt(); BigInteger a = in.nextBigInteger(); BigDecimal...
Main.java:37: error: no suitable constructor found for BigInteger(BigDecimal) BigInteger as = new BigInteger(x); ^ constructor BigInteger.BigInteger(byte[]) is not applicable (argument mismatch; BigDecimal cannot be converted to byte[]) constructor BigInteger.BigInteger(int[]) is not ap...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u116766943|p01470|0
u116766943|p01470|0
codenet
Compile Error
705
v2_s765099829
s765099829
s765099829
p01470
p01470
u116766943
u116766943
1,332,520,462
2012-03-23T16:34:22
Main.java
import java.util.Scanner; import java.math.*; class Main{ public static void main(String[] args){ int N,o; Scanner in = new Scanner(System.in); N = in.nextInt(); BigDecimal x = new BigDecimal("0.0"); for(int i = 0; i<N; i++){ o = in.nextInt(); BigInteger a = in.nextBigInteger(); BigDecimal...
Main.java:40: error: incompatible types: unexpected return value return 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u116766943|p01470|0
u116766943|p01470|0
codenet
Compile Error
713
v2_s614099620
s614099620
s614099620
p01470
p01470
u116766943
u116766943
1,332,726,327
2012-03-26T01:45:27
Main.java
import java.util.Scanner; import java.math.*; class Main{ public static void main(String[] args){ int N,o; Scanner in = new Scanner(System.in); N = in.nextInt(); BigInteger ans = new BigInteger("0") for(int i = 0; i<N; i++){ o = in.nextInt(); BigDecimal x = new BigDecimal("0.0"); BigInteger a =...
Main.java:12: error: ';' expected BigInteger ans = new BigInteger("0") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u116766943|p01470|3
u116766943|p01470|3
codenet
Compile Error
841
v2_s719771487
s719771487
s719771487
p01470
p01470
u823513038
u823513038
1,462,242,588
2016-05-03T02:29:48
Main.java
import java.util.*; import java.math.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); BigInteger v = new BigInteger("1"); BigInteger w = new BigInteger("1"); for(int i = 0; i < n; i++) { int a = sc.nextInt(), b = sc.nextInt(); if(a == 1...
Main.java:11: error: bad operand types for binary operator '*' if(a == 1) v += b * w; ^ first type: int second type: BigInteger Main.java:12: error: bad operand types for binary operator '*' if(a == 2) v -= b * w; ^ first type: int second type: BigInteger Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u823513038|p01470|0
u823513038|p01470|0
codenet
Compile Error
441
v2_s766372806
s766372806
s766372806
p01481
p01481
u307310888
u307310888
1,383,821,901
2013-11-07T10:58:21
Main.java
import java.util.ArrayDeque; import java.util.Queue; import java.util.Scanner; public class Main { static int w; static int h; static int gx; static int gy; public static final int INF = 100000000; public static final int[] vx = {1,0,-1,0}; public static final int[] vy = {0,-1,0,1}; public static void main(Stri...
Main.java:28: error: cannot find symbol Pos2d[] open = new Pos2d[n]; ^ symbol: class Pos2d location: class Main Main.java:28: error: cannot find symbol Pos2d[] open = new Pos2d[n]; ^ symbol: class Pos2d location: class Main Main.java:30: error: cannot find symbol open[i] = new ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u307310888|p01481|0
u307310888|p01481|0
codenet
Compile Error
1,975
v2_s008811737
s008811737
s008811737
p01481
p01481
u307310888
u307310888
1,383,821,964
2013-11-07T10:59:24
Main.java
import java.util.ArrayDeque; import java.util.Queue; import java.util.Scanner; public class Main { static int w; static int h; static int gx; static int gy; public static final int INF = 100000000; public static final int[] vx = {1,0,-1,0}; public static final int[] vy = {0,-1,0,1}; public static void main(Stri...
Main.java:74: error: method equals in class Pos2d cannot be applied to given types; if (open[j].equals(nx,ny)) { ^ required: Object 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
u307310888|p01481|0
u307310888|p01481|0
codenet
Compile Error
2,181
v2_s301316789
s301316789
s301316789
p01481
p01481
u307310888
u307310888
1,383,842,527
2013-11-07T16:42:07
Main.java
import java.util.ArrayDeque; import java.util.Queue; import java.util.Scanner; public class Main { public static final int[] vx = {1,0,-1,0}; public static final int[] vy = {0,-1,0,1}; public static void main(String args[]) { Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); ch...
Main.java:66: error: class Pos2d is public, should be declared in a file named Pos2d.java public class Pos2d { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u307310888|p01481|1
u307310888|p01481|0
codenet
Compile Error
1,623
v2_s944753836
s944753836
s944753836
p01486
p01486
u482574623
u482574623
1,403,664,917
2014-06-25T02:55:17
Main.java
import java.io.*; import java.util.*; public class Main { FastScanner in = new FastScanner(System.in); PrintWriter out = new PrintWriter(System.out); HashMap<String, Boolean> hash = new HashMap<String, Boolean>(); boolean check(String s) { if (s.isEmpty()) return true; if (hash.containsKey(s)) return hash.get...
Main.java:27: error: ';' expected hash.put(s, false) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u482574623|p01486|0
u482574623|p01486|0
codenet
Compile Error
2,720
v2_s547680405
s547680405
s547680405
p01513
p01513
u211138527
u211138527
1,455,885,243
2016-02-19T12:34:03
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:37: error: ')' expected if(!al[l].contains(ca.get(j)){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01513|0
u211138527|p01513|0
codenet
Compile Error
3,263
v2_s790299763
s790299763
s790299763
p01513
p01513
u418253672
u418253672
1,339,954,808
2012-06-17T17:40:08
Main.java
class Main{ int n; List<List<Integer>> list; // public void run(){ // Scanner sc=new Scanner(System.in); // while(true){ // n=sc.nextInt(); // list=new ArrayList<List<Integer>>(); // for(int i=0;i<n;i++){ // List<Integer> tmp=new ArrayList<Integer>(); // int m=sc.nextInt(); // for(int j=0;j<m;j++){ ...
Main.java:44: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String[] _) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u418253672|p01513|0
u418253672|p01513|0
codenet
Compile Error
869
v2_s837661095
s837661095
s837661095
p01514
p01514
u361661357
u361661357
1,403,695,186
2014-06-25T11:19:46
Main.java
import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; import com.sun.org.apache.regexp.internal.recompile; public class Main{ static int p,t,r; public static void main(String[] args) { Scanner sc=new Scanner(System.in); while(true){ t=sc.nextInt(); p=sc.nextInt(); r=sc....
Main.java:5: error: package com.sun.org.apache.regexp.internal does not exist import com.sun.org.apache.regexp.internal.recompile; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u361661357|p01514|0
u361661357|p01514|0
codenet
Compile Error
1,684
v2_s138015681
s138015681
s138015681
p01515
p01515
u399118522
u399118522
1,341,769,897
2012-07-08T17:51:37
Main.java
package vol24.no2401; import java.util.Scanner; import java.util.regex.Pattern; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); while (in.hasNext()) { String str = in.next(); if (!"#".equals(str)) { String[] lr = str.split("="); Formula left = Formula.of(lr...
Main.java:46: error: non-static variable this cannot be referenced from a static context Not n = new Not(of(string.substring(1))); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p01515|0
u399118522|p01515|0
codenet
Compile Error
3,505
v2_s091600809
s091600809
s091600809
p01515
p01515
u418253672
u418253672
1,339,955,439
2012-06-17T17:50:39
Main.java
public class Main { abstract class P { abstract boolean getValue(); } class AND extends P { P left; P right; public AND(P l, P r) { left = l; right = r; } boolean getValue() { return left.getValue() && right.getValue(); } public String toString(){ return "("+left+"∧"+right+")"; } ...
Main.java:218: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String[] _) throws Exception { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u418253672|p01515|0
u418253672|p01515|0
codenet
Compile Error
3,688
v2_s578040028
s578040028
s578040028
p01517
p01517
u418253672
u418253672
1,340,008,529
2012-06-18T08:35:29
Main.java
public class Main { int n; class Country{ int id; int string; long enemy; List<String> Node=new ArrayList<String>(); public void parseNode(){ enemy=0L; for(String node:Node){ enemy+=(1<<nametoId.get(node)); } } } HashMap<String,Integer> nametoId; public void run(){ Scanner sc=new Sc...
Main.java:93: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String[] _) throws Exception { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u418253672|p01517|1
u418253672|p01517|1
codenet
Compile Error
1,668
v2_s861959794
s861959794
s861959794
p01517
p01517
u660498157
u660498157
1,342,372,778
2012-07-15T17:19:38
Main.java
import java.util.*; import java.lang.*; import java.math.*; import java.io.*; import static java.lang.Math.*; import static java.util.Arrays.*; import static java.util.Collections.*; public class Main{ Scanner sc=new Scanner(System.in); int INF=1<<28; double EPS=1e-12; int n; int[] pow; String[] names; HashSe...
Main.java:44: error: as of release 9, '_' is a keyword, and may not be used as an identifier int[] _; ^ Main.java:60: error: as of release 9, '_' is a keyword, and may not be used as an identifier _=new int[n]; ^ Main.java:62: error: as of release 9, '_' is a keyword, and may not be used as an identifier ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p01517|0
u660498157|p01517|0
codenet
Compile Error
3,323
v2_s204596080
s204596080
s204596080
p01523
p01523
u230599036
u230599036
1,546,230,315
2018-12-31T04:25:15
Main.java
import java.util.*; class Powor{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[] = new int[m+1]; int b[] = new int[m+1]; int answer = 0; int maxb = -1; int maxidx = -1; int work = 1; boolean flag ...
Main.java:93: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u230599036|p01523|0
u230599036|p01523|0
codenet
Compile Error
1,850
v2_s696594378
s696594378
s696594378
p01523
p01523
u230599036
u230599036
1,546,230,344
2018-12-31T04:25:44
Main.java
import java.util.*; class Powor{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[] = new int[m+1]; int b[] = new int[m+1]; int answer = 0; int maxb = -1; int maxidx = -1; int work = 1; boolean flag ...
Main.java:77: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u230599036|p01523|0
u230599036|p01523|0
codenet
Compile Error
1,852
v2_s383071268
s383071268
s383071268
p01523
p01523
u230599036
u230599036
1,546,230,598
2018-12-31T04:29:58
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[] = new int[m+1]; int b[] = new int[m+1]; int answer = 0; int maxb = -1; int maxidx = -1; int work = 1; boolean flag =...
Main.java:15: error: ';' expected boolean hflag == true; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u230599036|p01523|0
u230599036|p01523|0
codenet
Compile Error
1,859
v2_s918998758
s918998758
s918998758
p01531
p01531
u777739591
u777739591
1,448,528,928
2015-11-26T09:08:48
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] a) throws IOException { int a; String c; String str = new BufferedReader(new InputStreamReader(System.in)).readLine(); String result = ""; for(int i=0;i<str.leng...
Main.java:9: error: variable a is already defined in method main(String[]) int a; String c; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777739591|p01531|0
u777739591|p01531|0
codenet
Compile Error
994
v2_s323019610
s323019610
s323019610
p01531
p01531
u777739591
u777739591
1,448,529,087
2015-11-26T09:11:27
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] a) { int a; String c; String str = ""; try {str = new BufferedReader(new InputStreamReader(System.in)).readLine();} catch (IOException e) {e.printStackTrace();} ...
Main.java:9: error: variable a is already defined in method main(String[]) int a; String c; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777739591|p01531|0
u777739591|p01531|0
codenet
Compile Error
1,040
v2_s210113085
s210113085
s210113085
p01538
p01538
u211138527
u211138527
1,455,891,470
2016-02-19T14:17:50
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:27: error: <identifier> expected pubilc static int dfs(int a){ ^ Main.java:37: error: illegal start of expression return dp[a]=dfs(ma)+1; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01538|0
u211138527|p01538|0
codenet
Compile Error
3,093
v2_s973975269
s973975269
s973975269
p01538
p01538
u211138527
u211138527
1,455,891,497
2016-02-19T14:18:17
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:27: error: <identifier> expected pubilc static int dfs(int a){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01538|0
u211138527|p01538|0
codenet
Compile Error
3,088
v2_s333796950
s333796950
s333796950
p01552
p01552
u759934006
u759934006
1,471,103,784
2016-08-13T15:56:24
Main.java
import com.sun.istack.internal.NotNull; import com.sun.istack.internal.Nullable; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; /** * YAML */ public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new ...
Main.java:1: error: package com.sun.istack.internal does not exist import com.sun.istack.internal.NotNull; ^ Main.java:2: error: package com.sun.istack.internal does not exist import com.sun.istack.internal.Nullable; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759934006|p01552|1
u759934006|p01552|1
codenet
Compile Error
2,295
v2_s461704126
s461704126
s461704126
p01554
p01554
u820066026
u820066026
1,516,874,527
2018-01-25T10:02:07
Main.java
import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Scanner; public class Main { public static void main(String[] args) { solve2440(); } public static void solve2440() { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); HashSe...
Main.java:29: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u820066026|p01554|2
u820066026|p01554|2
codenet
Compile Error
833
v2_s078361307
s078361307
s078361307
p01554
p01554
u886744208
u886744208
1,516,876,485
2018-01-25T10:34:45
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args){ run(); } public void run() { try { // インプットデータ取得 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int cardNo = Integer.parse...
Main.java:8: error: non-static method run() cannot be referenced from a static context run(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u886744208|p01554|0
u886744208|p01554|0
codenet
Compile Error
1,077
v2_s970084170
s970084170
s970084170
p01556
p01556
u660879425
u660879425
1,350,369,517
2012-10-16T06:38:37
Main.java
import java.awt.geom.*; import java.util.*; import static java.lang.Math.*; public class Main { final Scanner sc=new Scanner(System.in); public static void main(String[] args) { new Main().init(); } void init(){ new B(); } class B{ B(){ while(sc.hasNext()){ int n = sc.nextInt(); Point2D [] pl...
Main.java:78: error: ';' expected double EPS = 1.0e-04a; ^ Main.java:78: error: <identifier> expected double EPS = 1.0e-04a; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660879425|p01556|0
u660879425|p01556|0
codenet
Compile Error
5,074
v2_s645564055
s645564055
s645564055
p01557
p01557
u323357326
u323357326
1,509,266,863
2017-10-29T08:47:43
Main.java
import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; ?? public class Main{ ????????public static void main(String[] args) { ????????????????new Main().run(); ????????} ?? ????????void run() { ????????????????// long cur = System.currentTimeMillis(); ???????????????...
Main.java:5: error: class, interface, enum, or record expected ?? ^ Main.java:7: error: illegal start of type ????????public static void main(String[] args) { ^ Main.java:8: error: illegal start of expression ????????????????new Main().run(); ^ Main.java:8: error: illegal start of expression ????????????????new Main()....
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p01557|0
u323357326|p01557|0
codenet
Compile Error
5,025
v2_s698512248
s698512248
s698512248
p01557
p01557
u323357326
u323357326
1,509,266,884
2017-10-29T08:48:04
Main.java
import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; ?? public class Main{ ????????public static void main(String[] args) { ????????????????new Main().run(); ????????} ?? ????????void run() { ????????????????// long cur = System.currentTimeMillis(); ???????????????...
Main.java:5: error: class, interface, enum, or record expected ?? ^ Main.java:7: error: illegal start of type ????????public static void main(String[] args) { ^ Main.java:8: error: illegal start of expression ????????????????new Main().run(); ^ Main.java:8: error: illegal start of expression ????????????????new Main()....
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p01557|0
u323357326|p01557|0
codenet
Compile Error
5,025
v2_s716368981
s716368981
s716368981
p01574
p01574
u660498157
u660498157
1,356,429,502
2012-12-25T09:58:22
_.java
import java.util.*; import java.lang.*; import java.math.*; import java.io.*; import static java.lang.Math.*; import static java.util.Arrays.*; import static java.util.Collections.*; public class _ { Scanner sc = new Scanner(System.in); int INF = 1 << 28; double EPS = 1e-9; int n, m; int[] a; void run() { n...
_.java:9: error: as of release 9, '_' is a keyword, and may not be used as an identifier public class _ { ^ _.java:53: error: as of release 9, '_' is a keyword, and may not be used as an identifier new _().run(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p01574|0
u660498157|p01574|0
codenet
Compile Error
900
v2_s713502430
s713502430
s713502430
p01581
p01581
u639973166
u639973166
1,457,843,733
2016-03-13T04:35:33
Main.java
import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map.Entry; public class Main{ int size; HashMap<Integer,Integer> lru; public LRU(int capacity) { lru=new LinkedHashMap<Integer,Integer>(); size=capacity; } public int get(int key) { if(lru....
Main.java:10: error: invalid method declaration; return type required public LRU(int capacity) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u639973166|p01581|0
u639973166|p01581|0
codenet
Compile Error
718
v2_s714063716
s714063716
s714063716
p01595
p01595
u660498157
u660498157
1,357,323,147
2013-01-04T18:12:27
Main.java
import java.util.*; import java.lang.*; import java.math.*; import java.io.*; import sun.tools.jar.resources.jar; import static java.lang.Math.*; import static java.util.Arrays.*; import static java.util.Collections.*; public class Main{ Scanner sc=new Scanner(System.in); int INF=1<<28; double EPS=1e-12; int m,...
Main.java:6: error: package sun.tools.jar.resources is not visible import sun.tools.jar.resources.jar; ^ (package sun.tools.jar.resources is declared in module jdk.jartool, which does not export it) Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for deta...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p01595|0
u660498157|p01595|0
codenet
Compile Error
8,924
v2_s768708514
s768708514
s768708514
p01595
p01595
u660498157
u660498157
1,357,323,183
2013-01-04T18:13:03
Main.java
import java.util.*; import java.lang.*; import java.math.*; import java.io.*; import sun.tools.jar.resources.jar; import static java.lang.Math.*; import static java.util.Arrays.*; import static java.util.Collections.*; public class Main{ Scanner sc=new Scanner(System.in); int INF=1<<28; double EPS=1e-12; int m,...
Main.java:6: error: package sun.tools.jar.resources is not visible import sun.tools.jar.resources.jar; ^ (package sun.tools.jar.resources is declared in module jdk.jartool, which does not export it) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p01595|0
u660498157|p01595|0
codenet
Compile Error
8,956
v2_s080096637
s080096637
s080096637
p01619
p01619
u483930210
u483930210
1,540,458,408
2018-10-25T09:06:48
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 m = sc.nextInt(); int p = 1000000 if(m==1){ System.out.println(((int)(Math.pow(2, n)))%p); } else{ ...
Main.java:7: error: ';' expected int p = 1000000 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u483930210|p01619|0
u483930210|p01619|0
codenet
Compile Error
927
v2_s245916447
s245916447
s245916447
p01620
p01620
u211138527
u211138527
1,455,957,226
2016-02-20T08:33: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:28: error: cannot find symbol out.println(Strng.valueOf(s)); ^ symbol: variable Strng location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01620|0
u211138527|p01620|0
codenet
Compile Error
2,983
v2_s681158814
s681158814
s681158814
p01620
p01620
u211138527
u211138527
1,455,957,340
2016-02-20T08:35:40
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:25: error: char cannot be dereferenced if(s[i].isLowerCase()) t=s[i]-'a'; ^ Main.java:29: error: char cannot be dereferenced if(s[i].isLowerCase()) s[i]=(char)('a'+t); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01620|0
u211138527|p01620|0
codenet
Compile Error
3,102
v2_s326432501
s326432501
s326432501
p01620
p01620
u211138527
u211138527
1,455,957,408
2016-02-20T08:36:48
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:25: error: cannot find symbol if(isLowerCase(s[i])) t=s[i]-'a'; ^ symbol: method isLowerCase(char) location: class Main Main.java:29: error: cannot find symbol if(isLowerCase(s[i])) s[i]=(char)('a'+t); ^ symbol: method isLowerCase(char) location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01620|0
u211138527|p01620|0
codenet
Compile Error
3,100
v2_s212196543
s212196543
s212196543
p01621
p01621
u753862498
u753862498
1,372,308,475
2013-06-27T04:47:55
B.java
import static java.lang.System.*; import java.lang.reflect.Array; import java.util.*; public class B { void run(){ while(true){ int s=sc.nextInt(),n=sc.nextInt(), t = sc.nextInt(); String week = sc.next(), time = sc.next(); int p = sc.nextInt(), m = sc.nextInt(); if(s==0 && n==0 && t == 0)return; ...
B.java:75: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String[]_){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753862498|p01621|0
u753862498|p01621|0
codenet
Compile Error
2,997
v2_s953693814
s953693814
s953693814
p01621
p01621
u753862498
u753862498
1,372,308,538
2013-06-27T04:48:58
B.java
import static java.lang.System.*; import java.util.*; public class B { void run(){ while(true){ int s=sc.nextInt(),n=sc.nextInt(), t = sc.nextInt(); String week = sc.next(), time = sc.next(); int p = sc.nextInt(), m = sc.nextInt(); if(s==0 && n==0 && t == 0)return; int count = 0; int w = ...
B.java:74: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String[]_){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753862498|p01621|0
u753862498|p01621|0
codenet
Compile Error
1,930
v2_s320371862
s320371862
s320371862
p01621
p01621
u907626292
u907626292
1,372,336,529
2013-06-27T12:35:29
Main.java
gimport java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int s; int n; int t; String weekday; String time; Map<String, Integer> wmap = new HashMap<String, Integer>(); int p; int m; final int WEEK = 60 * 24 * 7; final int DAY = 60 *...
Main.java:1: error: class, interface, enum, or record expected gimport java.util.HashMap; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.Map; ^ Main.java:3: error: class, interface, enum, or record expected import java.util.Scanner; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p01621|0
u907626292|p01621|0
codenet
Compile Error
2,247
v2_s891891973
s891891973
s891891973
p01634
p01634
u018134297
u018134297
1,469,176,462
2016-07-22T08:34:22
Main.java
import java.util.regex.Pattern; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); String S = sc.next(); String regex = "^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{6})"; Pattern p = Pattern.compile(regex); ...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner locati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018134297|p01634|0
u018134297|p01634|0
codenet
Compile Error
552
v2_s972798986
s972798986
s972798986
p01638
p01638
u660498157
u660498157
1,380,033,964
2013-09-24T14:46:04
Main.java
import java.util.*; import java.lang.*; import java.math.*; import java.io.*; import static java.lang.Math.*; import static java.util.Arrays.*; import static java.util.Collections.*; // Pie Chart is as easy as pie. public class Main{ Scanner sc=new Scanner(System.in); double r, cx, cy; int n; double[] ps; void ...
Main.java:81: error: class, interface, enum, or record expected package acpc2013.day3.p2526; ^ Main.java:83: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:84: error: class, interface, enum, or record expected import java.lang.*; ^ Main.java:85: error: class, interface, enum, or recor...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p01638|0
u660498157|p01638|0
codenet
Compile Error
3,217
v2_s755940057
s755940057
s755940057
p01653
p01653
u113716229
u113716229
1,497,430,625
2017-06-14T08:57:05
Main.java
#include<bits/stdc++.h> using namespace std; #define int long long #define rep(i,n) for(int i=0;i<(n);i++) #define pb push_back #define all(v) (v).begin(),(v).end() #define fi first #define se second typedef vector<int>vint; typedef pair<int,int>pint; typedef vector<pint>vpint; template<typename A,typename B>inlin...
Main.java:1: error: illegal character: '#' #include<bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<bits/stdc++.h> ^ Main.java:5: error: illegal character: '#' #define int long long ^ Main.java:5: error: class, interface, enum, or record expected #define int long long ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u113716229|p01653|0
u113716229|p01653|0
codenet
Compile Error
2,798
v2_s104409467
s104409467
s104409467
p01693
p01693
u553881259
u553881259
1,419,171,977
2014-12-21T14:26:17
Main.java
#include <iostream> #include <queue> #include <vector> #include <cstdio> #include <algorithm> using namespace std; #define all(c) (c).begin(), (c).end() #define loop(i,a,b) for(int i=(a);i<int(b);i++) #define rep(i,b) loop(i,0,b) typedef int Capacity; typedef int Cost; struct MCF { struct Edge { int dst; ...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <queue> ^ Main.java:3: error: illegal character: '#' #include <vector> ^ Main.java:4: error: illegal character: '#' #include <cstdio> ^ Main.java:5: error: illegal character: '#' #include <algorithm> ^ M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u553881259|p01693|0
u553881259|p01693|0
codenet
Compile Error
3,411
v2_s600316108
s600316108
s600316108
p01694
p01694
u067372531
u067372531
1,509,275,140
2017-10-29T11:05:40
Main.java
class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(true){ int n = sc.nextInt(); int count = 0; if(n == 0){ break; } Str...
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
u067372531|p01694|0
u067372531|p01694|0
codenet
Compile Error
896
v2_s933082137
s933082137
s933082137
p01694
p01694
u085235382
u085235382
1,528,448,892
2018-06-08T09:08:12
Main.java
import sun.jvm.hotspot.utilities.StreamMonitor; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; import java.util.stream.Stream; public class Main { public enum pattern { lu, //左足を踏み台に上げる ru, //右足を踏み台に上げる ld, //左足を踏み台に下げる rd, //右足を踏み台に下げる ...
Main.java:1: error: package sun.jvm.hotspot.utilities is not visible import sun.jvm.hotspot.utilities.StreamMonitor; ^ (package sun.jvm.hotspot.utilities is declared in module jdk.hotspot.agent, which is not in the module graph) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u085235382|p01694|0
u085235382|p01694|0
codenet
Compile Error
1,288
v2_s638788983
s638788983
s638788983
p01694
p01694
u085235382
u085235382
1,528,448,950
2018-06-08T09:09:10
Main.java
public class Main { public enum pattern { lu, //左足を踏み台に上げる ru, //右足を踏み台に上げる ld, //左足を踏み台に下げる rd, //右足を踏み台に下げる ; } static Scanner scan = new Scanner(System.in); public static void main(String[] args) throws Exception { BufferedReader br = new BufferedRead...
Main.java:10: error: cannot find symbol static Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:10: error: cannot find symbol static Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u085235382|p01694|0
u085235382|p01694|0
codenet
Compile Error
1,114
v2_s135649203
s135649203
s135649203
p01694
p01694
u211138527
u211138527
1,446,029,737
2015-10-28T10:55:37
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.BigDecimal; import java.math.BigInteger; public cl...
Main.java:25: error: incompatible types: int cannot be converted to String String s=ir.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01694|0
u211138527|p01694|0
codenet
Compile Error
3,286
v2_s318458821
s318458821
s318458821
p01694
p01694
u820066026
u820066026
1,463,047,043
2016-05-12T09:57:23
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); if (n == 0) { break; } char[] upOrDown = new char[n]; for (int i = 0; i < n; i++) { upOrDown[i] = sc.next().charAt(1); } int count = 0; for (int 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
u820066026|p01694|0
u820066026|p01694|0
codenet
Compile Error
550
v2_s781206226
s781206226
s781206226
p01695
p01695
u948800138
u948800138
1,496,161,682
2017-05-30T16:28:02
Main.java
#include <bits/stdc++.h> using namespace std; using ll=long long; #define int ll #define FOR(i,a,b) for(int i=int(a);i<int(b);i++) #define REP(i,b) FOR(i,0,b) int read(){ int i; scanf("%lld",&i); return i; } signed main(){ while(true){ int n=read(); if(n==0) return 0; string s[n]; int cnt[n]...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. using ll=long long; ^ (use --enable-preview to enable unnamed ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u948800138|p01695|1
u948800138|p01695|1
codenet
Compile Error
1,485
v2_s385546473
s385546473
s385546473
p01696
p01696
u731941832
u731941832
1,530,612,335
2018-07-03T10:05:35
Main.java
while True: s = input() if s == '.':break while True: if s.find('+') == -1 and s.find('-') == -1: index = s.rfind('[') if index == -1:break e = s.find(']', index) s = s[:index] + s[index + 1:e][::-1] + s[e + 1:] else: index = s.find...
Main.java:1: error: class, interface, enum, or record expected while True: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u731941832|p01696|0
u731941832|p01696|0
codenet
Compile Error
807
v2_s958013117
s958013117
s958013117
p01698
p01698
u948800138
u948800138
1,499,203,294
2017-07-04T21:21:34
Main.java
import java.awt.geom.Point2D; import java.io.IOException; import java.io.InputStream; import java.util.*; import java.util.function.BiFunction; import java.util.function.Function; import java.util.function.Supplier; public class Main { final static int INF = 1 << 28; final static long LNF = 1L << 60; final stati...
Main.java:22: error: cannot find symbol double c1 = divideInternally(left, right, 1, GOLDEN_RATIO); ^ symbol: method divideInternally(double,double,int,double) location: class Main Main.java:23: error: cannot find symbol double c2 = divideInternally(left, right, GOLDEN_RATIO, 1); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u948800138|p01698|0
u948800138|p01698|0
codenet
Compile Error
4,111
v2_s197528500
s197528500
s197528500
p01698
p01698
u948800138
u948800138
1,499,203,340
2017-07-04T21:22:20
Main.java
import java.awt.geom.Point2D; import java.io.IOException; import java.io.InputStream; import java.util.*; import java.util.function.BiFunction; import java.util.function.Function; import java.util.function.Supplier; public class Main { final static int INF = 1 << 28; final static long LNF = 1L << 60; final stati...
Main.java:172: error: cannot find symbol Pair<Long, Long> gcd_ex(long m, long n) { ^ symbol: class Pair location: class Main Main.java:174: error: cannot find symbol return new Pair<>(mat[0][0], mat[0][1]); ^ symbol: class Pair location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u948800138|p01698|0
u948800138|p01698|0
codenet
Compile Error
7,050
v2_s866597472
s866597472
s866597472
p01701
p01701
u211138527
u211138527
1,455,968,135
2016-02-20T11:35:35
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:23: error: cannot find symbol for(int i=0;i<s.length;i++){ ^ symbol: variable length location: variable s of type String Main.java:83: error: method gcd in class Main cannot be applied to given types; int g=gcd(a.nu,a,de); ^ required: int,int found: int,Fraction,int ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01701|0
u211138527|p01701|0
codenet
Compile Error
4,253