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_s820393812
s820393812
s820393812
p00903
p00903
u323357326
u323357326
1,476,433,596
2016-10-14T08:26:36
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.PriorityQueue; public class Main { public static void main(String[] args) { new RoundTrip().run(); } int[] e; int n; int...
Main.java:11: error: cannot find symbol new RoundTrip().run(); ^ symbol: class RoundTrip location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p00903|1
u323357326|p00903|1
codenet
Compile Error
6,895
v2_s362552641
s362552641
s362552641
p00909
p00909
u334885197
u334885197
1,485,368,010
2017-01-25T18:13:30
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] w; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int a, int ...
Main.java:45: error: ';' expected w = new int[N] ^ Main.java:67: error: invalid method declaration; return type required public static Solve(){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|0
u334885197|p00909|0
codenet
Compile Error
1,664
v2_s892360841
s892360841
s892360841
p00909
p00909
u334885197
u334885197
1,485,368,172
2017-01-25T18:16:12
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] w; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int a, int ...
Main.java:17: error: array required, but int found w -= w[b] - w[a]; ^ Main.java:17: error: array required, but int found w -= w[b] - w[a]; ^ Main.java:24: error: array required, but int found w[j] = w; ^ Main.java:27: error: cannot find symbol w[x] = -w; ^ symbol: vari...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|0
u334885197|p00909|0
codenet
Compile Error
1,670
v2_s534977362
s534977362
s534977362
p00909
p00909
u334885197
u334885197
1,485,368,546
2017-01-25T18:22:26
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] w; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int a, int ...
Main.java:17: error: array required, but int found w -= w[b] - w[a]; ^ Main.java:17: error: array required, but int found w -= w[b] - w[a]; ^ Main.java:24: error: array required, but int found w[j] = w; ^ Main.java:27: error: cannot find symbol w[x] = -w; ^ symbol: vari...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|0
u334885197|p00909|0
codenet
Compile Error
1,638
v2_s436885566
s436885566
s436885566
p00909
p00909
u334885197
u334885197
1,485,368,815
2017-01-25T18:26:55
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] w; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int a, int ...
Main.java:17: error: array required, but int found w -= w[b] - w[a]; ^ Main.java:17: error: array required, but int found w -= w[b] - w[a]; ^ Main.java:24: error: array required, but int found w[j] = w; ^ Main.java:27: error: array required, but int found w[i] = -w; ^ Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|0
u334885197|p00909|0
codenet
Compile Error
1,638
v2_s830639499
s830639499
s830639499
p00909
p00909
u334885197
u334885197
1,485,368,857
2017-01-25T18:27:37
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] w; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int a, int ...
Main.java:17: error: array required, but int found w -= w[b] - w[a]; ^ Main.java:17: error: array required, but int found w -= w[b] - w[a]; ^ Main.java:24: error: array required, but int found w[j] = w; ^ Main.java:27: error: array required, but int found w[i] = -w; ^ Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|0
u334885197|p00909|0
codenet
Compile Error
1,644
v2_s205268702
s205268702
s205268702
p00909
p00909
u334885197
u334885197
1,485,369,030
2017-01-25T18:30:30
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] w; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int a, int ...
Main.java:23: error: array required, but int found w[j] = w; ^ Main.java:26: error: array required, but int found w[i] = -w; ^ Main.java:71: error: cannot find symbol if(same(a,b)==false){ ^ symbol: variable a location: class Main Main.java:71: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|0
u334885197|p00909|0
codenet
Compile Error
1,625
v2_s800419781
s800419781
s800419781
p00909
p00909
u334885197
u334885197
1,485,369,183
2017-01-25T18:33:03
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] w; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int a, int ...
Main.java:71: error: cannot find symbol if(same(a,b)==false){ ^ symbol: variable a location: class Main Main.java:71: error: cannot find symbol if(same(a,b)==false){ ^ symbol: variable b location: class Main Main.java:74: error: cannot find symbol System.out.prin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|0
u334885197|p00909|0
codenet
Compile Error
1,625
v2_s917487125
s917487125
s917487125
p00909
p00909
u334885197
u334885197
1,485,369,297
2017-01-25T18:34:57
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] w; public static boolean same(int a, int b) { return findSet(a) == findSet(b); } public static void unite(int a, int ...
Main.java:83: error: unnamed classes are a preview feature and are disabled by default. public static int findSet(int i) { ^ (use --enable-preview to enable unnamed classes) Main.java:130: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|0
u334885197|p00909|0
codenet
Compile Error
2,623
v2_s192045879
s192045879
s192045879
p00909
p00909
u334885197
u334885197
1,485,369,462
2017-01-25T18:37:42
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] w; public static boolean same(int a, int b) { return findSet(a) == findSet(b); } public static void unite(int a, int ...
Main.java:83: error: unnamed classes are a preview feature and are disabled by default. public static int findSet(int i) { ^ (use --enable-preview to enable unnamed classes) Main.java:130: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|0
u334885197|p00909|0
codenet
Compile Error
2,623
v2_s535905265
s535905265
s535905265
p00909
p00909
u334885197
u334885197
1,485,369,665
2017-01-25T18:41:05
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] w; public static boolean same(int a, int b) { return findSet(a) == findSet(b); } public static void unite(int a, i...
Main.java:84: error: unnamed classes are a preview feature and are disabled by default. public static int findSet(int i) { ^ (use --enable-preview to enable unnamed classes) Main.java:131: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|0
u334885197|p00909|0
codenet
Compile Error
2,606
v2_s827857264
s827857264
s827857264
p00909
p00909
u334885197
u334885197
1,485,369,751
2017-01-25T18:42:31
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] w; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int a, i...
Main.java:84: error: unnamed classes are a preview feature and are disabled by default. public static int findSet(int i) { ^ (use --enable-preview to enable unnamed classes) Main.java:131: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|0
u334885197|p00909|0
codenet
Compile Error
2,606
v2_s888031536
s888031536
s888031536
p00909
p00909
u334885197
u334885197
1,485,400,941
2017-01-26T03:22:21
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:45: error: ';' expected weight = new int[N] ^ Main.java:86: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,868
v2_s193524869
s193524869
s193524869
p00909
p00909
u334885197
u334885197
1,485,401,007
2017-01-26T03:23:27
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:45: error: ';' expected weight = new int[N] ^ Main.java:86: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,868
v2_s798641190
s798641190
s798641190
p00909
p00909
u334885197
u334885197
1,485,401,038
2017-01-26T03:23:58
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:17: error: cannot find symbol w -= weight[b] - weight[a]; ^ symbol: variable b location: class Main Main.java:17: error: cannot find symbol w -= weight[b] - weight[a]; ^ symbol: variable a location: class Main Main.java:76: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,868
v2_s579765400
s579765400
s579765400
p00909
p00909
u334885197
u334885197
1,485,401,188
2017-01-26T03:26:28
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:76: error: cannot find symbol if(same(x, y)){ ^ symbol: variable x location: class Main Main.java:76: error: cannot find symbol if(same(x, y)){ ^ symbol: variable y location: class Main Main.java:79: error: cannot find ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,868
v2_s395272208
s395272208
s395272208
p00909
p00909
u334885197
u334885197
1,485,402,208
2017-01-26T03:43:28
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:76: error: cannot find symbol if(same(x, y)){ ^ symbol: variable x location: class Main Main.java:76: error: cannot find symbol if(same(x, y)){ ^ symbol: variable y location: class Main Main.java:79: error: cannot find ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,868
v2_s736844530
s736844530
s736844530
p00909
p00909
u334885197
u334885197
1,485,402,388
2017-01-26T03:46:28
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:76: error: cannot find symbol if(same(a, b)){ ^ symbol: variable a location: class Main Main.java:76: error: cannot find symbol if(same(a, b)){ ^ symbol: variable b location: class Main Main.java:77: error: cannot find ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,868
v2_s460670579
s460670579
s460670579
p00909
p00909
u334885197
u334885197
1,485,402,443
2017-01-26T03:47:23
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:76: error: cannot find symbol if(same(a,b)){ ^ symbol: variable a location: class Main Main.java:76: error: cannot find symbol if(same(a,b)){ ^ symbol: variable b location: class Main Main.java:77: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,867
v2_s772550859
s772550859
s772550859
p00909
p00909
u334885197
u334885197
1,485,402,558
2017-01-26T03:49:18
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:76: error: cannot find symbol if(same(a,b)){ ^ symbol: variable a location: class Main Main.java:76: error: cannot find symbol if(same(a,b)){ ^ symbol: variable b location: class Main Main.java:77: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,869
v2_s372644446
s372644446
s372644446
p00909
p00909
u334885197
u334885197
1,485,402,620
2017-01-26T03:50:20
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int a, int b) { return findSet(a) == findSet(b); } public static void unite(int x, ...
Main.java:76: error: cannot find symbol if(same(a,b)){ ^ symbol: variable a location: class Main Main.java:76: error: cannot find symbol if(same(a,b)){ ^ symbol: variable b location: class Main Main.java:77: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,869
v2_s236950019
s236950019
s236950019
p00909
p00909
u334885197
u334885197
1,485,402,856
2017-01-26T03:54:16
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:76: error: cannot find symbol if(same(a,b)){ ^ symbol: variable a location: class Main Main.java:76: error: cannot find symbol if(same(a,b)){ ^ symbol: variable b location: class Main Main.java:77: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,868
v2_s152551088
s152551088
s152551088
p00909
p00909
u334885197
u334885197
1,485,403,294
2017-01-26T04:01:34
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:85: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,838
v2_s936416898
s936416898
s936416898
p00909
p00909
u334885197
u334885197
1,485,403,303
2017-01-26T04:01:43
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:75: error: cannot find symbol }else if(same(a,b)){ ^ symbol: variable a location: class Main Main.java:75: error: cannot find symbol }else if(same(a,b)){ ^ symbol: variable b location: class Main Main.java:76: error: can...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,837
v2_s352869085
s352869085
s352869085
p00909
p00909
u334885197
u334885197
1,485,403,378
2017-01-26T04:02:58
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, ...
Main.java:76: error: cannot find symbol if(same(a,b)){ ^ symbol: variable a location: class Main Main.java:76: error: cannot find symbol if(same(a,b)){ ^ symbol: variable b location: class Main Main.java:77: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|1
u334885197|p00909|1
codenet
Compile Error
1,876
v2_s355248674
s355248674
s355248674
p00909
p00909
u334885197
u334885197
1,485,883,569
2017-01-31T17:26:09
Main.java
import java.util.Scanner; public class Main { public static int N; public static int M; public static int[] p; public static int[] rank; public static int[] weight; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(i...
Main.java:40: error: unreachable statement return p[i] = findSet(p[i]);; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p00909|5
u334885197|p00909|3
codenet
Compile Error
1,985
v2_s387651234
s387651234
s387651234
p00914
p00914
u760351030
u760351030
1,395,581,808
2014-03-23T13:36:48
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int n, k, s, cnt, use_cnt; void run() { for (;;) { n = sc.nextInt(); // less than or equal n k = sc.nextInt(); // num of elements s = sc.nextInt(); // sum of integer if ((n | k | s) == 0) { ...
Main.java:39: error: cannot find symbol new AOJ_1335().run(); ^ symbol: class AOJ_1335 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u760351030|p00914|0
u760351030|p00914|0
codenet
Compile Error
810
v2_s470935796
s470935796
s470935796
p00914
p00914
u760351030
u760351030
1,395,581,838
2014-03-23T13:37:18
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int n, k, s, cnt, use_cnt; void run() { for (;;) { n = sc.nextInt(); // less than or equal n k = sc.nextInt(); // num of elements s = sc.nextInt(); // sum of integer if ((n | k | s) == 0) { ...
Main.java:39: 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
u760351030|p00914|0
u760351030|p00914|0
codenet
Compile Error
804
v2_s447394190
s447394190
s447394190
p00915
p00915
u043835806
u043835806
1,409,123,648
2014-08-27T07:14:08
Main.java
import java.io.*; import java.math.*; import java.util.*; import com.sun.media.sound.DirectAudioDeviceProvider; import com.sun.org.apache.xml.internal.serializer.ElemDesc; public class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); while (cin.hasNextInt()) { int n = cin...
Main.java:5: error: package com.sun.media.sound is not visible import com.sun.media.sound.DirectAudioDeviceProvider; ^ (package com.sun.media.sound is declared in module java.desktop, which does not export it) Main.java:6: error: package com.sun.org.apache.xml.internal.serializer is not visible im...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u043835806|p00915|0
u043835806|p00915|0
codenet
Compile Error
1,377
v2_s739109892
s739109892
s739109892
p00917
p00917
u460740668
u460740668
1,460,502,858
2016-04-12T23:14:18
Main.java
private static final double MIN_PER_HOUR = 60; private static final double FULL_DEGREE = 360; private static final double DEGREE_PER_HOUR = FULL_DEGREE / 12; private static final double DEGREE_PER_MINITE_HAND = FULL_DEGREE / 60; private static final double DEGREE_PER_MINITE = DEGREE_PER_HOUR / MIN_PER_H...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. private static final double MIN_PER_HOUR = 60; ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u460740668|p00917|0
u460740668|p00917|0
codenet
Compile Error
657
v2_s883387750
s883387750
s883387750
p00925
p00925
u394402865
u394402865
1,432,726,360
2015-05-27T11:32:40
Main.java
// AOJ 1346 "Miscalculation" (ICPCアジア地区予選 2014 東京大会 Problem B) import java.util.Scanner; public class Main { static int pos = 0; // 四則演算の構文解析における現在位置 public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); int ansOfBob = sc.nextInt();...
Main.java:13: error: cannot find symbol it ansLeftToRight = evalLeftToRight(s); ^ symbol: class it location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u394402865|p00925|0
u394402865|p00925|0
codenet
Compile Error
1,831
v2_s930181147
s930181147
s930181147
p00929
p00929
u226888928
u226888928
1,528,451,623
2018-06-08T09:53:43
Main.java
#include<iostream> #include<vector> #include<utility> #include<algorithm> using namespace std; struct UnionFind { int *data; UnionFind(int *_data, int size, bool reset = true) : data(_data) { if(reset) for(int i = 0; i < size; i++) data[i] = -1; } bool unionSet(int x, int y) { x = find(x); y = find(y); ...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<vector> ^ Main.java:3: error: illegal character: '#' #include<utility> ^ Main.java:4: error: illegal character: '#' #include<algorithm> ^ Main.java:6: error: class, interface, enum, or record expected str...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u226888928|p00929|1
u226888928|p00929|1
codenet
Compile Error
2,088
v2_s494499799
s494499799
s494499799
p00930
p00930
u616613978
u616613978
1,416,473,226
2014-11-20T08:47:06
Main.java
himport java.util.*; class Main{ int n, m, sz; char[] kakko; int[] a, bkt, add; void solve(){ Scanner sc = new Scanner(System.in); n = sc.nextInt(); m = sc.nextInt(); kakko = sc.next().toCharArray(); sz = Math.max(1, (int)Math.sqrt(n) + 10); a = new i...
Main.java:1: error: class, interface, enum, or record expected himport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616613978|p00930|1
u616613978|p00930|1
codenet
Compile Error
2,666
v2_s688043634
s688043634
s688043634
p00936
p00936
u104102582
u104102582
1,448,774,955
2015-11-29T05:29:15
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { new Main2().run(); } void run() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int r[] = new int[n]; for (int i = 0; i < r.length; i++) { r[i] = sc.nextInt(); } double c[] = new double[n]; for (...
Main.java:6: error: cannot find symbol new Main2().run(); ^ symbol: class Main2 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u104102582|p00936|0
u104102582|p00936|0
codenet
Compile Error
626
v2_s520986311
s520986311
s520986311
p00937
p00937
u197786702
u197786702
1,448,838,678
2015-11-29T23:11:18
Main.java
import java.io.BufferedReader; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Arrays; import java.util.SortedMap; import java.util.StringTokenizer; import java.util.TreeMap; public class Main { public static boolean[][] mul(final...
Main.java:66: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:66: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u197786702|p00937|0
u197786702|p00937|0
codenet
Compile Error
2,488
v2_s788256505
s788256505
s788256505
p00948
p00948
u492457940
u492457940
1,499,864,659
2017-07-12T13:04:19
Main.java
//61511457 import java.util.*; public class 1369 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String str = scan.nextLine(); String[] div = str.split(" ", 0); int n = Integer.parseInt(div[0]); int m = Integer.parseInt(div[1]); boolean[][] map = new boolean[n...
Main.java:3: error: <identifier> expected public class 1369 { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u492457940|p00948|0
u492457940|p00948|0
codenet
Compile Error
1,420
v2_s990147512
s990147512
s990147512
p00956
p00956
u442068024
u442068024
1,484,540,084
2017-01-16T04:14:44
Main.java
#include <bits/stdc++.h> using namespace std; double value[45]; int size[45]; double get_value(string &pile){ bool b_can_move = 0, w_can_move = 0; double b_max, w_min; double last_value = 0; for(int i=0;i<pile.length();i++){ double value; if(pile[i]=='B'){ /*if(b_can_move)...
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: class, interface, enum, or record expected double value[45]; ^ Main.java:6: error: class, interface, enum, or record expected int s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u442068024|p00956|0
u442068024|p00956|0
codenet
Compile Error
2,501
v2_s727661306
s727661306
s727661306
p00990
p00990
u213849509
u213849509
1,428,749,467
2015-04-11T10:51:07
Main.java
import java.io.IOException; import java.util.Scanner; import sun.launcher.resources.launcher; public class Main { public static void main(String[] args) throws IOException { new Main().run(); } private void run() throws IOException { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); ...
Main.java:5: error: package sun.launcher.resources is not visible import sun.launcher.resources.launcher; ^ (package sun.launcher.resources is declared in module java.base, which does not export it) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u213849509|p00990|0
u213849509|p00990|0
codenet
Compile Error
923
v2_s171498834
s171498834
s171498834
p00992
p00992
u512884261
u512884261
1,385,965,068
2013-12-02T06:17:48
Main.java
mport java.util.ArrayList; import java.util.Collections; import java.util.Scanner; class Main { public static void main (String[] args) throws java.lang.Exception{ int n=0; int sum=1; ArrayList<Integer> h = new ArrayList<Integer>(); Scanner scan = new Scanner(System.in); n=scan.nextInt(); for(int i=0; i...
Main.java:1: error: class, interface, enum, or record expected mport java.util.ArrayList; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.Collections; ^ 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
u512884261|p00992|0
u512884261|p00992|0
codenet
Compile Error
498
v2_s826418617
s826418617
s826418617
p00992
p00992
u512884261
u512884261
1,385,966,010
2013-12-02T06:33:30
Main.java
mport java.util.ArrayList; import java.util.Collections; import java.util.Scanner; class Main { public static void main (String[] args) throws java.lang.Exception{ int n=0; long sum=1; ArrayList<Integer> h = new ArrayList<Integer>(); Scanner scan = new Scanner(System.in); n=scan.nextInt(); for(int i=0; ...
Main.java:1: error: class, interface, enum, or record expected mport java.util.ArrayList; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.Collections; ^ 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
u512884261|p00992|0
u512884261|p00992|0
codenet
Compile Error
499
v2_s144739628
s144739628
s144739628
p00998
p00998
u399118522
u399118522
1,429,238,933
2015-04-17T02:48:53
Main.java
import java.util.Arrays; import java.util.LinkedList; import java.util.ArrayList import java.util.Scanner; public class Main { public static void main(String[] args) { final int BASE_SIZE = 200; Scanner in = new Scanner(System.in); int nSize = in.nextInt(); int qSize = in.nextInt...
Main.java:3: error: ';' expected import java.util.ArrayList ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p00998|3
u399118522|p00998|2
codenet
Compile Error
4,996
v2_s984374672
s984374672
s984374672
p01006
p01006
u953624562
u953624562
1,384,482,255
2013-11-15T02:24:15
Main.java
import java.util.Scanner; class Main{ public static final String [][] PANEL = { { "A" , "B" , "C" } , { "D" , "E" , "F" } , { "G" , "H" , "I" } }; public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.next(); for ( int cnt = 0;cnt < 1000;cnt++ ){ ...
Main.java:28: error: ')' expected if( Math.abs(tmp - num) != 1 OR num == -1 ){ ^ Main.java:28: error: ';' expected if( Math.abs(tmp - num) != 1 OR num == -1 ){ ^ Main.java:28: error: variable declaration not allowed here if( Math.abs(tmp - nu...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u953624562|p01006|0
u953624562|p01006|0
codenet
Compile Error
892
v2_s330415473
s330415473
s330415473
p01065
p01065
u805068923
u805068923
1,457,325,320
2016-03-07T04:35:20
Main.java
= sc.nextInt(); final int b = sc.nextInt(); final int c = sc.nextInt(); final int d = sc.nextInt(); for(int j = a; j <= X_MAX; j++){ for(int k = 0; k <= 2 * Y_MAX - b; k++){ if(DP[j][k] < 0){ continue; } nextDP[j - a][k + b] = Math.max(DP[j - a][k + b], DP[j][k]); } } for(int...
Main.java:1: error: class, interface, enum, or record expected = sc.nextInt(); ^ Main.java:2: error: unnamed classes are a preview feature and are disabled by default. final int b = sc.nextInt(); ^ (use --enable-preview to enable unnamed classes) Main.java:6: error: class, interface, enum, or record expec...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u805068923|p01065|0
u805068923|p01065|0
codenet
Compile Error
579
v2_s389538970
s389538970
s389538970
p01077
p01077
u599539865
u599539865
1,474,172,818
2016-09-18T04:26:58
Main.java
import java.awt.Point; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.Scanner; public class Main { static Scanner sc = new Scanner(System.in); static long startTime = System.currentTimeMillis(); static final int[] DR = { 1, 0, -1, 0 }; static final int[] DC = ...
Main.java:103: error: unreachable statement return false; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u599539865|p01077|0
u599539865|p01077|0
codenet
Compile Error
2,558
v2_s855640793
s855640793
s855640793
p01088
p01088
u090103857
u090103857
1,466,572,650
2016-06-22T05:17:30
Main.java
#include <bits/stdc++.h> #define FOR(i,a,b) for(int i=(a);i<(b);i++) #define REP(i,n) FOR(i,0,n) using namespace std; int a=0; vector<string>sts; vector<int>ens; int getnum(){ if(sts[a]=="*"){ int num=1; int pe=ens[a]; a++; while(ens[a]==pe){ num*=getnum(); } a++; return num; } ...
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:2: error: illegal character: '#' #define FOR(i,a,b) for(int i=(a);i<(b);i++) ^ Main.java:2: error: class, interface, enum, or record expected...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u090103857|p01088|0
u090103857|p01088|0
codenet
Compile Error
823
v2_s371747124
s371747124
s371747124
p01093
p01093
u752577338
u752577338
1,498,542,971
2017-06-27T05:56:11
icpc2016_1_Main.java
import java.util.*; public class icpc2016_1_Main { public static void Main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int min=1000001; int data[] = new int [n] for(int i=0;i<n;++i){ data[i]=scan.nextInt(); } Arrays.sort(data); cul(data,n-1,min); System.out.pr...
icpc2016_1_Main.java:8: error: ';' expected int data[] = new int [n] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752577338|p01093|0
u752577338|p01093|0
codenet
Compile Error
496
v2_s549985715
s549985715
s549985715
p01093
p01093
u752577338
u752577338
1,498,543,026
2017-06-27T05:57:06
icpc2016_1_Main.java
import java.util.*; public class icpc2016_1_Main { public static void Main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int min=1000001; int data[] = new int [n] for(int i=0;i<n;++i){ data[i]=scan.nextInt(); } Arrays.sort(data); cul(data,n-1,min); System.out.pr...
icpc2016_1_Main.java:8: error: ';' expected int data[] = new int [n] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752577338|p01093|0
u752577338|p01093|0
codenet
Compile Error
496
v2_s708368210
s708368210
s708368210
p01093
p01093
u802493254
u802493254
1,499,667,834
2017-07-10T06:23:54
Main.java
import java.util.Scanner; public class Main { static Scanner sc; public static void main(String[] args) { sc = new Scanner(System.in); // ?????????????§??????? while(true) { int n = Integer.parseInt(GetSubStringLine()[0]); if (n == 0) { break; } ...
Main.java:23: error: ')' or ',' expected min = Math.abs(a[i]-a[j]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u802493254|p01093|0
u802493254|p01093|0
codenet
Compile Error
880
v2_s755108745
s755108745
s755108745
p01093
p01093
u933548060
u933548060
1,529,311,328
2018-06-18T08:42:08
Main.java
import java.util.*; public class Main{ public static void main(String args[]) throws Exception{ Scanner sc = new Scanner(System.in); int N = sc.nextInt();sc.nextLine(); while(N!=0){ int[] array = new int[N]; String s = sc.nextLine(); String[] a = s.split(" "...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u933548060|p01093|0
u933548060|p01093|0
codenet
Compile Error
559
v2_s065542513
s065542513
s065542513
p01093
p01093
u933548060
u933548060
1,529,311,433
2018-06-18T08:43:53
Main.java
import java.util.*; public class Main{ public static void main(String args[]) throws Exception{ Scanner sc = new Scanner(System.in); int N = sc.nextInt();sc.nextLine(); while(N!=0){ int[] array = new int[N]; String s = sc.nextLine(); String[] a = s.split(" "...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u933548060|p01093|0
u933548060|p01093|0
codenet
Compile Error
559
v2_s847734880
s847734880
s847734880
p01093
p01093
u933548060
u933548060
1,529,311,624
2018-06-18T08:47:04
Main.java
import java.util.*; public class Main{ public static void main(String args[]) throws Exception{ Scanner sc = new Scanner(System.in); int N = sc.nextInt();sc.nextLine(); while(N!=0){ int[] array = new int[N]; String s = sc.nextLine(); String[] a = s.split(" "...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u933548060|p01093|0
u933548060|p01093|0
codenet
Compile Error
559
v2_s118367192
s118367192
s118367192
p01095
p01095
u012868265
u012868265
1,530,182,808
2018-06-28T10:46:48
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
u012868265|p01095|0
u012868265|p01095|0
codenet
Compile Error
4
v2_s388047007
s388047007
s388047007
p01095
p01095
u568743301
u568743301
1,540,542,306
2018-10-26T08:25:06
Main.java
import java.util.ArrayList; /** * 竹の花 * 入力 * n m * n:使うことができる最小のn年竹 * m:ブロック数 * 全てのブロックに竹を植え全て花が咲かない最初の年は何年後か。 * n年竹から始め、nの倍数以外の竹を植えて行く。 * その次のいずれの倍数でも無い年が答え */ import java.util.Scanner; 
 public class Main { 
 public static void main(String[] args) { //bamboo flower 
 Scanner sc = new Scanner(System.in); ...
Main.java:13: error: illegal character: '\u2028' ? ^ Main.java:15: error: illegal character: '\u2028' ? ^ Main.java:18: error: illegal character: '\u2028' ? ^ Main.java:36: error: illegal character: '\u2028' ? ^ Main.java:54: error: illegal character: '\u2028' ? ^ Main.java:57: error: reached end of file while parsing ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568743301|p01095|0
u568743301|p01095|0
codenet
Compile Error
1,183
v2_s385660096
s385660096
s385660096
p01095
p01095
u568743301
u568743301
1,540,542,393
2018-10-26T08:26:33
Main.java
import java.util.ArrayList; import java.util.Scanner; 
 public class Main { 
 public static void main(String[] args) { //bamboo flower 
 Scanner sc = new Scanner(System.in); int min, block; while (true) { min = sc.nextInt(); if (min == 0) { break; } block = sc.nextInt(); ArrayList<Integer> ...
Main.java:4: error: illegal character: '\u2028' ? ^ Main.java:6: error: illegal character: '\u2028' ? ^ Main.java:9: error: illegal character: '\u2028' ? ^ Main.java:27: error: illegal character: '\u2028' ? ^ Main.java:45: error: illegal character: '\u2028' ? ^ Main.java:48: error: reached end of file while parsing 6 e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568743301|p01095|0
u568743301|p01095|0
codenet
Compile Error
859
v2_s736772427
s736772427
s736772427
p01095
p01095
u568743301
u568743301
1,540,542,857
2018-10-26T08:34:17
Main.java
import java.util.ArrayList; /** * 竹の花 * 入力 * n m * n:使うことができる最小のn年竹 * m:ブロック数 * 全てのブロックに竹を植え全て花が咲かない最初の年は何年後か。 * n年竹から始め、nの倍数以外の竹を植えて行く。 * その次のいずれの倍数でも無い年が答え */ import java.util.Scanner; 
 public class Main { 
 public static void main(String[] args) { //bamboo flower 
 Scanner sc = new Scanner(System.in); ...
Main.java:13: error: illegal character: '\u2028' ? ^ Main.java:15: error: illegal character: '\u2028' ? ^ Main.java:18: error: illegal character: '\u2028' ? ^ Main.java:36: error: illegal character: '\u2028' ? ^ Main.java:54: error: illegal character: '\u2028' ? ^ Main.java:57: error: reached end of file while parsing ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568743301|p01095|0
u568743301|p01095|0
codenet
Compile Error
1,183
v2_s952052177
s952052177
s952052177
p01095
p01095
u752577338
u752577338
1,528,953,359
2018-06-14T05:15:59
Main.java
#include <stdio.h> #define MAX 7368791 char flag[MAX+1]; int m; int n; int main(void){ int i,j; while(1){ scanf("%d%d", &m,&n); if(m==0&&n==0) break; for(i=0;i<=MAX;i++;) flag[i]=0; for(i=0;i<n;i++){ for(j=m;j<=MAX;j+=m){ flag[j]=1; } while(flag[...
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: '#' #define MAX 7368791 ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int m; ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752577338|p01095|0
u752577338|p01095|0
codenet
Compile Error
384
v2_s142596696
s142596696
s142596696
p01095
p01095
u752577338
u752577338
1,528,953,403
2018-06-14T05:16:43
Main.java
#include <stdio.h> #define MAX 7368791 char flag[MAX+1]; int m; int n; int main(void){ int i,j; while(1){ scanf("%d%d", &m,&n); if(m==0&&n==0) break; for(i=0;i<=MAX;i++;){ flag[i]=0; } for(i=0;i<n;i++){ for(j=m;j<=MAX;j+=m){ flag[j]=1; } ...
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: '#' #define MAX 7368791 ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int m; ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752577338|p01095|0
u752577338|p01095|0
codenet
Compile Error
403
v2_s626319443
s626319443
s626319443
p01095
p01095
u752577338
u752577338
1,528,953,425
2018-06-14T05:17:05
Main.java
#include <stdio.h> #define MAX 7368791 char flag[MAX+1]; int m; int n; int main(void){ int i,j; while(1){ scanf("%d%d", &m,&n); if(m==0&&n==0) break; for(i=0;i<=MAX;i++){ flag[i]=0; } for(i=0;i<n;i++){ for(j=m;j<=MAX;j+=m){ flag[j]=1; } ...
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: '#' #define MAX 7368791 ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int m; ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u752577338|p01095|0
u752577338|p01095|0
codenet
Compile Error
402
v2_s570824553
s570824553
s570824553
p01101
p01101
u433960060
u433960060
1,530,152,000
2018-06-28T02:13:20
Main.java
import java.util.*; public class Main { public static void main(String[] args) { while (true) { int n = Integer.parseInt(sc.next()); int m = Integer.parseInt(sc.next()); if (n == 0) break; int[] a = new int[n]; for (int i - 0; i < n; i++) ...
Main.java:9: error: ';' expected for (int i - 0; i < n; i++) ^ Main.java:9: error: not a statement for (int i - 0; i < n; i++) ^ Main.java:9: error: ')' expected for (int i - 0; i < n; i++) ^ Main.ja...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433960060|p01101|0
u433960060|p01101|0
codenet
Compile Error
630
v2_s341462593
s341462593
s341462593
p01101
p01101
u433960060
u433960060
1,530,152,012
2018-06-28T02:13:32
Main.java
import java.util.*; public class Main { public static void main(String[] args) { while (true) { int n = Integer.parseInt(sc.next()); int m = Integer.parseInt(sc.next()); if (n == 0) break; int[] a = new int[n]; for (int i = 0; i < n; i++) ...
Main.java:5: error: cannot find symbol int n = Integer.parseInt(sc.next()); ^ symbol: variable sc location: class Main Main.java:6: error: cannot find symbol int m = Integer.parseInt(sc.next()); ^ symbol: variabl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u433960060|p01101|0
u433960060|p01101|0
codenet
Compile Error
630
v2_s394143901
s394143901
s394143901
p01101
p01101
u776834150
u776834150
1,526,457,864
2018-05-16T08:04:24
Taro_shopping.java
import java.util.*; public class Taro_shopping{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n; int m; int[] cost; int max; int tmp; while(hasNextLine()){ n=sc.nextInt(); //品物の個数 m=sc.nextInt(); //最大の金額 if(n!=0 && m!=0){ cost=new int[n]; max=0; tmp...
Taro_shopping.java:10: error: cannot find symbol while(hasNextLine()){ ^ symbol: method hasNextLine() location: class Taro_shopping 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u776834150|p01101|0
u776834150|p01101|0
codenet
Compile Error
584
v2_s712964615
s712964615
s712964615
p01101
p01101
u830835060
u830835060
1,528,106,509
2018-06-04T10:01:49
a.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class a{ public static void solution(int[] array,int n,int m){ int i,j,max,temp; max = 0; for (i=0;i<n;i++){ for (j=i+1;j<n;j++){ temp = array[i] + array[j]; //System.out.prin...
a.java:26: error: unreported exception IOException; must be caught or declared to be thrown while(!(curr = br.readLine()).equals("0 0")){ ^ a.java:30: error: unreported exception IOException; must be caught or declared to be thrown curr = br.readLine(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u830835060|p01101|0
u830835060|p01101|0
codenet
Compile Error
1,413
v2_s159902550
s159902550
s159902550
p01102
p01102
u590398091
u590398091
1,526,302,360
2018-05-14T12:52:40
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String str1 = scan.nextLine(); while(!str1.equals(".")){ String str2 = scan.nextLine(); if(str1.equals(str2)){ System.out.println("IDENTICAL"); }else{ int dcnt1 = 0; in...
Main.java:61: error: cannot find symbol }else if(!tmp1.equals(tmp2) && dcnt != 0){ ^ symbol: variable dcnt location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u590398091|p01102|0
u590398091|p01102|0
codenet
Compile Error
1,851
v2_s470398970
s470398970
s470398970
p01102
p01102
u713164723
u713164723
1,526,014,010
2018-05-11T04:46:50
Main.java
import java.util.ArrayList; import java.util.Scanner; /** * Kadai */ public class Main { public void go() { Scanner sc = new Scanner(System.in); while (sc.hasNextLine()) { String lines0; String lines1String; lines0 = sc.nextLine(); if (lines0.equal...
Main.java:18: error: cannot find symbol lines1 = sc.nextLine(); ^ symbol: variable lines1 location: class Main Main.java:20: error: cannot find symbol if (lines0.equals(lines1)) { ^ symbol: variable lines1 location: class Main Main.java:24: e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u713164723|p01102|0
u713164723|p01102|0
codenet
Compile Error
1,547
v2_s916252901
s916252901
s916252901
p01102
p01102
u713164723
u713164723
1,526,014,053
2018-05-11T04:47:33
Main.java
import java.util.ArrayList; import java.util.Scanner; /** * Kadai */ public class Main { public void go() { Scanner sc = new Scanner(System.in); while (sc.hasNextLine()) { String lines0; String lines1; lines0 = sc.nextLine(); if (lines0.equals(".")...
Main.java:35: error: cannot find symbol close++; ^ symbol: variable close location: class Main Main.java:37: error: cannot find symbol close = 2; ^ symbol: variable close location: class Main Main.java:43: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u713164723|p01102|0
u713164723|p01102|0
codenet
Compile Error
1,541
v2_s312826058
s312826058
s312826058
p01109
p01109
u291439196
u291439196
1,535,949,711
2018-09-03T04:41:51
main.java
import java.util.*; public class main{ public static void main(String [] args)throws Exception{ int x = 0; while(x < 100){ x++; System.out.println('rank up!!'); } } }
main.java:8: error: unclosed character literal System.out.println('rank up!!'); ^ main.java:8: error: ';' expected System.out.println('rank up!!'); ^ main.java:8: error: unclosed character l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u291439196|p01109|0
u291439196|p01109|0
codenet
Compile Error
288
v2_s822628541
s822628541
s822628541
p01109
p01109
u291439196
u291439196
1,535,949,810
2018-09-03T04:43:30
main.java
import java.util.*; public class main{ public static void main(String [] args)throws Exception{ int n = 0; while(n < 10){ x++; System.out.println('kedarui'); } } }
main.java:8: error: unclosed character literal System.out.println('kedarui'); ^ main.java:8: error: unclosed character literal System.out.println('kedarui'); ^ main.java:8: error: not a stat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u291439196|p01109|0
u291439196|p01109|0
codenet
Compile Error
285
v2_s053594369
s053594369
s053594369
p01125
p01125
u211138527
u211138527
1,445,969,478
2015-10-27T18:11: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:20: error: cannot find symbol HashMap<String,Pair> dir=new HashMap<>(); ^ symbol: class HashMap location: class Main Main.java:20: error: cannot find symbol HashMap<String,Pair> dir=new HashMap<>(); ^ symbol: class HashMap location: class Main Main.java:30: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01125|0
u211138527|p01125|0
codenet
Compile Error
4,231
v2_s039068076
s039068076
s039068076
p01125
p01125
u211138527
u211138527
1,445,969,531
2015-10-27T18:12: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.HashMap; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigDecimal; import java.math....
Main.java:31: error: cannot find symbol visted[10][10]=true; ^ symbol: variable visted location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01125|0
u211138527|p01125|0
codenet
Compile Error
4,257
v2_s601219049
s601219049
s601219049
p01125
p01125
u281902305
u281902305
1,528,199,858
2018-06-05T11:57:38
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { int numOfGemsCollected = 0; Robo robo = new Robo(); Scanner scan = new Scanner(System.in); int numOfGems = scan.nextInt(); while (numOfGems != 0) { Gem[] gemArray = new Gem[numOfGems]; for (int i = 0; i < numOf...
Main.java:8: error: cannot find symbol Robo robo = new Robo(); ^ symbol: class Robo location: class Main Main.java:8: error: cannot find symbol Robo robo = new Robo(); ^ symbol: class Robo location: class Main Main.java:14: error: cannot find symbol Gem[] gemArray = new Gem[numOfG...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u281902305|p01125|0
u281902305|p01125|0
codenet
Compile Error
2,201
v2_s359581970
s359581970
s359581970
p01125
p01125
u281902305
u281902305
1,528,199,904
2018-06-05T11:58:24
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { int numOfGemsCollected = 0; Robo robo = new Robo(); Scanner scan = new Scanner(System.in); int numOfGems = scan.nextInt(); while (numOfGems != 0) { Gem[] gemArray = new Gem[numOfGems]; for (int i = 0; i < numOf...
Main.java:8: error: cannot find symbol Robo robo = new Robo(); ^ symbol: class Robo location: class Main Main.java:8: error: cannot find symbol Robo robo = new Robo(); ^ symbol: class Robo location: class Main Main.java:14: error: cannot find symbol Gem[] gemArray = new Gem[numOfG...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u281902305|p01125|0
u281902305|p01125|0
codenet
Compile Error
2,201
v2_s640198796
s640198796
s640198796
p01125
p01125
u281902305
u281902305
1,528,200,014
2018-06-05T12:00:14
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { int numOfGemsCollected = 0; Robo robo = new Robo(); Scanner scan = new Scanner(System.in); int numOfGems = scan.nextInt(); while (numOfGems != 0) { Gem[] gemArray = new Gem[numOfGems]; for (int i = 0; i < numOf...
Main.java:8: error: cannot find symbol Robo robo = new Robo(); ^ symbol: class Robo location: class Main Main.java:8: error: cannot find symbol Robo robo = new Robo(); ^ symbol: class Robo location: class Main Main.java:14: error: cannot find symbol Gem[] gemArray = new Gem[numOfG...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u281902305|p01125|0
u281902305|p01125|0
codenet
Compile Error
2,217
v2_s451677223
s451677223
s451677223
p01125
p01125
u281902305
u281902305
1,528,212,263
2018-06-05T15:24:23
Main.java
import java.util.Scanner; class Robo { int coordinateX; int coordinateY; Robo() { this.coordinateX = 10; this.coordinateY = 10; } public void forwardX() { this.coordinateX = (this.getX() + 1); } public void forwardY() { this.coordinateY = (this.getY() + 1); } public void backwardX() { this.coor...
Main.java:82: error: constructor Gem in class Gem cannot be applied to given types; Gem gem = new Gem(); ^ required: int,int found: no arguments reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u281902305|p01125|1
u281902305|p01125|0
codenet
Compile Error
3,318
v2_s807899083
s807899083
s807899083
p01125
p01125
u464358276
u464358276
1,507,639,262
2017-10-10T12:41:02
Main.java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true){ int N =sc.nextInt(); if(N == 0){ break; } // ??????????????? boolean[][] map = new boolean[21][21]; for (int n = 0; n<N; n++){ int x = sc.nextInt(); int y = sc.nextInt(); // ??\?????????????????? ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u464358276|p01125|0
u464358276|p01125|0
codenet
Compile Error
1,736
v2_s098078822
s098078822
s098078822
p01125
p01125
u961257233
u961257233
1,340,863,690
2012-06-28T06:08:10
Main.java
import java.util.Scanner; public class Main{ class Treasure { int x; int y; boolean isTreasure; public Treasure(int x,int y) { this.x = x; this.y = y; this.isTreasure = false; } public void isTreasure(Robot pri_r,Robot aft_r) { if(pri_r.x == aft_r.x) { if(pri_r.y < aft_r.y...
Main.java:155: error: cannot find symbol Main.run.run(); ^ symbol: variable run location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u961257233|p01125|0
u961257233|p01125|0
codenet
Compile Error
2,515
v2_s346844526
s346844526
s346844526
p01125
p01125
u981636042
u981636042
1,452,235,735
2016-01-08T06:48:55
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n; while ((n = in.nextInt()) != 0) { int[][] map = new int[21][21]; for (int i = 0; i < n; i++) { map[in.nextInt()][in.nextInt()] = 1; } int m = in.nextInt(); int x = 10; int y =...
Main.java:4: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: 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
u981636042|p01125|0
u981636042|p01125|0
codenet
Compile Error
986
v2_s880232080
s880232080
s880232080
p01126
p01126
u211138527
u211138527
1,455,630,891
2016-02-16T13:54:51
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:23: error: cannot find symbol for(int i=0;i<n;i++) ps[i]=i; ^ symbol: variable ps location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01126|0
u211138527|p01126|0
codenet
Compile Error
3,279
v2_s688536831
s688536831
s688536831
p01126
p01126
u234052535
u234052535
1,502,724,045
2017-08-14T15:20:45
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader sc = new BufferedReader(new InputStreamReader(System.in)); while (true) { String line = sc.readLine(); String[] lineAry = line.split(" "); int n = Integer.parseInt(lineAry...
Main.java:12: error: ';' expected int m = Integer.parseInt(lineAry[1]) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u234052535|p01126|0
u234052535|p01126|0
codenet
Compile Error
1,749
v2_s803127984
s803127984
s803127984
p01126
p01126
u723736789
u723736789
1,386,160,647
2013-12-04T12:37:27
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main{ static int N, D, money; static int[] prices; private static int solve(){ int answer = 0; if (prices[0] * 2 > money) return 0; if (prices[prices.length - 1] + prices[prices.length - 2] <= m...
Main.java:36: error: cannot find symbol } catch(IOException e){} ^ symbol: class IOException location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u723736789|p01126|0
u723736789|p01126|0
codenet
Compile Error
1,370
v2_s615488674
s615488674
s615488674
p01126
p01126
u981636042
u981636042
1,452,246,506
2016-01-08T09:48:26
Main.java
import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; public class Main { public static void main(String[] args) throws IOException { ReadableByteChannel in = Channels.newChannel(System.in); ByteBuffer buf = ByteBuffer.allocate(10...
Main.java:48: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981636042|p01126|0
u981636042|p01126|0
codenet
Compile Error
1,071
v2_s229984203
s229984203
s229984203
p01126
p01126
u989100320
u989100320
1,431,425,830
2015-05-12T10:17:10
Main.java
import java.util.ArrayList; import java.util.List; /** * @author ando * */ public class P2001 { public static void main(String[] args) { int now = 1; List<Line> l = new ArrayList<>(); for(String line : args[0].split("\n")) l.add(new Line(line.split(" "))); l.remove(0); java.util.Collections.sort(l); ...
Main.java:8: error: class P2001 is public, should be declared in a file named P2001.java public class P2001 { ^ Main.java:22: error: class Line is public, should be declared in a file named Line.java public class Line implements Comparable<Line> { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u989100320|p01126|0
u989100320|p01126|0
codenet
Compile Error
911
v2_s127470711
s127470711
s127470711
p01126
p01126
u989100320
u989100320
1,431,426,016
2015-05-12T10:20:16
Main.java
import java.util.ArrayList; import java.util.List; public class Line implements Comparable<Line> { int hight; int left; int right; public Line(String[] lines) { hight = Integer.valueOf(lines[0]); left = Integer.valueOf(lines[1]); right = Integer.valueOf(lines[2]); } public int transit(int now) { if(n...
Main.java:4: error: class Line is public, should be declared in a file named Line.java public class Line implements Comparable<Line> { ^ Main.java:29: error: class P2001 is public, should be declared in a file named P2001.java public class P2001 { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u989100320|p01126|0
u989100320|p01126|0
codenet
Compile Error
884
v2_s665583851
s665583851
s665583851
p01126
p01126
u989100320
u989100320
1,431,426,390
2015-05-12T10:26:30
Main.java
import java.util.ArrayList; import java.util.List; public class Line implements Comparable<Line> { int hight; int left; int right; public Line(String[] lines) { hight = Integer.valueOf(lines[0]); left = Integer.valueOf(lines[1]); right = Integer.valueOf(lines[2]); } public int transit(int now) { if(n...
Main.java:4: error: class Line is public, should be declared in a file named Line.java public class Line implements Comparable<Line> { ^ Main.java:29: error: class P2001 is public, should be declared in a file named P2001.java public class P2001 { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u989100320|p01126|0
u989100320|p01126|0
codenet
Compile Error
893
v2_s986599004
s986599004
s986599004
p01126
p01126
u989100320
u989100320
1,431,428,562
2015-05-12T11:02:42
Main.java
import java.util.ArrayList; import java.util.List; public class Main { public static void main(String[] args) { int now = 1; int h = -1; List<Line> l = new ArrayList<Line>(); for(String line : args)) { l.add(new Line(line.split("\\s"))); } l.remove(0); java.util.Collections.sort(l); for(Line ll : l...
Main.java:9: error: illegal start of expression for(String line : args)) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u989100320|p01126|0
u989100320|p01126|0
codenet
Compile Error
874
v2_s627575644
s627575644
s627575644
p01128
p01128
u616613978
u616613978
1,337,430,964
2012-05-19T12:36:04
Main.java
import java.util.*; import java.awt.geom.Line2D; public class Main{ int n; int xa,ya,xb,yb; int xs,ys,xt,yt,o,l; Line2D a,b; Intersection[] inter; class Intersection{ double dist; int owner,height; public Intersection(double dist,int owner,int height){ this.dist = dist; this.owner...
Main.java:53: error: ';' expected int ans = Math.min(countGate(0),countGate(1)) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616613978|p01128|1
u616613978|p01128|0
codenet
Compile Error
2,144
v2_s202219138
s202219138
s202219138
p01131
p01131
u506537276
u506537276
1,530,099,631
2018-06-27T11:40:31
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String [][] letters = {{" "},{" ",".",",","!","?"},{"c","a","b"},{"f","d","e"},{"i","g","h"},{"l","j","k"},{"o","m","n"},{"s","p","q","r"},{"v","t","u"},{"z","w","x","y"},{" ","A","...
Main.java:24: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p01131|0
u506537276|p01131|0
codenet
Compile Error
782
v2_s571347480
s571347480
s571347480
p01131
p01131
u820066026
u820066026
1,386,050,511
2013-12-03T06:01:51
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { char[][] data = { { '.', ',', '!', '?', ' ' }, { 'a', 'b', 'c' }, { 'd', 'e', 'f' }, { 'g', 'h', 'i' }, { 'j', 'k', 'l' }, { 'm', 'n', 'o' }, { 'p', 'q', 'r', 's' }, { 't', 'u', 'v' }, { 'w', 'x', 'y', 'z' } }; Sc...
Main.java:3: error: illegal character: '\u3000' public class?Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u820066026|p01131|0
u820066026|p01131|0
codenet
Compile Error
1,415
v2_s410305620
s410305620
s410305620
p01131
p01131
u984079180
u984079180
1,499,709,645
2017-07-10T18:00:45
Main.java
import java.io.*; class CharAt { public static void main(String[] args) throws IOException { String[][] strButton = { {".",",","!","?"," "},{"a","b","c"},{"d","e","f"},{"g","h","i"},{"j","k","l"},{"m","n","o"},{"p","q","r","s"},{"t","u","v"},{"w","x","y","z"} }; BufferedReader br = new BufferedRea...
Main.java:63: error: incompatible types: unexpected return value return 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u984079180|p01131|0
u984079180|p01131|0
codenet
Compile Error
1,713
v2_s629442478
s629442478
s629442478
p01132
p01132
u211138527
u211138527
1,455,805,159
2016-02-18T14:19:19
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:24: error: cannot find symbol tot+=a[i]*v[i]; ^ symbol: variable tot location: class Main Main.java:26: error: cannot find symbol tot-=n; ^ symbol: variable tot location: class Main Main.java:28: error: cannot find symbol r[i]=tot/v[i]; ^ symbol: variable tot location: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01132|0
u211138527|p01132|0
codenet
Compile Error
3,090
v2_s909275134
s909275134
s909275134
p01132
p01132
u211138527
u211138527
1,455,805,184
2016-02-18T14:19:44
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:34: error: bad operand types for binary operator '-' if(a[i]>r[i]) out.println(v[i]+" "+a[i]-r[i]); ^ first type: String second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01132|0
u211138527|p01132|0
codenet
Compile Error
3,103
v2_s802836506
s802836506
s802836506
p01133
p01133
u197786702
u197786702
1,368,157,107
2013-05-10T03:38:27
Main.java
import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; import java.util.ListIterator; import java.util.PriorityQueue; import java.util.Scanner; public class Main { public static final int MAX = 20; public static final double INF = Double.MAX_VALUE; public sta...
Main.java:87: error: cannot find symbol if(time <= cost){ ^ symbol: variable cost location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u197786702|p01133|1
u197786702|p01133|1
codenet
Compile Error
4,249
v2_s699167616
s699167616
s699167616
p01136
p01136
u760351030
u760351030
1,449,948,189
2015-12-12T19:23:09
Main.java
mport java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; public class Main { MyScanner sc = new MyScanner(); Scanner sc2 = new Scanner(System.in); final int MOD = 1000000007; long start = System.currentTimeMillis(); long fin = System.currentTimeMillis(); int[] dx = { 1, 0, 0, -1 }; int[] dy...
Main.java:1: error: class, interface, enum, or record expected mport java.util.ArrayList; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.Arrays; ^ 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
u760351030|p01136|1
u760351030|p01136|1
codenet
Compile Error
3,703
v2_s056489188
s056489188
s056489188
p01136
p01136
u760785315
u760785315
1,365,658,599
2013-04-11T05:36:39
Main.java
import java.util.ArrayList; import java.util.Scanner; import java.io.PrintWriter; public class Main { static Scanner scan = new Scanner(System.in); static PrintWriter out = new PrintWriter(System.out); public static void main(String[] args){ while(true){ int n = si(); if(n==0) break; ListArray[] lista = ...
Main.java:12: error: cannot find symbol ListArray[] lista = new ListArray[30]; ^ symbol: class ListArray location: class Main Main.java:12: error: cannot find symbol ListArray[] lista = new ListArray[30]; ^ symbol: class ListArray location: class Main Main.java:13: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u760785315|p01136|0
u760785315|p01136|0
codenet
Compile Error
901
v2_s824568665
s824568665
s824568665
p01137
p01137
u211138527
u211138527
1,455,710,825
2016-02-17T12:07:05
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 for(int i=0;i<cu.length;i++) cb[i]=i*i*i; ^ symbol: variable cu location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01137|0
u211138527|p01137|0
codenet
Compile Error
3,362
v2_s871058506
s871058506
s871058506
p01137
p01137
u211138527
u211138527
1,455,711,056
2016-02-17T12:10:56
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:24: error: cannot find symbol mi=Math.mi(mi,i+sqrt+e-cb[i]-sq[sqrt]); ^ symbol: method mi(int,int) location: class Math 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01137|0
u211138527|p01137|0
codenet
Compile Error
3,322
v2_s883239343
s883239343
s883239343
p01137
p01137
u464358276
u464358276
1,527,154,296
2018-05-24T09:31:36
Main.java
public class Main { public static void main(String[] args) { // インプットデータ取得 Scanner sc = new Scanner(System.in); while(true) { double m=sc.nextDouble(); if(m==0) {break;} double x_double=0; double y_double=0; double z_double=0; //mの三乗根に一番近い整数...
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 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u464358276|p01137|0
u464358276|p01137|0
codenet
Compile Error
475
v2_s898431170
s898431170
s898431170
p01138
p01138
u211138527
u211138527
1,457,177,820
2016-03-05T11:37:00
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: constructor AL in class AL cannot be applied to given types; AL table=new AL(n); ^ required: no arguments found: int reason: actual and formal argument lists differ in length Main.java:25: error: array required, but AL found table[i].add(new int[]{l,r}); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01138|0
u211138527|p01138|0
codenet
Compile Error
3,962
v2_s479992810
s479992810
s479992810
p01138
p01138
u211138527
u211138527
1,457,178,019
2016-03-05T11:40:19
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: incompatible types: AL cannot be converted to boolean for(ans=1;UniteSegments(table,ans);ans++); ^ Main.java:62: error: incompatible types: boolean cannot be converted to AL if(l!=ps[i].pos) return true; ^ Main.java:65: error: incompatible ty...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p01138|0
u211138527|p01138|0
codenet
Compile Error
3,931
v2_s156265794
s156265794
s156265794
p01138
p01138
u331491813
u331491813
1,528,347,511
2018-06-07T04:58:31
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt();//nでデータの入力個数を決める int count = 0; for(int i=0;i<n;i++) { //発車時刻 int h = sc.nextInt(); int m = sc.nextInt(); int s = sc.nextInt(); //到着時刻 int H = sc.nextInt(); int M = sc...
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
u331491813|p01138|0
u331491813|p01138|0
codenet
Compile Error
626
v2_s318982257
s318982257
s318982257
p01138
p01138
u660879425
u660879425
1,337,331,528
2012-05-18T08:58:48
Main.java
import javax.tools.JavaCompiler.CompilationTask; public class Main { class C implements Comparable<C> { int startH; int startM; int startS; int endH; int endM; int endS; public C(String start , String end){ String [] input = start.split(":"); startH = Integer.parseInt(input[0]); startM = I...
Main.java:89: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:89: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:99: error: cannot find symbol...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660879425|p01138|0
u660879425|p01138|0
codenet
Compile Error
2,172