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_s756013265
s756013265
s756013265
p02315
p02315
u860843819
u860843819
1,445,827,183
2015-10-26T02:39:43
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int WW = Integer.parseInt(sc.next()); int[] v = new int[N]; int[] w = new int[N]; for(int i=0; i<N; i++){ v = Integer.parseInt(...
Main.java:11: error: incompatible types: int cannot be converted to int[] v = Integer.parseInt(sc.next()); ^ Main.java:12: error: incompatible types: int cannot be converted to int[] w = Integer.parseInt(sc.next()); ^ Main.java:31: error: cannot find symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860843819|p02315|0
u860843819|p02315|0
codenet
Compile Error
750
v2_s429234654
s429234654
s429234654
p02315
p02315
u949734478
u949734478
1,495,766,143
2017-05-26T02:35:43
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; public class Main { private interface Solver { int solve(int W, List<Integer> values, List<Integer> weights); } private static cl...
Main.java:28: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u949734478|p02315|2
u949734478|p02315|2
codenet
Compile Error
1,511
v2_s997087538
s997087538
s997087538
p02316
p02316
u497852372
u497852372
1,559,456,773
2019-06-02T06:26:13
Main.java
import java.util.Scanner; public class Main{ public static int Max(int a, int b, int c){ if(a >= b && a >= c) return a; else if(b >= c) return b; else return c; } public static void main(String[] args){ Scanner sc = new Scanner(System.in); ...
Main.java:27: error: ';' expected dp[i+1][j] = Math.max(dp[i][j-w[i]]+v[i] , dp[i][j]) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497852372|p02316|0
u497852372|p02316|0
codenet
Compile Error
976
v2_s680739436
s680739436
s680739436
p02316
p02316
u860843819
u860843819
1,445,840,880
2015-10-26T06:28:00
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int WW = Integer.parseInt(sc.next()); int[] v = new int[N+1]; int[] w = new int[N+1]; for(int i=1; i<N+1; i++){ v[i] = Integer....
Main.java:20: error: array required, but int found dp[i][W] = Math.max(dp[W], dp[W-w[i]] + v[i]); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860843819|p02316|0
u860843819|p02316|0
codenet
Compile Error
618
v2_s814962504
s814962504
s814962504
p02317
p02317
u211138527
u211138527
1,439,739,537
2015-08-16T15:38:57
Main.java
import java.io.*; import java.util.Arrays.*; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.i...
Main.java:24: error: ')' or ',' expected int index=binarySearch(dp,0,len-1,num[i]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02317|0
u211138527|p02317|0
codenet
Compile Error
770
v2_s943117099
s943117099
s943117099
p02317
p02317
u211138527
u211138527
1,439,739,563
2015-08-16T15:39:23
Main.java
import java.io.*; import java.util.Arrays.*; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE/2; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.i...
Main.java:24: error: cannot find symbol int index=binarySearch(dp,0,len-1,num[i]); ^ symbol: method binarySearch(int[],int,int,int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02317|0
u211138527|p02317|0
codenet
Compile Error
771
v2_s191565597
s191565597
s191565597
p02317
p02317
u211138527
u211138527
1,444,058,302
2015-10-05T15:18:22
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Comparator; import java.util.Deque; import java.util.HashMap; import java.util.HashSet; import java.util.InputMi...
Main.java:39: error: cannot find symbol for(int i=1;i<n;i++){ ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02317|1
u211138527|p02317|1
codenet
Compile Error
3,441
v2_s542995943
s542995943
s542995943
p02317
p02317
u436688998
u436688998
1,434,337,254
2015-06-15T03:00:54
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] sequence = new int[n]; for ( int i = 0; i < sequence.length; i++ ) { sequence[i] = sc.nextInt(); } System.out.println(findLISLen(sequence)); } public ...
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
u436688998|p02317|0
u436688998|p02317|0
codenet
Compile Error
992
v2_s032596349
s032596349
s032596349
p02317
p02317
u473115569
u473115569
1,527,608,669
2018-05-29T15:44:29
Main.java
public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long[] dp= new long[100010]; int[] a=new int[100010]; int n=sc.nextInt(); for(int i=0; i<n; i++) { a[i]=sc.nextInt(); } dp[0]=1; for(int i=0; i<=100000; i++) { if(a[i]>=a[i+1]) { dp[i+1]=dp[i]; ...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u473115569|p02317|0
u473115569|p02317|0
codenet
Compile Error
387
v2_s646078129
s646078129
s646078129
p02318
p02318
u473115569
u473115569
1,527,486,298
2018-05-28T05:44:58
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s1=sc.next(); String s2=sc.next(); int[][] dp= new int[1010][1010]; int count=0; for(int i=0; i<s1.length(); i++) { if(s1.charAt(0)!=s2.charAt(0)) d...
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
u473115569|p02318|0
u473115569|p02318|0
codenet
Compile Error
948
v2_s901199074
s901199074
s901199074
p02318
p02318
u812678274
u812678274
1,467,384,847
2016-07-01T14:54:07
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; public class Main { static InputStream is; static PrintWriter out; static String INPUT = ""; private static void solve() { Str...
Main.java:34: error: cannot find symbol System.out.println(editDistance(s1.toCharArray(), s2.toCharArray(), 1, 1, 1)); ^ symbol: method editDistance(char[],char[],int,int,int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u812678274|p02318|0
u812678274|p02318|0
codenet
Compile Error
3,945
v2_s892351452
s892351452
s892351452
p02319
p02319
u949734478
u949734478
1,481,701,897
2016-12-14T07:51:37
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; public class Main { public static class Solver { public int solve(int W, List<Integer> values, List<Integer> weights) { ...
Main.java:39: error: cannot find symbol System.out.println(new Main().solve(W, values, weights)); ^ symbol: method solve(int,List<Integer>,List<Integer>) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u949734478|p02319|0
u949734478|p02319|0
codenet
Compile Error
1,564
v2_s970895919
s970895919
s970895919
p02319
p02319
u949734478
u949734478
1,481,701,950
2016-12-14T07:52:30
Main.java
package org.zlambda.sandbox.puzzle; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; /** http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DPL_1_F 0-1 ???????????¶???????????? II ???...
Main.java:81: error: cannot find symbol System.out.println(new Main().solve(W, values, weights)); ^ symbol: method solve(int,List<Integer>,List<Integer>) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u949734478|p02319|0
u949734478|p02319|0
codenet
Compile Error
2,589
v2_s814136272
s814136272
s814136272
p02319
p02319
u949734478
u949734478
1,481,702,029
2016-12-14T07:53:49
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; /** http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DPL_1_F 0-1 ???????????¶???????????? II ????????? vi ????????? wi ??§??????????...
Main.java:81: error: cannot find symbol System.out.println(new Main().solve(W, values, weights)); ^ symbol: method solve(int,List<Integer>,List<Integer>) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u949734478|p02319|0
u949734478|p02319|0
codenet
Compile Error
2,554
v2_s663308468
s663308468
s663308468
p02320
p02320
u949734478
u949734478
1,481,617,713
2016-12-13T08:28:33
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; public class Main { public long solve(int W, List<Integer> values, List<Integer> weights) { int[] dp = new int[W + 1]; for...
Main.java:55: error: cannot find symbol List<List<Integer>> numsList = nums.stream().map(KnapsackWithLimitation::transform).collect(Collectors.toList()); ^ symbol: variable KnapsackWithLimitation location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u949734478|p02320|1
u949734478|p02320|1
codenet
Compile Error
2,568
v2_s773521178
s773521178
s773521178
p02320
p02320
u949734478
u949734478
1,481,617,765
2016-12-13T08:29:25
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; public class Main { public long solve(int W, List<Integer> values, List<Integer> weights) { int[] dp = new int[W + 1]; fo...
Main.java:56: error: cannot find symbol List<List<Integer>> numsList = nums.stream().map(KnapsackWithLimitation::transform).collect(Collectors.toList()); ^ symbol: variable KnapsackWithLimitation location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u949734478|p02320|1
u949734478|p02320|1
codenet
Compile Error
2,572
v2_s608856287
s608856287
s608856287
p02321
p02321
u949734478
u949734478
1,482,134,555
2016-12-19T08:02:35
Main.java
import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; /** http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DPL_1_H ??¨??§???????????¶???????????? ????????? vi ????????? wi ??§??????????????? N ??????????????¨???????????? W ??????????????¶?????????????????????????¬...
Main.java:53: error: cannot find symbol long solve(final long W, List<Long> values, List<Long> weights) { ^ symbol: class List location: class Solver Main.java:53: error: cannot find symbol long solve(final long W, List<Long> values, List<Long> weights) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u949734478|p02321|0
u949734478|p02321|0
codenet
Compile Error
5,526
v2_s527512542
s527512542
s527512542
p02323
p02323
u053546207
u053546207
1,551,399,793
2019-03-01T00:23:13
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph; Map<Integer, Map<Integer, Integer>> dp = new HashMap<>(); void run() { N = sc.nextInt(); M = sc.nextInt(); graph = new int[N][N]; for ...
Main.java:32: error: '(' expected if dp.contains(mask) && dp.get(mask).contains(v)) return dp.get(mask).get(v); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u053546207|p02323|0
u053546207|p02323|0
codenet
Compile Error
1,059
v2_s994250928
s994250928
s994250928
p02323
p02323
u053546207
u053546207
1,551,399,807
2019-03-01T00:23:27
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph; Map<Integer, Map<Integer, Integer>> dp = new HashMap<>(); void run() { N = sc.nextInt(); M = sc.nextInt(); graph = new int[N][N]; for ...
Main.java:9: error: cannot find symbol Map<Integer, Map<Integer, Integer>> dp = new HashMap<>(); ^ symbol: class Map location: class Main Main.java:9: error: cannot find symbol Map<Integer, Map<Integer, Integer>> dp = new HashMap<>(); ^ symbol: class Map location: class Main Main.java:9: er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u053546207|p02323|0
u053546207|p02323|0
codenet
Compile Error
1,060
v2_s153225175
s153225175
s153225175
p02323
p02323
u053546207
u053546207
1,551,399,836
2019-03-01T00:23:56
Main.java
import java.util.Arrays; import java.util.Scanner; import java.util.*; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph; Map<Integer, Map<Integer, Integer>> dp = new HashMap<>(); void run() { N = sc.nextInt(); M = sc.nextInt(); graph = new ...
Main.java:33: error: cannot find symbol if (dp.contains(mask) && dp.get(mask).contains(v)) return dp.get(mask).get(v); ^ symbol: method contains(int) location: variable dp of type Map<Integer,Map<Integer,Integer>> Main.java:33: error: cannot find symbol if (dp.contains(mask) && dp.get(mask).contains(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u053546207|p02323|0
u053546207|p02323|0
codenet
Compile Error
1,080
v2_s627254850
s627254850
s627254850
p02323
p02323
u053546207
u053546207
1,551,399,860
2019-03-01T00:24:20
Main.java
import java.util.Arrays; import java.util.Scanner; import java.util.*; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph; Map<Integer, Map<Integer, Integer>> dp = new HashMap<>(); void run() { N = sc.nextInt(); M = sc.nextInt(); graph = new ...
Main.java:39: error: bad operand types for binary operator '&' if(mask & (1 << i) != 0) continue; ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u053546207|p02323|0
u053546207|p02323|0
codenet
Compile Error
1,089
v2_s986588711
s986588711
s986588711
p02323
p02323
u053546207
u053546207
1,551,400,065
2019-03-01T00:27:45
Main.java
import java.util.Arrays; import java.util.Scanner; import java.util.*; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph; Map<Integer, Map<Integer, Integer>> dp = new HashMap<>(); void run() { N = sc.nextInt(); M = sc.nextInt(); graph = new ...
Main.java:27: error: incompatible types: unexpected return value return tsp(1, 0); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u053546207|p02323|0
u053546207|p02323|0
codenet
Compile Error
1,112
v2_s388679733
s388679733
s388679733
p02323
p02323
u283175210
u283175210
1,551,234,598
2019-02-27T02:29:58
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph, memo; void run() { N = sc.nextInt(); // edge number M = sc.nextInt(); // vertex number graph = new int[N][N]; memo = new int[N][1 << N]; ...
Main.java:30: error: cannot find symbol if(mask==VISITED_ALL){ ^ symbol: variable VISITED_ALL location: class Main Main.java:31: error: cannot find symbol return dist[pos][0]; ^ symbol: variable dist location: class Main Main.java:33: error: cannot find symbol if(dp[mask][pos]!=...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u283175210|p02323|0
u283175210|p02323|0
codenet
Compile Error
1,184
v2_s702913410
s702913410
s702913410
p02323
p02323
u283175210
u283175210
1,551,234,627
2019-02-27T02:30:27
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph, memo; int VISITED_ALL = (1<<n) -1; void run() { N = sc.nextInt(); // edge number M = sc.nextInt(); // vertex number graph = new int[N][N];...
Main.java:10: error: cannot find symbol int VISITED_ALL = (1<<n) -1; ^ symbol: variable n location: class Main Main.java:33: error: cannot find symbol return dist[pos][0]; ^ symbol: variable dist location: class Main Main.java:35: error: cannot find symbol if(dp[mask][pos...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u283175210|p02323|0
u283175210|p02323|0
codenet
Compile Error
1,216
v2_s789906489
s789906489
s789906489
p02323
p02323
u283175210
u283175210
1,551,234,681
2019-02-27T02:31:21
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph, memo; static int VISITED_ALL = (1<<n) -1; void run() { N = sc.nextInt(); // edge number M = sc.nextInt(); // vertex number graph = new int...
Main.java:10: error: cannot find symbol static int VISITED_ALL = (1<<n) -1; ^ symbol: variable n location: class Main Main.java:33: error: cannot find symbol return dist[pos][0]; ^ symbol: variable dist location: class Main Main.java:35: error: cannot find symbol i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u283175210|p02323|0
u283175210|p02323|0
codenet
Compile Error
1,223
v2_s006723937
s006723937
s006723937
p02323
p02323
u283175210
u283175210
1,551,234,723
2019-02-27T02:32:03
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph, memo; int VISITED_ALL = ((1<<n) -1); void run() { N = sc.nextInt(); // edge number M = sc.nextInt(); // vertex number graph = new int[N][N...
Main.java:10: error: cannot find symbol int VISITED_ALL = ((1<<n) -1); ^ symbol: variable n location: class Main Main.java:33: error: cannot find symbol return dist[pos][0]; ^ symbol: variable dist location: class Main Main.java:35: error: cannot find symbol if(dp[mask][...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u283175210|p02323|0
u283175210|p02323|0
codenet
Compile Error
1,218
v2_s599183565
s599183565
s599183565
p02323
p02323
u283175210
u283175210
1,551,234,737
2019-02-27T02:32:17
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph, memo; int visitedAll = ((1<<n) -1); void run() { N = sc.nextInt(); // edge number M = sc.nextInt(); // vertex number graph = new int[N][N]...
Main.java:10: error: cannot find symbol int visitedAll = ((1<<n) -1); ^ symbol: variable n location: class Main Main.java:32: error: cannot find symbol if(mask==VISITED_ALL){ ^ symbol: variable VISITED_ALL location: class Main Main.java:33: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u283175210|p02323|0
u283175210|p02323|0
codenet
Compile Error
1,217
v2_s169483763
s169483763
s169483763
p02323
p02323
u283175210
u283175210
1,551,234,778
2019-02-27T02:32:58
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph, memo; int VISITED_ALL; void run() { N = sc.nextInt(); // edge number M = sc.nextInt(); // vertex number graph = new int[N][N]; memo = ne...
Main.java:27: error: cannot find symbol VISITED_ALL = ((1<<n) -1); ^ symbol: variable n location: class Main Main.java:34: error: cannot find symbol return dist[pos][0]; ^ symbol: variable dist location: class Main Main.java:36: error: cannot find symbol if(dp[mask][pos]!=...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u283175210|p02323|0
u283175210|p02323|0
codenet
Compile Error
1,233
v2_s845910403
s845910403
s845910403
p02323
p02323
u283175210
u283175210
1,551,234,809
2019-02-27T02:33:29
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int N, M; int INF = Integer.MAX_VALUE / 2; int[][] graph, memo; int VISITED_ALL; void run() { N = sc.nextInt(); // edge number M = sc.nextInt(); // vertex number graph = new int[N][N]; memo = ne...
Main.java:34: error: cannot find symbol return dist[pos][0]; ^ symbol: variable dist location: class Main Main.java:36: error: cannot find symbol if(dp[mask][pos]!=-1){ ^ symbol: variable dp location: class Main Main.java:37: error: cannot find symbol return dp[mask][pos]; ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u283175210|p02323|0
u283175210|p02323|0
codenet
Compile Error
1,235
v2_s241965355
s241965355
s241965355
p02325
p02325
u376497241
u376497241
1,527,183,703
2018-05-24T17:41:43
Main.java
public class Main{ public static void main (String[] args) { System.out.println(" 4.82842712"); } }
Main.java:4: error: unclosed string literal System.out.println(" ^ Main.java:5: error: unclosed string literal 4.82842712"); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u376497241|p02325|0
u376497241|p02325|0
codenet
Compile Error
118
v2_s462416755
s462416755
s462416755
p02325
p02325
u376497241
u376497241
1,527,300,196
2018-05-26T02:03:16
Main.java
import java.io.*; import java.util.Scanner; public class Main { public static double btsp(int[] x, int[] y) { int n = x.length; double[][] aux = new double[n][n]; for (int j = 1; j < n; j++) { aux[0][j] = aux[0][j-1] + distance(x[j-1], y[j-1], x[j], y[j]); } f...
Main.java:14: error: cannot find symbol for (j = i; j < n; j++) { ^ symbol: variable j location: class Main Main.java:14: error: cannot find symbol for (j = i; j < n; j++) { ^ symbol: variable j location: class Main Main.java:14: error: cannot...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u376497241|p02325|2
u376497241|p02325|1
codenet
Compile Error
1,473
v2_s513665604
s513665604
s513665604
p02325
p02325
u376497241
u376497241
1,527,300,337
2018-05-26T02:05:37
Main.java
import java.io.*; import java.util.Scanner; public class Main { public static double btsp(int[] x, int[] y) { int n = x.length; double[][] aux = new double[n][n]; for (int j = 1; j < n; j++) { aux[0][j] = aux[0][j-1] + distance(x[j-1], y[j-1], x[j], y[j]); } f...
Main.java:23: error: 'else' without 'if' } else { ^ Main.java:28: error: illegal start of type return aux[n-1][n-1]; ^ Main.java:28: error: ']' expected return aux[n-1][n-1]; ^ Main.java:28: error: ';' expected return aux[n-1][n-1]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u376497241|p02325|2
u376497241|p02325|1
codenet
Compile Error
1,496
v2_s857594702
s857594702
s857594702
p02326
p02326
u018134297
u018134297
1,483,792,667
2017-01-07T12:37:47
Main.java
mport java.util.*; class Main { public static void main(String args[]) { int H,W; int[][] map; try (Scanner sc = new Scanner(System.in)) { H = sc.nextInt(), W = sc.nextInt(); map = new int[H][W]; ...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ Main.java:8: error: ';' expected H = sc.nextInt(), W = sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018134297|p02326|0
u018134297|p02326|0
codenet
Compile Error
2,195
v2_s079164513
s079164513
s079164513
p02326
p02326
u879143834
u879143834
1,497,585,690
2017-06-16T04:01:30
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int h, w; h = sc.nextInt(); w = sc.nextInt(); int[][] tiles = new int[h][w], map = new int[h][w]; for(int i = 0; i < h; i++){ for(int j = 0; j < w; j++){ tiles[i][j] = sc.nextIn...
Main.java:60: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u879143834|p02326|1
u879143834|p02326|0
codenet
Compile Error
1,303
v2_s454176602
s454176602
s454176602
p02343
p02343
u011621222
u011621222
1,495,631,337
2017-05-24T13:08:57
Main.java
import java.util.*; public class Main{ public class Union { private int[] n; public Union(int n){ this.n = new int[n]; for(int i = 0; i < n; i++){ this.n[i] = i; } } public void union(int p, int q){ int child = n[p]; int father = n[q]; if(n[p] == n[q])return; for(int ...
Main.java:44: error: non-static variable this cannot be referenced from a static context Union uf = new Union(n); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011621222|p02343|0
u011621222|p02343|0
codenet
Compile Error
1,005
v2_s259872965
s259872965
s259872965
p02343
p02343
u011621222
u011621222
1,495,631,416
2017-05-24T13:10:16
Main.java
import java.util.*; public class Main{ class Union { private int[] n; public Union(int n){ this.n = new int[n]; for(int i = 0; i < n; i++){ this.n[i] = i; } } public void union(int p, int q){ int child = n[p]; int father = n[q]; if(n[p] == n[q])return; for(int i = 0; ...
Main.java:45: error: non-static variable this cannot be referenced from a static context Union uf = new Union(n); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011621222|p02343|0
u011621222|p02343|0
codenet
Compile Error
999
v2_s701128078
s701128078
s701128078
p02343
p02343
u211138527
u211138527
1,439,805,549
2015-08-17T09:59:09
Main.java
import java.io.*; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static class UnionFindTree{ private int[] par; private int[] rank; public UnionFindTree(int size){ par=new int[size]; rank=new int[size]; for(int i=0;i<n;i++){ par[i]=i; rank[i]=0; } } private static int find(int x){ if...
Main.java:15: error: cannot find symbol for(int i=0;i<n;i++){ ^ symbol: variable n location: class UnionFindTree Main.java:22: error: non-static variable par cannot be referenced from a static context if(par[x]==x) return x; ^ Main.java:23: error: non-static variable par cannot be referenced from...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02343|0
u211138527|p02343|0
codenet
Compile Error
1,125
v2_s737229655
s737229655
s737229655
p02343
p02343
u211138527
u211138527
1,439,805,617
2015-08-17T10:00:17
Main.java
import java.io.*; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static class UnionFindTree{ private static int[] par; private static int[] rank; public UnionFindTree(int size){ par=new int[size]; rank=new int[size]; for(int i=0;i<size;i++){ par[i]=i; rank[i]=0; } } private static in...
Main.java:23: error: cannot find symbol else return par[x]=find[x]; ^ symbol: variable find location: class UnionFindTree 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02343|0
u211138527|p02343|0
codenet
Compile Error
1,142
v2_s996797864
s996797864
s996797864
p02343
p02343
u334885197
u334885197
1,484,499,389
2017-01-15T16:56:29
Main.java
import java.util.Scanner; public class Main { private static int n; private static int q; private static int[] p; private static int[] rank; private static boolean same(int x, int y) { return findSet(x) == findSet(y); } private static void unite(int x, int y) { int i = ...
Main.java:34: error: incompatible types: int cannot be converted to int[] p = p[i]; ^ Main.java:65: error: cannot find symbol if (Same(x, y)) ^ symbol: method Same(int,int) location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p02343|0
u334885197|p02343|0
codenet
Compile Error
1,604
v2_s104620809
s104620809
s104620809
p02343
p02343
u334885197
u334885197
1,484,738,949
2017-01-18T11:29:09
Main.java
import java.util.Scanner; public class Main { private static int n; private static int q; private static int[] p; private static int[] rank; private static boolean same(int x, int y) { return findSet(x) == findSet(y); } private static void unite(int x, int y) { int i = ...
Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p02343|2
u334885197|p02343|2
codenet
Compile Error
1,591
v2_s011125618
s011125618
s011125618
p02343
p02343
u334885197
u334885197
1,484,739,009
2017-01-18T11:30:09
Main.java
import java.util.Scanner; public class Main { private static int n; private static int q; private static int[] p; private static int[] rank; private static boolean same(int x, int y) { return findSet(x) == findSet(y); } private static void unite(int x, int y) { int i = ...
Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p02343|2
u334885197|p02343|2
codenet
Compile Error
1,591
v2_s777367457
s777367457
s777367457
p02343
p02343
u334885197
u334885197
1,484,739,087
2017-01-18T11:31:27
Main.java
import java.util.Scanner; public class Main { private static int n; private static int q; private static int[] p; private static int[] rank; private static boolean same(int x, int y) { return findSet(x) == findSet(y); } private static void unite(int x, int y) { int i = ...
Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p02343|2
u334885197|p02343|2
codenet
Compile Error
1,591
v2_s925830891
s925830891
s925830891
p02343
p02343
u334885197
u334885197
1,484,739,205
2017-01-18T11:33:25
Main.java
import java.util.Scanner; public class Main { private static int n; private static int q; private static int[] p; private static int[] rank; private static boolean same(int x, int y) { return findSet(x) == findSet(y); } private static void unite(int x, int y) { int i = ...
Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p02343|2
u334885197|p02343|2
codenet
Compile Error
1,573
v2_s061855667
s061855667
s061855667
p02343
p02343
u334885197
u334885197
1,484,739,281
2017-01-18T11:34:41
Main.java
import java.util.Scanner; public class Main { private static int n; private static int q; private static int[] p; private static int[] rank; private static boolean same(int x, int y) { return findSet(x) == findSet(y); } private static void unite(int x, int y) { int i = ...
Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:68: error: illegal start of expression ????????????????????? } ^ Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p02343|2
u334885197|p02343|2
codenet
Compile Error
1,572
v2_s178314598
s178314598
s178314598
p02343
p02343
u334885197
u334885197
1,485,175,734
2017-01-23T12:48:54
Main.java
import java.util.Scanner; public class Main { int n; int q; int[] p; int[] rank; public static boolean same(int x, int y) { return findSet(x) == findSet(y); } public static void unite(int x, int y) { int i = findSet(x); int j = findSet(y); if (i == j){...
Main.java:20: error: non-static variable rank cannot be referenced from a static context if (rank[i] > rank[j]){ ^ Main.java:20: error: non-static variable rank cannot be referenced from a static context if (rank[i] > rank[j]){ ^ Main.java:21: error: non-static variable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334885197|p02343|3
u334885197|p02343|3
codenet
Compile Error
1,503
v2_s328090563
s328090563
s328090563
p02343
p02343
u559881320
u559881320
1,470,227,665
2016-08-03T12:34:25
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int q = sc.nextInt(); int[] sets = new int[n]; for (int i = 0; i < n; i++) { sets[i] = i; } for (int i = 0; i < q; i++) { ...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u559881320|p02343|0
u559881320|p02343|0
codenet
Compile Error
882
v2_s716613052
s716613052
s716613052
p02343
p02343
u589025755
u589025755
1,529,644,939
2018-06-22T05:22:19
Main.java
import java.util.ArrayList; import java.util.Scanner; import java.io.*; import java.util.*; /** * Created by takaesumizuki on 2018/06/22. */ public class Main { public static void main(String[] args) { new Main().run(); } void run() { Scanner sc = new Scanner(System.in); Integer ...
Main.java:18: error: cannot find symbol UnionFind uni = new UnionFind(n); ^ symbol: class UnionFind location: class Main Main.java:18: error: cannot find symbol UnionFind uni = new UnionFind(n); ^ symbol: class UnionFind location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u589025755|p02343|0
u589025755|p02343|0
codenet
Compile Error
1,856
v2_s498585447
s498585447
s498585447
p02343
p02343
u647529925
u647529925
1,491,912,985
2017-04-11T12:16:25
UnionFindTree.java
public class UnionFindTree { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int q = sc.nextInt(); UFT uft = new UFT(n); for (int i = 0; i < q; i++){ int com = sc.nextInt(); int x = sc.nextInt(); ...
UnionFindTree.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class UnionFindTree UnionFindTree.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u647529925|p02343|0
u647529925|p02343|0
codenet
Compile Error
2,095
v2_s205788529
s205788529
s205788529
p02343
p02343
u978248297
u978248297
1,524,425,144
2018-04-22T19:25:44
Main.java
import java.util.ArrayList; import java.util.Scanner; public class UFT_Node { int name; UFT_Node next; int rank; public UFT_Node(int new_name){ this.name = new_name; this.rank =0; this.next = this; } public UFT_Node getRep(){ UFT_Node output; if (this.next.name == this.name) return this; else output = this...
Main.java:5: error: class UFT_Node is public, should be declared in a file named UFT_Node.java public class UFT_Node { ^ Main.java:27: error: class UFT is public, should be declared in a file named UFT.java public class UFT { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978248297|p02343|0
u978248297|p02343|0
codenet
Compile Error
1,613
v2_s160905868
s160905868
s160905868
p02343
p02343
u978248297
u978248297
1,524,425,405
2018-04-22T19:30:05
Main.java
import java.util.ArrayList; import java.util.Scanner; private class UFT_Node { int name; UFT_Node next; int rank; public UFT_Node(int new_name){ this.name = new_name; this.rank =0; this.next = this; } public UFT_Node getRep(){ UFT_Node output; if (this.next.name == this.name) return this; else output = thi...
Main.java:5: error: modifier private not allowed here private class UFT_Node { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978248297|p02343|0
u978248297|p02343|0
codenet
Compile Error
1,618
v2_s909337893
s909337893
s909337893
p02343
p02343
u978248297
u978248297
1,524,425,438
2018-04-22T19:30:38
Main.java
import java.util.ArrayList; import java.util.Scanner; protected class UFT_Node { int name; UFT_Node next; int rank; public UFT_Node(int new_name){ this.name = new_name; this.rank =0; this.next = this; } public UFT_Node getRep(){ UFT_Node output; if (this.next.name == this.name) return this; else output = t...
Main.java:5: error: modifier protected not allowed here protected class UFT_Node { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978248297|p02343|0
u978248297|p02343|0
codenet
Compile Error
1,620
v2_s950703404
s950703404
s950703404
p02343
p02343
u978248297
u978248297
1,524,425,478
2018-04-22T19:31:18
Main.java
import java.util.ArrayList; import java.util.Scanner; public class UFT_Node { int name; UFT_Node next; int rank; public UFT_Node(int new_name){ this.name = new_name; this.rank =0; this.next = this; } public UFT_Node getRep(){ UFT_Node output; if (this.next.name == this.name) return this; else output = this...
Main.java:5: error: class UFT_Node is public, should be declared in a file named UFT_Node.java public class UFT_Node { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978248297|p02343|0
u978248297|p02343|0
codenet
Compile Error
1,617
v2_s388282115
s388282115
s388282115
p02343
p02343
u978248297
u978248297
1,524,425,549
2018-04-22T19:32:29
Main.java
public class Main { int name; UFT_Node next; int rank; public Main(int new_name){ this.name = new_name; this.rank =0; this.next = this; } public Main getRep(){ UFT_Node output; if (this.next.name == this.name) return this; else output = this.next.getRep(); this.next = output; return output; } }
Main.java:4: error: cannot find symbol UFT_Node next; ^ symbol: class UFT_Node location: class Main Main.java:14: error: cannot find symbol UFT_Node output; ^ symbol: class UFT_Node location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978248297|p02343|0
u978248297|p02343|0
codenet
Compile Error
313
v2_s352926654
s352926654
s352926654
p02343
p02343
u978248297
u978248297
1,524,425,678
2018-04-22T19:34:38
Main.java
import java.util.ArrayList; import java.util.Scanner; public class UFT { UFT_Node[] nodes; public static void main(String[] args){ ArrayList<Integer> output = new ArrayList<Integer>(); UFT test = new UFT(); Scanner inputScanner = new Scanner("System.in"); int n = inputScanner.nextInt(); int q = inputScann...
Main.java:5: error: class UFT is public, should be declared in a file named UFT.java public class UFT { ^ Main.java:64: error: class UFT_Node is public, should be declared in a file named UFT_Node.java public class UFT_Node { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978248297|p02343|0
u978248297|p02343|0
codenet
Compile Error
1,613
v2_s851207163
s851207163
s851207163
p02343
p02343
u978248297
u978248297
1,524,426,022
2018-04-22T19:40:22
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { class UFT_Node { int name; UFT_Node next; int rank; public UFT_Node(int new_name){ this.name = new_name; this.rank =0; this.next = this; } public UFT_Node getRep(){ UFT_Node output; if (this.next.name == this.name) return this; ...
Main.java:33: error: incompatible types: String cannot be converted to int int q = inputScanner.nextInt(" "); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978248297|p02343|0
u978248297|p02343|0
codenet
Compile Error
1,617
v2_s785087450
s785087450
s785087450
p02343
p02343
u978248297
u978248297
1,524,426,099
2018-04-22T19:41:39
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { class UFT_Node { int name; UFT_Node next; int rank; public UFT_Node(int new_name){ this.name = new_name; this.rank =0; this.next = this; } public UFT_Node getRep(){ UFT_Node output; if (this.next.name == this.name) return this; ...
Main.java:33: error: illegal character: '\' int q = inputScanner.nextInt(\s); ^ Main.java:33: error: not a statement int q = inputScanner.nextInt(\s); ^ Main.java:33: error: ';' expected int q = inputScanner.nextInt(\s); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978248297|p02343|0
u978248297|p02343|0
codenet
Compile Error
1,616
v2_s299144360
s299144360
s299144360
p02343
p02343
u978248297
u978248297
1,524,426,173
2018-04-22T19:42:53
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { class UFT_Node { int name; UFT_Node next; int rank; public UFT_Node(int new_name){ this.name = new_name; this.rank =0; this.next = this; } public UFT_Node getRep(){ UFT_Node output; if (this.next.name == this.name) return this; ...
Main.java:41: error: illegal character: '\' x = inputScanner.nextInt(""\\s"); ^ Main.java:41: error: illegal character: '\' x = inputScanner.nextInt(""\\s"); ^ Main.java:41: error: unclosed string literal x = inputScanner.nextInt(""\\s"); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978248297|p02343|0
u978248297|p02343|0
codenet
Compile Error
1,630
v2_s405455822
s405455822
s405455822
p02343
p02343
u978248297
u978248297
1,524,426,237
2018-04-22T19:43:57
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { class UFT_Node { int name; UFT_Node next; int rank; public UFT_Node(int new_name){ this.name = new_name; this.rank =0; this.next = this; } public UFT_Node getRep(){ UFT_Node output; if (this.next.name == this.name) return this; ...
Main.java:33: error: incompatible types: String cannot be converted to int int q = inputScanner.nextInt("\\s"); ^ Main.java:41: error: incompatible types: String cannot be converted to int x = inputScanner.nextInt("\\s"); ^ Main.java:42: error: incompatibl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978248297|p02343|0
u978248297|p02343|0
codenet
Compile Error
1,629
v2_s544394359
s544394359
s544394359
p02344
p02344
u343482409
u343482409
1,555,770,407
2019-04-20T14:26:47
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main { //HDL-style Disjoint Set int N; // int_maxsize > 10000 (constrain) int Q; // int_maxsize > 110000 (worstcase = 10000initial set + 100000 new set) boolean Com; //com only have two kind; int V1; int V2; int V3; int[] S1; int[] S2; Scanner s...
Main.java:15: error: non-static variable scanner cannot be referenced from a static context scanner = new Scanner(System.in); ^ Main.java:16: error: non-static variable N cannot be referenced from a static context N = scanner.nextInt(); ^ Main.java:16: error: non-static variable scanner cannot be referenced fro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343482409|p02344|0
u343482409|p02344|0
codenet
Compile Error
1,843
v2_s759736756
s759736756
s759736756
p02344
p02344
u343482409
u343482409
1,555,773,139
2019-04-20T15:12:19
Main.java
#include <stdio.h> #include <stdlib.h> int N = 0; int Q = 0; int S1[100000]; int S2[100000]; int Com = 0; int V1 = 0; int V2 = 0; int V3 = 0; void relate(); void query(); void merge(); void main(int argc,char* argv){ int i = 0; scanf("%d %d",&N,&Q); for(i = 0; i<N ; i++){ S1[i] = i; S2[i] = 0; } while(Q>0){...
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:2: error: illegal character: '#' #include <stdlib.h> ^ Main.java:5: error: unnamed classes are a preview feature and are disabled by default. int Q = 0; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343482409|p02344|0
u343482409|p02344|0
codenet
Compile Error
1,117
v2_s213482111
s213482111
s213482111
p02344
p02344
u343482409
u343482409
1,555,774,098
2019-04-20T15:28:18
Main.java
#include <stdio.h> #include <stdlib.h> int N = 0; int Q = 0; int S1[100000]; int S2[100000]; int Com = 0; int V1 = 0; int V2 = 0; int V3 = 0; void relate(); void query(); void merge(); int main(){ int i = 0; scanf("%d %d",&N,&Q); for(i = 0; i<N ; i++){ S1[i] = i; S2[i] = 0; } while(Q>0){ scanf("%d",&Com);...
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:5: error: unnamed classes are a preview feature and are disabled by default. int Q = 0; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343482409|p02344|0
u343482409|p02344|0
codenet
Compile Error
1,097
v2_s200911394
s200911394
s200911394
p02345
p02345
u211138527
u211138527
1,447,594,370
2015-11-15T13:32:50
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:56: error: variable l is already defined in method _query public static long _query(int a,int b,int k,int l,int l){ ^ Main.java:57: error: cannot find symbol if(a>=r||b<=l) return seg_INF; ^ symbol: variable r location: class Main Main.java:5...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,637
v2_s976999047
s976999047
s976999047
p02345
p02345
u211138527
u211138527
1,447,594,431
2015-11-15T13:33: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:59: error: method query in class Main cannot be applied to given types; int cl=query(a,b,k<<1+1,l,(l+r)>>1); ^ required: int,int found: int,int,int,int,int reason: actual and formal argument lists differ in length Main.java:60: error: method query in class Main cannot be applied to given typ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,637
v2_s851624596
s851624596
s851624596
p02345
p02345
u211138527
u211138527
1,447,594,515
2015-11-15T13:35:15
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:56: error: variable l is already defined in method _query public static long _query(int a,int b,int k,int l,int l){ ^ Main.java:57: error: cannot find symbol if(a>=r||b<=l) return seg_INF; ^ symbol: variable r location: class Main Main.java:5...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,641
v2_s008220083
s008220083
s008220083
p02345
p02345
u211138527
u211138527
1,447,595,799
2015-11-15T13:56:39
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:42: error: no suitable method found for fill(long[],double) Arrays.fill(seg,Math.pow(2,31)-1); ^ method Arrays.fill(long[],long) is not applicable (argument mismatch; possible lossy conversion from double to long) method Arrays.fill(int[],int) is not applicable (argument mismatch; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,686
v2_s784906813
s784906813
s784906813
p02345
p02345
u211138527
u211138527
1,447,596,412
2015-11-15T14:06:52
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:41: error: incompatible types: long[] cannot be converted to int[] seg=new long[MAX_ELE<<1-1]; ^ Main.java:42: error: no suitable method found for fill(int[],long) Arrays.fill(seg,(long)Math.pow(2,31)-1); ^ method Arrays.fill(long[],long) is not applicable (argument mismatch; int[] can...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,700
v2_s505590778
s505590778
s505590778
p02345
p02345
u211138527
u211138527
1,447,596,569
2015-11-15T14:09:29
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:60: error: cannot find symbol if(a>=r||b<=l) return (long)Integer>MAX_VALUE; ^ symbol: variable Integer location: class Main Main.java:60: error: cannot find symbol if(a>=r||b<=l) return (long)Integer>MAX_VALUE; ^ symbol: variable M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,703
v2_s923674543
s923674543
s923674543
p02345
p02345
u211138527
u211138527
1,447,596,711
2015-11-15T14:11: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:47: error: incompatible types: possible lossy conversion from long to int seg[k]=val; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,686
v2_s261978697
s261978697
s261978697
p02345
p02345
u211138527
u211138527
1,447,597,018
2015-11-15T14:16:58
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:39: error: incompatible types: int[] cannot be converted to long[] seg=new int[MAX_ELE<<1-1]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,628
v2_s833322200
s833322200
s833322200
p02345
p02345
u211138527
u211138527
1,447,597,329
2015-11-15T14:22: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.BigInteger; public class Main{ static PrintWriter out...
Main.java:25: error: non-static method update(int,int) cannot be referenced from a static context update(x,y); ^ Main.java:45: error: non-static method _query(int,int,int,int,int) cannot be referenced from a static context return _query(a,b,0,0,MAX_ELE); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,769
v2_s658692994
s658692994
s658692994
p02345
p02345
u211138527
u211138527
1,447,597,683
2015-11-15T14:28:03
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter o...
Main.java:20: error: method init in class Main cannot be applied to given types; init(n); ^ required: no arguments found: int reason: actual and formal argument lists differ in length Main.java:39: error: cannot find symbol seg = new int[n * 2 - 1]; ^ symbol: variable n lo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,714
v2_s038209355
s038209355
s038209355
p02345
p02345
u211138527
u211138527
1,447,597,749
2015-11-15T14:29: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.BigInteger; public class Main{ static PrintWriter o...
Main.java:20: error: method init in class Main cannot be applied to given types; init(n); ^ required: no arguments found: int reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,726
v2_s411965854
s411965854
s411965854
p02345
p02345
u211138527
u211138527
1,447,597,764
2015-11-15T14:29:24
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:20: error: non-static method init() cannot be referenced from a static context init(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,725
v2_s979010864
s979010864
s979010864
p02345
p02345
u211138527
u211138527
1,447,598,079
2015-11-15T14:34:39
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter o...
Main.java:18: error: non-static variable n cannot be referenced from a static context n = 1; ^ Main.java:19: error: non-static variable n cannot be referenced from a static context while (n < nn) n *= 2; ^ Main.java:19: error: non-static variable n cannot be referenced from a static context ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,747
v2_s965676716
s965676716
s965676716
p02345
p02345
u211138527
u211138527
1,447,598,106
2015-11-15T14:35:06
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter o...
Main.java:65: error: non-static method solve() cannot be referenced from a static context solve(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,740
v2_s105219470
s105219470
s105219470
p02345
p02345
u211138527
u211138527
1,447,598,218
2015-11-15T14:36:58
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter o...
Main.java:37: error: ';' expected int n=1 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,762
v2_s642682607
s642682607
s642682607
p02345
p02345
u211138527
u211138527
1,447,598,257
2015-11-15T14:37:37
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter o...
Main.java:18: error: method init in class Main cannot be applied to given types; init(nn); ^ required: no arguments found: int reason: actual and formal argument lists differ in length Main.java:38: error: cannot find symbol while (n < nn) n <<= 1; ^ symbol: variable nn locat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,759
v2_s537723655
s537723655
s537723655
p02345
p02345
u211138527
u211138527
1,447,598,685
2015-11-15T14:44:45
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:28: error: non-static variable n cannot be referenced from a static context out.println(query(x,y+1,0,0,n)); ^ Main.java:37: error: non-static variable n cannot be referenced from a static context n=1; ^ Main.java:38: error: non-static variable n cannot be referenced from a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,598
v2_s580051552
s580051552
s580051552
p02345
p02345
u211138527
u211138527
1,447,598,948
2015-11-15T14:49:08
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:19: error: non-static variable q cannot be referenced from a static context q=ir.nextInt(); ^ Main.java:20: error: non-static variable q cannot be referenced from a static context while(q-->0){ ^ Main.java:37: error: non-static variable n cannot be referenced from a static context n=1; ^ Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,646
v2_s128691705
s128691705
s128691705
p02345
p02345
u211138527
u211138527
1,447,599,278
2015-11-15T14:54: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.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter o...
Main.java:45: error: non-static variable n cannot be referenced from a static context public static long query(int a,int b){return _query(a,b,0,0,n);} ^ Main.java:48: error: non-static variable seg cannot be referenced from a static context if (a <= l && r...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02345|0
u211138527|p02345|0
codenet
Compile Error
3,737
v2_s228994505
s228994505
s228994505
p02345
p02345
u593467981
u593467981
1,471,836,547
2016-08-22T03:29:07
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 PrintWrite...
Main.java:69: error: cannot find symbol new Main_Other().solve(); ^ symbol: class Main_Other location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u593467981|p02345|1
u593467981|p02345|1
codenet
Compile Error
5,607
v2_s570909308
s570909308
s570909308
p02345
p02345
u758239510
u758239510
1,559,012,366
2019-05-28T02:59:26
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigDecimal; import java.util.ArrayList; import java.util.NoSuchElementException;   //Unordered Pair class UP<A, B> {     A a;     B b;       UP(A a, B b) {         this.a = a;         this.b = b;     }       static <A, ...
Main.java:7: error: illegal character: '\u00a0' ? ^ Main.java:9: error: class, interface, enum, or record expected class UP<A, B> { ^ Main.java:10: error: illegal character: '\u00a0' ????A a; ^ Main.java:10: error: illegal character: '\u00a0' ????A a; ^ Main.java:10: error: illegal character: '\u00a0' ????A a; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u758239510|p02345|1
u758239510|p02345|1
codenet
Compile Error
21,430
v2_s256762130
s256762130
s256762130
p02345
p02345
u978248297
u978248297
1,525,036,258
2018-04-29T21:10:58
Main.java
import java.util.Scanner; public class Main { int[] a; int n; public static void main(String[] args){ Main test = new Main(); Scanner inputScanner = new Scanner(System.in).useDelimiter("\\s"); test.n = inputScanner.nextInt(); int q = inputScanner.nextInt(); test.a = new int[test.n]; for(int i=0;i<te...
Main.java:26: error: 'void' type not allowed here System.out.println(test.update(arg1, arg2)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978248297|p02345|0
u978248297|p02345|0
codenet
Compile Error
1,162
v2_s374944733
s374944733
s374944733
p02346
p02346
u647529925
u647529925
1,492,175,825
2017-04-14T13:17:05
Main.java
import java.util.Scanner; import static java.lang.Long.max; import static java.lang.Math.min; /** * Created by shoya on 2017/04/14. */ public class Main { final int INF = 100_000_000; public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); ...
Main.java:17: error: package RSQ does not exist RSQ.PriRSQ rsq = new RSQ.PriRSQ(n); ^ Main.java:17: error: package RSQ does not exist RSQ.PriRSQ rsq = new RSQ.PriRSQ(n); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u647529925|p02346|0
u647529925|p02346|0
codenet
Compile Error
2,411
v2_s148417348
s148417348
s148417348
p02348
p02348
u323357326
u323357326
1,498,158,141
2017-06-22T19:02:21
Main.java
package ????????????; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Scanner; public class Main { public static void main(String[] args) t...
Main.java:1: error: <identifier> expected package ????????????; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p02348|0
u323357326|p02348|0
codenet
Compile Error
1,422
v2_s188790779
s188790779
s188790779
p02348
p02348
u323357326
u323357326
1,498,253,135
2017-06-23T21:25:35
Main.java
package ????????????; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Scanner; public class Main { public static void main(String[] args) t...
Main.java:1: error: <identifier> expected package ????????????; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p02348|1
u323357326|p02348|1
codenet
Compile Error
1,430
v2_s995500424
s995500424
s995500424
p02348
p02348
u323357326
u323357326
1,498,253,195
2017-06-23T21:26:35
Main.java
package ????????????; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Scanner; public class Main { public static void main(String[] args) t...
Main.java:1: error: <identifier> expected package ????????????; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p02348|1
u323357326|p02348|1
codenet
Compile Error
1,429
v2_s056115336
s056115336
s056115336
p02348
p02348
u323357326
u323357326
1,498,254,365
2017-06-23T21:46:05
Main.java
package ????????????; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Scanner; public class Main { public static void main(String[] args) t...
Main.java:1: error: <identifier> expected package ????????????; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p02348|1
u323357326|p02348|1
codenet
Compile Error
1,428
v2_s822136040
s822136040
s822136040
p02348
p02348
u323357326
u323357326
1,498,256,253
2017-06-23T22:17:33
Main.java
package ????????????; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Scanner; public class Main { public static void main(String[] args) t...
Main.java:1: error: <identifier> expected package ????????????; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u323357326|p02348|1
u323357326|p02348|1
codenet
Compile Error
1,749
v2_s671430258
s671430258
s671430258
p02348
p02348
u343482409
u343482409
1,556,897,610
2019-05-03T15:33:30
Main.java
#include <stdio.h> #include <stdlib.h> #include <iostream> #include <limits.h> int n; //the sieze of the target array int l; // the real size of tree; int q; //number of querys int *D; //segment tree, D[i] = min value in range node i int s; int t; int x; int com; int INF; int array2tree(int k){return k+n-1;} int parent...
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: '#' #include <iostream> ^ Main.java:4: error: illegal chara...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343482409|p02348|0
u343482409|p02348|0
codenet
Compile Error
2,155
v2_s884051128
s884051128
s884051128
p02351
p02351
u758239510
u758239510
1,559,024,527
2019-05-28T06:22:07
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigDecimal; import java.util.ArrayList; import java.util.NoSuchElementException;   //Unordered Pair class UP<A, B> { A a; B b;   UP(A a, B b) { this.a = a; this.b = b; }   static <A, B> UP<A, B> make(A a, B b) ...
Main.java:7: error: illegal character: '\u00a0' ? ^ Main.java:9: error: class, interface, enum, or record expected class UP<A, B> { ^ Main.java:12: error: illegal character: '\u00a0' ? ^ Main.java:11: error: unnamed classes are a preview feature and are disabled by default. B b; ^ (use --enable-preview to ena...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u758239510|p02351|1
u758239510|p02351|1
codenet
Compile Error
15,856
v2_s630356964
s630356964
s630356964
p02357
p02357
u847485844
u847485844
1,559,010,026
2019-05-28T02:20:26
Main.java
import java.util.Scanner; class Main { int st[]; int minVal(int x, int y) { return (x < y) ? x : y; } int getMid(int s, int e) { return s + (e - s) / 2; } int RMQUtil(int ss, int se, int qs, int qe, int index) { if (qs <= ss && qe >= se) return st[index]; if (se < qs || ...
Main.java:85: error: cannot find symbol Maintree = new SegmentTreeRMQ(); ^ symbol: variable Maintree location: class Main Main.java:85: error: cannot find symbol Maintree = new SegmentTreeRMQ(); ^ symbol: class SegmentTreeRMQ location: class Main Main.java:92: error: cannot find symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u847485844|p02357|0
u847485844|p02357|0
codenet
Compile Error
1,797
v2_s150454828
s150454828
s150454828
p02357
p02357
u847485844
u847485844
1,559,010,302
2019-05-28T02:25:02
Main.java
import java.util.Scanner; class Main { int st[]; int minVal(int x, int y) { return (x < y) ? x : y; } int getMid(int s, int e) { return s + (e - s) / 2; } int RMQUtil(int ss, int se, int qs, int qe, int index) { if (qs <= ss && qe >= se) return st[index]; if (se < qs || ...
Main.java:96: error: cannot find symbol if(i!= Integer.paresInt(N) - Integer.parseInt(slide)){ ^ symbol: method paresInt(String) location: class Integer 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u847485844|p02357|0
u847485844|p02357|0
codenet
Compile Error
1,899
v2_s145439498
s145439498
s145439498
p02361
p02361
u211138527
u211138527
1,438,969,949
2015-08-07T17:52:29
Main.java
import java.io.*; import java.util.Arrays; class Main{ static final int INF=Integer.MAX_VALUE/2; static final PrintWriter out=new PrintWriter(System.out); static class Edge{ int from; int to; int cost; Edge(int from,int to,int cost){ this.from=from; this.to=to; this.cost=cost; } } public static void main(String[] ...
Main.java:41: error: illegal start of expression private static void BellmanFord(int e,int r,Edge[] es,int[] d){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02361|0
u211138527|p02361|0
codenet
Compile Error
1,152
v2_s023997826
s023997826
s023997826
p02361
p02361
u211138527
u211138527
1,438,970,007
2015-08-07T17:53:27
Main.java
import java.io.*; import java.util.Arrays; class Main{ static final int INF=Integer.MAX_VALUE/2; static final PrintWriter out=new PrintWriter(System.out); static class Edge{ int from; int to; int cost; Edge(int from,int to,int cost){ this.from=from; this.to=to; this.cost=cost; } } public static void main(String[] ...
Main.java:41: error: illegal start of expression static void BellmanFord(int e,int r,Edge[] es,int[] d){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02361|0
u211138527|p02361|0
codenet
Compile Error
1,144
v2_s306500444
s306500444
s306500444
p02361
p02361
u211138527
u211138527
1,438,970,144
2015-08-07T17:55:44
Main.java
import java.io.*; import java.util.Arrays; class Main{ static final int INF=Integer.MAX_VALUE/2; static final PrintWriter out=new PrintWriter(System.out); static class Edge{ int from; int to; int cost; Edge(int from,int to,int cost){ this.from=from; this.to=to; this.cost=cost; } } public static void main(String[] ...
Main.java:41: error: illegal start of expression private static void BellmanFord(int e,int r,Edge[] es,int[] d){ ^ Main.java:57: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02361|0
u211138527|p02361|0
codenet
Compile Error
1,150
v2_s360131612
s360131612
s360131612
p02361
p02361
u211138527
u211138527
1,438,970,344
2015-08-07T17:59:04
Main.java
import java.io.*; import java.util.Arrays; class Main{ static final int INF=Integer.MAX_VALUE/2; static final PrintWriter out=new PrintWriter(System.out); static class Edge{ int from; int to; int cost; Edge(int from,int to,int cost){ this.from=from; this.to=to; this.cost=cost; } } public static void main(String[] ...
Main.java:41: error: illegal start of expression private static void BellmanFord(int e,int r,Edge[] es,int[] d){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02361|0
u211138527|p02361|0
codenet
Compile Error
1,149
v2_s489932670
s489932670
s489932670
p02361
p02361
u211138527
u211138527
1,438,970,413
2015-08-07T18:00:13
Main.java
import java.io.*; import java.util.Arrays; class Main{ static final int INF=Integer.MAX_VALUE/2; static final PrintWriter out=new PrintWriter(System.out); static class Edge{ int from; int to; int cost; Edge(int from,int to,int cost){ this.from=from; this.to=to; this.cost=cost; } } public static void main(String[] ...
Main.java:48: error: variable e is already defined in method BellmanFord(int,int,Edge[],int[]) Edge e=es[i]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02361|0
u211138527|p02361|0
codenet
Compile Error
1,151
v2_s124245865
s124245865
s124245865
p02361
p02361
u211138527
u211138527
1,438,970,535
2015-08-07T18:02:15
Main.java
import java.io.*; import java.util.Arrays; class Main{ static final int INF=Integer.MAX_VALUE/2; static class Edge{ int from; int to; int cost; Edge(int from,int to,int cost){ this.from=from; this.to=to; this.cost=cost; } } public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedRea...
Main.java:33: error: cannot find symbol for(int i=0;i<v;i++) Systemout.println(d[i]); ^ symbol: variable Systemout location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02361|0
u211138527|p02361|0
codenet
Compile Error
1,089
v2_s689426530
s689426530
s689426530
p02361
p02361
u211138527
u211138527
1,438,970,787
2015-08-07T18:06:27
Main.java
import java.io.*; import java.util.Arrays; class Main{ static final int INF=Integer.MAX_VALUE/2; static final PrintWriter out=new PrintWriter(System.out); static class Edge{ int from; int to; int cost; Edge(int from,int to,int cost){ this.from=from; this.to=to; this.cost=cost; } } public static void main(String[] a...
Main.java:22: error: ';' expected String[] values=line.split(" ") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02361|0
u211138527|p02361|0
codenet
Compile Error
1,213