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_s072884583
s072884583
s072884583
p02658
p02658
u523115706
u523115706
1,595,087,559
2020-07-18T15:52:39
Main.java
import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); BigInteger product = new BigInteger.ONE; BigInteger limit = new BigInteger("10^18"); for (int i = 1, i <= N; ...
Main.java:10: error: '(' or '[' expected BigInteger product = new BigInteger.ONE; ^ Main.java:13: error: ';' expected for (int i = 1, i <= N; i++) { ^ Main.java:13: error: illegal start of expression for (int i = 1, i <= N; i++) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u523115706|p02658|1
u523115706|p02658|1
codenet
Compile Error
563
v2_s767369698
s767369698
s767369698
p02658
p02658
u523115706
u523115706
1,595,087,626
2020-07-18T15:53:46
Main.java
import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); BigInteger product = new BigInteger("1"); BigInteger limit = new BigInteger("10^18"); for (int i = 1; i <= N;...
Main.java:15: error: cannot find symbol product = product.multiply(BigInteger.valueof(A_i)); ^ symbol: method valueof(int) location: class BigInteger 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u523115706|p02658|1
u523115706|p02658|1
codenet
Compile Error
564
v2_s981193795
s981193795
s981193795
p02658
p02658
u523115706
u523115706
1,595,089,651
2020-07-18T16:27:31
Main.java
import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long N = scan.nextLong(); long limit = (long) Math.pow(10,18); BigInteger product = new BigInteger("1"); for (int i = 1; i <= N; i...
Main.java:17: error: incompatible types: long cannot be converted to boolean if (A_i = 0) { ^ Main.java:22: error: incompatible types: long cannot be converted to BigInteger if (product.compareTo(limit) > 0) { ^ Main.java:28: error: cannot find symbol produc...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u523115706|p02658|1
u523115706|p02658|1
codenet
Compile Error
689
v2_s915542497
s915542497
s915542497
p02658
p02658
u523115706
u523115706
1,595,089,797
2020-07-18T16:29:57
Main.java
import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long N = scan.nextLong(); long limit = (long) Math.pow(10,18); BigInteger product = new BigInteger("1"); for (int i = 1; i <= N; i...
Main.java:22: error: incompatible types: long cannot be converted to BigInteger if (product.compareTo(limit) > 0) { ^ Main.java:28: error: cannot find symbol product = product.multiply(BigIntger.valueOf(A_i)); ^ symbol: variable BigIntger ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u523115706|p02658|1
u523115706|p02658|1
codenet
Compile Error
691
v2_s496635269
s496635269
s496635269
p02658
p02658
u529219288
u529219288
1,590,974,247
2020-06-01T01:17:27
Main.java
import java.io.*; import java.math.BigInteger; import java.util.*; public class Main { public static void main(String[] args) throws Exception { FastScanner sc = new FastScanner(System.in); PrintWriter out = new PrintWriter(System.out); int n = sc.nextInt(); long result = 1; ...
Main.java:17: error: ';' expected if(result > x) out.println("-1"){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u529219288|p02658|0
u529219288|p02658|0
codenet
Compile Error
1,892
v2_s003131595
s003131595
s003131595
p02658
p02658
u547671064
u547671064
1,590,973,528
2020-06-01T01:05:28
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+1]; A[0]=1;longl; for(int i=1;i<N+1;i++){ l =sc.nextLong(); A[i]=A[i-1]*l; if(A[i]>=1000000000000000000){System.out.println(-...
Main.java:7: error: not a statement A[0]=1;longl; ^ Main.java:11: error: integer number too large if(A[i]>=1000000000000000000){System.out.println(-1);System.exit(0);}} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02658|0
u547671064|p02658|0
codenet
Compile Error
376
v2_s110590419
s110590419
s110590419
p02658
p02658
u547671064
u547671064
1,590,981,144
2020-06-01T03:12:24
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); long A =sc.nextLong(); String B =sc.next(); String b[] =B.split("",0); if(b[2].equals(0)){long D =Integer.parseInt(b[3]);} else{long D =Integer.parseInt(b[2]+b[3]);} long E =A...
Main.java:10: error: cannot find symbol long E =A*D; ^ symbol: variable D location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02658|0
u547671064|p02658|0
codenet
Compile Error
376
v2_s234286388
s234286388
s234286388
p02658
p02658
u550824363
u550824363
1,591,195,863
2020-06-03T14:51:03
Main.java
import java.util.*; public class Main { public static void main (String[] args){ Scaneer sc = new Scanner(System.in) int n = sc.nextInt(); for (n; n != 0; n--){ int a = sc.nextInt(); if (a != 0) { } else { System.out.prinln(-1); } } } }
Main.java:4: error: ';' expected Scaneer sc = new Scanner(System.in) ^ Main.java:6: error: not a statement for (n; n != 0; n--){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u550824363|p02658|0
u550824363|p02658|0
codenet
Compile Error
286
v2_s843724443
s843724443
s843724443
p02658
p02658
u550824363
u550824363
1,591,195,925
2020-06-03T14:52:05
Main.java
import java.util.*; public class Main { public static void main (String[] args){ Scaneer sc = new Scanner(System.in); int n = sc.nextInt(); for (; n != 0; n--){ int a = sc.nextInt(); if (a != 0) { int b = sc.nextInt a*b = a } else { System.out.prinln(-1); } } ...
Main.java:9: error: ';' expected int b = sc.nextInt ^ Main.java:10: error: ';' expected a*b = a ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u550824363|p02658|0
u550824363|p02658|0
codenet
Compile Error
325
v2_s920972380
s920972380
s920972380
p02658
p02658
u550824363
u550824363
1,591,195,960
2020-06-03T14:52:40
Main.java
import java.util.*; public class Main { public static void main (String[] args){ Scaneer sc = new Scanner(System.in); int n = sc.nextInt(); for (; n != 0; n--){ int a = sc.nextInt(); if (a != 0) { int b = sc.nextInt; a*b = a; } else { System.out.prinln(-1); } ...
Main.java:4: error: cannot find symbol Scaneer sc = new Scanner(System.in); ^ symbol: class Scaneer location: class Main Main.java:10: error: unexpected type a*b = a; ^ required: variable found: value Main.java:13: error: cannot find symbol System.out.prinln(-1); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u550824363|p02658|0
u550824363|p02658|0
codenet
Compile Error
327
v2_s322807866
s322807866
s322807866
p02658
p02658
u550824363
u550824363
1,591,385,791
2020-06-05T19:36: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(); for (; n != 0; n--){ int a = sc.nextInt(); if (a != 0) { int b = sc.nextInt; a = a*b } else { System.out.println(-1); } } ...
Main.java:10: error: ';' expected a = a*b ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u550824363|p02658|1
u550824363|p02658|1
codenet
Compile Error
324
v2_s158579481
s158579481
s158579481
p02658
p02658
u550824363
u550824363
1,591,385,833
2020-06-05T19:37:13
Main.java
import java.util.*; public class Main { public static void main (String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for (; n != 0; n--){ int a = sc.nextInt(); if (a != 0) { int b = sc.nextInt; a = a*b; } else { System.out.println(-1); } } ...
Main.java:9: error: cannot find symbol int b = sc.nextInt; ^ symbol: variable nextInt location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u550824363|p02658|1
u550824363|p02658|1
codenet
Compile Error
325
v2_s993096718
s993096718
s993096718
p02658
p02658
u550824363
u550824363
1,591,385,994
2020-06-05T19:39:54
Main.java
import java.util.*; public class Main { public static void main (String[] args){ Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); for (; n != 0; n--){ int a = scanner.nextInt(); if (a != 0) { int b = scanner.nextInt; a = a*b; } else { System.out.printl...
Main.java:9: error: cannot find symbol int b = scanner.nextInt; ^ symbol: variable nextInt location: variable scanner of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u550824363|p02658|1
u550824363|p02658|1
codenet
Compile Error
345
v2_s457100247
s457100247
s457100247
p02658
p02658
u550824363
u550824363
1,591,386,095
2020-06-05T19:41:35
Main.java
import java.util.*; public class Main { public static void main (String[] args){ Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); for (; n != 0; n--){ int a = scanner.nextInt(); if (a != 0) { int b = scanner.nextInt(); int a = a*b; } else { System.out....
Main.java:10: error: variable a is already defined in method main(String[]) int a = a*b; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u550824363|p02658|1
u550824363|p02658|1
codenet
Compile Error
351
v2_s150187798
s150187798
s150187798
p02658
p02658
u553158652
u553158652
1,592,166,738
2020-06-14T20:32:18
Main.java
import java.util.*; import java.io.*; iport java.lang.*; class Main{ public static void main(String []args) { Scanner sc = new Scanner(System.in); long A=sc.nextInt(); long B=sc.nextInt(); if((A*B)>MAth.pow(10,18)) System.out.println(-1); else System.out.println(A*B); } }
Main.java:3: error: class, interface, enum, or record expected iport java.lang.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u553158652|p02658|0
u553158652|p02658|0
codenet
Compile Error
315
v2_s743729763
s743729763
s743729763
p02658
p02658
u553158652
u553158652
1,592,166,803
2020-06-14T20:33:23
Main.java
import java.util.*; import java.io.*; import java.lang.*; class Main{ public static void main(String []args) { Scanner sc = new Scanner(System.in); long A=sc.nextInt(); long B=sc.nextInt(); if((A*B)>MAth.pow(10,18)) System.out.println(-1); else System.out.println(A*B); } }
Main.java:10: error: cannot find symbol if((A*B)>MAth.pow(10,18)) ^ symbol: variable MAth location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u553158652|p02658|0
u553158652|p02658|0
codenet
Compile Error
316
v2_s094582174
s094582174
s094582174
p02658
p02658
u553158652
u553158652
1,592,166,829
2020-06-14T20:33:49
Main.java
import java.util.*; import java.io.*; iport java.lang.*; class Main{ public static void main(String []args) { Scanner sc = new Scanner(System.in); long A=sc.nextInt(); long B=sc.nextInt(); if((A*B)>Math.pow(10,18)) System.out.println(-1); else System.out.println(A*B); } }
Main.java:3: error: class, interface, enum, or record expected iport java.lang.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u553158652|p02658|0
u553158652|p02658|0
codenet
Compile Error
315
v2_s741483384
s741483384
s741483384
p02658
p02658
u557698358
u557698358
1,591,846,150
2020-06-11T03:29:10
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { int val; Scanner s = new Scanner(System.in); val = scan.nextInt(); long sum = 0; for( int i = 0;i<val;i++) { sum += scan.nextLong(); if( sum < 0 ) { sum = -1; break; }...
Main.java:9: error: cannot find symbol val = scan.nextInt(); ^ symbol: variable scan location: class Main Main.java:14: error: cannot find symbol sum += scan.nextLong(); ^ symbol: variable scan location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u557698358|p02658|0
u557698358|p02658|0
codenet
Compile Error
361
v2_s216791671
s216791671
s216791671
p02658
p02658
u557698358
u557698358
1,591,846,300
2020-06-11T03:31:40
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { int val; Scanner s = new Scanner(System.in); val = s.nextInt(); long sum = 1; for( int i = 0;i<val;i++) { sum *= s.nextLong(); if( sum < 0 || sum >= 1000000000000000000 ) { sum = -1;...
Main.java:15: error: integer number too large if( sum < 0 || sum >= 1000000000000000000 ) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u557698358|p02658|0
u557698358|p02658|0
codenet
Compile Error
384
v2_s026292135
s026292135
s026292135
p02658
p02658
u571785964
u571785964
1,590,974,726
2020-06-01T01:25:26
Code.java
import org.omg.PortableInterceptor.INACTIVE; import java.math.*; import java.io.*; import java.util.*; import java.lang.*; //solution classes here public class Code { //main solution here static Scanner sc = new Scanner(System.in); static PrintWriter out = new PrintWriter(System.out); static long m...
Code.java:1: error: package org.omg.PortableInterceptor does not exist import org.omg.PortableInterceptor.INACTIVE; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u571785964|p02658|0
u571785964|p02658|0
codenet
Compile Error
4,139
v2_s470596213
s470596213
s470596213
p02658
p02658
u571785964
u571785964
1,590,974,754
2020-06-01T01:25:54
Main.java
import org.omg.PortableInterceptor.INACTIVE; import java.math.*; import java.io.*; import java.util.*; import java.lang.*; //solution classes here public class Main { //main solution here static Scanner sc = new Scanner(System.in); static PrintWriter out = new PrintWriter(System.out); static long m...
Main.java:1: error: package org.omg.PortableInterceptor does not exist import org.omg.PortableInterceptor.INACTIVE; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u571785964|p02658|0
u571785964|p02658|0
codenet
Compile Error
4,139
v2_s522573264
s522573264
s522573264
p02658
p02658
u573483192
u573483192
1,590,979,230
2020-06-01T02:40:30
Main.java
n=int(input()) x = list(map(int, input().split())) val=1 length=range(n) zflag=0 flag=0 for i in length: if x[i]==0: zflag=1; if zflag==1: print(0) else: for i in length: val=val*x[i]; if val>1000000000000000000: print(-1) flag=1 break if flag=...
Main.java:1: error: class, interface, enum, or record expected n=int(input()) ^ Main.java:10: error: class, interface, enum, or record expected if zflag==1: ^ Main.java:15: error: class, interface, enum, or record expected if val>1000000000000000000: ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u573483192|p02658|0
u573483192|p02658|0
codenet
Compile Error
342
v2_s323567601
s323567601
s323567601
p02658
p02658
u579344635
u579344635
1,590,979,193
2020-06-01T02:39:53
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner a = new Scanner(System.in); int N = a.nextInt(); long sum = 1; long B = 0; long AA1 = (long)Math.pow(10, 18); long AA = 1000000000000000000L; for(int i = 0; i < N; i++) { B = a.nextLong(); sum *= B; ...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579344635|p02658|0
u579344635|p02658|0
codenet
Compile Error
410
v2_s333741416
s333741416
s333741416
p02658
p02658
u583294876
u583294876
1,599,772,471
2020-09-10T21:14:31
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); long mul = 1; boolean flag = true; ArrayList<Long> array = new ArrayList<Long>(); for(int i = 0;i < num;i++){ array.add(sc.nextLong()); } C...
Main.java:16: error: integer number too large if(1000000000000000000 < mul){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u583294876|p02658|0
u583294876|p02658|0
codenet
Compile Error
575
v2_s905436483
s905436483
s905436483
p02658
p02658
u587100042
u587100042
1,590,973,397
2020-06-01T01:03:17
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 sum=0,f=0; for(int i=0;i<n;i++){ a[i]=sc.nextLong(); sum*=a[i]; if(sum>1000000000000000000){ System.out.pri...
Main.java:13: error: integer number too large if(sum>1000000000000000000){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p02658|0
u587100042|p02658|0
codenet
Compile Error
415
v2_s355882746
s355882746
s355882746
p02658
p02658
u587100042
u587100042
1,590,973,611
2020-06-01T01:06:51
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 sum=0,f=0; for(int i=0;i<n;i++){ a[i]=sc.nextLong(); sum*=a[i]; if(sum>Math.pow(10,18)){ System.out.println...
Main.java:19: error: package Systeml does not exist Systeml.out.println(sum); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p02658|0
u587100042|p02658|0
codenet
Compile Error
411
v2_s727848148
s727848148
s727848148
p02658
p02658
u587100042
u587100042
1,590,978,330
2020-06-01T02:25:30
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 sum=1,f=0; try{ for(int i=0;i<n;i++){ a[i]=sc.nextLong(); sum*=a[i]; } if(sum>(long)Math.pow(10,18)...
Main.java:21: error: <identifier> expected }catch(OverflowException){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p02658|0
u587100042|p02658|0
codenet
Compile Error
493
v2_s604113295
s604113295
s604113295
p02658
p02658
u591547748
u591547748
1,593,707,951
2020-07-02T16:39:11
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); long long nums[] = new long long[num]; long long ans = 1; boolean con = true; for(int i = 0;i < num && con; i++) { ans *= sc....
Main.java:7: error: not a statement long long nums[] = new long long[num]; ^ Main.java:7: error: ';' expected long long nums[] = new long long[num]; ^ Main.java:7: error: '[' expected long long nums[] = new long long[num]; ^ Main.java:7: error: ']...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u591547748|p02658|0
u591547748|p02658|0
codenet
Compile Error
487
v2_s208209664
s208209664
s208209664
p02658
p02658
u601075359
u601075359
1,590,976,062
2020-06-01T01:47:42
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args){ long n = Long.parseLong(read()); String str = read(); String[] stra = str.split(" ", 0); long result = 1; int aa; for(int i=0; i<n; i++){ if((aa = Long.pars...
Main.java:14: error: incompatible types: possible lossy conversion from long to int if((aa = Long.parseLong(stra[i]))==0){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u601075359|p02658|0
u601075359|p02658|0
codenet
Compile Error
828
v2_s216864820
s216864820
s216864820
p02658
p02658
u607776962
u607776962
1,590,973,393
2020-06-01T01:03:13
Main.java
/****************************************************************************** Online Java Compiler. Code, Compile, Run and Debug java program online. Write your code in this editor and press "Run" button to execute it. *****************************************************...
Main.java:17: error: integer number too large long max=1000000000000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u607776962|p02658|0
u607776962|p02658|0
codenet
Compile Error
738
v2_s505337456
s505337456
s505337456
p02658
p02658
u607970458
u607970458
1,592,778,312
2020-06-21T22:25:12
Main.java
import java.util.Scanner; public class Main { public static final double max = Math.pow(10,18); public static void main(String[] args) { Scanner sc = new Scanner(System.in); int count = Integer.parseInt(sc.next()); double result = 1; for (int i=0;i<count; i::) { double next...
Main.java:10: error: <identifier> expected for (int i=0;i<count; i::) { ^ Main.java:10: error: not a statement for (int i=0;i<count; i::) { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u607970458|p02658|0
u607970458|p02658|0
codenet
Compile Error
569
v2_s424971723
s424971723
s424971723
p02658
p02658
u607970458
u607970458
1,592,784,241
2020-06-22T00:04:01
Main.java
import java.util.Scanner; public class Main { public static final BigDecimal max = BigDecimal.valueOf(Math.pow(10,18)); public static void main(String[] args) { Scanner sc = new Scanner(System.in); sc.nextInt(); BigDecimal result = BigDecimal.ONE; while (sc.hasNextLong()) { Bi...
Main.java:3: error: cannot find symbol public static final BigDecimal max = BigDecimal.valueOf(Math.pow(10,18)); ^ symbol: class BigDecimal location: class Main Main.java:3: error: cannot find symbol public static final BigDecimal max = BigDecimal.valueOf(Math.pow(10,18)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u607970458|p02658|0
u607970458|p02658|0
codenet
Compile Error
577
v2_s163083964
s163083964
s163083964
p02658
p02658
u607970458
u607970458
1,592,784,800
2020-06-22T00:13:20
Main.java
import java.util.Scanner; import java.math.BigDecimal; public class Main { public static final BigDecimal max = BigDecimal.valueOf(Math.pow(10,18)); public static void main(String[] args) { Scanner sc = new Scanner(System.in); sc.nextInt(); BigDecimal result = BigDecimal.ONE; while (sc....
Main.java:17: error: cannot find symbol System.out.println(Sresult.toString()); ^ symbol: variable Sresult location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u607970458|p02658|0
u607970458|p02658|0
codenet
Compile Error
604
v2_s453068047
s453068047
s453068047
p02658
p02658
u607970458
u607970458
1,592,785,943
2020-06-22T00:32:23
Main.java
import java.util.Scanner; import java.math.BigDecimal; public class Main { public static final BigDecimal max = BigDecimal.valueOf(Math.pow(10,18)); public static void main(String[] args) { Scanner sc = new Scanner(System.in); sc.next(); BigDecimal result = BigDecimal.ONE; while (sc.has...
Main.java:11: error: ';' expected BigDecimal next = new BigDecimal(sc.next()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u607970458|p02658|0
u607970458|p02658|0
codenet
Compile Error
722
v2_s791473676
s791473676
s791473676
p02658
p02658
u607970458
u607970458
1,592,798,636
2020-06-22T04:03:56
Main.java
import java.util.Scanner; import java.math.BigDecimal; import java.util.List; import java.util.ArrayList; public class Main { public static final long max = (long)Math.pow(10,18); public static void main(String[] args) { Scanner sc = new Scanner(System.in); sc.next(); List<Long> longList = new ArrayLis...
Main.java:32: error: ';' expected }) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u607970458|p02658|1
u607970458|p02658|0
codenet
Compile Error
846
v2_s330889577
s330889577
s330889577
p02658
p02658
u607970458
u607970458
1,592,798,758
2020-06-22T04:05:58
Main.java
import java.util.Scanner; import java.math.BigDecimal; import java.util.List; import java.util.ArrayList; public class Main { public static final long max = (long)Math.pow(10,18); public static void main(String[] args) { Scanner sc = new Scanner(System.in); sc.next(); List<Long> longList = new ArrayLis...
Main.java:27: error: local variables referenced from a lambda expression must be final or effectively final result = result * v; ^ Main.java:27: error: local variables referenced from a lambda expression must be final or effectively final result = result * v; ^ Main.java:28: error: loca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u607970458|p02658|1
u607970458|p02658|0
codenet
Compile Error
847
v2_s513529482
s513529482
s513529482
p02658
p02658
u607970458
u607970458
1,592,798,837
2020-06-22T04:07:17
Main.java
import java.util.Scanner; import java.math.BigDecimal; import java.util.List; import java.util.ArrayList; public class Main { public static final long max = (long)Math.pow(10,18); public static void main(String[] args) { Scanner sc = new Scanner(System.in); sc.next(); List<Long> longList = new ArrayLis...
Main.java:27: error: local variables referenced from a lambda expression must be final or effectively final result = result * v; ^ Main.java:27: error: local variables referenced from a lambda expression must be final or effectively final result = result * v; ^ Main.java:28: error: loca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u607970458|p02658|1
u607970458|p02658|0
codenet
Compile Error
847
v2_s601443437
s601443437
s601443437
p02658
p02658
u620353602
u620353602
1,591,791,335
2020-06-10T12:15:35
Main.java
import java.util.Scanner; public class Main { public static void Main(String[] args){ Scanner scanner = new Scanner(System.in); int factors = scanner.nextInt(); long result = 1l; for(int i = 0; i < factors; i++) result *= scanner.nextLong; if(result > Math.pow(10, 18) || result...
Main.java:10: error: illegal character: '\u00a0' if(result > Math.pow(10, 18) ||?result < 0){ ^ Main.java:10: error: illegal start of type if(result > Math.pow(10, 18) ||?result < 0){ ^ Main.java:10: error: not a stateme...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620353602|p02658|0
u620353602|p02658|0
codenet
Compile Error
395
v2_s658951257
s658951257
s658951257
p02658
p02658
u620353602
u620353602
1,591,791,428
2020-06-10T12:17:08
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int factors = scanner.nextInt(); long result = 1l; for(int i = 0; i < factors; i++) result *= scanner.nextLong(); if(result > Math.pow(10, 18) || resu...
Main.java:10: error: illegal character: '\u00a0' if(result > Math.pow(10, 18) ||?result < 0){ ^ Main.java:10: error: illegal start of type if(result > Math.pow(10, 18) ||?result < 0){ ^ Main.java:10: error: not a stateme...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620353602|p02658|0
u620353602|p02658|0
codenet
Compile Error
397
v2_s731915989
s731915989
s731915989
p02658
p02658
u628609705
u628609705
1,590,973,462
2020-06-01T01:04:22
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long a = scan.nextLong(); long b = scan.nextLong(); long m = a*b; if(m<1000000000000000000) System.out.println(-1); else System.out.println(a...
Main.java:12: error: integer number too large if(m<1000000000000000000) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u628609705|p02658|0
u628609705|p02658|0
codenet
Compile Error
330
v2_s279919448
s279919448
s279919448
p02658
p02658
u653981267
u653981267
1,591,140,586
2020-06-02T23:29: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 ans = 1; for(int i = 0; i < n; i++) { long a = sc.nextLong(); if(a == 0) { ans = 0; } else { if(ans <= ((Long)Math.pow(10,...
Main.java:13: error: incompatible types: double cannot be converted to Long if(ans <= ((Long)Math.pow(10, 18) / a)) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02658|0
u653981267|p02658|0
codenet
Compile Error
461
v2_s201697075
s201697075
s201697075
p02658
p02658
u659156129
u659156129
1,593,705,691
2020-07-02T16:01: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(); long ans = 1; long[] a = new long[n]; for(int i = 0; i < a.length; ++i){ a[i] = sc.nextLong(); } int[] b = new int[18]; for(int j=0; j<1...
Main.java:25: error: cannot find symbol if(a[i] == 0){ ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p02658|0
u659156129|p02658|0
codenet
Compile Error
792
v2_s434017144
s434017144
s434017144
p02658
p02658
u659156129
u659156129
1,593,718,700
2020-07-02T19:38:20
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 ans = 1; int check = 0; long[] a = new long[n]; for(int i = 0; i < a.length; ++i){ a[i] = sc.nextLong(); if(a[i]==0){ check = 1; ...
Main.java:35: error: illegal start of type if(check == 0){ ^ Main.java:35: error: <identifier> expected if(check == 0){ ^ Main.java:41: error: illegal start of type }else{ ^ Main.java:45: error: class, interface, enum, or record expected } ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p02658|0
u659156129|p02658|0
codenet
Compile Error
1,021
v2_s806729309
s806729309
s806729309
p02658
p02658
u659156129
u659156129
1,593,718,940
2020-07-02T19:42:20
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 ans = 1; int check = 0; long[] a = new long[n]; for(int i = 0; i < a.length; ++i){ a[i] = sc.nextLong(); if(a[i]==0){ check = 1; ...
Main.java:31: error: illegal start of type if(check == 0){ ^ Main.java:31: error: <identifier> expected if(check == 0){ ^ Main.java:37: error: illegal start of type }else{ ^ Main.java:41: error: class, interface, enum, or record expected } ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p02658|0
u659156129|p02658|0
codenet
Compile Error
935
v2_s723336599
s723336599
s723336599
p02658
p02658
u664527705
u664527705
1,590,974,256
2020-06-01T01:17:36
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int sum = 1; for (int i= 0; i< n; i++) { int x = scan.nextInt(); sum *= x; } if ((double) su...
Main.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u664527705|p02658|0
u664527705|p02658|0
codenet
Compile Error
453
v2_s874617693
s874617693
s874617693
p02658
p02658
u664527705
u664527705
1,591,058,225
2020-06-02T00:37:05
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); BigDecimal sum = BigDecimal.valueOf(1); for (int i= 0; i< n; i++) { long x = scan.nextLong(); if (x == 0) { ...
Main.java:11: error: cannot find symbol BigDecimal sum = BigDecimal.valueOf(1); ^ symbol: class BigDecimal location: class Main Main.java:11: error: cannot find symbol BigDecimal sum = BigDecimal.valueOf(1); ^ symbol: variable BigDecimal location: class Main ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u664527705|p02658|1
u664527705|p02658|1
codenet
Compile Error
703
v2_s931168597
s931168597
s931168597
p02658
p02658
u664527705
u664527705
1,591,058,258
2020-06-02T00:37:38
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); BigDecimal sum = BigDecimal.valueOf(1); for (int i= 0; i< n; i++) { long x = scan.nextLong(); if (x == 0) { ...
Main.java:11: error: cannot find symbol BigDecimal sum = BigDecimal.valueOf(1); ^ symbol: class BigDecimal location: class Main Main.java:11: error: cannot find symbol BigDecimal sum = BigDecimal.valueOf(1); ^ symbol: variable BigDecimal location: class Main ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u664527705|p02658|1
u664527705|p02658|1
codenet
Compile Error
703
v2_s291943596
s291943596
s291943596
p02658
p02658
u665066534
u665066534
1,590,974,696
2020-06-01T01:24:56
Main.java
/* package codechef; // don't place package name! */ import java.math.BigInteger; import java.util.*; import java.lang.*; import java.io.*; import java.util.Collections; /* 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.Ex...
Main.java:41: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u665066534|p02658|0
u665066534|p02658|0
codenet
Compile Error
1,076
v2_s566496679
s566496679
s566496679
p02658
p02658
u678667709
u678667709
1,590,974,504
2020-06-01T01:21:44
Main.java
import java.util.Scanner; public class Main{ static void main(String args[]){ Scanner sc = new Scanner(System.in); double a = sc.nextInt(); while(sc.next()){ a *= sc.nextInt(); } if(a > (10^18)){ System.out.print(-1); }else{ System.out.print(a); } } }
Main.java:7: error: incompatible types: String cannot be converted to boolean while(sc.next()){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u678667709|p02658|0
u678667709|p02658|0
codenet
Compile Error
307
v2_s458882260
s458882260
s458882260
p02658
p02658
u695808337
u695808337
1,590,976,929
2020-06-01T02:02:09
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); long[] A = new long[N]; for (int i = 0; i < N; i++) { A[i] = sc.nextLong(); if(A[i] == 0) { System.out.println(0); return; } else if (A[i]> 1000000000000000000L) { Sy...
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u695808337|p02658|0
u695808337|p02658|0
codenet
Compile Error
576
v2_s870302250
s870302250
s870302250
p02658
p02658
u725518274
u725518274
1,590,975,210
2020-06-01T01:33:30
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 f=1; int g=0; while(n-->0) { long b=sc.nextLong(); f=f*b; if(f> 1000000000000000000) { g=1;break; } } if(g==1...
Main.java:13: error: integer number too large if(f> 1000000000000000000) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u725518274|p02658|0
u725518274|p02658|0
codenet
Compile Error
383
v2_s751066271
s751066271
s751066271
p02658
p02658
u751964641
u751964641
1,590,974,707
2020-06-01T01:25:07
Main.java
#include <algorithm> #include <cassert> #include <cmath> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; typedef long long ll; // const int INF = (1 << 30) - 1; // con...
Main.java:1: error: illegal character: '#' #include <algorithm> ^ Main.java:2: error: illegal character: '#' #include <cassert> ^ Main.java:3: error: illegal character: '#' #include <cmath> ^ Main.java:4: error: illegal character: '#' #include <functional> ^ Main.java:5: error: illegal character: '#' #include <iomanip>...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u751964641|p02658|0
u751964641|p02658|0
codenet
Compile Error
856
v2_s837223336
s837223336
s837223336
p02658
p02658
u761516097
u761516097
1,591,211,799
2020-06-03T19:16: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(); long currentA = 1; double baseNum = Math.pow(10, 18); for (int i = 0; i < N; i++) { currentA *= sc.nextLong(); ...
Main.java:14: error: ';' expected break: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761516097|p02658|0
u761516097|p02658|0
codenet
Compile Error
482
v2_s143966808
s143966808
s143966808
p02658
p02658
u767520559
u767520559
1,591,294,494
2020-06-04T18:14:54
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int size = sc.nextInt(), zero = 0; long ans = 1, base = 1000000000000000000; long nums[] = new long[size]; for(int i = 0; i < size; i++){ nums[i] = sc.nextLong(); if(nums[i] == 0){zero+...
Main.java:7: error: integer number too large long ans = 1, base = 1000000000000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u767520559|p02658|1
u767520559|p02658|1
codenet
Compile Error
556
v2_s432159794
s432159794
s432159794
p02658
p02658
u767682383
u767682383
1,590,976,239
2020-06-01T01:50: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(); // リストを作って格納 List<Long> list = new ArrayList<Long>(); while(sc.hasNext()) { list.add(sc.nextLong()); } // resultは10桁オーバーなのでlong型 long result = 1...
Main.java:6: error: cannot find symbol int N = sc.nextint(); ^ symbol: method nextint() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u767682383|p02658|0
u767682383|p02658|0
codenet
Compile Error
641
v2_s243981067
s243981067
s243981067
p02658
p02658
u768636516
u768636516
1,598,992,967
2020-09-01T20:42:47
Main.java
import numpy as np N = int(input()) array = list(map(int,input().split())) product = np.prod(array) if product <= 10**18: print(product) else: print(-1)
Main.java:1: error: '.' expected import numpy as np ^ Main.java:1: error: ';' expected import numpy as np ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u768636516|p02658|0
u768636516|p02658|0
codenet
Compile Error
157
v2_s394475644
s394475644
s394475644
p02658
p02658
u769291367
u769291367
1,594,175,611
2020-07-08T02:33:31
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long[] b = new long[a]; long result = 1; for(int i = 0; i < a; i++) { b[i] = sc.nextLong(); result = result * b[i]; if(Ma...
Main.java:8: error: incompatible types: possible lossy conversion from long to int long[] b = new long[a]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02658|0
u769291367|p02658|0
codenet
Compile Error
440
v2_s495514850
s495514850
s495514850
p02658
p02658
u769291367
u769291367
1,594,175,783
2020-07-08T02:36:23
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextLong(); long[] b = new long[a]; long result = 1; for(int i = 0; i < a; i++) { b[i] = sc.nextLong(); result = result * b[i]; if(Mat...
Main.java:7: error: incompatible types: possible lossy conversion from long to int int a = sc.nextLong(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02658|0
u769291367|p02658|0
codenet
Compile Error
439
v2_s271671067
s271671067
s271671067
p02658
p02658
u769291367
u769291367
1,594,188,927
2020-07-08T06:15:27
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); long[] b = new long[a]; long result = 1l; for(int i = 0; i < a; i++) { b[i] = sc.nextLong(); if(a[i] == 0) System.out.pri...
Main.java:14: error: array required, but int found if(a[i] == 0) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02658|1
u769291367|p02658|0
codenet
Compile Error
544
v2_s798096275
s798096275
s798096275
p02658
p02658
u769291367
u769291367
1,594,254,405
2020-07-09T00:26:45
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); long[] b = new long[a]; long M = (long)Math.pow(10,8); int result = 1; for(int i = 0; i < a; i++) { b[i] = sc.nextInt(); if(b[i] ...
Main.java:22: error: array required, but int found if(M/result < a[i]) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02658|2
u769291367|p02658|1
codenet
Compile Error
598
v2_s304776427
s304776427
s304776427
p02658
p02658
u803314854
u803314854
1,590,980,369
2020-06-01T02:59:29
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int a=sc.nextInt(); boolean po=true; double aa=sc.nextDouble(); for(int i=1;i<a;i++){ aa*=sc.nextDouble(); if(aa>1000000000000000000)po=false; aa%=1000000000000000000; } System.out.println((aa...
Main.java:10: error: integer number too large if(aa>1000000000000000000)po=false; ^ Main.java:11: error: integer number too large aa%=1000000000000000000; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p02658|0
u803314854|p02658|0
codenet
Compile Error
348
v2_s075885705
s075885705
s075885705
p02658
p02658
u815784554
u815784554
1,590,985,452
2020-06-01T04:24:12
Main.java
import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner in = new Scanner(System.in); long[] a = new long[n]; boolean zero = false; for(int i=0;i<n;i++){ a[i] = sc.nextLong(); if(a[i]==0){ zero =...
Main.java:9: error: cannot find symbol long[] a = new long[n]; ^ symbol: variable n location: class Main Main.java:11: error: cannot find symbol for(int i=0;i<n;i++){ ^ symbol: variable n location: class Main Main.java:12: error: cannot find symbol a[i] = sc.next...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u815784554|p02658|1
u815784554|p02658|0
codenet
Compile Error
670
v2_s099949147
s099949147
s099949147
p02658
p02658
u819124222
u819124222
1,590,973,514
2020-06-01T01:05: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 ans = 1; for(int i = 0; i < n; i++){ long l = sc.nextLong(); ans = ans*l; if(ans==0){ break; } else if (...
Main.java:16: error: integer number too large } else if (ans>1000000000000000000){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u819124222|p02658|0
u819124222|p02658|0
codenet
Compile Error
433
v2_s323677471
s323677471
s323677471
p02658
p02658
u819124222
u819124222
1,590,976,303
2020-06-01T01:51:43
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 ans = 1; long max = 1000000000000000000L; for(int i = 0; i < n; i++){ long l = sc.nextLong(); ans = ans*l; if (ans >...
Main.java:16: error: illegal character: '\u3000' ??ans = -1; ^ Main.java:16: error: illegal character: '\u3000' ??ans = -1; ^ Main.java:17: error: illegal character: '\u3000' ?} ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u819124222|p02658|0
u819124222|p02658|0
codenet
Compile Error
403
v2_s988882718
s988882718
s988882718
p02658
p02658
u819124222
u819124222
1,590,976,407
2020-06-01T01:53:27
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 ans = 1; long max = 1000000000000000000L; for(int i = 0; i < n; i++){ long l = sc.nextLong(); ans = ans*l; if (ans >...
Main.java:18: error: illegal character: '\u3000' ?} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u819124222|p02658|0
u819124222|p02658|0
codenet
Compile Error
414
v2_s728777028
s728777028
s728777028
p02658
p02658
u835335967
u835335967
1,590,973,515
2020-06-01T01:05:15
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner kbd =new Scanner(System.in); int n=kbd.nextInt(); int[] A= new int[n]; for(int i=0;i<n;i++){ A[i]=kbd.nextInt(); } long a=1; for(int i=0;i<n;i++){ a=a*A[i]; } if(a>10*10*10*10*10*10...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u835335967|p02658|0
u835335967|p02658|0
codenet
Compile Error
401
v2_s706078993
s706078993
s706078993
p02658
p02658
u843746948
u843746948
1,590,975,298
2020-06-01T01:34:58
Main.java
import java.util.*; public class Main { public static void main(final String[] args) { final Scanner sc = new Scanner(System.in); final int n = sc.nextInt(); long ans = 0; for (int i = 0; i < a.length; i++) { long a = sc.nextLong(); if (a == 0L) { ...
Main.java:8: 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
u843746948|p02658|0
u843746948|p02658|0
codenet
Compile Error
662
v2_s905025574
s905025574
s905025574
p02658
p02658
u860874998
u860874998
1,591,147,351
2020-06-03T01:22:31
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long[] A = new long[N]; long sum=1; for(int i=0;i<N;i++){ long A[i] = sc.nextLong(); } for(int j=0;j<N;j++){ sum*=A[j]; if(sum>Math.pow(10, 18))...
Main.java:11: error: ']' expected long A[i] = sc.nextLong(); ^ Main.java:11: error: ';' expected long A[i] = sc.nextLong(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02658|0
u860874998|p02658|0
codenet
Compile Error
394
v2_s409533847
s409533847
s409533847
p02658
p02658
u860874998
u860874998
1,591,147,472
2020-06-03T01:24:32
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long[] A = new long[N]; long sum=1; for(int i=0;i<N;i++){ A[i] = sc.nextLong(); } for(int j=0;j<N;j++){ sum*=A[j]; if(sum>Math.pow(10, 18)){ ...
Main.java:8: error: incompatible types: possible lossy conversion from long to int long[] A = new long[N]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02658|0
u860874998|p02658|0
codenet
Compile Error
389
v2_s866683696
s866683696
s866683696
p02658
p02658
u867011040
u867011040
1,591,896,013
2020-06-11T17:20:13
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int numLen = sc.nextInt(); long quo = sc.nextLong(); for(int i = 0; i < numLen; i++){ quo *= sc.nextLong(); } if(quo < 10^18) quo = -1; System.out.println(quo); ...
Main.java:10: error: bad operand types for binary operator '^' if(quo < 10^18) ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02658|0
u867011040|p02658|0
codenet
Compile Error
328
v2_s005719283
s005719283
s005719283
p02658
p02658
u867011040
u867011040
1,591,896,094
2020-06-11T17:21:34
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int numLen = sc.nextInt(); long quo = sc.nextLong(); for(int i = 0; i < numLen; i++){ quo *= sc.nextLong(); } if(quo < 1000000000000000...
Main.java:10: error: integer number too large if(quo < 1000000000000000000) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02658|0
u867011040|p02658|0
codenet
Compile Error
406
v2_s117527116
s117527116
s117527116
p02658
p02658
u867011040
u867011040
1,591,896,608
2020-06-11T17:30:08
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int numLen = sc.nextInt(); long quo = sc.nextLong(); for(int i = 0; i < numLen; i++){ quo *= sc.nextLong(); if(quo > 1000000000000000000) quo = -1;...
Main.java:9: error: integer number too large if(quo > 1000000000000000000) ^ Main.java:14: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02658|0
u867011040|p02658|0
codenet
Compile Error
367
v2_s350456257
s350456257
s350456257
p02658
p02658
u867011040
u867011040
1,591,910,276
2020-06-11T21:17:56
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int arrayNum = sc.next(); long quo = 1; for(int i = 0; i < arrayNum) quo *= sc.nextLong(); if(quo /1000000000000000000 > 1){ quo = -1; } System.out.println(quo); ...
Main.java:7: error: ';' expected for(int i = 0; i < arrayNum) ^ Main.java:9: error: integer number too large if(quo /1000000000000000000 > 1){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02658|1
u867011040|p02658|0
codenet
Compile Error
325
v2_s175594971
s175594971
s175594971
p02658
p02658
u867011040
u867011040
1,591,910,389
2020-06-11T21:19:49
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int arrayNum = sc.next(); long quo = 1; for(int i = 0; i < arrayNum){ quo *= sc.nextLong(); } if(quo - 1000000000000000000 > 1){ ...
Main.java:7: error: ';' expected for(int i = 0; i < arrayNum){ ^ Main.java:10: error: integer number too large if(quo - 1000000000000000000 > 1){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02658|1
u867011040|p02658|0
codenet
Compile Error
397
v2_s858891134
s858891134
s858891134
p02658
p02658
u867011040
u867011040
1,591,910,538
2020-06-11T21:22:18
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int arrayNum = sc.next(); longlong quo = 1; for(int i = 0; i < arrayNum){ quo *= sc.nextLong(); } int check = quo / 1000000000000000000...
Main.java:7: error: ';' expected for(int i = 0; i < arrayNum){ ^ Main.java:10: error: integer number too large int check = quo / 1000000000000000000; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02658|1
u867011040|p02658|0
codenet
Compile Error
428
v2_s470238930
s470238930
s470238930
p02658
p02658
u867011040
u867011040
1,591,910,684
2020-06-11T21:24:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int arrayNum = sc.next(); longlong quo = 1; for(int i = 0; i < arrayNum; i++){ quo *= sc.nextLong(); } long long check = quo / 10000000...
Main.java:10: error: not a statement long long check = quo / 1000000000000000000; ^ Main.java:10: error: ';' expected long long check = quo / 1000000000000000000; ^ Main.java:10: error: integer number too large long long check = quo / 1000000000000000000; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02658|1
u867011040|p02658|0
codenet
Compile Error
439
v2_s111968345
s111968345
s111968345
p02658
p02658
u867011040
u867011040
1,591,911,444
2020-06-11T21:37:24
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int arrayNum = sc.next(); long lim = 1000000000000000000; long quo = 1; boolean flg = true; for(int i = 0; i < arrayNum; i++){ while(flg){ ...
Main.java:6: error: integer number too large long lim = 1000000000000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02658|1
u867011040|p02658|0
codenet
Compile Error
660
v2_s728735736
s728735736
s728735736
p02658
p02658
u867011040
u867011040
1,591,911,479
2020-06-11T21:37:59
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int arrayNum = sc.next(); long lim = 1000000000000000000L; long quo = 1; boolean flg = true; for(int i = 0; i < arrayNum; i++){ while(flg){ ...
Main.java:5: error: incompatible types: String cannot be converted to int int arrayNum = sc.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02658|1
u867011040|p02658|0
codenet
Compile Error
661
v2_s356264617
s356264617
s356264617
p02658
p02658
u867011040
u867011040
1,592,158,070
2020-06-14T18:07: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 res = 1; for(int i = 0; i < n; i++){ res *= sc.nextLong(); if(res / 10000000000000000 > 1){ res = -1; i += n; } } Syste...
Main.java:9: error: integer number too large if(res / 10000000000000000 > 1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02658|3
u867011040|p02658|1
codenet
Compile Error
349
v2_s417203978
s417203978
s417203978
p02658
p02658
u877861415
u877861415
1,591,058,883
2020-06-02T00:48:03
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); List<Long> list = new ArrayList<Long>(); for (int i = 0; i < n; i++) { long a = scan.nextLong(); list.a...
Main.java:16: error: illegal character: '\u3000' Collections.sort(list);?//System.out.println(list); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u877861415|p02658|1
u877861415|p02658|1
codenet
Compile Error
1,077
v2_s817941760
s817941760
s817941760
p02658
p02658
u877861415
u877861415
1,591,067,611
2020-06-02T03:13:31
Main.java
import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); List<Long> list = new ArrayList<Long>(); for (int i = 0; i < n; i++) { long a = scan.n...
Main.java:28: error: bad operand types for binary operator '*' ans *= BigInteger.valueOf(list.get(i)); ^ first type: BigInteger second type: BigInteger Main.java:29: error: bad operand types for binary operator '>' if (ans > 1000000000000000000l) { ^ fi...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u877861415|p02658|1
u877861415|p02658|1
codenet
Compile Error
2,386
v2_s104609876
s104609876
s104609876
p02658
p02658
u902482201
u902482201
1,590,979,199
2020-06-01T02:39:59
Main.java
import java.util.Scanner; import java.util.Comparator; import java.util.Arrays; import java.math.BigInteger; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int N = scan.nextInt(); BigInteger A[] = new BigInteger[N]; BigInteger big = new BigInteger("100000000...
Main.java:15: error: bad operand types for binary operator '==' if (A[i] == 0) { ^ first type: BigInteger second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902482201|p02658|0
u902482201|p02658|0
codenet
Compile Error
836
v2_s938063719
s938063719
s938063719
p02658
p02658
u918923596
u918923596
1,593,630,748
2020-07-01T19:12:28
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 int[N]; for(int i; i < N; ++i){ A[i] = sc.nextLong(); } for(int i; i < N-1; ++i){ int num = A[i]*A[i+1]; int ans += num; } if(a...
Main.java:14: error: ';' expected int ans += num; ^ Main.java:14: error: not a statement int ans += num; ^ Main.java:16: error: illegal start of type if(ans =< 10^18){ ^ Main.java:16: error: not a statement if(ans =< 10^18){ ^ Main.java:16: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918923596|p02658|0
u918923596|p02658|0
codenet
Compile Error
394
v2_s318169735
s318169735
s318169735
p02658
p02658
u918923596
u918923596
1,593,633,061
2020-07-01T19:51:01
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 int[N]; for(int i; i < N; ++i){ A[i] = sc.nextLong(); } for(int i; i < N; i++){ if(A[i] < (long)Math.pow(10,18)){ int ans *= A[...
Main.java:14: error: ';' expected int ans *= A[i]; ^ Main.java:14: error: not a statement int ans *= A[i]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918923596|p02658|0
u918923596|p02658|0
codenet
Compile Error
400
v2_s229691826
s229691826
s229691826
p02658
p02658
u918923596
u918923596
1,593,633,196
2020-07-01T19:53: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(); long A[] = new int[N]; for(int i; i < N; ++i){ A[i] = sc.nextLong(); } for(int i; i < N; i++){ if(A[i] < (long)Math.pow(10,18)){ int ans *= ...
Main.java:14: error: ';' expected int ans *= A[i]; ^ Main.java:14: error: not a statement int ans *= A[i]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918923596|p02658|0
u918923596|p02658|0
codenet
Compile Error
402
v2_s021937937
s021937937
s021937937
p02658
p02658
u918923596
u918923596
1,593,635,020
2020-07-01T20:23:40
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 answer; for(int i = 0; i < N; ++i){ A[i] = sc.nextLong(); } for(int i = 0; i < N; ++i){ if(A[i] < ((long)Math.pow(10,18...
Main.java:14: error: variable answer might not have been initialized if(A[i] < ((long)Math.pow(10,18)/answer)){ ^ Main.java:20: error: variable answer might not have been initialized System.out.println(answer); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918923596|p02658|0
u918923596|p02658|0
codenet
Compile Error
440
v2_s771359057
s771359057
s771359057
p02658
p02658
u921747261
u921747261
1,590,973,627
2020-06-01T01:07:07
Main.java
import java.util.*; public class Main { public static void main(String[] args) { int mul = 1; Scanner sc = new Scanner(System.in); int num = sc.nextInt(); while(num >= 0) { int b = sc.nextInt(); mul *= b; num--; } if(mul < 1000000000000000000) ...
Main.java:15: error: integer number too large if(mul < 1000000000000000000) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u921747261|p02658|0
u921747261|p02658|0
codenet
Compile Error
394
v2_s648273072
s648273072
s648273072
p02658
p02658
u921747261
u921747261
1,590,973,682
2020-06-01T01:08:02
Main.java
import java.util.*; public class Main { public static void main(String[] args) { long mul = 1; Scanner sc = new Scanner(System.in); int num = sc.nextInt(); while(num >= 0) { int b = sc.nextInt(); mul *= b; num--; } if(mul < 1000000000000000000)...
Main.java:15: error: integer number too large if(mul < 1000000000000000000) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u921747261|p02658|0
u921747261|p02658|0
codenet
Compile Error
395
v2_s035065073
s035065073
s035065073
p02658
p02658
u921747261
u921747261
1,590,973,950
2020-06-01T01:12:30
Main.java
import java.util.*; public class Main { public static void main(String[] args) { BigInteger mul = new BigInteger("1"); Scanner sc = new Scanner(System.in); int num = sc.nextInt(); while(num >= 0) { int b = sc.nextInt(); mul.multiply(new BigInteger(b)); num--...
Main.java:6: error: cannot find symbol BigInteger mul = new BigInteger("1"); ^ symbol: class BigInteger location: class Main Main.java:6: error: cannot find symbol BigInteger mul = new BigInteger("1"); ^ symbol: class BigInteger location: class Main Main.java:12:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u921747261|p02658|0
u921747261|p02658|0
codenet
Compile Error
486
v2_s967737715
s967737715
s967737715
p02658
p02658
u921747261
u921747261
1,590,974,019
2020-06-01T01:13:39
Main.java
import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { BigInteger mul = new BigInteger("1"); Scanner sc = new Scanner(System.in); int num = sc.nextInt(); while(num >= 0) { int b = sc.nextInt(); mul.multiply(new Bi...
Main.java:13: error: no suitable constructor found for BigInteger(int) mul.multiply(new BigInteger(b)); ^ constructor BigInteger.BigInteger(byte[]) is not applicable (argument mismatch; int cannot be converted to byte[]) constructor BigInteger.BigInteger(int[]) is not appl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u921747261|p02658|0
u921747261|p02658|0
codenet
Compile Error
515
v2_s279625880
s279625880
s279625880
p02658
p02658
u921747261
u921747261
1,590,974,373
2020-06-01T01:19:33
Main.java
import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { BigInteger mul = new BigInteger("1"); Scanner sc = new Scanner(System.in); int num = sc.nextInt(); while(num >= 0) { int b = sc.nextInt(); mul.multiply(new Bi...
Main.java:13: error: no suitable constructor found for BigInteger(int) mul.multiply(new BigInteger(b)); ^ constructor BigInteger.BigInteger(byte[]) is not applicable (argument mismatch; int cannot be converted to byte[]) constructor BigInteger.BigInteger(int[]) is not appl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u921747261|p02658|0
u921747261|p02658|0
codenet
Compile Error
544
v2_s455318761
s455318761
s455318761
p02658
p02658
u921747261
u921747261
1,590,974,418
2020-06-01T01:20:18
Main.java
import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { BigInteger mul = new BigInteger("1"); Scanner sc = new Scanner(System.in); int num = sc.nextInt(); while(num >= 0) { int b = sc.nextInt(); mul.multiply(new Bi...
Main.java:13: error: no suitable constructor found for BigInteger(int) mul.multiply(new BigInteger(sc.nextInt())); ^ constructor BigInteger.BigInteger(byte[]) is not applicable (argument mismatch; int cannot be converted to byte[]) constructor BigInteger.BigInteger(int[]) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u921747261|p02658|0
u921747261|p02658|0
codenet
Compile Error
555
v2_s690402553
s690402553
s690402553
p02658
p02658
u924711195
u924711195
1,591,462,827
2020-06-06T17:00:27
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); long n = scan.nextInt(); long ans = 1; for(long l=0;l<n;l++){ ans *= scan.nextInt(); } System.out.println((ans>1000000000000000000)?-1:ans); } }
Main.java:10: error: integer number too large System.out.println((ans>1000000000000000000)?-1:ans); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u924711195|p02658|0
u924711195|p02658|0
codenet
Compile Error
295
v2_s041635090
s041635090
s041635090
p02658
p02658
u926632269
u926632269
1,594,030,624
2020-07-06T10:17:04
Main.java
import java.util.*; import java.io.*; public class Main{ public static void main(String[] main) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); PrintWriter out = new PrintWriter(System.out); l...
Main.java:20: error: variable fail might not have been initialized if(fail) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u926632269|p02658|0
u926632269|p02658|0
codenet
Compile Error
752
v2_s503752133
s503752133
s503752133
p02658
p02658
u941287913
u941287913
1,590,973,585
2020-06-01T01:06:25
Test.java
using System; using System.Linq; public class Test { public static void Main() { int n = int.Parse(Console.ReadLine()); var a = Console.ReadLine().Split().Select(y => long.Parse(y)).ToArray(); long ans = 1; for(int i=0;i!=n;i++){ ans *= a[i]; } if(ans>1000000000000000000){ ans = -1; } Con...
Test.java:1: error: unnamed classes are a preview feature and are disabled by default. using System; ^ (use --enable-preview to enable unnamed classes) Test.java:2: error: class, interface, enum, or record expected using System.Linq; ^ Test.java:9: error: class expected int n = int.Parse(Console.ReadLine()); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941287913|p02658|0
u941287913|p02658|0
codenet
Compile Error
348
v2_s592918343
s592918343
s592918343
p02658
p02658
u957244388
u957244388
1,590,975,047
2020-06-01T01:30:47
Main.java
import com.sun.deploy.security.SelectableSecurityManager; import java.io.*; import java.util.*; import java.math.BigInteger; public class Main { static PrintWriter out=new PrintWriter((System.out)); public static void main(String args[])throws IOException { Reader sc=new Reader(); int n=sc....
Main.java:1: error: package com.sun.deploy.security does not exist import com.sun.deploy.security.SelectableSecurityManager; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u957244388|p02658|0
u957244388|p02658|0
codenet
Compile Error
2,272
v2_s407076881
s407076881
s407076881
p02658
p02658
u957244388
u957244388
1,590,975,377
2020-06-01T01:36:17
Main.java
import com.sun.deploy.security.SelectableSecurityManager; import java.io.*; import java.util.*; import java.math.BigInteger; public class Main { static PrintWriter out=new PrintWriter((System.out)); public static void main(String args[])throws IOException { Reader sc=new Reader(); int n=sc....
Main.java:1: error: package com.sun.deploy.security does not exist import com.sun.deploy.security.SelectableSecurityManager; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u957244388|p02658|0
u957244388|p02658|0
codenet
Compile Error
2,536
v2_s570648927
s570648927
s570648927
p02658
p02658
u970387852
u970387852
1,590,978,731
2020-06-01T02:32:11
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Long N = sc.nextLong(); long [] x = new long[N]; long kekka =1; if((2<=N)&&(N<=Math.pow(10,15))) { for(int i=0;i<N;i++) { x[i] = sc.nextLong(); kekka = kekka * x[i]; } ...
Main.java:7: error: incompatible types: Long cannot be converted to int long [] x = new long[N]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u970387852|p02658|0
u970387852|p02658|0
codenet
Compile Error
429
v2_s465078308
s465078308
s465078308
p02658
p02658
u978969246
u978969246
1,590,977,104
2020-06-01T02:05:04
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = nextInt(scanner); long[] a = new long[n]; long p = 1; boolean isZero = false; for (int i = 0; i < n; i++) { a[i] = Lon...
Main.java:6: error: cannot find symbol int n = nextInt(scanner); ^ symbol: method nextInt(Scanner) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u978969246|p02658|0
u978969246|p02658|0
codenet
Compile Error
887
v2_s264163661
s264163661
s264163661
p02658
p02658
u984926059
u984926059
1,592,082,698
2020-06-13T21:11:38
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; import java.util.StringTokenizer; public class Main { static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { ...
Main.java:70: error: cannot find symbol BigInteger f=new BigInteger("1"); ^ symbol: class BigInteger location: class Main Main.java:70: error: cannot find symbol BigInteger f=new BigInteger("1"); ^ symbol: class BigInteger location: class Main Main.java:71: e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u984926059|p02658|0
u984926059|p02658|0
codenet
Compile Error
1,912