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_s964394253
s964394253
s964394253
p00728
p00728
u777462378
u777462378
1,559,190,985
2019-05-30T04:36:25
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); if(n==0){ System.exit(0); } int[] s; int i=0; int max=0; int min=1000; while(i<n){ s[i]=sc.nextInt(); if(s[i]>m...
Main.java:42: error: cannot find symbol SyStem.out.println(agerage); ^ symbol: variable agerage location: class Main Main.java:42: error: package SyStem does not exist SyStem.out.println(agerage); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
815
v2_s382849756
s382849756
s382849756
p00728
p00728
u777462378
u777462378
1,559,191,157
2019-05-30T04:39:17
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ while(ture){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); if(n==0){ System.exit(0); } int[] s; int i=0; int max=0; int min=1000; ...
Main.java:4: error: cannot find symbol while(ture){ ^ symbol: variable ture location: class Main Main.java:43: error: package SyStem does not exist SyStem.out.println(average); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
998
v2_s351112581
s351112581
s351112581
p00728
p00728
u777462378
u777462378
1,559,191,269
2019-05-30T04:41:09
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ while(true){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); if(n==0){ System.exit(0); } int[] s; int i=0; int max=0; int min=1000; ...
Main.java:43: error: package SyStem does not exist SyStem.out.println(average); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
998
v2_s688300477
s688300477
s688300477
p00728
p00728
u777462378
u777462378
1,559,191,364
2019-05-30T04:42:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ while(true){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); System.out.println(n); if(n==0){ System.exit(0); } int[] s; int i=0; int m...
Main.java:44: error: package SyStem does not exist SyStem.out.println(average); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
1,029
v2_s962277809
s962277809
s962277809
p00728
p00728
u777462378
u777462378
1,559,191,525
2019-05-30T04:45:25
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ while(true){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); System.out.println(n); if(n==0){ System.exit(0); } int[] s; int i=0; int m...
Main.java:17: error: variable s might not have been initialized s[i]=sc.nextInt(); ^ Main.java:31: error: variable s might not have been initialized if(s[i]!=min && s[i]!=max){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
1,029
v2_s705307968
s705307968
s705307968
p00728
p00728
u777462378
u777462378
1,559,192,637
2019-05-30T05:03:57
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ while(true){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); if(n==0){ System.exit(0); } int[] s; int i=0; ...
Main.java:22: error: cannot find symbol sum+=s[i]; ^ symbol: variable sum location: class Main Main.java:24: error: cannot find symbol SyStem.out.println(sum/(n-2)); ^ symbol: variable sum location: class Main Main.java:24: error: pa...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
632
v2_s444081490
s444081490
s444081490
p00728
p00728
u777462378
u777462378
1,559,192,725
2019-05-30T05:05:25
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ while(true){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); if(n==0){ System.exit(0); } int[] s; int i=0; ...
Main.java:23: error: cannot find symbol sum+=s[i]; ^ symbol: variable sum location: class Main Main.java:26: error: cannot find symbol SyStem.out.println(sum/(n-2)); ^ symbol: variable sum location: class Main Main.java:26: error: pa...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
674
v2_s007549279
s007549279
s007549279
p00728
p00728
u777462378
u777462378
1,559,192,770
2019-05-30T05:06:10
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ while(true){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); if(n==0){ System.exit(0); } int[] s; int i=0; ...
Main.java:27: error: package SyStem does not exist SyStem.out.println(sum/(n-2)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
697
v2_s105358687
s105358687
s105358687
p00728
p00728
u777462378
u777462378
1,559,193,226
2019-05-30T05:13:46
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ while(true){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); if(n==0){ System.exit(0); } int[] s; int i=0; ...
Main.java:18: error: cannot find symbol Arrays.sort(s); ^ symbol: variable Arrays location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
655
v2_s664048424
s664048424
s664048424
p00728
p00728
u834044256
u834044256
1,430,037,361
2015-04-26T08:36:01
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N; int max, min; int score; int x; while(true){ score=0; max=0; min=1000; x=sc.nextInt(); if(x==0){ break; }else{ N=x; } for(int i=0;i<N;i++){ x=sc.nextInt(); ...
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
u834044256|p00728|0
u834044256|p00728|0
codenet
Compile Error
457
v2_s927894340
s927894340
s927894340
p00728
p00728
u843866464
u843866464
1,399,354,670
2014-05-06T05:37:50
Main.java
/** * Created by Reopard on 2014/05/06. */ public class Main { public static void main(String ars[]){ int n, tmp, ave; String line; int score[] = new int[100]; Scanner sc = new Scanner(System.in); while(true){ ave = 0; n = sc.nextInt(); ...
Main.java:9: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:9: 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
u843866464|p00728|0
u843866464|p00728|0
codenet
Compile Error
861
v2_s467180055
s467180055
s467180055
p00728
p00728
u886744208
u886744208
1,511,086,479
2017-11-19T10:14:39
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args){ new ScoreTotalizerSoftware().run(); } public void run() { try { // ?????????????????????????????? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while...
Main.java:7: error: cannot find symbol new ScoreTotalizerSoftware().run(); ^ symbol: class ScoreTotalizerSoftware location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u886744208|p00728|1
u886744208|p00728|1
codenet
Compile Error
1,193
v2_s427927493
s427927493
s427927493
p00728
p00728
u907626292
u907626292
1,404,983,197
2014-07-10T09:06:37
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { /** * @param args */ Scanner sc = new Scanner(System.in); public static void main(String[] args) { // TODO Auto-generated method stub new Main().run(); } void run() { while (true) { int n = sc.nextInt(); if (n == 0) br...
Main.java:37: error: class, interface, enum, or record expected import java.util.Arrays; ^ Main.java:38: error: class, interface, enum, or record expected import java.util.Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00728|1
u907626292|p00728|1
codenet
Compile Error
1,119
v2_s665478211
s665478211
s665478211
p00728
p00728
u941091090
u941091090
1,531,214,624
2018-07-10T09:23:44
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); while(true){ int a = sc.nextInt(); if(a == 0){break;} int total = 0; int syo = 1000; int dai = 0; for(int n = 0; n < a; n++){ int tmp = sc.nextInt(); total = total + tmp; if(tmp <...
Main.java:21: error: cannot find symbol System.out.println(heikin); ^ symbol: variable heikin location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941091090|p00728|0
u941091090|p00728|0
codenet
Compile Error
435
v2_s799689876
s799689876
s799689876
p00728
p00728
u972162051
u972162051
1,335,175,329
2012-04-23T10:02:09
Main.java
public class Main { public static void main(String[] args){ Scanner sin = new Scanner(System.in); while (true) { int judgeCount = sin.nextInt(); if (judgeCount == 0) break; int[] points = new int[judgeCount]; int point = 0; for (int i = 0; i < judgeCount; i++) { point += points[i] = sin.nextInt...
Main.java:3: error: cannot find symbol Scanner sin = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sin = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u972162051|p00728|0
u972162051|p00728|0
codenet
Compile Error
720
v2_s125845550
s125845550
s125845550
p00729
p00729
u211138527
u211138527
1,457,176,120
2016-03-05T11:08: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:19: error: cannot find symbol int M=r.nextInt(); ^ symbol: variable r location: class Main Main.java:35: error: cannot find symbol AL[rcd[i][2]-1].add(new int[]{rcd[i][0],Integer.MAX_VALUE}); ^ symbol: variable AL location: class Main Main.java:38: error: cannot find symbol A...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00729|0
u211138527|p00729|0
codenet
Compile Error
4,873
v2_s804165783
s804165783
s804165783
p00729
p00729
u211138527
u211138527
1,457,176,262
2016-03-05T11:11:02
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 o...
Main.java:29: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00729|0
u211138527|p00729|0
codenet
Compile Error
4,901
v2_s306241672
s306241672
s306241672
p00730
p00730
u660498157
u660498157
1,308,809,938
2011-06-23T06:18:58
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 = new Scanner(System.in); int INF = 1 << 28; double EPS = 1e-9; int n, w, h; int[] ps,ss; void run() { for(;;){ n=sc.nextInt();...
Main.java:59: error: unreachable statement debug("Error!"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p00730|0
u660498157|p00730|0
codenet
Compile Error
2,002
v2_s072499550
s072499550
s072499550
p00734
p00734
u211138527
u211138527
1,445,967,512
2015-10-27T17:38: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.BigDecimal; import java.math.BigInteger; public cl...
Main.java:36: error: not a statement total+-b[i]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00734|0
u211138527|p00734|0
codenet
Compile Error
3,497
v2_s578338987
s578338987
s578338987
p00734
p00734
u211138527
u211138527
1,445,968,444
2015-10-27T17:54:04
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:32: error: ';' expected int aa=total ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00734|0
u211138527|p00734|0
codenet
Compile Error
4,034
v2_s335562431
s335562431
s335562431
p00734
p00734
u251222750
u251222750
1,308,815,461
2011-06-23T07:51:01
Myon.java
import java.*; import java.io.*; import java.util.*; public class Myon { public static void main(String args[]) throws Exception{ new Myon().run(); } public void run() { Scanner cin=new Scanner(System.in); while(true){ int a,b; a = cin.nextInt(); b = cin.nextInt(); if(a==0 && b==0) return; ...
Myon.java:1: error: package java does not exist import java.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u251222750|p00734|0
u251222750|p00734|0
codenet
Compile Error
820
v2_s918559767
s918559767
s918559767
p00734
p00734
u517313267
u517313267
1,414,046,602
2014-10-23T06:43:22
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { while(true) { Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); int m = stdIn.nextInt(); if(n==0 && m==0) { break; } int[] tarou = new int[n]; int[] h...
Main.java:27: error: cannot find symbol Arrays.fill(hantei[i],false); ^ symbol: variable hantei location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u517313267|p00734|0
u517313267|p00734|0
codenet
Compile Error
1,465
v2_s757268103
s757268103
s757268103
p00734
p00734
u889282704
u889282704
1,417,772,842
2014-12-05T09:47:22
Main.java
import java.util.Scanner; import jdk.internal.org.objectweb.asm.tree.IntInsnNode; public class Main { void run() { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); int m = sc.nextInt(); int tsum = 0; int hsum = 0; int anst = 0; int ansh = 0; int min = 200; ...
Main.java:5: error: package jdk.internal.org.objectweb.asm.tree is not visible import jdk.internal.org.objectweb.asm.tree.IntInsnNode; ^ (package jdk.internal.org.objectweb.asm.tree is declared in module java.base, which does not export it to the unnamed module) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u889282704|p00734|0
u889282704|p00734|0
codenet
Compile Error
1,034
v2_s713124903
s713124903
s713124903
p00734
p00734
u889282704
u889282704
1,417,772,877
2014-12-05T09:47:57
Main.java
import java.util.Scanner; import jdk.internal.org.objectweb.asm.tree.IntInsnNode; public class Main { void run() { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); int m = sc.nextInt(); int tsum = 0; int hsum = 0; int anst = 0; int ansh = 0; int min = 200; ...
Main.java:5: error: package jdk.internal.org.objectweb.asm.tree is not visible import jdk.internal.org.objectweb.asm.tree.IntInsnNode; ^ (package jdk.internal.org.objectweb.asm.tree is declared in module java.base, which does not export it to the unnamed module) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u889282704|p00734|0
u889282704|p00734|0
codenet
Compile Error
1,034
v2_s780061643
s780061643
s780061643
p00734
p00734
u889282704
u889282704
1,417,774,043
2014-12-05T10:07:23
Main.java
import java.util.Scanner; import jdk.internal.org.objectweb.asm.tree.IntInsnNode; public class Main { void run() { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); int m = sc.nextInt(); int tsum = 0; int hsum = 0; int anst = 0; int ansh = 0; int min = 200; ...
Main.java:5: error: package jdk.internal.org.objectweb.asm.tree is not visible import jdk.internal.org.objectweb.asm.tree.IntInsnNode; ^ (package jdk.internal.org.objectweb.asm.tree is declared in module java.base, which does not export it to the unnamed module) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u889282704|p00734|0
u889282704|p00734|0
codenet
Compile Error
1,034
v2_s997428026
s997428026
s997428026
p00735
p00735
u158979022
u158979022
1,530,795,884
2018-07-05T13:04:44
Main.java
import java.util.Scanner; public class Main { static boolean[] isPrime = new boolean[300001]; static void prime(int n) { for(int i=2; i*n<300000; i++) { isPrime[n*i] = false; } } public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)) { int[] numprime = new int[300000]; ...
Main.java:53: error: reached end of file while parsing }v ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u158979022|p00735|0
u158979022|p00735|0
codenet
Compile Error
991
v2_s315080774
s315080774
s315080774
p00735
p00735
u211138527
u211138527
1,455,974,898
2016-02-20T13:28: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.util.TreeSet; import java.math.BigInteger; public class Mai...
Main.java:50: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) throws Exception{ ^ (use --enable-preview to enable unnamed classes) Main.java:153: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00735|0
u211138527|p00735|0
codenet
Compile Error
3,319
v2_s030013668
s030013668
s030013668
p00735
p00735
u211138527
u211138527
1,455,975,053
2016-02-20T13:30:53
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:37: error: cannot find symbol if((n/i)%7==1||(n/i)%7==6) al.add(n/i); ^ symbol: variable al location: class Main Main.java:40: error: cannot find symbol Collections.sort(al); ^ symbol: variable al location: class Main Main.java:40: error: can...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00735|0
u211138527|p00735|0
codenet
Compile Error
3,356
v2_s160044779
s160044779
s160044779
p00735
p00735
u211138527
u211138527
1,455,975,098
2016-02-20T13:31:38
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.Collections; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class...
Main.java:37: error: cannot find symbol if(i%7==1||i%7==6) st.add(i); ^ symbol: variable st location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00735|0
u211138527|p00735|0
codenet
Compile Error
3,386
v2_s065713804
s065713804
s065713804
p00735
p00735
u211138527
u211138527
1,455,975,218
2016-02-20T13:33:38
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.Collections; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class...
Main.java:32: error: unreachable statement for(;;){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00735|0
u211138527|p00735|0
codenet
Compile Error
3,397
v2_s222602651
s222602651
s222602651
p00735
p00735
u709545931
u709545931
1,438,084,750
2015-07-28T11:59:10
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /** * Created by S64 on 15/07/28. */ // ????§?: 2??????32???36?§? // ??????: 1??????49???16?§?????????? class Main { static final List<Integer> msNumbers; static ...
Main.java:47: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String _[]) throws IOException { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u709545931|p00735|0
u709545931|p00735|0
codenet
Compile Error
2,118
v2_s775735778
s775735778
s775735778
p00735
p00735
u709545931
u709545931
1,438,084,874
2015-07-28T12:01:14
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /** * Created by S64 on 15/07/28. */ // ????§?: 2??????32???36?§? // ??????: 1??????49???16?§?????????? class Main { static final List<Integer> msNumbers; static ...
Main.java:47: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String _[]) throws IOException { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u709545931|p00735|0
u709545931|p00735|0
codenet
Compile Error
2,132
v2_s350441512
s350441512
s350441512
p00735
p00735
u709545931
u709545931
1,438,084,897
2015-07-28T12:01:37
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /** * Created by S64 on 15/07/28. */ // ????§?: 2??????32???36?§? // ??????: 1??????49???16?§?????????? class Main { static final List<Integer> msNumbers; static ...
Main.java:47: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String _[]) throws IOException { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u709545931|p00735|0
u709545931|p00735|0
codenet
Compile Error
2,138
v2_s248513127
s248513127
s248513127
p00736
p00736
u709545931
u709545931
1,438,166,821
2015-07-29T10:47:01
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /** * Created by S64 on 15/07/29. */ // ????§?: 1??????34???43?§? // ??????: 0??????00???00?§? (????????????) class Main { enum Logic { False, // 0 ...
Main.java:42: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String _[]) throws IOException { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u709545931|p00736|0
u709545931|p00736|0
codenet
Compile Error
6,820
v2_s638255451
s638255451
s638255451
p00740
p00740
u106214670
u106214670
1,493,006,041
2017-04-24T03:54:01
Main.java
mport java.util.Scanner; import java.util.ArrayList; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=1,p=1,judge=0; ArrayList<Integer> mayor =new ArrayList<Integer>(); for(int i=0;i<50;i++){ mayor.add(i,0); } ArrayList<Integer> winner =new ArrayList<I...
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.ArrayList; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u106214670|p00740|0
u106214670|p00740|0
codenet
Compile Error
873
v2_s815509946
s815509946
s815509946
p00740
p00740
u158979022
u158979022
1,529,297,999
2018-06-18T04:59:59
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()) { int n = sc.nextInt(); int p = sc.nextInt(); if(n == 0 && p == 0) break; int[] a = new int[n]; int b = p; int...
Main.java:18: error: ';' expected a[k] = 0: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u158979022|p00740|0
u158979022|p00740|0
codenet
Compile Error
767
v2_s549621886
s549621886
s549621886
p00740
p00740
u625172425
u625172425
1,503,057,158
2017-08-18T11:52:38
Main.java
class main { public static void main(String[] args) { while (true) { Scanner s = new Scanner(System.in); String[] line = s.nextLine().split(" "); int n = Integer.parseInt(line[0]); int p = Integer.parseInt(line[1]); //int n = s.nextInt(); //int p = s.nextInt(); if (n == 0 &...
Main.java:4: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class main Main.java:4: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u625172425|p00740|0
u625172425|p00740|0
codenet
Compile Error
813
v2_s235577791
s235577791
s235577791
p00740
p00740
u625172425
u625172425
1,503,060,328
2017-08-18T12:45:28
Main.java
class Main { public static void main(String[] args) { while (true) { Scanner s = new Scanner(System.in); int n = s.nextInt(); int p = s.nextInt(); if (n == 0 && p == 0) { break; } int pos = 0; int wan = p; int person[] = new int[n]; for (int i = 0; i < n; i++) { person[i] = 0; }...
Main.java:4: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u625172425|p00740|0
u625172425|p00740|0
codenet
Compile Error
667
v2_s850362795
s850362795
s850362795
p00740
p00740
u893106221
u893106221
1,527,299,282
2018-05-26T01:48:02
Main.java
public class Main { public static void main(String[] args) { solve2440(); } public static void solve2440() { Scanner sc = new Scanner(System.in); while(true){ int n = sc.nextInt(); int p = sc.nextInt(); int pfst = p; int out = 0; if(0 == n&&0 ...
Main.java:54: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u893106221|p00740|0
u893106221|p00740|0
codenet
Compile Error
1,056
v2_s371038651
s371038651
s371038651
p00740
p00740
u893106221
u893106221
1,527,299,320
2018-05-26T01:48:40
Main.java
public class Main { public static void main(String[] args) { solve2440(); } public static void solve2440() { Scanner sc = new Scanner(System.in); while(true){ int n = sc.nextInt(); int p = sc.nextInt(); int pfst = p; int out = 0; if(0 == n&&0 ...
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
u893106221|p00740|0
u893106221|p00740|0
codenet
Compile Error
1,059
v2_s260852546
s260852546
s260852546
p00740
p00740
u893106221
u893106221
1,527,311,310
2018-05-26T05:08:30
Main.java
public class Main { public static void main(String[] args) { solve2440(); } public static void solve2440() { Scanner sc = new Scanner(System.in); while(true){ int n = sc.nextInt(); int p = sc.nextInt(); int pfst = p; int out = 0; if(0 == n&&0 ...
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
u893106221|p00740|1
u893106221|p00740|0
codenet
Compile Error
940
v2_s829995123
s829995123
s829995123
p00741
p00741
u140645632
u140645632
1,525,017,295
2018-04-29T15:54:55
Main.java
import java.util.Scanner; public class Main { private static int[][]daoyu; private static int count; public static void main(String[] args) { Scanner input = new Scanner(System.in); while (true) { int x = input.nextInt(); int y = input.nextInt(); if (x == 0 && y ...
Main.java:59: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u140645632|p00741|0
u140645632|p00741|0
codenet
Compile Error
1,874
v2_s993225482
s993225482
s993225482
p00741
p00741
u211138527
u211138527
1,446,030,849
2015-10-28T11:14:09
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigDecimal; import java.math.BigInteger; public cl...
Main.java:36: error: incompatible types: int[][] cannot be converted to char[][] dfs(i,j,map,h,w); ^ Main.java:57: error: bad operand types for binary operator '&&' if(nx>=0&&nx<h&&ny=0&&ny<w&&map[nx][ny]==1) dfs(nx,ny,map,h,w); ^ first type: boolean second type: int Main.java:5...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00741|0
u211138527|p00741|0
codenet
Compile Error
3,582
v2_s631885202
s631885202
s631885202
p00741
p00741
u211138527
u211138527
1,446,030,889
2015-10-28T11:14: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.BigDecimal; import java.math.BigInteger; public cl...
Main.java:57: error: bad operand types for binary operator '&&' if(nx>=0&&nx<h&&ny=0&&ny<w&&map[nx][ny]==1) dfs(nx,ny,map,h,w); ^ first type: boolean second type: int Main.java:57: error: bad operand types for binary operator '&&' if(nx>=0&&nx<h&&ny=0&&ny<w&&map[nx][ny]==1) dfs(nx,ny,map,h,w); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00741|0
u211138527|p00741|0
codenet
Compile Error
3,581
v2_s930722096
s930722096
s930722096
p00741
p00741
u351318031
u351318031
1,492,566,010
2017-04-19T01:40:10
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String[] args)throws IOException{ int w,h;//size of map int x=0,y=0;//temp int c=0; int map[][]=new int[50][50];//map[???][?¨?] System.out.println("tett"); while(tru...
Main.java:47: error: incompatible types: unexpected return value return 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u351318031|p00741|0
u351318031|p00741|0
codenet
Compile Error
1,453
v2_s342125503
s342125503
s342125503
p00741
p00741
u506030944
u506030944
1,431,950,670
2015-05-18T12:04:30
Main.java
import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; /** * Created by YuyaKita on 2015/05/18. */ public class Main { static final int MAX_W = 50, MAX_H = 50; static int W, H; static int[][] world = new int[MAX_H + 1][MAX_W + 1]; static int count = 0; static int[] d...
Main.java:18: error: no suitable constructor found for File(InputStream) Scanner sc = new Scanner(new File(System.in)); ^ constructor File.File(String) is not applicable (argument mismatch; InputStream cannot be converted to String) constructor File.File(URI) is no...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506030944|p00741|0
u506030944|p00741|0
codenet
Compile Error
1,582
v2_s457255137
s457255137
s457255137
p00741
p00741
u752577338
u752577338
1,519,322,117
2018-02-22T17:55:17
Main.java
import java.util.LinkedList; import java.util.Queue; import java.util.Scanner; public class Main { static int w,h; public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true){ w=sc.nextInt(); h=sc.nextInt(); if(w==0&&h==0) break; int[][] map = new int[h][w]; for(int j...
Main.java:20: error: cannot find symbol Queue<Node> queue = new LinkedList<Node>(); ^ symbol: class Node location: class Main Main.java:20: error: cannot find symbol Queue<Node> queue = new LinkedList<Node>(); ^ symbol: class Node location: class Main Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752577338|p00741|0
u752577338|p00741|0
codenet
Compile Error
1,954
v2_s808553738
s808553738
s808553738
p00741
p00741
u927565942
u927565942
1,524,467,879
2018-04-23T07:17:59
j3.java
import java.util.Scanner; import java.util.Stack; import java.util.ArrayDeque; public class j3{ public static void main(String[] aaa){ Scanner s = new Scanner(System.in); Stack<Integer> x =new Stack <Integer>(); Stack<Integer> y =new Stack <Integer>(); int h,w,i,j,k,l,count=0,xx,yy,...
j3.java:56: error: <identifier> expected System.out.println(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927565942|p00741|0
u927565942|p00741|0
codenet
Compile Error
2,050
v2_s599769475
s599769475
s599769475
p00741
p00741
u927565942
u927565942
1,524,467,887
2018-04-23T07:18:07
Main.java
import java.util.Scanner; import java.util.Stack; import java.util.ArrayDeque; public class Main{ public static void main(String[] aaa){ Scanner s = new Scanner(System.in); Stack<Integer> x =new Stack <Integer>(); Stack<Integer> y =new Stack <Integer>(); int h,w,i,j,k,l,count=0,xx,y...
Main.java:56: error: <identifier> expected System.out.println(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927565942|p00741|0
u927565942|p00741|0
codenet
Compile Error
2,052
v2_s926788691
s926788691
s926788691
p00741
p00741
u927565942
u927565942
1,524,467,898
2018-04-23T07:18:18
Main.java
import java.util.Scanner; import java.util.Stack; import java.util.ArrayDeque; public class Main{ public static void main(String[] aaa){ Scanner s = new Scanner(System.in); Stack<Integer> x =new Stack <Integer>(); Stack<Integer> y =new Stack <Integer>(); int h,w,i,j,k,l,count=0,xx,y...
Main.java:56: error: <identifier> expected System.out.println(); ^ Main.java:58: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927565942|p00741|0
u927565942|p00741|0
codenet
Compile Error
2,054
v2_s444839450
s444839450
s444839450
p00741
p00741
u994059834
u994059834
1,366,093,459
2013-04-16T06:24:19
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { new A(); } int w, h; int[][] c; Main() { Scanner sc = new Scanner(System.in); while (true) { w = sc.nextInt(); h = sc.nextInt(); if (w == 0 && h == 0) break; c = new int[h][w]; for (int i = 0; i < h...
Main.java:5: error: cannot find symbol new A(); ^ symbol: class A location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u994059834|p00741|0
u994059834|p00741|0
codenet
Compile Error
885
v2_s280285694
s280285694
s280285694
p00743
p00743
u482574623
u482574623
1,404,840,631
2014-07-08T17:30:31
Main.java
import java.util.Arrays; import java.util.PriorityQueue; import java.util.Scanner; public class Main { Scanner in = new Scanner(System.in); int n, m; int[][] edge; double[][] minCost; int[][] maxSpeed; double INF = 100000000; class State implements Comparable<State> { int n, speed, prev; State(in...
Main.java:82: error: array required, but double found res = Math.min(minCost[g][i][1], res); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u482574623|p00743|0
u482574623|p00743|0
codenet
Compile Error
2,151
v2_s738553464
s738553464
s738553464
p00746
p00746
u211138527
u211138527
1,446,035,117
2015-10-28T12:25: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.HashMap; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigDecimal; import java.math....
Main.java:22: error: cannot find symbol map.put(0,new Pair(0,-1)); ^ symbol: variable map location: class Main Main.java:23: error: cannot find symbol map.put(1,new Pair(-1,0)); ^ symbol: variable map location: class Main Main.java:24: error: cannot find symbol map.put(2,new Pair(0,1)); ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00746|0
u211138527|p00746|0
codenet
Compile Error
4,141
v2_s687621194
s687621194
s687621194
p00746
p00746
u482574623
u482574623
1,403,663,443
2014-06-25T02:30:43
Main.java
class Main { public static void main(String args[]) { new Main().run(); } Scanner in = new Scanner(System.in); int[] vx = {-1, 0, 1, 0}; int[] vy = {0, 1, 0, -1}; public void run() { while (true) { int n = in.nextInt(); if (n == 0) break; int[] x = new int[n]; int[] y = new int[n]; x[0] = y[0] = 0; int minX = 0, mi...
Main.java:33: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u482574623|p00746|0
u482574623|p00746|0
codenet
Compile Error
658
v2_s589565849
s589565849
s589565849
p00746
p00746
u482574623
u482574623
1,403,663,506
2014-06-25T02:31:46
Main.java
class Main { public static void main(String args[]) { new Main().run(); } Scanner in = new Scanner(System.in); int[] vx = {-1, 0, 1, 0}; int[] vy = {0, 1, 0, -1}; public void run() { while (true) { int n = in.nextInt(); if (n == 0) break; int[] x = new int[n]; int[] y = new int[n]; x[0] = y[0] = 0; int minX = 0, mi...
Main.java:6: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u482574623|p00746|0
u482574623|p00746|0
codenet
Compile Error
660
v2_s376176328
s376176328
s376176328
p00747
p00747
u211138527
u211138527
1,455,972,131
2016-02-20T12:42:11
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:17: error: illegal start of expression for(;;)[ ^ Main.java:151: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) throws Exception{ ^ (use --enable-preview to enable unnamed classes) Main.java:254: error: class, interface...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00747|0
u211138527|p00747|0
codenet
Compile Error
5,495
v2_s040297844
s040297844
s040297844
p00747
p00747
u420305014
u420305014
1,431,720,092
2015-05-15T20:01:32
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x, y; int w, h; int[][] u; int[][] d; int[][] l; int[][] r; int[][] dist; int[][] flag; while(true){ w = sc.nextInt(); h = sc.nextInt(); if(w == 0 && h == 0) ...
Main.java:89: error: class Queue is public, should be declared in a file named Queue.java public class Queue{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420305014|p00747|0
u420305014|p00747|0
codenet
Compile Error
2,315
v2_s820214629
s820214629
s820214629
p00747
p00747
u420305014
u420305014
1,431,720,126
2015-05-15T20:02:06
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x, y; int w, h; int[][] u; int[][] d; int[][] l; int[][] r; int[][] dist; int[][] flag; while(true){ w = sc.nextInt(); h = sc.nextInt(); if(w == 0 && h == 0) ...
Main.java:89: error: class Queue is public, should be declared in a file named Queue.java public class Queue{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420305014|p00747|0
u420305014|p00747|0
codenet
Compile Error
2,315
v2_s655189445
s655189445
s655189445
p00747
p00747
u420305014
u420305014
1,431,744,190
2015-05-16T02:43:10
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x, y; int w, h; int[][] u; int[][] d; int[][] l; int[][] r; int[][] dist; int[][] flag; while(true){ w = sc.nextInt(); h = sc.nextInt(); if(w == 0 && h == 0) ...
Main.java:86: error: variable x might not have been initialized if(x != h-1 || y != w-1) ^ Main.java:86: error: variable y might not have been initialized if(x != h-1 || y != w-1) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420305014|p00747|1
u420305014|p00747|1
codenet
Compile Error
2,363
v2_s045618975
s045618975
s045618975
p00747
p00747
u420305014
u420305014
1,431,744,731
2015-05-16T02:52:11
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = 0; int y = 0; int w, h; int[][] u; int[][] d; int[][] l; int[][] r; int[][] dist; int[][] flag; while(true){ w = sc.nextInt(); h = sc.nextInt(); if(w == 0 &...
Main.java:92: error: class Queue is public, should be declared in a file named Queue.java public class Queue{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420305014|p00747|1
u420305014|p00747|1
codenet
Compile Error
2,384
v2_s430768418
s430768418
s430768418
p00747
p00747
u503947213
u503947213
1,514,803,813
2018-01-01T10:50:13
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayDeque; import java.util.Arrays; import java.util.PriorityQueue; import sun.misc.Queue; public class Main { /** * @param args * @throws IOException * @throws InterruptedException */ public s...
Main.java:8: error: cannot find symbol import sun.misc.Queue; ^ symbol: class Queue location: package sun.misc 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u503947213|p00747|0
u503947213|p00747|0
codenet
Compile Error
3,857
v2_s190361097
s190361097
s190361097
p00747
p00747
u533679381
u533679381
1,335,792,723
2012-04-30T13:32:03
Main.java
import java.util.*; public class Main { int w, h, m, n; boolean[][] field; class Pos{ int x, y, cnt; Pos(int x, int y, int cnt){ this.x = x; this.y = y; this.cnt = cnt; } } void Search(){ Queue<Pos> Q = new LinkedList<Pos>(); Q.offer(new Pos(0,0,1)); while(!Q.isEmpty()){ Pos now = Q.pol...
Main.java:72: error: cannot find symbol new AOJ1166().run(); ^ symbol: class AOJ1166 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u533679381|p00747|2
u533679381|p00747|1
codenet
Compile Error
1,427
v2_s346745797
s346745797
s346745797
p00747
p00747
u752577338
u752577338
1,528,276,699
2018-06-06T09:18:19
Main.java
import java.util.LinkedList; import java.util.Queue; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true) { int w = sc.nextInt(); int h = sc.nextInt(); if(w==0 && h==0) break; int[][] s_wall = new int [h][w+1]; int[]...
Main.java:32: error: cannot find symbol Queue<Node> que = new LinkedList<Node>(); ^ symbol: class Node location: class Main Main.java:32: error: cannot find symbol Queue<Node> que = new LinkedList<Node>(); ^ symbol: class Node location: class Main Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752577338|p00747|2
u752577338|p00747|2
codenet
Compile Error
1,803
v2_s994169147
s994169147
s994169147
p00747
p00747
u752577338
u752577338
1,528,277,077
2018-06-06T09:24:37
Main.java
import java.util.LinkedList; import java.util.Queue; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true) { int w = sc.nextInt(); int h = sc.nextInt(); if(w==0 && h==0) break; int[][] s_wall = new int [h][w+1]; int[]...
Main.java:5: error: illegal character: '\u3000' public class Main?{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752577338|p00747|2
u752577338|p00747|2
codenet
Compile Error
1,746
v2_s793429183
s793429183
s793429183
p00748
p00748
u018304279
u018304279
1,524,893,716
2018-04-28T05:35:16
Main.java
#include <stdio.h> #include <stdlib.h> #define num 100000 #define true 1 #define false 0 void pollock(); int min(int f1,int f2); int *dp_ki; int *dp; int N; int main(){ dp_ki = (int *)malloc(num * sizeof(int)); dp = (int *)malloc(num * sizeof(int)); for(int i=0;i<num;i++){ dp[i]=i; dp_ki[i]=i; } pol...
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 num 100000 ^ Main.java:4: error: illegal charac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018304279|p00748|0
u018304279|p00748|0
codenet
Compile Error
783
v2_s281058936
s281058936
s281058936
p00748
p00748
u211138527
u211138527
1,511,817,861
2017-11-27T21:24:21
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.BitSet; import java.util.InputMismatchException; import java.util.NoSuchElementException; public class Main { static PrintWriter out; static InputReader ir; static final int INF=Integer.MAX...
Main.java:38: error: cannot find symbol out.println(count(n,tet)+" "+count_odd(i,tet)); ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00748|0
u211138527|p00748|0
codenet
Compile Error
3,962
v2_s187666149
s187666149
s187666149
p00750
p00750
u948800138
u948800138
1,496,706,925
2017-06-05T23:55:25
Main.java
import std.stdio; import std.string; import std.conv; import std.algorithm; import std.container; import std.array; import std.math; import std.range; import std.typecons; pragma(msg, min("a", "aa")); pragma(msg, min("~", "aa")); void main() { for (;;) { int n, a, s, g; { auto i = readln.chomp.split...
Main.java:11: error: class, interface, enum, or record expected pragma(msg, min("a", "aa")); ^ Main.java:12: error: class, interface, enum, or record expected pragma(msg, min("~", "aa")); ^ Main.java:20: error: not a statement auto i = readln.chomp.split.map!(to!int); ^ Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u948800138|p00750|0
u948800138|p00750|0
codenet
Compile Error
1,532
v2_s490744733
s490744733
s490744733
p00753
p00753
u157859087
u157859087
1,414,985,691
2014-11-03T03:34:51
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); boolean[] E=new boolean[123456]; for(int a=2;a<123456;a++) E[a]=true; for(int a=2;a<1000;a++) if(E[a]) for(int b=a*a;b<123456;b+=a) E[b]=false; while(true){ int n=sc.nextInt(); if(...
Main.java:15: error: cannot find symbol for(int a=n+1;a<=2*n;i++) if(E[a]) ans++; ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u157859087|p00753|0
u157859087|p00753|0
codenet
Compile Error
439
v2_s579167690
s579167690
s579167690
p00753
p00753
u338478106
u338478106
1,400,665,061
2014-05-21T09:37:41
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = 0,count = 0; boolean check = true; while(sc.hasNext()){ n = sc.nextInt(); count = 0;//テ・ツ按敕ヲツ慊淌・ツ個? check = true; if(n==0) break; for(int i = n+1;i<=2*n;...
Main.java:29: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u338478106|p00753|0
u338478106|p00753|0
codenet
Compile Error
510
v2_s524211175
s524211175
s524211175
p00753
p00753
u454290477
u454290477
1,399,457,777
2014-05-07T10:16:17
Main.java
mport java.util.*; import java.math.BigInteger; class Main{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); while(n > 0){ int count = 0; for(int i=n;i<2*n;i++){ boolean isPrime = BigInteger.valueOf(i).isProbablePrime(100); if(isPrime) count...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ Main.java:2: error: class, interface, enum, or record expected import java.math.BigInteger; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u454290477|p00753|0
u454290477|p00753|0
codenet
Compile Error
396
v2_s586745307
s586745307
s586745307
p00753
p00753
u454290477
u454290477
1,399,467,798
2014-05-07T13:03:18
Main.java
mport java.util.*; import java.lang.Math; class Main{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); while(true) { int n = sc.nextInt(); if (n == 0) break; int count = 0; for(int i=n+1;i<=2*n;i++){ if (isPrime(i)) count++; } System.out.pr...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ Main.java:2: error: class, interface, enum, or record expected import java.lang.Math; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u454290477|p00753|1
u454290477|p00753|0
codenet
Compile Error
527
v2_s169281072
s169281072
s169281072
p00753
p00753
u921456761
u921456761
1,341,313,993
2012-07-03T11:13:13
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main{ Scanner sc=new Scanner(System.in); static final int upperlimit=2*123456; private void cal(){ ArrayList<Integer> primes=new ArrayList<Integer>(); primes.add(2); for(int i=3;i<chebyshev.upperlimit;i+=2){ for(int j=0;j<primes....
Main.java:16: error: cannot find symbol for(int i=3;i<chebyshev.upperlimit;i+=2){ ^ symbol: variable chebyshev location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u921456761|p00753|0
u921456761|p00753|0
codenet
Compile Error
801
v2_s344740849
s344740849
s344740849
p00753
p00753
u961257233
u961257233
1,340,944,511
2012-06-29T04:35:11
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; int count = 0; for (int i = n + 1; i <= 2 * n; i++) { int num = (int) Math.sqrt(i) + 1; if (i == 2) num = 2; int yaku_count = 0;...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u961257233|p00753|0
u961257233|p00753|0
codenet
Compile Error
671
v2_s738371042
s738371042
s738371042
p00753
p00753
u974257345
u974257345
1,499,081,651
2017-07-03T11:34:11
Main.java
import java.util.*; class Main{ public static void main(String[] args) { Scanner scn=new Scanner(System.in); int n; //List<Integer> dat=new ArrayList<Integer>(); while(true){ int ans=0; n=scn.nextInt(); if(n==0)break; for(int i=n+1;i<=2*n;i++){ for(int j=2;j<=i;j++){ if(i%j==0)break; ...
Main.java:28: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u974257345|p00753|0
u974257345|p00753|0
codenet
Compile Error
472
v2_s990192788
s990192788
s990192788
p00753
p00753
u974257345
u974257345
1,499,081,664
2017-07-03T11:34:24
Main.java
import java.util.*; class Main{ public static void main(String[] args) { Scanner scn=new Scanner(System.in); int n; //List<Integer> dat=new ArrayList<Integer>(); while(true){ int ans=0; n=scn.nextInt(); if(n==0)break; for(int i=n+1;i<=2*n;i++){ for(int j=2;j<=i;j++){ if(i%j==0)break; ...
Main.java:25: error: cannot find symbol System.out.println(ans); ^ symbol: variable ans location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u974257345|p00753|0
u974257345|p00753|0
codenet
Compile Error
474
v2_s665430197
s665430197
s665430197
p00754
p00754
u062072946
u062072946
1,494,220,337
2017-05-08T05:12:17
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()) { int pts[]={0,0}; String txt =sc.nextLine(); for(int i=0; i<txt.length(); i++) { switch(...
Main.java:29: error: ';' expected pts[1]--: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062072946|p00754|0
u062072946|p00754|0
codenet
Compile Error
1,122
v2_s308032527
s308032527
s308032527
p00754
p00754
u062072946
u062072946
1,494,220,489
2017-05-08T05:14:49
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext) { int pts[]={0,0}; String txt =sc.nextLine(); if(txt == null) { break; } ...
Main.java:11: error: cannot find symbol while(sc.hasNext) ^ symbol: variable hasNext location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062072946|p00754|0
u062072946|p00754|0
codenet
Compile Error
1,199
v2_s669289586
s669289586
s669289586
p00754
p00754
u097929936
u097929936
1,559,119,514
2019-05-29T08:45:14
Main.java
package main; import java.util.*; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); while(scan.hasNext()) { String s = scan.nextLine(); String[] slist = s.split(""); StringStack stack = new StringStack(100); ...
Main.java:10: error: cannot find symbol StringStack stack = new StringStack(100); ^ symbol: class StringStack location: class Main Main.java:10: error: cannot find symbol StringStack stack = new StringStack(100); ^ symbol: class StringSta...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u097929936|p00754|0
u097929936|p00754|0
codenet
Compile Error
913
v2_s268770519
s268770519
s268770519
p00754
p00754
u097929936
u097929936
1,559,119,548
2019-05-29T08:45:48
Main.java
package main; import java.util.*; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); while(scan.hasNext()) { String s = scan.nextLine(); String[] slist = s.split(""); StringStack stack = new StringStack(100); ...
Main.java:10: error: cannot find symbol StringStack stack = new StringStack(100); ^ symbol: class StringStack location: class Main Main.java:10: error: cannot find symbol StringStack stack = new StringStack(100); ^ symbol: class StringSta...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u097929936|p00754|0
u097929936|p00754|0
codenet
Compile Error
913
v2_s337043540
s337043540
s337043540
p00754
p00754
u097929936
u097929936
1,559,119,671
2019-05-29T08:47:51
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); while(scan.hasNext()) { String s = scan.nextLine(); String[] slist = s.split(""); StringStack stack = new StringStack(100); for (Stri...
Main.java:29: error: class StringStack is public, should be declared in a file named StringStack.java public class StringStack { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u097929936|p00754|0
u097929936|p00754|0
codenet
Compile Error
1,541
v2_s844054677
s844054677
s844054677
p00754
p00754
u110158220
u110158220
1,494,765,639
2017-05-14T12:40:39
Main.java
import java.util.Scanner; import java.util.Deque; import java.util.ArrayDeque; public class Main { public static void main(String args[]){ Scanner in=new Scanner (System.in); Deque<Character> stack=new ArrayDeque<Character>(); String target; while (!(in.hasNext("."))) { target=in.next(); for (int i=0;i<...
Main.java:13: error: illegal escape character if (target.charAt(i)=='\[' || target.charAt(i)=='\(') { ^ Main.java:13: error: unclosed character literal if (target.charAt(i)=='\[' || target.charAt(i)=='\(') { ^ Main.java:13: error: unclosed character literal ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u110158220|p00754|0
u110158220|p00754|0
codenet
Compile Error
717
v2_s048830229
s048830229
s048830229
p00754
p00754
u211138527
u211138527
1,446,037,638
2015-10-28T13:07: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.BigDecimal; import java.math.BigInteger; public cl...
Main.java:50: error: ')' expected if((rem=='('&&c==')')||(rem=='['&&c==']'){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00754|0
u211138527|p00754|0
codenet
Compile Error
3,591
v2_s147844098
s147844098
s147844098
p00754
p00754
u211138527
u211138527
1,446,041,125
2015-10-28T14:05:25
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:53: error: ')' expected if((s.charAt(index)=='('&&s.charAt(i)==')')||(s.charAt(index)=='['&&s.charAt(i)==']'){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00754|0
u211138527|p00754|0
codenet
Compile Error
3,719
v2_s527563332
s527563332
s527563332
p00754
p00754
u211138527
u211138527
1,446,041,800
2015-10-28T14:16: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.BigDecimal; import java.math.BigInteger; public cl...
Main.java:25: error: cannot find symbol while (length > 0) { ^ symbol: variable length location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00754|0
u211138527|p00754|0
codenet
Compile Error
3,274
v2_s776497800
s776497800
s776497800
p00754
p00754
u211138527
u211138527
1,455,627,143
2016-02-16T12:52:23
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; 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 ...
Main.java:23: error: ')' expected for(int i=0;i<s.length;i++) if(isBrackets(s.charAt(i)) bra.add(s.charAt(i)); ^ Main.java:41: error: ')' expected if(isLeftBrackets(bra.get(i)) dep++; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00754|1
u211138527|p00754|1
codenet
Compile Error
3,585
v2_s117189729
s117189729
s117189729
p00754
p00754
u211138527
u211138527
1,455,627,172
2016-02-16T12:52:52
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; 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 ...
Main.java:23: error: ')' expected for(int i=0;i<s.length();i++) if(isBrackets(s.charAt(i)) bra.add(s.charAt(i)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00754|1
u211138527|p00754|1
codenet
Compile Error
3,588
v2_s445814496
s445814496
s445814496
p00754
p00754
u211138527
u211138527
1,455,627,210
2016-02-16T12:53:30
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; 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 ...
Main.java:44: error: incompatible types: boolean cannot be converted to int st=false; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00754|1
u211138527|p00754|1
codenet
Compile Error
3,589
v2_s847270126
s847270126
s847270126
p00754
p00754
u211138527
u211138527
1,455,627,241
2016-02-16T12:54:01
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; 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 ...
Main.java:20: error: unreported exception IOException; must be caught or declared to be thrown String s=ir.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00754|1
u211138527|p00754|1
codenet
Compile Error
3,576
v2_s759343896
s759343896
s759343896
p00754
p00754
u211138527
u211138527
1,455,627,707
2016-02-16T13:01:47
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; 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 ...
Main.java:42: error: cannot find symbol while((i==st||dep!=0)&&i<n){ ^ symbol: variable i location: class Main Main.java:42: error: cannot find symbol while((i==st||dep!=0)&&i<n){ ^ symbol: variable i location: class Main Main.java:43: error: cannot find symbol if(is...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00754|1
u211138527|p00754|1
codenet
Compile Error
3,764
v2_s786098305
s786098305
s786098305
p00754
p00754
u473115569
u473115569
1,529,133,117
2018-06-16T07:11:57
Main.java
public class Main { public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)){ while(sc.hasNextLine()) { String str=sc.nextLine(); if(str.equals(".")) break; Stack<Character> stack=new Stack<Character>(); boolean tf=true; for(int i=0; i<str.length(); i++) { char s...
Main.java:3: error: cannot find symbol try(Scanner sc = new Scanner(System.in)){ ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol try(Scanner sc = new Scanner(System.in)){ ^ symbol: class Scanner location: class Main Main.java:7: error: can...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u473115569|p00754|0
u473115569|p00754|0
codenet
Compile Error
688
v2_s305979699
s305979699
s305979699
p00754
p00754
u506030944
u506030944
1,432,679,694
2015-05-26T22:34:54
Main.java
import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; import java.util.Stack; public class Main { public static void main(String[] args) throws FileNotFoundException { // write your code here Scanner sc = new Scanner(new File(System.in)); while(sc.hasNext()){ ...
Main.java:10: error: no suitable constructor found for File(InputStream) Scanner sc = new Scanner(new File(System.in)); ^ constructor File.File(String) is not applicable (argument mismatch; InputStream cannot be converted to String) constructor File.File(URI) is no...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506030944|p00754|0
u506030944|p00754|0
codenet
Compile Error
1,374
v2_s377153561
s377153561
s377153561
p00754
p00754
u506537276
u506537276
1,530,283,124
2018-06-29T14:38:44
Main.java
static boolean check(String s) { Stack<Character> stack = new Stack<>(); // for(int i = 0; i < s.length(); i++) { char c = s.charAt(i); if(c == ‘.’) { break; } if(c == ‘(’) { stack.push(‘)’); } if(c =...
Main.java:5: error: illegal character: '\u2018' if(c == ?.?) { ^ Main.java:5: error: illegal character: '\u2019' if(c == ?.?) { ^ Main.java:8: error: illegal character: '\u2018' if(c == ?(?) { ^ Main.java:8: error: illegal...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00754|1
u506537276|p00754|1
codenet
Compile Error
1,098
v2_s412591343
s412591343
s412591343
p00754
p00754
u524272704
u524272704
1,503,155,260
2017-08-19T15:07:40
Main.java
public class Main { void run() throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int count_a = 0; int count_b = 0; int count_c = 0; int count_d = 0; String word_line = ""; String word = ""; List result = new ArrayList(); whi...
Main.java:3: error: cannot find symbol void run() throws NumberFormatException, IOException { ^ symbol: class IOException location: class Main Main.java:45: error: cannot find symbol public static void main(String[] args) throws IOException { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u524272704|p00754|0
u524272704|p00754|0
codenet
Compile Error
1,024
v2_s880758639
s880758639
s880758639
p00754
p00754
u697925968
u697925968
1,403,694,389
2014-06-25T11:06:29
Main.java
import java.util.*; import java.io.*; public class Main { private class Ballance { public String line; public Ballance(String str){ line = str; } public void init(){ String res = ""; for(int i=0; i<line.length(); i++){ char ch ...
Main.java:69: error: as of release 8, 'this' is allowed as the parameter name for the receiver type only Ballance ball = new this.Ballance(str); ^ which has to be the first parameter, and cannot be a lambda parameter 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u697925968|p00754|0
u697925968|p00754|0
codenet
Compile Error
2,460
v2_s372939522
s372939522
s372939522
p00754
p00754
u745519209
u745519209
1,370,503,348
2013-06-06T07:22:28
Main.java
import java.util.LinkedList; import java.util.Scanner; public class Main { /** * @param args */ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); LinkedList<Character> q = new LinkedList<Character>(); String input = ""; while (!(input = scanner.nextLine()).equals(".")) {...
Main.java:30: error: not a statement }F ^ Main.java:30: error: ';' expected }F ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u745519209|p00754|0
u745519209|p00754|0
codenet
Compile Error
891
v2_s042627864
s042627864
s042627864
p00754
p00754
u752577338
u752577338
1,524,729,725
2018-04-26T08:02:05
Main.java
class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String[] strings = {"([", ")]"}; while (true) { String input = scan.nextLine(); ArrayList<Integer> list = new ArrayList<Integer>(); if (input.equals(".")) { ...
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 Main.java:7...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752577338|p00754|1
u752577338|p00754|1
codenet
Compile Error
1,592
v2_s293254528
s293254528
s293254528
p00754
p00754
u752577338
u752577338
1,524,730,104
2018-04-26T08:08:24
Main.java
public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String[] strings = {"([", ")]"}; while (true) { String input = scan.nextLine(); ArrayList<Integer> list = new ArrayList<Integer>(); if (input.equals(".")) {...
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 Main.java:7...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752577338|p00754|1
u752577338|p00754|1
codenet
Compile Error
1,599
v2_s560356837
s560356837
s560356837
p00754
p00754
u772320816
u772320816
1,462,778,021
2016-05-09T07:13:41
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); Stack<Character> s = new Stack<>(); while(true){ String in = sc.nextLine(); String pr = "yes"; if(in.charAt(0) == '.') break; for(int i = 0; ; i++){ char c = in.charAt(i); if...
Main.java:25: error: 'else' without 'if' else continue; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u772320816|p00754|0
u772320816|p00754|0
codenet
Compile Error
727
v2_s072263220
s072263220
s072263220
p00754
p00754
u825684692
u825684692
1,334,587,718
2012-04-16T14:48:38
Main.java
package _1173; import java.util.*; import java.lang.*; import java.math.*; public class Main { Scanner sc = new Scanner(System.in); String trim(String tar){ String ret = ""; for(char ch:tar.toCharArray){ if("()[]".indexOf(ch) >=0){ ret += "()[]".indexOf(ch); } } return ret; } void run() { f...
Main.java:13: error: cannot find symbol for(char ch:tar.toCharArray){ ^ symbol: variable toCharArray location: variable tar of type String Main.java:32: error: cannot find symbol boolean ok = buffer.length ==0; ^ symbol: variable length location: variable buffer o...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825684692|p00754|1
u825684692|p00754|1
codenet
Compile Error
711
v2_s466352067
s466352067
s466352067
p00754
p00754
u825684692
u825684692
1,334,587,768
2012-04-16T14:49:28
Main.java
package _1173; import java.util.*; import java.lang.*; import java.math.*; public class Main { Scanner sc = new Scanner(System.in); String trim(String tar){ String ret = ""; for(char ch:tar.toCharArray()){ if("()[]".indexOf(ch) >=0){ ret += "()[]".indexOf(ch); } } return ret; } void run() { ...
Main.java:31: error: cannot find symbol boolean ok = buffer.length ==0; ^ symbol: variable length location: variable buffer of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825684692|p00754|1
u825684692|p00754|1
codenet
Compile Error
712