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_s714972517
s714972517
s714972517
p03804
p03804
u029115008
u029115008
1,545,597,826
2018-12-23T20:43:46
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(Systee.in); int N = sc.nextInt(); int M = sc.nextInt(); A = new char[N][N]; for (int i = 0; i < N; i++) A[i] = sc.next().toCharArray(); B = new char[M][M];...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(Systee.in); ^ symbol: variable Systee location: class Main Main.java:9: error: cannot find symbol A = new char[N][N]; ^ symbol: variable A location: class Main Main.java:11: error: cannot...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u029115008|p03804|0
u029115008|p03804|0
codenet
Compile Error
960
v2_s681323256
s681323256
s681323256
p03804
p03804
u324881146
u324881146
1,585,250,901
2020-03-26T19:28:21
Main.java
import oracle.jvm.hotspot.jfr.JFRTypeIDs; import java.io.*; import java.util.*; public class Main { public static final long mod = (long)1e9+7; public static final long INF = Long.MAX_VALUE/10; public static final int inf = Integer.MAX_VALUE/10; static void solve(InputReader in, PrintWriter out){ ...
Main.java:1: error: package oracle.jvm.hotspot.jfr does not exist import oracle.jvm.hotspot.jfr.JFRTypeIDs; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u324881146|p03804|0
u324881146|p03804|0
codenet
Compile Error
2,772
v2_s468347229
s468347229
s468347229
p03804
p03804
u362825937
u362825937
1,490,422,285
2017-03-25T06:11:25
Main.java
a
Main.java:1: error: reached end of file while parsing a ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u362825937|p03804|0
u362825937|p03804|0
codenet
Compile Error
1
v2_s299483820
s299483820
s299483820
p03804
p03804
u367866606
u367866606
1,486,870,388
2017-02-12T03:33:08
Main.java
import java.util.*; public class Main(){ public static void main(String[] args){ Scanner sc=new Scanner(System.in);; int i,tmp,pre; int n=sc.nextInt(); int m=sc.nextInt(); String[] a=new String[n]; String[] b=new String[m]; for(i=0;i<n;i++){a[i]=sc.next();} for(i=0;i<m;i++){b[i]=sc.nex...
Main.java:2: error: '{' expected public class Main(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03804|0
u367866606|p03804|0
codenet
Compile Error
827
v2_s736627782
s736627782
s736627782
p03804
p03804
u367866606
u367866606
1,486,870,422
2017-02-12T03:33:42
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in);; int i,tmp,pre; int n=sc.nextInt(); int m=sc.nextInt(); String[] a=new String[n]; String[] b=new String[m]; for(i=0;i<n;i++){a[i]=sc.next();} for(i=0;i<m;i++){b[i]=sc.next(...
Main.java:27: error: cannot find symbol for(int i=1;i<m;i++){ ^ symbol: variable m location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03804|0
u367866606|p03804|0
codenet
Compile Error
825
v2_s560863280
s560863280
s560863280
p03804
p03804
u367866606
u367866606
1,486,870,491
2017-02-12T03:34:51
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in);; int i,tmp,pre; int n=sc.nextInt(); int m=sc.nextInt(); String[] a=new String[n]; String[] b=new String[m]; for(i=0;i<n;i++){a[i]=sc.next();} for(i=0;i<m;i++){b[i]=sc.next(...
Main.java:14: error: variable pre might not have been initialized if(j==0)tmp=0; else tmp=pre; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03804|0
u367866606|p03804|0
codenet
Compile Error
833
v2_s877496037
s877496037
s877496037
p03804
p03804
u386131832
u386131832
1,486,866,515
2017-02-12T02:28:35
Main.java
public class Main { static int n; static int m; public static void main(String[] args) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st=new StringTokenizer(br.readLine()); n=Integer.parseInt(st.nextToken()); ...
Main.java:6: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:7: error: cannot find symbol BufferedReader br=new BufferedReader(new InputStreamReader(System...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u386131832|p03804|0
u386131832|p03804|0
codenet
Compile Error
1,433
v2_s523430023
s523430023
s523430023
p03804
p03804
u616358913
u616358913
1,490,734,524
2017-03-28T20:55:24
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(),M=sc.nextInt(),i,j,k,l; String[] a=new String[N],b=new String[M]; boolean f=true; for(i=0;i<N;i++){ a[i]=sc.next(); } for(i=0;i<M;i++){ b[i]=sc.next(); } for(i=0...
Main.java:32: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616358913|p03804|0
u616358913|p03804|0
codenet
Compile Error
630
v2_s583694440
s583694440
s583694440
p03804
p03804
u659156129
u659156129
1,597,860,008
2020-08-19T18:00:08
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int m = scn.nextInt(); char[][] A = new char[n][n]; char[][] B = new char[m][m]; for(int i=0;i<n;i++){ String n = scn.next(); ...
Main.java:31: error: ';' expected ans = ""Yes"; ^ Main.java:31: error: unclosed string literal ans = ""Yes"; ^ Main.java:39: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03804|0
u659156129|p03804|0
codenet
Compile Error
923
v2_s400891485
s400891485
s400891485
p03804
p03804
u659156129
u659156129
1,597,860,144
2020-08-19T18:02:24
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int m = scn.nextInt(); char[][] A = new char[n][n]; char[][] B = new char[m][m]; for(int i=0;i<n;i++){ String n = scn.next(); ...
Main.java:11: error: variable n is already defined in method main(String[]) String n = scn.next(); ^ Main.java:12: error: bad operand types for binary operator '<' for(int j=0;j<n;j++){ ^ first type: int second type: String Main.java:17: error: variable m is alre...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03804|0
u659156129|p03804|0
codenet
Compile Error
945
v2_s673476186
s673476186
s673476186
p03804
p03804
u659156129
u659156129
1,597,860,289
2020-08-19T18:04:49
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int m = scn.nextInt(); char[][] aa = new char[n][n]; char[][] bb = new char[m][m]; for(int i=0;i<n;i++){ String a = scn.next(); ...
Main.java:13: error: cannot find symbol A[i][j]=a.charAt(j); ^ symbol: variable A location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03804|0
u659156129|p03804|0
codenet
Compile Error
950
v2_s097018620
s097018620
s097018620
p03804
p03804
u659156129
u659156129
1,597,862,178
2020-08-19T18:36:18
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int m = scn.nextInt(); char[][] aa = new char[n][n]; char[][] bb = new char[m][m]; for(int i=0; i<n; i++){ String a = scn.next()...
Main.java:42: error: cannot find symbol System.out.println(ans); ^ symbol: variable ans location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03804|0
u659156129|p03804|0
codenet
Compile Error
1,098
v2_s924558918
s924558918
s924558918
p03804
p03804
u734289387
u734289387
1,593,013,674
2020-06-24T15:47:54
Main.java
import java.util.Scanner; piblic class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); String[] A = new String[N]; String[] B = new String[M]; for(int i = 0; i < N; i++) { A[i] = sc.next(); } for(int i = 0; i < M; i++)...
Main.java:2: error: class, interface, enum, or record expected piblic class Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u734289387|p03804|0
u734289387|p03804|0
codenet
Compile Error
781
v2_s838219825
s838219825
s838219825
p03804
p03804
u777529218
u777529218
1,486,867,977
2017-02-12T02:52:57
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int M = Integer.parseInt(sc.next()); String[] imgA; String[] imgB; Boolean checkAB; int j; int k; String s = "No"; for(int i = 0;i<N;i++){ im...
Main.java:15: error: variable imgA might not have been initialized imgA[i]=sc.next(); ^ Main.java:18: error: variable imgB might not have been initialized imgB[i]=sc.next(); ^ Main.java:24: error: variable imgA might not have been initialized checkAB = (checkAB) && (imgA[j+k].substring(i, i+M)==imgB[k]...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777529218|p03804|0
u777529218|p03804|0
codenet
Compile Error
663
v2_s754898220
s754898220
s754898220
p03804
p03804
u777529218
u777529218
1,486,868,065
2017-02-12T02:54:25
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int M = Integer.parseInt(sc.next()); String[N] imgA; String[M] imgB; Boolean checkAB; int j; int k; String s = "No"; for(int i = 0;i<N;i++){ ...
Main.java:8: error: not a statement String[N] imgA; ^ Main.java:8: error: ';' expected String[N] imgA; ^ Main.java:8: error: not a statement String[N] imgA; ^ Main.java:9: error: not a statement String[M] imgB; ^ Main.java:9: error: ';' expected String[M] imgB; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777529218|p03804|0
u777529218|p03804|0
codenet
Compile Error
665
v2_s345707358
s345707358
s345707358
p03804
p03804
u777529218
u777529218
1,486,868,123
2017-02-12T02:55:23
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int M = Integer.parseInt(sc.next()); String imgA[N]; String imgB[M]; Boolean checkAB; int j; int k; String s = "No"; for(int i = 0;i<N;i++){ ...
Main.java:8: error: ']' expected String imgA[N]; ^ Main.java:8: error: ';' expected String imgA[N]; ^ Main.java:9: error: ']' expected String imgB[M]; ^ Main.java:9: error: ';' expected String imgB[M]; ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777529218|p03804|0
u777529218|p03804|0
codenet
Compile Error
665
v2_s523378854
s523378854
s523378854
p03804
p03804
u777529218
u777529218
1,486,868,212
2017-02-12T02:56:52
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int M = Integer.parseInt(sc.next()); String[] imgA[N]; String[] imgB[M]; Boolean checkAB; int j; int k; String s = "No"; for(int i = 0;i<N;i++){...
Main.java:8: error: ']' expected String[] imgA[N]; ^ Main.java:8: error: ';' expected String[] imgA[N]; ^ Main.java:9: error: ']' expected String[] imgB[M]; ^ Main.java:9: error: ';' expected String[] imgB[M]; ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777529218|p03804|0
u777529218|p03804|0
codenet
Compile Error
669
v2_s462317265
s462317265
s462317265
p03804
p03804
u777529218
u777529218
1,486,868,291
2017-02-12T02:58:11
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int M = Integer.parseInt(sc.next()); String[] imgA; String[] imgB; Boolean checkAB; int j; int k; String s = "No"; for(int i = 0;i<N;i++){ im...
Main.java:15: error: variable imgA might not have been initialized imgA[i]=""; ^ Main.java:19: error: variable imgB might not have been initialized imgB[i]=""; ^ Main.java:26: error: variable imgA might not have been initialized checkAB = (checkAB) && (imgA[j+k].substring(i, i+M)==imgB[k]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777529218|p03804|0
u777529218|p03804|0
codenet
Compile Error
693
v2_s318698722
s318698722
s318698722
p03804
p03804
u777529218
u777529218
1,486,868,393
2017-02-12T02:59:53
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int M = Integer.parseInt(sc.next()); String[] imgA=new String[]; String[] imgB=new String[]; Boolean checkAB; int j; int k; String s = "No"; for...
Main.java:8: error: array dimension missing String[] imgA=new String[]; ^ Main.java:9: error: array dimension missing String[] imgB=new String[]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777529218|p03804|0
u777529218|p03804|0
codenet
Compile Error
719
v2_s280897421
s280897421
s280897421
p03804
p03804
u833492079
u833492079
1,486,870,799
2017-02-12T03:39:59
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // 1行、2つ(複数)数字 String[] ss0 = br.readLine().trim().split(" ", 0); int N = I...
Main.java:36: error: illegal start of expression if ( sa.equals(sb) ){ System.out.println("Yes"); return } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833492079|p03804|0
u833492079|p03804|0
codenet
Compile Error
1,507
v2_s814565829
s814565829
s814565829
p03805
p03805
u142032032
u142032032
1,486,869,005
2017-02-12T03:10:05
Main.java
import java.util.*; public class Main{ static int result=0; static int N; public static void main(String[] args){ Scanner sc = new Scanner(System.in); N= sc.nextInt(); int M=sc.nextInt(); int[] a=new int[M]; int[] b=new int[M]; for(int i=0;i<M;i++){ a[i]=sc.nextInt()-1; b[i]=sc.nextInt()-1; } ...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u142032032|p03805|0
u142032032|p03805|0
codenet
Compile Error
392
v2_s147908219
s147908219
s147908219
p03805
p03805
u185193776
u185193776
1,504,988,197
2017-09-09T20:16:37
Main.java
package atcoder.beginnercontest.abc054.c; import org.junit.Test; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { static int n; static boolean[][] connected; static public int countPattern(int pos, Set<Integer> visited) { if (visited.size() == n) retu...
Main.java:3: error: package org.junit does not exist import org.junit.Test; ^ Main.java:47: error: cannot find symbol @Test ^ symbol: class Test location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u185193776|p03805|0
u185193776|p03805|0
codenet
Compile Error
1,235
v2_s573660793
s573660793
s573660793
p03805
p03805
u185193776
u185193776
1,504,988,224
2017-09-09T20:17:04
Main.java
import org.junit.Test; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { static int n; static boolean[][] connected; static public int countPattern(int pos, Set<Integer> visited) { if (visited.size() == n) return 1; int count = 0; for ...
Main.java:2: error: package org.junit does not exist import org.junit.Test; ^ Main.java:46: error: cannot find symbol @Test ^ symbol: class Test location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u185193776|p03805|0
u185193776|p03805|0
codenet
Compile Error
1,193
v2_s982593836
s982593836
s982593836
p03805
p03805
u185193776
u185193776
1,504,988,267
2017-09-09T20:17:47
Main.java
import org.junit.Test; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { static int n; static boolean[][] connected; static public int countPattern(int pos, Set<Integer> visited) { if (visited.size() == n) return 1; int count = 0; f...
Main.java:1: error: package org.junit does not exist import org.junit.Test; ^ Main.java:45: error: cannot find symbol @Test ^ symbol: class Test location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u185193776|p03805|0
u185193776|p03805|0
codenet
Compile Error
1,201
v2_s955025359
s955025359
s955025359
p03805
p03805
u233438794
u233438794
1,580,664,007
2020-02-02T17:20:07
Main.java
import java.util.*; public class Main { static int n; static int count = 0; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); List<Integer> nodes = new ArrayList<>(); while(sc.hasNext()) { ...
Main.java:29: error: incompatible types: unexpected return value return count; ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233438794|p03805|0
u233438794|p03805|0
codenet
Compile Error
1,348
v2_s939125015
s939125015
s939125015
p03805
p03805
u288042356
u288042356
1,573,776,531
2019-11-15T00:08:51
Main.java
import java.util.*; public class Main { static int[][] dp; static Node[] v; static ArrayList<Integer> edges[]; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()), M = Integer.parseInt(sc.next()); edges=new ArrayList[N]; for(int i=0;i<N;i++) edg...
Main.java:5: error: cannot find symbol static Node[] v; ^ symbol: class Node location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03805|1
u288042356|p03805|0
codenet
Compile Error
837
v2_s128899305
s128899305
s128899305
p03805
p03805
u405732743
u405732743
1,487,087,844
2017-02-14T15:57:24
Main.java
import java.util.ArrayList; import java.util.Scanner; /** * Created by guoxiang.li on 2017/02/13. */ public class Main { private int count=0; private ArrayList[] graph; boolean[] visited; public int undirectedGraphTraversalWays(int[][] nums,int n){ graph=new ArrayList[n]; for(int i=...
Main.java:74: error: <identifier> expected sol=new (); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u405732743|p03805|0
u405732743|p03805|0
codenet
Compile Error
1,795
v2_s844646214
s844646214
s844646214
p03805
p03805
u653981267
u653981267
1,487,045,405
2017-02-14T04:10:05
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[][] edge = new int[N][N]; for(int i = 0; i < M; i++) { int a = sc.nextInt(); int b = sc.nextInt(); edge[a - 1][b ...
Main.java:17: error: illegal start of expression void dfs(int pos, int mask) { ^ Main.java:17: error: ';' expected void dfs(int pos, int mask) { ^ Main.java:17: error: <identifier> expected void dfs(int pos, int mask) { ^ Main.java:17: error: ';' expected void dfs(in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03805|0
u653981267|p03805|0
codenet
Compile Error
872
v2_s542392734
s542392734
s542392734
p03805
p03805
u653981267
u653981267
1,487,116,276
2017-02-14T23:51:16
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[][] edge = new int[N][N]; for(int i = 0; i < M; i++) { int a = sc.nextInt(); int b = sc.nextInt(); edge[a - 1][b ...
Main.java:17: error: illegal start of expression public void dfs(int pos, int mask) { ^ Main.java:35: error: <identifier> expected System.out.println(dfs(1, (1 << N) - 2)); ^ Main.java:35: error: <identifier> expected System.out.println(dfs(1, (1 << N) - 2)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03805|1
u653981267|p03805|1
codenet
Compile Error
879
v2_s937914837
s937914837
s937914837
p03805
p03805
u653981267
u653981267
1,487,116,514
2017-02-14T23:55:14
Main.java
import java.util.*; public class Main { int[] p = new int[N]; Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[][] edge = new int[N][N]; for(int i = 0; i < M; i++) { int a = sc.nextInt(); int b = sc.nextInt(); edge[a - 1][b - 1] = 1; edge[b - 1][a - 1] = ...
Main.java:9: error: illegal start of type for(int i = 0; i < M; i++) { ^ Main.java:9: error: > or ',' expected for(int i = 0; i < M; i++) { ^ Main.java:9: error: <identifier> expected for(int i = 0; i < M; i++) { ^ Main.java:15: error: <identifier> expected Sys...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03805|1
u653981267|p03805|1
codenet
Compile Error
810
v2_s690295591
s690295591
s690295591
p03805
p03805
u653981267
u653981267
1,487,116,836
2017-02-15T00:00:36
Main.java
import java.util.*; public class Main { int[] p; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); p = new int[N]; int[][] edge = new int[N][N]; for(int i = 0; i < M; i++) { int a = sc.nextInt(); int b = sc....
Main.java:18: error: <identifier> expected System.out.println(dfs(1, (1 << N) - 2)); ^ Main.java:18: error: <identifier> expected System.out.println(dfs(1, (1 << N) - 2)); ^ Main.java:20: error: unnamed classes are a preview feature and are disabled by default. ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03805|1
u653981267|p03805|1
codenet
Compile Error
884
v2_s630239915
s630239915
s630239915
p03805
p03805
u653981267
u653981267
1,487,118,000
2017-02-15T00:20:00
Main.java
import java.util.*; public class Main { int[] p = new int[10]; int count = 0; int[][] edge; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); edge = new int[N][N]; for(int i = 0; i < M; i++) { int a = sc.nextInt()...
Main.java:19: error: invalid method declaration; return type required dfs(1, (1 << N) - 2); ^ Main.java:19: error: illegal start of type dfs(1, (1 << N) - 2); ^ Main.java:20: error: <identifier> expected System.out.println(count); ^ Main.java:20: error: <identifier> expected System.o...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03805|1
u653981267|p03805|1
codenet
Compile Error
863
v2_s123851131
s123851131
s123851131
p03805
p03805
u653981267
u653981267
1,487,118,068
2017-02-15T00:21:08
Main.java
import java.util.*; public class Main { int[] p = new int[10]; int count = 0; int[][] edge; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); edge = new int[N][N]; for(int i = 0; i < M; i++) { int a = sc.nextInt()...
Main.java:19: error: invalid method declaration; return type required dfs(1, (1 << N) - 2); ^ Main.java:19: error: illegal start of type dfs(1, (1 << N) - 2); ^ Main.java:20: error: <identifier> expected System.out.println(count); ^ Main.java:20: error: <identifier> expected System.o...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03805|1
u653981267|p03805|1
codenet
Compile Error
870
v2_s604513261
s604513261
s604513261
p03805
p03805
u653981267
u653981267
1,487,118,478
2017-02-15T00:27:58
Main.java
import java.util.*; public class Main { int[] p = new int[10]; int count = 0; int[][] edge; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); edge = new int[N][N]; for(int i = 0; i < M; i++) { int a = sc.nextInt()...
Main.java:11: error: non-static variable edge cannot be referenced from a static context edge = new int[N][N]; ^ Main.java:15: error: non-static variable edge cannot be referenced from a static context edge[a - 1][b - 1] = 1; ^ Main.java:16: error: non-static variable edge cannot be referenced from ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03805|1
u653981267|p03805|1
codenet
Compile Error
866
v2_s850445508
s850445508
s850445508
p03805
p03805
u653981267
u653981267
1,487,118,571
2017-02-15T00:29:31
Main.java
import java.util.*; public class Main { int[] p = new int[10]; int count = 0; static int[][] edge; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); edge = new int[N][N]; for(int i = 0; i < M; i++) { int a = sc.ne...
Main.java:19: error: non-static variable count cannot be referenced from a static context System.out.println(count); ^ Main.java:22: error: cannot find symbol if(pos == N) { ^ symbol: variable N location: class Main Main.java:24: error: cannot find symbol for(int i =...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03805|1
u653981267|p03805|1
codenet
Compile Error
873
v2_s210207739
s210207739
s210207739
p03805
p03805
u653981267
u653981267
1,487,118,745
2017-02-15T00:32:25
Main.java
import java.util.*; public class Main { int[] p = new int[10]; static int count = 0; static int[][] edge; static int N; static int M; public static void main(String[] args) { Scanner sc = new Scanner(System.in); N = sc.nextInt(); M = sc.nextInt(); edge = new int[N][N]; for(int i = 0; i ...
Main.java:20: error: non-static method dfs(int,int) cannot be referenced from a static context dfs(1, (1 << N) - 2); ^ Main.java:35: error: bad operand types for binary operator '&' if(mask & (1 << i) != 0) { ^ first type: int second type: boolean 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03805|1
u653981267|p03805|1
codenet
Compile Error
897
v2_s168804160
s168804160
s168804160
p03805
p03805
u653981267
u653981267
1,489,022,976
2017-03-09T01:29:36
Main.java
import java.util.*; public class Main { static int count = 0; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[][] edge = new int[N][N]; for(int i = 0; i < M; i++) { int a = sc.nextInt(); int b = sc.nextIn...
Main.java:33: error: bad operand types for binary operator '&' if(mask & (1 << j) == 0) { ^ first type: int second type: boolean Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03805|2
u653981267|p03805|2
codenet
Compile Error
1,039
v2_s711432672
s711432672
s711432672
p03805
p03805
u657989492
u657989492
1,551,329,501
2019-02-28T04:51:41
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { private static int N = 0; private static int M = 0; private static int[][] abArray; private static Boolean[] flagArray; private static int count = 0; public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { ...
Main.java:56: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u657989492|p03805|0
u657989492|p03805|0
codenet
Compile Error
1,315
v2_s432425272
s432425272
s432425272
p03805
p03805
u895361323
u895361323
1,592,792,731
2020-06-22T02:25:31
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); List<Integer> list = new ArrayList<>(); // 全部1つのListに入れちゃう for(int i = 0 ; i < 2 * M - 1; i++) { list...
Main.java:17: error: illegal character: '\u3000' ?List<connectingNumsList> connectingNumsListList = new ArrayList<>(); ^ Main.java:23: error: illegal start of expression } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895361323|p03805|1
u895361323|p03805|1
codenet
Compile Error
820
v2_s832522687
s832522687
s832522687
p03805
p03805
u895361323
u895361323
1,593,301,335
2020-06-27T23:42:15
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); connectingNumsArray2 = new boolean[N][N]; for(i = 0; i < N; i++){ for(j = 0; j < N; j++){ //...
Main.java:10: error: cannot find symbol connectingNumsArray2 = new boolean[N][N]; ^ symbol: variable connectingNumsArray2 location: class Main Main.java:11: error: cannot find symbol for(i = 0; i < N; i++){ ^ symbol: variable i location: class Main Main.java:11: error: cann...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895361323|p03805|2
u895361323|p03805|2
codenet
Compile Error
1,336
v2_s886515112
s886515112
s886515112
p03806
p03806
u634209474
u634209474
1,545,362,891
2018-12-21T03:28:11
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int Ma = sc.nextInt(); int Mb = sc.nextInt(); int[] a = new int[N]; int[] b = new int[N]; int[] c = new int[N]; for(int i = 0; i < N; i++) { a[i] = sc.ne...
Main.java:52: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u634209474|p03806|2
u634209474|p03806|0
codenet
Compile Error
1,176
v2_s560782044
s560782044
s560782044
p03806
p03806
u653981267
u653981267
1,487,132,118
2017-02-15T04:15:18
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ratioA = sc.nextInt(); int ratioB = sc.nextInt(); int[] a = new int[N]; int[] b = new int[N]; int[] c = new int[N]; int sumA = 0; int sum...
Main.java:34: error: variable a is already defined in method main(String[]) int a = Integer.MAX_VALUE; ^ Main.java:35: error: array required, but int found if(a[i] == j && b[i] == k) { ^ Main.java:38: error: array required, but int found if(dp[j - a[...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03806|0
u653981267|p03806|0
codenet
Compile Error
1,832
v2_s984698323
s984698323
s984698323
p03806
p03806
u653981267
u653981267
1,487,132,216
2017-02-15T04:16:56
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ratioA = sc.nextInt(); int ratioB = sc.nextInt(); int[] a = new int[N]; int[] b = new int[N]; int[] c = new int[N]; int sumA = 0; int sum...
Main.java:38: error: bad operand types for binary operator '!=' if(dp[j - a[i]][k - b[i]] != -1) m = c[i] + dp[j - a[i]][k - b[i]]; ^ first type: int[] second type: int Main.java:38: error: bad operand types for binary operator '+' if(dp[j - a[i]]...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03806|0
u653981267|p03806|0
codenet
Compile Error
1,832
v2_s663995318
s663995318
s663995318
p03806
p03806
u653981267
u653981267
1,487,132,362
2017-02-15T04:19:22
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ratioA = sc.nextInt(); int ratioB = sc.nextInt(); int[] a = new int[N]; int[] b = new int[N]; int[] c = new int[N]; int sumA = 0; int sum...
Main.java:58: error: no suitable method found for min(int,int[]) cost = Math.min(cost, dp[ratioA * i][ratioB * i]); ^ method Math.min(int,int) is not applicable (argument mismatch; int[] cannot be converted to int) method Math.min(long,long) is not applicable (argument mis...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03806|0
u653981267|p03806|0
codenet
Compile Error
1,853
v2_s487865505
s487865505
s487865505
p03806
p03806
u777529218
u777529218
1,486,870,392
2017-02-12T03:33:12
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long N = Integer.parseInt(sc.next()); int Ma = Integer.parseInt(sc.next()); int Mb = Integer.parseInt(sc.next()); int[][] abc; int a; int b; int c; int answer=-1; for(...
Main.java:25: error: incompatible types: possible lossy conversion from long to int a=a+abc[i][0]; ^ Main.java:26: error: incompatible types: possible lossy conversion from long to int b=b+abc[i][1]; ^ Main.java:27: error: incompatible types: possible lossy conversion from long t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777529218|p03806|0
u777529218|p03806|0
codenet
Compile Error
895
v2_s364655194
s364655194
s364655194
p03806
p03806
u777529218
u777529218
1,486,870,456
2017-02-12T03:34:16
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long N = Integer.parseInt(sc.next()); int Ma = Integer.parseInt(sc.next()); int Mb = Integer.parseInt(sc.next()); int[][] abc; int a; int b; int c; int answer=-1; for(...
Main.java:17: error: variable abc might not have been initialized abc[i][0]=Integer.parseInt(sc.next()); ^ Main.java:25: error: variable abc might not have been initialized a=a+abc[j][0]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777529218|p03806|0
u777529218|p03806|0
codenet
Compile Error
895
v2_s434415909
s434415909
s434415909
p03806
p03806
u777529218
u777529218
1,486,870,499
2017-02-12T03:34:59
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long N = Integer.parseInt(sc.next()); int Ma = Integer.parseInt(sc.next()); int Mb = Integer.parseInt(sc.next()); int[][] abc = new int[N][2]; int a; int b; int c; int an...
Main.java:11: error: incompatible types: possible lossy conversion from long to int int[][] abc = new int[N][2]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777529218|p03806|0
u777529218|p03806|0
codenet
Compile Error
911
v2_s998808272
s998808272
s998808272
p03806
p03806
u913110564
u913110564
1,550,676,062
2019-02-20T15:21:02
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int Ma=sc.nextInt(); int Mb=sc.nextInt(); int[][][] dp=new int[41][401][401]; int INF=1000000007; for(int i=0; i<=40; i++) { for(int j=0; j<=400; j++) { Arrays.fil...
Main.java:13: error: cannot find symbol Arrays.fill(dp[i][j],INF); ^ symbol: variable Arrays location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u913110564|p03806|0
u913110564|p03806|0
codenet
Compile Error
1,019
v2_s619674216
s619674216
s619674216
p03807
p03807
u057916330
u057916330
1,486,260,362
2017-02-05T02:06:02
Main.java
public class Main { public static void main(String[] args) { try (Scanner in = new Scanner(System.in)) { solve(in); } } private static void solve(Scanner in) { int N = in.nextInt(); final int[] A = new int[N];// 2 <= N for (int i = 0; i < N; i++) { ...
Main.java:8: error: cannot find symbol private static void solve(Scanner in) { ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol try (Scanner in = new Scanner(System.in)) { ^ symbol: class Scanner location: class Main M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u057916330|p03807|0
u057916330|p03807|0
codenet
Compile Error
578
v2_s645630505
s645630505
s645630505
p03807
p03807
u101225820
u101225820
1,500,350,705
2017-07-18T04:05:05
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int N=in.nextInt(); int sum=0; for (int i = 0; i < N; i++) { if (in.nextInt()%2==1) { sum++; } } if(sum%2==...
Main.java:20: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u101225820|p03807|0
u101225820|p03807|0
codenet
Compile Error
416
v2_s625904003
s625904003
s625904003
p03807
p03807
u155700236
u155700236
1,487,753,672
2017-02-22T08:54:32
Main.java
import java.util.*; class Main{ public static void main(String[] args){ //declare Scanner in = new Scanner(System.in); ArrayList<Integer> array = new ArrayList<Integer>(); int a,b; //imput int b = 0; a = in.nextInt(); for (int i=0;i<a;i++){ b += Integer.parseIn(in.next)); } ...
Main.java:13: error: ';' expected b += Integer.parseIn(in.next)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155700236|p03807|0
u155700236|p03807|0
codenet
Compile Error
424
v2_s620047037
s620047037
s620047037
p03807
p03807
u155700236
u155700236
1,487,753,877
2017-02-22T08:57:57
Main.java
iimport java.util.*; class Main{ public static void main(String[] args){ //declare Scanner in = new Scanner(System.in); ArrayList<Integer> array = new ArrayList<Integer>(); int a,b; //imput b = 0; a = in.nextInt(); for (int i=0;i<a;i++){ b += Integer.parseInt(in.next()); } ...
Main.java:1: error: class, interface, enum, or record expected iimport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155700236|p03807|0
u155700236|p03807|0
codenet
Compile Error
424
v2_s946013039
s946013039
s946013039
p03808
p03808
u213117974
u213117974
1,486,290,489
2017-02-05T10:28:09
Main.java
#include <bits/stdc++.h> using namespace std; int main() { int n; scanf("%d",&n); long long array[n + 1]; long long diff[n]; long long sum = 0; for(int i = 1;i <= n;i++){ scanf("%lld",&array[i]); sum += array[i]; } array[0] = array[n]; if(sum % ((long)n * (n + 1)...
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:8: error: not a statement long long array[n + 1]; ^ Main.java:8: error: not a statement long long array[n + 1]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u213117974|p03808|0
u213117974|p03808|0
codenet
Compile Error
898
v2_s698482169
s698482169
s698482169
p03808
p03808
u367866606
u367866606
1,486,262,212
2017-02-05T02:36:52
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0; int t1,t2; t1=sc.nextInt(); for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2)))System.out.println("YES"); els...
Main.java:14: error: ')' expected if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2)))System.out.println("YES"); else System.out.println("NO"); ^ Main.java:14: error: not a statement if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2)))System.out.println("YES"); else System.out.println("NO"); ^ Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
351
v2_s452130031
s452130031
s452130031
p03808
p03808
u367866606
u367866606
1,486,262,318
2017-02-05T02:38:38
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0; int t1,t2; t1=sc.nextInt(); for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))) System.out.println("YES"); el...
Main.java:14: error: ')' expected if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))) System.out.println("YES"); else System.out.println("NO"); ^ Main.java:14: error: not a statement if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))) System.out.println("YES"); else System.out.println("NO"); ^ Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
352
v2_s534369024
s534369024
s534369024
p03808
p03808
u367866606
u367866606
1,486,262,437
2017-02-05T02:40:37
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0; int t1,t2; t1=sc.nextInt(); for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))) System.out.println("YES"); el...
Main.java:14: error: ')' expected if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))) System.out.println("YES"); else System.out.println("NO"); ^ Main.java:14: error: not a statement if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))) System.out.println("YES"); else System.out.println("NO"); ^ Main...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
352
v2_s709466270
s709466270
s709466270
p03808
p03808
u367866606
u367866606
1,486,262,898
2017-02-05T02:48:18
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1,t2; t1=sc.nextInt(); for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))){System.out.println("YES");}e...
Main.java:14: error: ')' expected if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:14: error: not a statement if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))){System.out.println("YES");}else{System.out.println("NO");} ^ Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
354
v2_s854608407
s854608407
s854608407
p03808
p03808
u367866606
u367866606
1,486,263,050
2017-02-05T02:50:50
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1,t2; t1=sc.nextInt(); for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))){ System.out.println("YES");...
Main.java:15: error: ')' expected if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))){ ^ Main.java:15: error: not a statement if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))){ ^ Main.java:15: error: ';' expected if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))){ ^ Main.java:15: er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
359
v2_s715118037
s715118037
s715118037
p03808
p03808
u367866606
u367866606
1,486,263,098
2017-02-05T02:51:38
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1,t2; t1=sc.nextInt(); for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } ; if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))){ System.out.println("YES")...
Main.java:15: error: ')' expected if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))){ ^ Main.java:15: error: not a statement if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))){ ^ Main.java:15: error: ';' expected if(sub/(long)(2n-2)==(long)(sub/(long)(2n-2))){ ^ Main.java:15: er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
360
v2_s121661462
s121661462
s121661462
p03808
p03808
u367866606
u367866606
1,486,263,178
2017-02-05T02:52:58
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1,t2; t1=sc.nextInt(); for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println...
Main.java:14: error: ')' expected if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:14: error: not a statement if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:14: error: ';' expected if(sub%(long...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
332
v2_s732285739
s732285739
s732285739
p03808
p03808
u367866606
u367866606
1,486,263,239
2017-02-05T02:53:59
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1,t2; t1=sc.nextInt(); for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println...
Main.java:14: error: ')' expected if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:14: error: not a statement if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:14: error: ';' expected if(sub%(long...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
332
v2_s965045886
s965045886
s965045886
p03808
p03808
u367866606
u367866606
1,486,263,668
2017-02-05T03:01:08
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1; int t2; t1=sc.nextInt(); for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.pr...
Main.java:15: error: ')' expected if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:15: error: not a statement if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:15: error: ';' expected if(sub%(long...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
337
v2_s573222958
s573222958
s573222958
p03808
p03808
u367866606
u367866606
1,486,263,712
2017-02-05T03:01:52
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1; int t2; t1=sc.nextInt(); for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } )if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.p...
Main.java:15: error: illegal start of expression )if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:15: error: ')' expected )if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:15: error: not a statement )if(sub%(l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
338
v2_s255692212
s255692212
s255692212
p03808
p03808
u367866606
u367866606
1,486,263,875
2017-02-05T03:04:35
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1; int t2; t1=sc.nextInt(); sub-=t1; for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{Syst...
Main.java:16: error: ')' expected if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:16: error: not a statement if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:16: error: ';' expected if(sub%(long...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
346
v2_s407570470
s407570470
s407570470
p03808
p03808
u367866606
u367866606
1,486,263,946
2017-02-05T03:05:46
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1; int t2; /*t1=sc.nextInt(); sub-=t1; for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; }*/ if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{...
Main.java:16: error: ')' expected if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:16: error: not a statement if(sub%(long)(2n-2)==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:16: error: ';' expected if(sub%(long...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
350
v2_s497432511
s497432511
s497432511
p03808
p03808
u367866606
u367866606
1,486,264,137
2017-02-05T03:08:57
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1; int t2; t1=sc.nextInt(); sub-=t1; for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub%((long)(2n-2))==0l){System.out.println("YES");}else{Sy...
Main.java:16: error: ')' expected if(sub%((long)(2n-2))==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:16: error: not a statement if(sub%((long)(2n-2))==0l){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:16: error: ';' expected if(sub...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
348
v2_s823034238
s823034238
s823034238
p03808
p03808
u367866606
u367866606
1,486,264,214
2017-02-05T03:10:14
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1; int t2; t1=sc.nextInt(); sub-=t1; for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub%((long)(2n-2))==0){System.out.println("YES");}else{Sys...
Main.java:16: error: ')' expected if(sub%((long)(2n-2))==0){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:16: error: not a statement if(sub%((long)(2n-2))==0){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:16: error: ';' expected if(sub%(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
347
v2_s092074493
s092074493
s092074493
p03808
p03808
u367866606
u367866606
1,486,264,248
2017-02-05T03:10:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1; int t2; t1=sc.nextInt(); sub-=t1; for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(t2-t1); t1=t2; } if(sub%((long)(2n-2))==0){System.out.println("YES");}else{Sys...
Main.java:16: error: ')' expected if(sub%((long)(2n-2))==0){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:16: error: not a statement if(sub%((long)(2n-2))==0){System.out.println("YES");}else{System.out.println("NO");} ^ Main.java:16: error: ';' expected if(sub%(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
347
v2_s742914835
s742914835
s742914835
p03808
p03808
u367866606
u367866606
1,486,264,750
2017-02-05T03:19:10
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sub=0l; int t1; int t2; t1=sc.nextInt(); sub-=t1; for(int i=0;i<n-1;i++){ t2=sc.nextInt(); sub+=(long)(abs(t2-t1)); t1=t2; } if(sub%((long)(2*n-2))==0){System.out.println("YES");}el...
Main.java:13: error: cannot find symbol sub+=(long)(abs(t2-t1)); ^ symbol: method abs(int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367866606|p03808|0
u367866606|p03808|0
codenet
Compile Error
353
v2_s295362592
s295362592
s295362592
p03808
p03808
u645165433
u645165433
1,486,261,138
2017-02-05T02:18:58
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); sc.nextLine(); int[] a = new int[n]; boolean b = false; for (int i=0;i<n;i++){ a[i] = sc.nextInt(); if (a[i]>=n){ b = true; } } if (b==true){ System.out.println("YES...
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
u645165433|p03808|0
u645165433|p03808|0
codenet
Compile Error
376
v2_s974781131
s974781131
s974781131
p03808
p03808
u769201746
u769201746
1,486,263,653
2017-02-05T03:00:53
LongStream.java
/* * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.util.stream; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.P...
LongStream.java:25: error: package exists in another module: java.base package java.util.stream; ^ LongStream.java:78: error: cannot find symbol public interface LongStream extends BaseStream<Long, LongStream> { ^ symbol: class BaseStream LongStream.java:122: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769201746|p03808|0
u769201746|p03808|0
codenet
Compile Error
36,725
v2_s006079884
s006079884
s006079884
p03808
p03808
u969605855
u969605855
1,486,264,459
2017-02-05T03:14:19
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long[] a = new long[n]; long max = 0; int p=0; int pNext=0; for(int i=0; i<n; i++){ a[i] = sc.nextLong(); } for(int i=0; i<n; i++){ if(a[i] > max){ max...
Main.java:53: error: illegal start of expression static boolean check(long[] a){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u969605855|p03808|0
u969605855|p03808|0
codenet
Compile Error
976
v2_s955868102
s955868102
s955868102
p03808
p03808
u969605855
u969605855
1,486,265,898
2017-02-05T03:38:18
Main.java
public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long np=0; for(int i=1; i<=n; i++){ np += i; } long[] a = new long[n]; int even = 0; int odd = 0; long sum=0; int check=0; int dang=0; for(int i=0; i<n; i++){ a[i] = sc.ne...
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
u969605855|p03808|0
u969605855|p03808|0
codenet
Compile Error
840
v2_s356208642
s356208642
s356208642
p03810
p03810
u617255029
u617255029
1,486,266,612
2017-02-05T03:50:12
Main.java
import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.InputMismatchException; public class Main { InputStream is; int __t__ = 1; int __f__ = 0; ...
Main.java:35: error: bad operand type int for unary operator '!' else if (!notOne || !odd) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u617255029|p03810|0
u617255029|p03810|0
codenet
Compile Error
4,579
v2_s696937937
s696937937
s696937937
p03810
p03810
u816631826
u816631826
1,566,928,334
2019-08-27T17:52:14
DarkRoast.java
public class DarkRoast extends Bevarage{ DarkRoast() { des="Finest Dark roast"; } @Override int cost() { return 30; //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. }
DarkRoast.java:11: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p03810|0
u816631826|p03810|0
codenet
Compile Error
296
v2_s558302317
s558302317
s558302317
p03810
p03810
u816631826
u816631826
1,566,928,357
2019-08-27T17:52:37
Mocha.java
public class Mocha extends Condiments{ Mocha(Bevarage bvr) { this.bvr=bvr; des=" , Mocha"; } int cost() { return bvr.cost()+10; } }
Mocha.java:1: error: cannot find symbol public class Mocha extends Condiments{ ^ symbol: class Condiments Mocha.java:3: error: cannot find symbol Mocha(Bevarage bvr) ^ symbol: class Bevarage location: class Mocha Mocha.java:5: error: cannot find symbol this.bvr=b...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p03810|0
u816631826|p03810|0
codenet
Compile Error
174
v2_s412359742
s412359742
s412359742
p03810
p03810
u816631826
u816631826
1,566,928,427
2019-08-27T17:53:47
Suger.java
public class Suger extends Condiments { Suger(Bevarage bvr) { this.bvr=bvr; des=" , Suger"; } int cost() { return bvr.cost()+5; } }
Suger.java:1: error: cannot find symbol public class Suger extends Condiments { ^ symbol: class Condiments Suger.java:3: error: cannot find symbol Suger(Bevarage bvr) ^ symbol: class Bevarage location: class Suger Suger.java:5: error: cannot find symbol this.bvr=...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p03810|0
u816631826|p03810|0
codenet
Compile Error
173
v2_s359737388
s359737388
s359737388
p03810
p03810
u863370423
u863370423
1,566,928,277
2019-08-27T17:51:17
Main.java
public class Main { public static void main(String[] args) { Bevarage bvr= new DarkRoast(); bvr= new Mocha(bvr); bvr= new Mocha(bvr); bvr= new Suger(bvr); System.out.println("total cost : "+bvr.cost()); } }
Main.java:5: error: cannot find symbol Bevarage bvr= new DarkRoast(); ^ symbol: class Bevarage location: class Main Main.java:5: error: cannot find symbol Bevarage bvr= new DarkRoast(); ^ symbol: class DarkRoast location: class Main Main.java:6: error: canno...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03810|0
u863370423|p03810|0
codenet
Compile Error
270
v2_s402221667
s402221667
s402221667
p03810
p03810
u863370423
u863370423
1,566,928,316
2019-08-27T17:51:56
Condiments.java
abstract public class Condiments extends Bevarage { Bevarage bvr; String getDES() { return bvr.getDES()+des; } }
Condiments.java:1: error: cannot find symbol abstract public class Condiments extends Bevarage { ^ symbol: class Bevarage Condiments.java:2: error: cannot find symbol Bevarage bvr; ^ symbol: class Bevarage location: class Condiments Condiments.java:5: error: cann...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03810|0
u863370423|p03810|0
codenet
Compile Error
138
v2_s363285421
s363285421
s363285421
p03813
p03813
u001427717
u001427717
1,485,657,959
2017-01-29T02:45:59
Main.java
public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); if (1 <= a && a <= 3000) { if (a < 1200) { System.out.println("ABC"); } else { System.out.println("ARC"); } } }
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
u001427717|p03813|0
u001427717|p03813|0
codenet
Compile Error
239
v2_s891243402
s891243402
s891243402
p03813
p03813
u001427717
u001427717
1,485,658,015
2017-01-29T02:46:55
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); if (1 <= a && a <= 3000) { if (a < 1200) { System.out.println("ABC"); } else { System.out.println("ARC"); } } } }
Main.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: 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
u001427717|p03813|0
u001427717|p03813|0
codenet
Compile Error
260
v2_s130226010
s130226010
s130226010
p03813
p03813
u018773111
u018773111
1,593,724,702
2020-07-02T21:18:22
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Sacnner(System.in); int x = sc.nextInt(); System.out.println(x<1200 ? "ABC" : "ARC"); } }
Main.java:5: error: cannot find symbol Scanner sc = new Sacnner(System.in); ^ symbol: class Sacnner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018773111|p03813|0
u018773111|p03813|0
codenet
Compile Error
202
v2_s201902354
s201902354
s201902354
p03813
p03813
u241090452
u241090452
1,588,125,856
2020-04-29T02:04:16
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x =sc.nextInt(); if(a<1200){ System.out.println("ABC"); }else{ System.out.println("ARC"); } } }
Main.java:6: error: cannot find symbol if(a<1200){ ^ symbol: variable a location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241090452|p03813|0
u241090452|p03813|0
codenet
Compile Error
289
v2_s955187915
s955187915
s955187915
p03813
p03813
u314559067
u314559067
1,571,532,565
2019-10-20T00:49:25
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Compute c1 = new Compute();//calc int count = 0; boolean sw = false; int max = Integer.MIN_VALUE; int min = Integer.MAX_VALUE; double dMax = Double.MIN_VALUE; double dMin = Do...
Main.java:6: error: cannot find symbol Compute c1 = new Compute();//calc ^ symbol: class Compute location: class Main Main.java:6: error: cannot find symbol Compute c1 = new Compute();//calc ^ symbol: class Compute location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u314559067|p03813|0
u314559067|p03813|0
codenet
Compile Error
721
v2_s214286657
s214286657
s214286657
p03813
p03813
u357635195
u357635195
1,517,084,892
2018-01-27T20:28:12
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int rate = sc.nextInt(); sc.close(); String ans = rate>=1200 ? "ARC" : "ABC"; System.out.println(ans); } }
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
u357635195|p03813|1
u357635195|p03813|1
codenet
Compile Error
229
v2_s304630258
s304630258
s304630258
p03813
p03813
u396701320
u396701320
1,530,529,701
2018-07-02T11:08:21
Main.java
import java.util.* fun main(args: Array<String>) { val sc = Scanner(System.`in`) val n = sc.nextInt() println(if (n < 1200) "ABC" else "ARC") }
Main.java:1: error: ';' expected import java.util.* ^ Main.java:4: error: illegal character: '`' val sc = Scanner(System.`in`) ^ Main.java:4: error: illegal character: '`' val sc = Scanner(System.`in`) ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u396701320|p03813|0
u396701320|p03813|0
codenet
Compile Error
156
v2_s460495450
s460495450
s460495450
p03813
p03813
u399547145
u399547145
1,486,767,245
2017-02-10T22:54:05
Main.java
import java.util.*; public class Main { public static void main (args[]){ BufferedReader reader = new BufferedReader (new InputStreamReader (System.in)); String line; try { line = reader.readLine(); int number = Integer.parseInt(line);...
Main.java:4: error: <identifier> expected public static void main (args[]){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399547145|p03813|0
u399547145|p03813|0
codenet
Compile Error
614
v2_s742416541
s742416541
s742416541
p03813
p03813
u399547145
u399547145
1,486,767,332
2017-02-10T22:55:32
Main.java
import java.util.*; public class Main { public static void main (String args[]){ BufferedReader reader = new BufferedReader (new InputStreamReader (System.in)); String line; try { line = reader.readLine(); int number = Integer.parseInt...
Main.java:6: error: cannot find symbol BufferedReader reader = new BufferedReader (new InputStreamReader (System.in)); ^ symbol: class BufferedReader location: class Main Main.java:6: error: cannot find symbol BufferedReader reader = new BufferedReader (new InputStreamReader (Syst...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399547145|p03813|0
u399547145|p03813|0
codenet
Compile Error
621
v2_s553409041
s553409041
s553409041
p03813
p03813
u399547145
u399547145
1,486,769,099
2017-02-10T23:24:59
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main (String args[]){ BufferedReader reader = new BufferedReader (new InputStreamReader (System.in)); String line; try { line = reader.readLine(); ...
Main.java:18: 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
u399547145|p03813|0
u399547145|p03813|0
codenet
Compile Error
766
v2_s351078393
s351078393
s351078393
p03813
p03813
u399547145
u399547145
1,486,769,163
2017-02-10T23:26:03
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException.; public class Main { public static void main (String args[]){ BufferedReader reader = new BufferedReader (new InputStreamReader (System.in)); String line; try { ...
Main.java:3: error: <identifier> expected import java.io.IOException.; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399547145|p03813|0
u399547145|p03813|0
codenet
Compile Error
795
v2_s684703000
s684703000
s684703000
p03813
p03813
u414772150
u414772150
1,583,542,075
2020-03-07T00:47:55
Main.java
import String; class Sample{ String s; String ss; Sample(String str){ s = str; } int searchA(){ return s.indexOf("A"); } int searchZ(){ return s.lastIndexOf("Z") + 1; } public static void main(String[] args){ Sample sample = new Sample(args[0]); int start = sample.searchA(); int end = sample.sear...
Main.java:1: error: '.' expected import String; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u414772150|p03813|0
u414772150|p03813|0
codenet
Compile Error
368
v2_s465334680
s465334680
s465334680
p03813
p03813
u438591746
u438591746
1,486,322,822
2017-02-05T19:27:02
Main.java
import java.io.*; public class Main { private static MyScanner scanner; public static void main (String[] args){ Main instance = new Main(); scanner = instance.new MyScanner(); instance.solve(); } private void solve() { try { long min_point = scanner.nextLon...
Main.java:15: error: bad operand types for binary operator '<' if ( 6 < mod_min_point < 6) { ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u438591746|p03813|0
u438591746|p03813|0
codenet
Compile Error
1,764
v2_s444152538
s444152538
s444152538
p03813
p03813
u453602066
u453602066
1,563,733,885
2019-07-21T18:31:25
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int x = in.nextInt(); if(x<1200) { System.out.println("ABC"); } else { System.out.println("ARC"); } } }
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
u453602066|p03813|0
u453602066|p03813|0
codenet
Compile Error
221
v2_s205553016
s205553016
s205553016
p03813
p03813
u492223956
u492223956
1,517,373,056
2018-01-31T04:30:56
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x<1200){ System.out.println("ABC"); }else(1200<=x){ System.out.println("ARC") } } }
Main.java:8: error: not a statement }else(1200<=x){ ^ Main.java:8: error: ';' expected }else(1200<=x){ ^ Main.java:9: error: ';' expected System.out.println("ARC") ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u492223956|p03813|0
u492223956|p03813|0
codenet
Compile Error
266
v2_s979807937
s979807937
s979807937
p03813
p03813
u516413528
u516413528
1,495,604,216
2017-05-24T05:36:56
Main.java
/** * Built using CHelper plug-in * Actual solution is at the top * * @author Alan */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; InputReader in = new InputReader(inputStream); OutputWr...
Main.java:28: error: cannot find symbol private final PrintWriter writer; ^ symbol: class PrintWriter location: class OutputWriter Main.java:30: error: cannot find symbol public OutputWriter(OutputStream outputStream) { ^ symbol: class OutputSt...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516413528|p03813|0
u516413528|p03813|0
codenet
Compile Error
2,831
v2_s858075112
s858075112
s858075112
p03813
p03813
u519450844
u519450844
1,490,748,761
2017-03-29T00:52:41
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x<1200) System.out.println("ABC"); else{ system.out.println("ARC"); }
Main.java:11: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u519450844|p03813|0
u519450844|p03813|0
codenet
Compile Error
285
v2_s913838721
s913838721
s913838721
p03813
p03813
u519450844
u519450844
1,490,748,950
2017-03-29T00:55:50
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x<1200) System.out.println("ABC"); else{ system.out.println("ARC"); } } }
Main.java:10: error: package system does not exist system.out.println("ARC"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u519450844|p03813|0
u519450844|p03813|0
codenet
Compile Error
284
v2_s787181904
s787181904
s787181904
p03813
p03813
u563989351
u563989351
1,485,676,000
2017-01-29T07:46:40
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); if(a<1200){ System.out.println("ABC"); return } // 出力 System.out.println("ARC"); } } }
Main.java:10: error: illegal start of expression } ^ Main.java:15: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u563989351|p03813|1
u563989351|p03813|0
codenet
Compile Error
262
v2_s272296482
s272296482
s272296482
p03813
p03813
u565317919
u565317919
1,493,334,824
2017-04-27T23:13:44
Main.java
import java.util; public static void main() { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); if (a < 1200) { System.out.println("ABC"); } else { System.out.println("ARC"); } }
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main() { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u565317919|p03813|0
u565317919|p03813|0
codenet
Compile Error
207
v2_s783891122
s783891122
s783891122
p03813
p03813
u565317919
u565317919
1,493,334,925
2017-04-27T23:15:25
Main.java
import java.util; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); if (a < 1200) { System.out.println("ABC"); } else { System.out.println("ARC"); } } }
Main.java:1: error: cannot find symbol import java.util; ^ symbol: class util location: package java 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(Syste...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u565317919|p03813|0
u565317919|p03813|0
codenet
Compile Error
242