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_s426282950
s426282950
s426282950
p02860
p02860
u832153770
u832153770
1,586,752,959
2020-04-13T04:42:39
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String S sc.next(); int ans="Yes"; if(N%2==1){ ans="No"; System.out.println(ans); } else{ for(int i=0;i<=N/2-1;i++){ if(S.charAt(i)!=S.charAt(i+(N/2)...
Main.java:6: error: ';' expected String S sc.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u832153770|p02860|0
u832153770|p02860|0
codenet
Compile Error
388
v2_s260406387
s260406387
s260406387
p02860
p02860
u861095163
u861095163
1,573,958,887
2019-11-17T02:48:07
Main.java
public class Main { final static long MOD07 = 1_000_000_007; final static long MOD09 = 1_000_000_009; public static void main(String[] args) { final FastScanner fs = new FastScanner(); int l = fs.nextInt(); String S = fs.next(); if (l % 2 == 1) { System.out.print...
Main.java:32: error: cannot find symbol static void forAllBit(int n, Consumer<List<Boolean>> func) { ^ symbol: class Consumer location: class Main Main.java:32: error: cannot find symbol static void forAllBit(int n, Consumer<List<Boolean>> func) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u861095163|p02860|0
u861095163|p02860|0
codenet
Compile Error
11,593
v2_s089582055
s089582055
s089582055
p02860
p02860
u890331732
u890331732
1,574,501,134
2019-11-23T09:25:34
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner scan =new Scanner(System.in); int N=scan.nextInt(); String str=scan.nextLine(); if(str.subSring(0,N/2).equals(str.subString(N/2+1,N)){ System.out.println("Yes"); }else{ System.out.println("No"); } }
Main.java:8: error: ')' expected if(str.subSring(0,N/2).equals(str.subString(N/2+1,N)){ ^ Main.java:13: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890331732|p02860|0
u890331732|p02860|0
codenet
Compile Error
317
v2_s776548476
s776548476
s776548476
p02860
p02860
u890331732
u890331732
1,574,501,167
2019-11-23T09:26:07
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner scan =new Scanner(System.in); int N=scan.nextInt(); String str=scan.nextLine(); if(str.subSring(0,N/2).equals(str.subString(N/2+1,N))){ System.out.println("Yes"); }else{ System.out.println("No"); } }
Main.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890331732|p02860|0
u890331732|p02860|0
codenet
Compile Error
318
v2_s804426391
s804426391
s804426391
p02860
p02860
u890331732
u890331732
1,574,501,191
2019-11-23T09:26:31
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner scan =new Scanner(System.in); int N=scan.nextInt(); String str=scan.nextLine(); if(str.subSring(0,N/2).equals(str.subString(N/2+1,N))){ System.out.println("Yes"); }else{ System.out.println("No"); } }...
Main.java:8: error: cannot find symbol if(str.subSring(0,N/2).equals(str.subString(N/2+1,N))){ ^ symbol: method subSring(int,int) location: variable str of type String Main.java:8: error: cannot find symbol if(str.subSring(0,N/2).equals(str.subString(N/2+1,N))){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890331732|p02860|0
u890331732|p02860|0
codenet
Compile Error
322
v2_s598422394
s598422394
s598422394
p02860
p02860
u890331732
u890331732
1,574,501,266
2019-11-23T09:27:46
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner scan =new Scanner(System.in); int N=scan.nextInt(); String str=scan.nextLine(); if(str.subSring(0,N/2).equals(str.subString(N/2+1))){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
Main.java:8: error: cannot find symbol if(str.subSring(0,N/2).equals(str.subString(N/2+1))){ ^ symbol: method subSring(int,int) location: variable str of type String Main.java:8: error: cannot find symbol if(str.subSring(0,N/2).equals(str.subString(N/2+1))){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890331732|p02860|0
u890331732|p02860|0
codenet
Compile Error
320
v2_s286722084
s286722084
s286722084
p02860
p02860
u890331732
u890331732
1,574,501,288
2019-11-23T09:28:08
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner scan =new Scanner(System.in); int N=scan.nextInt(); String str=scan.nextLine(); if(str.subsring(0,N/2).equals(str.substring(N/2+1))){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
Main.java:8: error: cannot find symbol if(str.subsring(0,N/2).equals(str.substring(N/2+1))){ ^ symbol: method subsring(int,int) location: variable str of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890331732|p02860|0
u890331732|p02860|0
codenet
Compile Error
320
v2_s952636764
s952636764
s952636764
p02860
p02860
u896847891
u896847891
1,581,856,584
2020-02-16T12:36:24
Main.java
import java.util.Scanner; class Main { static boolean RS(String S, int n) { if (n%2) return false; for(int i = 0; i < n/2; i++) if(S.charAt(i) != S.charAt(i+n/2)) return false; return true; } static void PutYN(boolean b) { if(b) System.out.println("Yes"); else ...
Main.java:6: error: incompatible types: int cannot be converted to boolean if (n%2) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u896847891|p02860|0
u896847891|p02860|0
codenet
Compile Error
547
v2_s290215597
s290215597
s290215597
p02860
p02860
u920694585
u920694585
1,573,956,925
2019-11-17T02:15:25
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int hoge = sc.nextInt(); ArrayList<Character> list = new ArrayList<>(); String a = sc.next(); for(int i = 0; i < hoge...
Main.java:29: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u920694585|p02860|0
u920694585|p02860|0
codenet
Compile Error
824
v2_s693273127
s693273127
s693273127
p02860
p02860
u924711195
u924711195
1,573,962,980
2019-11-17T03:56:20
Main.java
import java.util.Scanner;class Main; public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt();String s = scan.next(); if(n%2==0&&s.substring(0,n/2).equals(s.substring(n)){ System.out.println("Yes");}else{System.out.println("No");}
Main.java:1: error: '{' expected import java.util.Scanner;class Main; ^ Main.java:2: 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) Main.java:5: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u924711195|p02860|0
u924711195|p02860|0
codenet
Compile Error
285
v2_s999050307
s999050307
s999050307
p02860
p02860
u946973499
u946973499
1,573,957,098
2019-11-17T02:18: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(); String S = sc.next(); char[] data = new char[n]; int count =0; if(n==1){ System.out.println("No"); System.exit(0); } ...
Main.java:28: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u946973499|p02860|0
u946973499|p02860|0
codenet
Compile Error
619
v2_s744515123
s744515123
s744515123
p02860
p02860
u964468944
u964468944
1,574,097,397
2019-11-18T17:16:37
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(); String s = sc.next(); String s1 = s.substring(0, (int)(n/2)); String s2 = s.substring((int)(n/2), n); System.out.println(s1.equals(s2) ? "Yes" ...
Main.java:11: error: ';' expected System.out.println(s1.equals(s2) ? "Yes" : "No") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964468944|p02860|0
u964468944|p02860|0
codenet
Compile Error
333
v2_s534332147
s534332147
s534332147
p02860
p02860
u990037841
u990037841
1,585,773,419
2020-04-01T20:36:59
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(); String s = sc.next(); int flag = 1; for(int i = 0; i < s.length()/2; i++){ if(n%2 != 0){ flag = 0; ...
Main.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990037841|p02860|0
u990037841|p02860|0
codenet
Compile Error
598
v2_s594845817
s594845817
s594845817
p02860
p02860
u990037841
u990037841
1,585,773,454
2020-04-01T20:37:34
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(); String s = sc.next(); int flag = 1; for(int i = 0; i < s.length()/2; i++){ if(n%2 != 0){ flag = 0; ...
Main.java:15: error: array required, but String found if(s[i] != s[i+s.length()/2]){ ^ Main.java:15: error: array required, but String found if(s[i] != s[i+s.length()/2]){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990037841|p02860|0
u990037841|p02860|0
codenet
Compile Error
604
v2_s191446173
s191446173
s191446173
p02860
p02860
u990037841
u990037841
1,585,773,852
2020-04-01T20:44:12
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String s = sc.next(); String ss1 = s.substring(0,length()/2); String ss2 = s.substring(s.length()/2,s.length()); System.out.prin...
Main.java:9: error: cannot find symbol String ss1 = s.substring(0,length()/2); ^ symbol: method length() location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990037841|p02860|0
u990037841|p02860|0
codenet
Compile Error
360
v2_s337766001
s337766001
s337766001
p02861
p02861
u090271540
u090271540
1,593,520,537
2020-06-30T12:35:37
Main.java
public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); Point[] a = new Point[n]; for (int i = 0; i < n; i++) { a[i] = new Point(s.nextInt(), s.nextInt()); } double r = 0; for (int i = 0; i < n; i++) { for (int j =...
Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symb...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u090271540|p02861|0
u090271540|p02861|0
codenet
Compile Error
435
v2_s796148394
s796148394
s796148394
p02861
p02861
u099910634
u099910634
1,574,499,650
2019-11-23T09:00:50
Main.java
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; import java.math.*; /* Name of the class has to be "Main" only if the class is public. */ /* Name of the class has to be "Main" only if the class is public. */ public class Main { public static voi...
Main.java:34: error: ';' expected System.out.format("%.6f",(2*d)/n)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u099910634|p02861|0
u099910634|p02861|0
codenet
Compile Error
861
v2_s217596166
s217596166
s217596166
p02861
p02861
u207845630
u207845630
1,587,158,888
2020-04-17T21:28:08
Main.java
import java.util.*; public static List<String> list; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int sum = 0; int sum2 = 0; int buf = 0; Map<Integer,ArrayList<Integer>> town = new HashMap<>(); for(int i = 0;i < N;i++){ ArrayList...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static List<String> list; ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02861|0
u207845630|p02861|0
codenet
Compile Error
1,583
v2_s812835379
s812835379
s812835379
p02861
p02861
u207845630
u207845630
1,587,158,937
2020-04-17T21:28:57
Main.java
import java.util.*; static List<String> list; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int sum = 0; int sum2 = 0; int buf = 0; Map<Integer,ArrayList<Integer>> town = new HashMap<>(); for(int i = 0;i < N;i++){ ArrayList<Intege...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. static List<String> list; ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02861|0
u207845630|p02861|0
codenet
Compile Error
1,576
v2_s370471002
s370471002
s370471002
p02861
p02861
u207845630
u207845630
1,587,159,023
2020-04-17T21:30:23
Main.java
import java.util.*; public static ArrayList<String> list; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int sum = 0; int sum2 = 0; int buf = 0; Map<Integer,ArrayList<Integer>> town = new HashMap<>(); for(int i = 0;i < N;i++){ Arra...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static ArrayList<String> list; ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02861|0
u207845630|p02861|0
codenet
Compile Error
1,588
v2_s853550977
s853550977
s853550977
p02861
p02861
u207845630
u207845630
1,587,159,087
2020-04-17T21:31:27
Main.java
import java.util.*; public static List<String> list = new ArrayList<>(); public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int sum = 0; int sum2 = 0; int buf = 0; Map<Integer,ArrayList<Integer>> town = new HashMap<>(); for(int i = 0;i < ...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static List<String> list = new ArrayList<>(); ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02861|0
u207845630|p02861|0
codenet
Compile Error
1,603
v2_s262638941
s262638941
s262638941
p02861
p02861
u207845630
u207845630
1,587,159,137
2020-04-17T21:32:17
Main.java
import java.util.*; public class Main{ public static List<String> list; public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int sum = 0; int sum2 = 0; int buf = 0; Map<Integer,ArrayList<Integer>> town = new HashMap<>(); for(int i = 0;i < N;i++){ ArrayLi...
Main.java:22: error: variable buf is already defined in method main(String[]) List<Integer> buf = new ArrayList<>(); ^ Main.java:28: error: array required, but List<Integer> found sum += Math.sqrt((buf[0] - buf2[0]) * (buf[0] - buf2[0]) + (buf[1] - buf2[1]) * (buf[1] - buf2[1])); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02861|0
u207845630|p02861|0
codenet
Compile Error
1,585
v2_s500810605
s500810605
s500810605
p02861
p02861
u207845630
u207845630
1,587,159,194
2020-04-17T21:33:14
Main.java
import java.util.*; public class Main{ public static List<String> list; public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int sum = 0; int sum2 = 0; int buf3 = 0; Map<Integer,ArrayList<Integer>> town = new HashMap<>(); for(int i = 0;i < N;i++){ ArrayL...
Main.java:28: error: array required, but List<Integer> found sum += Math.sqrt((buf[0] - buf2[0]) * (buf[0] - buf2[0]) + (buf[1] - buf2[1]) * (buf[1] - buf2[1])); ^ Main.java:28: error: array required, but List<Integer> found sum += Math.sqrt((buf[0] - buf2[0]) * (buf[0] - buf2[0]) + (bu...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02861|0
u207845630|p02861|0
codenet
Compile Error
1,588
v2_s923542960
s923542960
s923542960
p02861
p02861
u218740431
u218740431
1,587,386,625
2020-04-20T12:43:45
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); double [] x = new double [a]; double [] y = new String [a]; for(int i=0;i<a;i++){x[i] = sc.nextDouble(); y[i] = sc.nextDouble(); ...
Main.java:7: error: incompatible types: String[] cannot be converted to double[] double [] y = new String [a]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02861|0
u218740431|p02861|0
codenet
Compile Error
618
v2_s514128049
s514128049
s514128049
p02861
p02861
u264547643
u264547643
1,575,872,096
2019-12-09T06:14:56
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.StringTokenizer; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.InputStream; /** * Built using CHelper plug-in * Actual soluti...
Main.java:58: error: array required, but double found dista += distance[Character.getNumericValue(x.charAt(i))][Character.getNumericValue(x.charAt(i + 1))]; ^ Main.java:64: error: array required, but double found double dist = Math.sqrt((a[i][0] - a[j][0]) * ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u264547643|p02861|0
u264547643|p02861|0
codenet
Compile Error
3,735
v2_s415410807
s415410807
s415410807
p02861
p02861
u369712616
u369712616
1,584,625,820
2020-03-19T13:50:20
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = new sc.nextInt(); int[] x = new int[n]; int[] y = new int[n]; for(int i = 0; i < n; i++){ x[i] = sc.nextInt(); y[i] = sc.nextInt(); } long sum = 0; for...
Main.java:5: error: package sc does not exist int n = new sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369712616|p02861|0
u369712616|p02861|0
codenet
Compile Error
534
v2_s816938496
s816938496
s816938496
p02861
p02861
u517233427
u517233427
1,573,961,991
2019-11-17T03:39:51
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // flag boolean flag = false; // argumentの取得 Scanner sc = new Scanner(System.in); // 町の数 Integer townNum = sc.nextInt(); // 座標データの格納用 int[][] location = new int[townNu...
Main.java:38: error: cannot find symbol result = factorial(location[i][0],location[i][1],location[j][0],location[j][1]); ^ symbol: variable result location: class Main Main.java:38: error: method factorial in class Main cannot be applied to given types; result = factorial...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u517233427|p02861|0
u517233427|p02861|0
codenet
Compile Error
1,817
v2_s754758553
s754758553
s754758553
p02861
p02861
u526964139
u526964139
1,574,217,152
2019-11-20T02:32:32
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[8][2] array = new int[][]; for (int i = 0; i < N; ++i) { // i番目のx座標 array[i][0] = sc.nextInt(); // i番目のy座標 ...
Main.java:8: error: ']' expected int[8][2] array = new int[][]; ^ Main.java:8: error: not a statement int[8][2] array = new int[][]; ^ Main.java:8: error: array dimension missing int[8][2] array = new int[][]; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u526964139|p02861|0
u526964139|p02861|0
codenet
Compile Error
795
v2_s486392632
s486392632
s486392632
p02861
p02861
u563321291
u563321291
1,587,855,733
2020-04-25T23:02:13
Main.java
import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.Scanner; public class Main { static int a1[]= {0,-1,0,1}; static int b1[]= {-1,0,1,0}; private static Scan...
Main.java:39: error: not a statement dsadas ^ Main.java:39: error: ';' expected dsadas ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u563321291|p02861|0
u563321291|p02861|0
codenet
Compile Error
3,214
v2_s671560854
s671560854
s671560854
p02861
p02861
u568787360
u568787360
1,574,351,680
2019-11-21T15:54:40
Main.java
int N = sc.nextInt(); int [] X = new int[N]; int [] Y = new int[N]; double sum = 0; int time = 1; int n =1; for(int i=N-1;i>0;i--) time*=i; for(int i=N;i>0;i--) n*=i; time*=2; for(int i=0;i<N;i++){ X[i] = sc.nextInt(); ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. int N = sc.nextInt(); ^ (use --enable-preview to enable unnamed classes) Main.java:7: error: class, interface, enum, or record expected for(int i=N-1;i>0;i--) time*=i; ^ Main.java:7: error: class, i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568787360|p02861|1
u568787360|p02861|1
codenet
Compile Error
669
v2_s585933197
s585933197
s585933197
p02861
p02861
u604068691
u604068691
1,574,634,182
2019-11-24T22:23:02
Main.java
import java.util.*; import java.lang.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); double[] x = new double[N]; double[] y = new double[N]; double[] ans = new double[40320]; double[] aa = new double[]{1,2,4,8,16,32,64,128,256}; do...
Main.java:28: error: ')' or ',' expected System.out.println((total*aa[N-1]/bb[N]); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u604068691|p02861|1
u604068691|p02861|1
codenet
Compile Error
771
v2_s951300458
s951300458
s951300458
p02861
p02861
u659156129
u659156129
1,597,337,141
2020-08-13T16:45:41
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[] x = new int[n]; int[] y = new int[n]; for(int i=0; i<a.length; i++){ x[i] = scn.nextInt(); y[i] = scn.nextInt(); } d...
Main.java:9: error: cannot find symbol for(int i=0; i<a.length; i++){ ^ symbol: variable a location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p02861|0
u659156129|p02861|0
codenet
Compile Error
767
v2_s720510661
s720510661
s720510661
p02861
p02861
u689082549
u689082549
1,575,651,256
2019-12-06T16:54:16
Main.java
import java.util.Scanner; public final class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); int[] x = new int[n]; int[] y = new int[n]; for(int i=0; i<n; i++){ x[i] = stdIn.nextInt(); y[i...
Main.java:16: error: ';' expected int c = fact(n-1)! - (a + b); ^ Main.java:16: error: not a statement int c = fact(n-1)! - (a + b); ^ Main.java:16: error: ';' expected int c = fact(n-1)! - (a + b); ^ 3 e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u689082549|p02861|1
u689082549|p02861|1
codenet
Compile Error
989
v2_s579676009
s579676009
s579676009
p02861
p02861
u740551476
u740551476
1,586,895,941
2020-04-14T20:25:41
E.java
package aaaa; import java.util.Scanner; public class E { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int x[] = new int[N]; int y[] = new int[N]; for (int i = 0; i < N; i++) { x[N] = sc.nextInt(); y[N] = sc....
E.java:17: error: cannot find symbol for(int i = 0; i < n; i++){ ^ symbol: variable n location: class E E.java:18: error: cannot find symbol for(int j = i + 1; j < n; j++){ ^ symbol: variable n location: class E 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u740551476|p02861|0
u740551476|p02861|0
codenet
Compile Error
573
v2_s373575608
s373575608
s373575608
p02861
p02861
u858915126
u858915126
1,574,873,913
2019-11-27T16:58:33
Main.java
public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] x = new int[n]; int[] y = new int[n]; double d = 0.0; for (int i = 0; i < n; i++) { x[i] = sc.nextInt(); y[i] = sc.nextInt(); } for (int i = 0...
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
u858915126|p02861|0
u858915126|p02861|0
codenet
Compile Error
533
v2_s004299586
s004299586
s004299586
p02861
p02861
u896847891
u896847891
1,581,862,660
2020-02-16T14:17:40
Main.java
java.util.Scanner; class Main { static int sqr(int x) { return x * x; } public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); int[] x = new int[8]; int[] y = new int[8]; for (int i = 0; i < n; i++) { x[i] = stdIn....
Main.java:1: error: class, interface, enum, or record expected java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u896847891|p02861|0
u896847891|p02861|0
codenet
Compile Error
582
v2_s074766807
s074766807
s074766807
p02861
p02861
u964468944
u964468944
1,574,098,143
2019-11-18T17:29:03
Main.java
import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); List<Position> positions = new ArrayList<Position>(); int n = sc.nextInt(); for (int i = 0 ; i < n ; i++){ int x = sc.nextInt(); int y = sc.nextInt(); posi...
Main.java:6: error: cannot find symbol List<Position> positions = new ArrayList<Position>(); ^ symbol: class List location: class Main Main.java:6: error: cannot find symbol List<Position> positions = new ArrayList<Position>(); ^ symbol: class ArrayList locatio...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964468944|p02861|0
u964468944|p02861|0
codenet
Compile Error
974
v2_s420336233
s420336233
s420336233
p02861
p02861
u964468944
u964468944
1,574,098,173
2019-11-18T17:29:33
Main.java
import java.util.*; import java.lang.*; public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); List<Position> positions = new ArrayList<Position>(); int n = sc.nextInt(); for (int i = 0 ; i < n ; i++){ int x = sc.nextInt(); int y = sc.nextInt...
Main.java:13: error: non-static variable this cannot be referenced from a static context positions.add(new Position(x,y)); ^ Main.java:31: error: method pow in class Math cannot be applied to given types; return Math.sqrt(Math.pow(a.x - b.x) + Math.pow(a.y - b.y)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964468944|p02861|0
u964468944|p02861|0
codenet
Compile Error
988
v2_s578501099
s578501099
s578501099
p02861
p02861
u981808900
u981808900
1,573,956,626
2019-11-17T02:10:26
Main.java
import java.util.*; import java.io.*; import java.util.function.*; class Main { static Scanner scanner = new Scanner(); static int mod = 1000000007; static int inf = 0x7ffffff; static int n; static int[] x, y; void solve() { n = scanner.nextInt(); x = new int[n]; y = ne...
Main.java:29: error: cannot find symbol } while (AtCoderUtils.nextPermutation(a)); ^ symbol: variable AtCoderUtils location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p02861|0
u981808900|p02861|0
codenet
Compile Error
2,670
v2_s598409354
s598409354
s598409354
p02862
p02862
u099910634
u099910634
1,574,501,203
2019-11-23T09:26:43
Main.java
import java.util.*; import java.lang.*; import java.io.*; import java.math.*; /* Name of the class has to be "Main" only if the class is public. */ /* Name of the class has to be "Main" only if the class is public. */ public class Main { public static void main (String[] args) throws java.lang.Exception ...
Main.java:18: error: illegal start of expression if((2*x-y)%3)!=0||(2*y-x)%3!=0) ^ Main.java:18: error: not a statement if((2*x-y)%3)!=0||(2*y-x)%3!=0) ^ Main.java:18: error: ';' expected if((2*x-y)%3)!=0||(2*y-x)%3!=0) ^ Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u099910634|p02862|0
u099910634|p02862|0
codenet
Compile Error
685
v2_s884825738
s884825738
s884825738
p02862
p02862
u218740431
u218740431
1,587,389,243
2020-04-20T13:27:23
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*(y/gcd(x,y))...
Main.java:12: error: ';' expected public static long com%mod(long x,long y){ ^ Main.java:12: error: invalid method declaration; return type required public static long com%mod(long x,long y){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02862|0
u218740431|p02862|0
codenet
Compile Error
1,103
v2_s955477455
s955477455
s955477455
p02862
p02862
u218740431
u218740431
1,587,389,380
2020-04-20T13:29:40
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*(y/gcd(x,y))...
Main.java:14: error: cannot find symbol return (com(x-1,y-1) + com(x-1,y))%mod; ^ symbol: method com(long,long) location: class Main Main.java:14: error: cannot find symbol return (com(x-1,y-1) + com(x-1,y))%mod; ^ symbol: method com(long,long) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02862|0
u218740431|p02862|0
codenet
Compile Error
1,169
v2_s277747181
s277747181
s277747181
p02862
p02862
u218740431
u218740431
1,587,389,439
2020-04-20T13:30:39
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*(y/gcd(x,y))...
Main.java:23: error: cannot find symbol ans = com%mod(n,k); ^ symbol: variable com location: class Main Main.java:23: error: cannot find symbol ans = com%mod(n,k); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02862|0
u218740431|p02862|0
codenet
Compile Error
1,108
v2_s096909352
s096909352
s096909352
p02862
p02862
u218740431
u218740431
1,587,389,512
2020-04-20T13:31:52
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*(y/gcd(x,y))...
Main.java:14: error: method commod in class Main cannot be applied to given types; return (commod(x-1,y-1) + commod(x-1,y))%mod; ^ required: long,long,long found: long,long reason: actual and formal argument lists differ in length Main.java:14: error: method commod in class Main cannot ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02862|0
u218740431|p02862|0
codenet
Compile Error
1,179
v2_s923531899
s923531899
s923531899
p02862
p02862
u222822036
u222822036
1,574,014,243
2019-11-17T18:10:43
Main.java
function myin(){return require("fs").readFileSync("/dev/stdin", "utf8").trim();} function myout(t){console.log(t);}//standard output //[no]param //0:何もしない 1:数値へ変換 2:半角SPで分割 3:改行で分割 4:半角SPで分割し、数値配列へ //5:改行で分割し、数値配列へ 6:1文字に分割 7:1文字に分割し、数値配列へ function myconv(i,no){switch(no){case 0:return i;case 1:return parseInt(i)...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. function myin(){return require("fs").readFileSync("/dev/stdin", "utf8").trim();} ^ (use --enable-preview to enable unnamed classes) Main.java:2: error: <identifier> expected function myout(t){console.log(t);}//standard output ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222822036|p02862|0
u222822036|p02862|0
codenet
Compile Error
2,724
v2_s574780181
s574780181
s574780181
p02862
p02862
u248433238
u248433238
1,586,484,159
2020-04-10T02:02:39
Main.java
import java.util.*; import java.awt.Point; public class Main { static int mod = 1000000007; public static void main(String[] args) { Scanner sc = new Scanner(System.in); long x = sc.nextLong(); long y = sc.nextLong(); if((x+y)%3 != 0) { System.out.println(0); return; } long n = (x+y)/3; x = x-n; ...
Main.java:25: error: unnamed classes are a preview feature and are disabled by default. public static long modCombination(long n, long r, long mod) { ^ (use --enable-preview to enable unnamed classes) Main.java:48: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u248433238|p02862|0
u248433238|p02862|0
codenet
Compile Error
1,002
v2_s974308068
s974308068
s974308068
p02862
p02862
u345932819
u345932819
1,578,516,269
2020-01-08T20:44:29
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigInteger; import java.util.List; import java.util.NoSuchElementException; import java.util.stream.Stream; public class Main { public static void main(String[] args) throws IOException { new Main().solve...
Main.java:139: error: ')' expected final long CONST_MOD = (long) (Math.pow(10, 9) + 7; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345932819|p02862|0
u345932819|p02862|0
codenet
Compile Error
11,192
v2_s585225740
s585225740
s585225740
p02862
p02862
u345932819
u345932819
1,578,516,292
2020-01-08T20:44:52
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigInteger; import java.util.List; import java.util.NoSuchElementException; import java.util.stream.Stream; public class Main { public static void main(String[] args) throws IOException { new Main().solve...
Main.java:139: error: ')' expected final long CONST_MOD = (long) (Math.pow(10, 9) + 7; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345932819|p02862|0
u345932819|p02862|0
codenet
Compile Error
11,192
v2_s121067820
s121067820
s121067820
p02862
p02862
u394113190
u394113190
1,581,702,327
2020-02-14T17:45:27
Main.java
import java.io.PrintWriter; import java.util.*; public class Main { PrintWriter out = new PrintWriter(System.out); final long mod = 1000000000+7; int maxn; long[] frac; long[] inv; public static void main(String[] args) { Main main = new Main(); System.out.println(main.solve())...
Main.java:31: error: ';' expected return kaijo(n)/(kaijo(k)*kaijo(n-k)) ^ Main.java:34: error: not a statement n==0 ? 1 : n * kaijo(n-1) ^ Main.java:34: error: ';' expected n==0 ? 1 : n * kaijo(n-1) ^ 3 er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u394113190|p02862|0
u394113190|p02862|0
codenet
Compile Error
797
v2_s413115836
s413115836
s413115836
p02862
p02862
u397604928
u397604928
1,591,251,405
2020-06-04T06:16:45
Main.java
public class Main { public static void main(String[] args) throws FileNotFoundException { // File file = new File("src/in.txt"); // Scanner sc = new Scanner(file); Scanner sc = new Scanner(System.in); int X = sc.nextInt(); int Y = sc.nextInt(); long p = 1000000007; int a = 2*X-Y...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws FileNotFoundException { ^ symbol: class FileNotFoundException location: class Main Main.java:7: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u397604928|p02862|0
u397604928|p02862|0
codenet
Compile Error
1,330
v2_s905239856
s905239856
s905239856
p02862
p02862
u406588655
u406588655
1,573,961,286
2019-11-17T03:28:06
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); long ans=1; int p; int s,u,v; if((x+y)%3==0){ u = (x+y)/3;//goukeikaisuu v = Math.abs(x-y);//sanokaisuu ...
Main.java:17: error: variable p might not have been initialized ans %= p; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406588655|p02862|0
u406588655|p02862|0
codenet
Compile Error
634
v2_s257611998
s257611998
s257611998
p02862
p02862
u465133507
u465133507
1,573,958,534
2019-11-17T02:42:14
Main.java
java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import java.util.function.BiFunction; import jav...
Main.java:1: error: class, interface, enum, or record expected java.io.IOException; ^ Main.java:2: error: class, interface, enum, or record expected import java.io.InputStream; ^ Main.java:3: error: class, interface, enum, or record expected import java.io.PrintWriter; ^ Main.java:4: error: class, interface, enum, or r...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u465133507|p02862|0
u465133507|p02862|0
codenet
Compile Error
12,439
v2_s834336444
s834336444
s834336444
p02862
p02862
u487433273
u487433273
1,573,962,115
2019-11-17T03:41:55
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(); int y = sc.nextInt(); if(x>=y){ int k = x - y; if((y-k)%3!=0) System.out.println(0); else{ int t = (y - k)/3; System.out.println(calcNumOfCombinatio...
Main.java:32: error: integer number too large num = (num * (n - i + 1) / i)%10000000007; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p02862|0
u487433273|p02862|0
codenet
Compile Error
721
v2_s548835431
s548835431
s548835431
p02862
p02862
u487433273
u487433273
1,573,965,799
2019-11-17T04:43:19
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(); int y = sc.nextInt(); int c[][] = new int [700005][700005]; int mod = 1000000007; c[0][0]=1; for(int i=0;i<700003;i++) { ...
Main.java:23: error: illegal start of expression System.out.println(c[2*t+k], [t]); ^ Main.java:23: error: ';' expected System.out.println(c[2*t+k], [t]); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p02862|0
u487433273|p02862|0
codenet
Compile Error
730
v2_s988775034
s988775034
s988775034
p02862
p02862
u487433273
u487433273
1,573,966,448
2019-11-17T04:54:08
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(); int y = sc.nextInt(); if(x<0||y<0||(y+x)%3!=0) System.out.println(0); else if(x>=y){ int k = x - y; int t = (y - k)/3; System.out.println(C(2*t+k,t...
Main.java:39: error: cannot find symbol ret = ret * Modulo.inv(imul, p) % p; ^ symbol: variable Modulo location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p02862|0
u487433273|p02862|0
codenet
Compile Error
798
v2_s702740877
s702740877
s702740877
p02862
p02862
u513960802
u513960802
1,573,969,031
2019-11-17T05:37:11
Main.java
import java.util.*; import static java.lang.Math.*; import java.math.BigInteger; public class Main implements Runnable { public static void main(String[] args){ Thread.setDefaultUncaughtExceptionHandler((t,e)->System.exit(1)); new Thread(null, new Main(), "", 16 * 1024 * 1024).start(); } publi...
Main.java:29: error: illegal character: '\u3000' ?System.gc(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u513960802|p02862|0
u513960802|p02862|0
codenet
Compile Error
1,387
v2_s192657179
s192657179
s192657179
p02862
p02862
u666990094
u666990094
1,573,973,584
2019-11-17T06:53:04
Main.java
import javafx.util.Pair; import java.math.BigInteger; import java.util.Scanner; import java.util.Stack; /** * @Author: Harry * @Date: 2019-11-16 * @Version 1.0 */ public class Main { static int arr[],t,n,arr2[]; // static int x[],y[]; static BigInteger mod = new BigInteger(String.valueOf(10000000...
Main.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ Main.java:80: error: cannot find symbol Stack<Pair<BigInteger,BigInteger>> stack = new Stack<>(); ^ symbol: class Pair location: class Main Main.java:82: error: cannot find symbol stac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u666990094|p02862|0
u666990094|p02862|0
codenet
Compile Error
3,844
v2_s968444546
s968444546
s968444546
p02862
p02862
u675751622
u675751622
1,573,961,995
2019-11-17T03:39:55
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = Integer.parseInt(sc.next()); int y = Integer.parseInt(sc.next()); int ans = 0; int tmpx = x; int tmpy = y; if((x % 3 == 0 && y % 3 == 0) || (x % 3 == 1 && y % 3 ==...
Main.java:36: error: incompatible types: possible lossy conversion from long to int return x * powAndMod(y, mod - 2) % mod; ^ Main.java:41: error: incompatible types: possible lossy conversion from long to int return (int)b == 0 ? 1 : b % 2 == 1 ? a * powAndMod(a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675751622|p02862|0
u675751622|p02862|0
codenet
Compile Error
1,167
v2_s281319307
s281319307
s281319307
p02862
p02862
u675751622
u675751622
1,573,997,739
2019-11-17T13:35:39
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = Integer.parseInt(sc.next()); int y = Integer.parseInt(sc.next()); long ans = 0; int tmpx = x; int tmpy = y; if((x % 3 == 0 && y % 3 == 0) || (x % 3 == 1 && y % 3 =...
Main.java:13: error: illegal start of expression while(tmpx > 0 && tmpy > 0)) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675751622|p02862|1
u675751622|p02862|1
codenet
Compile Error
1,338
v2_s240432154
s240432154
s240432154
p02862
p02862
u711620077
u711620077
1,574,037,400
2019-11-18T00:36:40
Main.java
import java.math.BigInteger; import java.util.*; public class Main { public static void main(String[] args) { // write your code here Scanner sc = new Scanner(System.in); long x = sc.nextLong(); long y = sc.nextLong(); long xySum = x + y; long ans = 0; if...
Main.java:38: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u711620077|p02862|0
u711620077|p02862|0
codenet
Compile Error
1,173
v2_s663338014
s663338014
s663338014
p02862
p02862
u916565298
u916565298
1,573,963,532
2019-11-17T04:05:32
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(); int y = sc.nextInt(); int d = 100000000 boolean ans = false; long a = 1; if(y>x) { int yy = y; y = x; x = yy; } if((double)x/y>2.0)...
Main.java:12: error: ';' expected int d = 100000000 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u916565298|p02862|0
u916565298|p02862|0
codenet
Compile Error
1,237
v2_s853613074
s853613074
s853613074
p02862
p02862
u964468944
u964468944
1,574,287,051
2019-11-20T21:57:31
Main.java
import java.util.*; public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int steps = (x * y) / 3; if ((X*y)% 3 != 0){ System.out.println("0"); }else{ System.out.println(steps % (pow(10, 9) + ...
Main.java:10: error: cannot find symbol if ((X*y)% 3 != 0){ ^ symbol: variable X location: class Main Main.java:13: error: cannot find symbol System.out.println(steps % (pow(10, 9) + 7)); ^ symbol: method pow(int,int) location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964468944|p02862|0
u964468944|p02862|0
codenet
Compile Error
336
v2_s344059237
s344059237
s344059237
p02862
p02862
u964468944
u964468944
1,574,287,071
2019-11-20T21:57:51
Main.java
import java.util.*; public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int steps = (x * y) / 3; if ((X*y)% 3 != 0){ System.out.println("0"); }else{ System.out.println(steps % (Math.pow(10, ...
Main.java:10: error: cannot find symbol if ((X*y)% 3 != 0){ ^ symbol: variable X location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964468944|p02862|0
u964468944|p02862|0
codenet
Compile Error
341
v2_s274541160
s274541160
s274541160
p02863
p02863
u589158532
u589158532
1,573,962,597
2019-11-17T03:49:57
Main.java
import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { public static void solve() { int n=s.nextInt(); finaltime=s.nextInt(); time_taken=new int[n]; del= new int[n]; for(int i =0...
Main.java:92: 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) Main.java:145: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u589158532|p02863|0
u589158532|p02863|0
codenet
Compile Error
3,009
v2_s206247816
s206247816
s206247816
p02863
p02863
u589158532
u589158532
1,573,962,665
2019-11-17T03:51:05
Main.java
import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { public static void solve() { int n=s.nextInt(); finaltime=s.nextInt(); time_taken=new int[n]; del= new int[n]; for(int i =0...
Main.java:92: 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) Main.java:145: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u589158532|p02863|0
u589158532|p02863|0
codenet
Compile Error
3,009
v2_s103045498
s103045498
s103045498
p02863
p02863
u795978684
u795978684
1,581,038,866
2020-02-07T01:27:46
Main.java
10 100 15 23 20 18 13 17 24 12 18 29 19 27 23 21 18 20 27 15 22 25
Main.java:1: error: class, interface, enum, or record expected 10 100 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u795978684|p02863|0
u795978684|p02863|0
codenet
Compile Error
66
v2_s581983350
s581983350
s581983350
p02865
p02865
u015418292
u015418292
1,578,900,069
2020-01-13T07:21:09
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); int cnt = 0; for(int i = 1; i<n/2; i++){ cnt++; } } System.out.println(cnt); } }
Main.java:12: error: <identifier> expected System.out.println(cnt); ^ Main.java:12: error: <identifier> expected System.out.println(cnt); ^ Main.java:15: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u015418292|p02865|0
u015418292|p02865|0
codenet
Compile Error
275
v2_s553214549
s553214549
s553214549
p02865
p02865
u295140952
u295140952
1,575,591,566
2019-12-06T00:19:26
Main.java
Scanner sc = new Scanner(System.in); int n = sc.nextInt(); System.out.print((n-1)/2);
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner sc = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:3: error: class, interface, enum, or record expected System.out.print((n-1)/2); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u295140952|p02865|0
u295140952|p02865|0
codenet
Compile Error
86
v2_s721904848
s721904848
s721904848
p02865
p02865
u295140952
u295140952
1,575,591,694
2019-12-06T00:21:34
Main.java
import java.io.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); System.out.print((n-1)/2); } }
Main.java:1: error: cannot find symbol import java.io.Scanner; ^ symbol: class Scanner location: package java.io 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 s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u295140952|p02865|0
u295140952|p02865|0
codenet
Compile Error
189
v2_s876183148
s876183148
s876183148
p02865
p02865
u301823240
u301823240
1,573,411,998
2019-11-10T18:53:18
Main.java
public main(String[] args){ int n = Integer.parseInt(args[0]); System.out.print((n + n%2) / 2 - 1); }
Main.java:1: error: class, interface, enum, or record expected public main(String[] args){ ^ Main.java:3: error: class, interface, enum, or record expected System.out.print((n + n%2) / 2 - 1); ^ Main.java:4: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u301823240|p02865|0
u301823240|p02865|0
codenet
Compile Error
105
v2_s914709429
s914709429
s914709429
p02865
p02865
u303741068
u303741068
1,573,352,804
2019-11-10T02:26:44
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String [] args) { FastReader fr = new FastReader(); int N = fr.nextInt(); if (N % 2 != 0) return N/2; return N/2 - 1; } } class Fa...
Main.java:10: error: incompatible types: unexpected return value if (N % 2 != 0) return N/2; ^ Main.java:11: error: incompatible types: unexpected return value return N/2 - 1; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u303741068|p02865|0
u303741068|p02865|0
codenet
Compile Error
1,089
v2_s762019115
s762019115
s762019115
p02865
p02865
u303741068
u303741068
1,573,352,941
2019-11-10T02:29:01
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String [] args) { FastReader fr = new FastReader(); int N = fr.nextInt(); if (N % 2 != 0) { N = N/2; } else { N = N/2...
Main.java:13: error: ';' expected N = N/2 - 1 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u303741068|p02865|0
u303741068|p02865|0
codenet
Compile Error
1,146
v2_s233861518
s233861518
s233861518
p02865
p02865
u424244734
u424244734
1,573,352,791
2019-11-10T02:26:31
Main.java
import java.util.Scanner; class Solution { public static void main(String [] args) { Scanner sc = new Scanner(System.in); Scanner sc = new Scanner(System.in); int N=sc.nextInt(); if(N%2==0) System.out.println ((N/2)-1); /*int count=0; HashMap<Integer> map = new HashMap<Integer>(); for(int i=1;i<N/...
Main.java:7: error: variable sc is already defined in method main(String[]) Scanner sc = new Scanner(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u424244734|p02865|0
u424244734|p02865|0
codenet
Compile Error
452
v2_s616809213
s616809213
s616809213
p02865
p02865
u431125128
u431125128
1,573,352,187
2019-11-10T02:16:27
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); final int N=sc.nextInt(); if(N%2==0){ System.out.println(N/2-1); }else{ System.ouy.println((N-1)/2-1); } } }
Main.java:10: error: cannot find symbol System.ouy.println((N-1)/2-1); ^ symbol: variable ouy location: class System 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u431125128|p02865|0
u431125128|p02865|0
codenet
Compile Error
265
v2_s023996383
s023996383
s023996383
p02865
p02865
u547167033
u547167033
1,573,853,473
2019-11-15T21:31:13
Main.java
import java util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); System.out.println((x-1)/2); } }
Main.java:1: error: '.' expected import java util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p02865|0
u547167033|p02865|0
codenet
Compile Error
186
v2_s942325118
s942325118
s942325118
p02865
p02865
u732034233
u732034233
1,575,063,365
2019-11-29T21:36:05
Main.java
import java.util.Scanner; public static void main(String[]orgs){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int a = 1; int b = 2; int count = 0; while(a<b){ //System.out.println(a+","+b); a++; b= n-a; count++; } System.out.println(count); }
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[]orgs){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u732034233|p02865|0
u732034233|p02865|0
codenet
Compile Error
285
v2_s464712154
s464712154
s464712154
p02865
p02865
u822621199
u822621199
1,573,352,763
2019-11-10T02:26:03
Main.java
public static void main(String[] args) { // TODO Auto-generated method stub int N = 1000000;//input int result = 0; if (N % 2 ==1) { result = (N - 1)/2; } else { result = N/2 -1; } System.out.println("input N is "+N+" , then the result is " +result); }
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
u822621199|p02865|0
u822621199|p02865|0
codenet
Compile Error
276
v2_s592378551
s592378551
s592378551
p02865
p02865
u845442981
u845442981
1,573,351,338
2019-11-10T02:02:18
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); if (n % 2 == 1) { System.out.println(n / 2); } else { System.out.println((n - 2) / 2); } } }
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
u845442981|p02865|0
u845442981|p02865|0
codenet
Compile Error
288
v2_s286387768
s286387768
s286387768
p02865
p02865
u855192343
u855192343
1,573,744,913
2019-11-14T15:21:53
Solution.java
public class Solution { public static void main(String[] args) { Scanner in = new Scanner(System.in); int N = in.nextInt(); System.out.println((N - 1) >> 1); } }
Solution.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Solution Solution.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Solution 2...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u855192343|p02865|0
u855192343|p02865|0
codenet
Compile Error
193
v2_s394446876
s394446876
s394446876
p02865
p02865
u855192343
u855192343
1,573,744,955
2019-11-14T15:22:35
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int N = in.nextInt(); System.out.println((N - 1) >> 1); } }
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
u855192343|p02865|0
u855192343|p02865|0
codenet
Compile Error
189
v2_s753791854
s753791854
s753791854
p02865
p02865
u956994792
u956994792
1,573,356,448
2019-11-10T03:27:28
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); double n = sc.nextInt(); System.out.println((int)round((n-2) / 2,0)); } public static double round(double a,int place) { //使い方: ans\\2500.035 = rd(2500.035148,3) double ans; int k = (int)Math.round(...
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
u956994792|p02865|0
u956994792|p02865|0
codenet
Compile Error
411
v2_s258716443
s258716443
s258716443
p02865
p02865
u956994792
u956994792
1,573,356,511
2019-11-10T03:28:31
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double n = sc.nextInt(); System.out.println((int)round((n-2) / 2,0)); } public static double round(double a,int place) { double ans; int k = (int)Math.round(a * Math.pow(10,place)); ans = k / Math.pow...
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u956994792|p02865|0
u956994792|p02865|0
codenet
Compile Error
354
v2_s095842702
s095842702
s095842702
p02865
p02865
u956994792
u956994792
1,573,356,586
2019-11-10T03:29:46
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); double n =a; System.out.println((int)round((n-2) / 2,0)); } public static double round(double a,int place) { //使い方: ans\\2500.035 = rd(2500.035148,3) double ans; int k = (int)Mat...
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
u956994792|p02865|0
u956994792|p02865|0
codenet
Compile Error
420
v2_s439948390
s439948390
s439948390
p02865
p02865
u956994792
u956994792
1,573,356,665
2019-11-10T03:31:05
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); double n =a; System.out.println(Math.round((n-2) / 2)); } }
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
u956994792|p02865|0
u956994792|p02865|0
codenet
Compile Error
194
v2_s672975396
s672975396
s672975396
p02865
p02865
u956994792
u956994792
1,573,358,114
2019-11-10T03:55:14
Main.java
import math n = input() print(math.ceil((int(n)-2)/2))
Main.java:1: error: '.' expected import math ^ Main.java:2: error: ';' expected n = input() ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u956994792|p02865|0
u956994792|p02865|0
codenet
Compile Error
54
v2_s537460989
s537460989
s537460989
p02866
p02866
u006717664
u006717664
1,597,111,527
2020-08-11T02:05:27
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ boolean flag=false; Scanner scan=new Scanner(System.in); String s; s=scan.next(); int n=Integer.parseInt(s); int d[]=new int[n+10]; int mx=0,a; for(int i=0;i<n;i++)d[i]=0; for(int i=0;i<n;i++){ s=scan.next(); ...
Main.java:28: error: cannot find symbol if(d[i-1]==0)ans=0; ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u006717664|p02866|0
u006717664|p02866|0
codenet
Compile Error
997
v2_s493746675
s493746675
s493746675
p02866
p02866
u111285482
u111285482
1,592,163,579
2020-06-14T19:39:39
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.InputMismatchException; public class Main { public static void main(String[] args) { Task task = new Task(); task.solve(); } public static class Task { static final long MOD = (long) 998244353; public void solve() { Scan sc = new...
Main.java:74: error: cannot find symbol in = new FileInputStream("files/in13.txt"); ^ symbol: class FileInputStream location: class Scan Main.java:75: error: cannot find symbol } catch (FileNotFoundException e) { ^ symbol: class FileNotFoundException location: class Scan 2 er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u111285482|p02866|0
u111285482|p02866|0
codenet
Compile Error
3,530
v2_s697316799
s697316799
s697316799
p02866
p02866
u163308921
u163308921
1,573,430,177
2019-11-10T23:56:17
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 D[] = new int[N]; int counter[] = new int[N]; for(int i=0; i < N; i++) { D[i] = sc.nextInt(); counter[...
Main.java:16: error: illegal character: '\u3000' if(D[0] != 0?|| counter[0] >= 2){ ^ Main.java:16: error: not a statement if(D[0] != 0?|| counter[0] >= 2){ ^ Main.java:16: error: ';' expected if(D[0] != 0?|| counter[0] >= 2){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u163308921|p02866|1
u163308921|p02866|1
codenet
Compile Error
774
v2_s312852188
s312852188
s312852188
p02866
p02866
u190751313
u190751313
1,573,358,355
2019-11-10T03:59:15
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int D = new int[N]; for(int i = 0;i < N;i++){ D[i] = sc.nextInt(); } System.out.println(0); } }
Main.java:7: error: incompatible types: int[] cannot be converted to int int D = new int[N]; ^ Main.java:9: error: array required, but int found D[i] = sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u190751313|p02866|0
u190751313|p02866|0
codenet
Compile Error
266
v2_s851853418
s851853418
s851853418
p02866
p02866
u198062737
u198062737
1,586,201,932
2020-04-06T19:38:52
Main.java
N = int(input()) D = list(map(int, input().split(" "))) mod = 998244353 count = [0 for i in range(N)] for i in range(N): count[D[i]] += 1 max_dist = max(D) ans = count[0] for i in range(1, max_dist + 1): ans *= (count[i - 1] ** count[i]) % mod ans %= mod if count[0] > 1 and D[0] == 0: ans = 0 print(...
Main.java:1: error: class, interface, enum, or record expected N = int(input()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u198062737|p02866|0
u198062737|p02866|0
codenet
Compile Error
336
v2_s836980643
s836980643
s836980643
p02866
p02866
u519838826
u519838826
1,573,357,628
2019-11-10T03:47:08
Main.java
public class Main { static Scanner sc = new Scanner(System.in); static PrintWriter out = new PrintWriter(System.out); public static void main(String[] args) { int n = nextInt(); int[] d = new int[n]; int[] dummy = new int[n]; int max = 0; for(int i = 0; i < n; i++){...
Main.java:3: error: cannot find symbol static Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol static PrintWriter out = new PrintWriter(System.out); ^ symbol: class PrintWriter location: class Main Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u519838826|p02866|0
u519838826|p02866|0
codenet
Compile Error
1,267
v2_s374442953
s374442953
s374442953
p02866
p02866
u653013798
u653013798
1,573,356,183
2019-11-10T03:23:03
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] d = new int[n]; d[0] = sc.nextInt(); if(d[0]!=0){ System.out.println(0); } else{ for(int i=1; i<n; i++){ d[i] = sc.nextInt(); } ...
Main.java:29: error: incompatible types: possible lossy conversion from long to int ans = ans*Factorial(cnt)*Factorial(ans); ^ Main.java:37: error: incompatible types: possible lossy conversion from long to int return ans%998244353; ^ Note: Some messa...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653013798|p02866|0
u653013798|p02866|0
codenet
Compile Error
938
v2_s571618019
s571618019
s571618019
p02866
p02866
u794250528
u794250528
1,573,353,587
2019-11-10T02:39:47
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.Arrays; import java.util.regex.Pattern; public class Main { public void solve(BufferedReader stdin, PrintWriter stdout) throws NumberFormatException, IOException { int n...
Main.java:58: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u794250528|p02866|0
u794250528|p02866|0
codenet
Compile Error
1,631
v2_s731670494
s731670494
s731670494
p02866
p02866
u814169215
u814169215
1,573,352,150
2019-11-10T02:15:50
Main.java
import java.util.Scanner; public class B { public static long MOD = 998244353; public static void main(String... args) { final Scanner sc = new Scanner(System.in); final int N = sc.nextInt(); final int[] D = new int[N]; for (int i = 0; i < N; i++) D[i] = sc.nextInt(...
Main.java:3: error: class B is public, should be declared in a file named B.java public class B { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814169215|p02866|0
u814169215|p02866|0
codenet
Compile Error
875
v2_s953596002
s953596002
s953596002
p02866
p02866
u867534917
u867534917
1,573,360,887
2019-11-10T04:41:27
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { new Main().run(); } private void run() { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); // int[] D = new int[N]; long[] A = new long[10000000]; long m...
Main.java:37: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867534917|p02866|0
u867534917|p02866|0
codenet
Compile Error
956
v2_s108208472
s108208472
s108208472
p02866
p02866
u931807696
u931807696
1,573,530,837
2019-11-12T03:53:57
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main{ public static void main(String[] args){ int count = 0; long[] input = null; long[] box = null; BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(Sys...
Main.java:15: error: incompatible types: possible lossy conversion from long to int count = Long.parseLong(str); ^ Main.java:21: error: incompatible types: possible lossy conversion from long to int input[c] = a; ^ Main.java:22: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u931807696|p02866|2
u931807696|p02866|1
codenet
Compile Error
1,256
v2_s965581913
s965581913
s965581913
p02867
p02867
u160281075
u160281075
1,573,358,382
2019-11-10T03:59:42
Main.java
(՞ةڼ◔)
Main.java:1: error: class, interface, enum, or record expected (????) ^ Main.java:1: error: illegal character: '\u055e' (????) ^ Main.java:1: error: illegal character: '\u25d4' (????) ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u160281075|p02867|0
u160281075|p02867|0
codenet
Compile Error
11
v2_s779385368
s779385368
s779385368
p02867
p02867
u227307124
u227307124
1,573,477,215
2019-11-11T13:00:15
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { FastScanner scanner = new FastScanner(); PrintWriter out = new PrintWriter(System.out, false); int n = scanner.nextInt(); int[] a = new int[n], aa = new int[n], b = new int[n], bb = ne...
Main.java:104: error: ';' expected stimport java.util.*; ^ Main.java:104: error: <identifier> expected stimport java.util.*; ^ Main.java:104: error: illegal start of expression stimport java.util.*; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u227307124|p02867|0
u227307124|p02867|0
codenet
Compile Error
6,175
v2_s736036824
s736036824
s736036824
p02867
p02867
u303741068
u303741068
1,573,355,460
2019-11-10T03:11:00
Main.java
public class Main { public boolean solve() { FastReader fr = new FastReader(); int N = fr.nextInt(); int [] A = new int[N]; int [] B = new int[N]; for (int i = 0; i < N; i++) { A[i] = fr.nextInt(); } for (int i = 0; i < N; i++) { B[i] = fr.nextInt(); } Arrays.sort(A); ...
Main.java:29: error: cannot find symbol BufferedReader br; ^ symbol: class BufferedReader location: class FastReader Main.java:30: error: cannot find symbol StringTokenizer st; ^ symbol: class StringTokenizer location: class FastReader Main.java:14: error: cannot find symbol Arrays.sort(A); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u303741068|p02867|0
u303741068|p02867|0
codenet
Compile Error
1,331
v2_s783268153
s783268153
s783268153
p02867
p02867
u476482490
u476482490
1,573,358,213
2019-11-10T03:56:53
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(final String[] args) { final Scanner scanner = new Scanner(System.in); final int n = scanner.nextInt(); final int[] a = new int[n]; for (int i = 0; i < n; i++) { a[i] = scanne...
Main.java:19: error: cannot find symbol if(count > n-2){ ^ symbol: variable count location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u476482490|p02867|0
u476482490|p02867|0
codenet
Compile Error
819