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_s440094623
s440094623
s440094623
p03860
p03860
u863370423
u863370423
1,563,186,392
2019-07-15T10:26:32
ah.java
import java.util.Scanner; public class ah{ public static void main(string[] args){ Scanner in=new Scanner(System in); int t=in.nextInt(); int sum=0; int arr=new int [t]; while(t-->0){ int a=in.nextInt(); int b=in.nextInt(); sum-=a; sum+=b; arr[t]=sum; } Arrays.sort(arr) System.out.println(ar[ar.length-1]);}}
ah.java:5: error: ')' or ',' expected Scanner in=new Scanner(System in); ^ ah.java:5: error: not a statement Scanner in=new Scanner(System in); ^ ah.java:5: error: ';' expected Scanner in=new Scanner(System in); ^ ah.java:16: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03860|0
u863370423|p03860|0
codenet
Compile Error
319
v2_s140257268
s140257268
s140257268
p03860
p03860
u863370423
u863370423
1,601,153,714
2020-09-26T20:55:14
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner input = new Scanner(System.in);  String Sentence = input.nextLine(); String splitSen[] = Sentence.split(" ");     for(String word : splitSen){ System.out.print(word.charAt(0));       ...
Main.java:6: error: illegal character: '\u00a0' ?String Sentence = input.nextLine(); ^ Main.java:7: error: illegal character: '\u00a0' String splitSen[] = Sentence.split(" "); ? ? ^ Main.java:7: error: illegal character: '\u00a0' String spli...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03860|2
u863370423|p03860|2
codenet
Compile Error
346
v2_s147014075
s147014075
s147014075
p03860
p03860
u919410229
u919410229
1,519,096,031
2018-02-20T03:07:11
Hoge.java
public class Hoge { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); System.out.println(shorten(in.readLine())); } static String shorten(String src) { return src.replaceAll("([A-Z])[a-z]* ([A-Z])[a-z]* ([A-Z])[a-z]*", "$1$2$...
Hoge.java:2: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Hoge Hoge.java:3: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u919410229|p03860|0
u919410229|p03860|0
codenet
Compile Error
329
v2_s998958017
s998958017
s998958017
p03860
p03860
u941274418
u941274418
1,580,667,003
2020-02-02T18:10:03
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] strs = sc.nextLine();.split(" "); System.out.println("A" + strs[1].charAt(0) + "C"); } }
Main.java:5: error: illegal start of expression String[] strs = sc.nextLine();.split(" "); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941274418|p03860|0
u941274418|p03860|0
codenet
Compile Error
248
v2_s166756658
s166756658
s166756658
p03860
p03860
u949927271
u949927271
1,580,949,532
2020-02-06T00:38:52
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String s = sc.nextLine(); sc.close(); String ans = "A"; sc = new Scanner(s); for(int i = 0; i < 2; ++i){ String tmp = sc.next(); } sc.close(); ans += tmp.charAt(0)...
Main.java:15: error: cannot find symbol ans += tmp.charAt(0) + "C"; ^ symbol: variable tmp location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u949927271|p03860|0
u949927271|p03860|0
codenet
Compile Error
362
v2_s794910705
s794910705
s794910705
p03861
p03861
u018679195
u018679195
1,563,519,858
2019-07-19T07:04:18
Main.java
package vjudge; import java.math.BigInteger; import java.util.Scanner; class Vjudge.java { public static void main(String[] args) { int one = 1; BigInteger a; BigInteger b; BigInteger r; int d; Scanner input; input = new Scanner(System.in); a ...
Main.java:6: error: '{' expected class Vjudge.java { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03861|1
u018679195|p03861|1
codenet
Compile Error
601
v2_s371805400
s371805400
s371805400
p03861
p03861
u046482892
u046482892
1,569,812,238
2019-09-30T02:57:18
Main.java
#include <bits/stdc++.h> using namespace std; int main() { long a, b, x; cin >> a >> b >> x; long a_ = a / x; if (a % x == 0) { a_--; } long b_ = b / x; cout << b_ - a_ << endl; }
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:7: error: not a statement cin >> a >> b >> x; ^ Main.java:17: error: not a statement cout << b_ - a_ << endl; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u046482892|p03861|1
u046482892|p03861|1
codenet
Compile Error
204
v2_s195064066
s195064066
s195064066
p03861
p03861
u067786616
u067786616
1,570,213,997
2019-10-04T18:33:17
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); long x = sc.nextInt(); long count = 0; for(long i=a;i<=b;i++){ if(i%x == 0){ count += 1; ...
Main.java:17: error: cannot find symbol System.out.println(BigInteger.valueOf(count)); ^ symbol: variable BigInteger location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067786616|p03861|0
u067786616|p03861|0
codenet
Compile Error
391
v2_s862320168
s862320168
s862320168
p03861
p03861
u067786616
u067786616
1,570,214,114
2019-10-04T18:35:14
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); long x = sc.nextInt(); long count = 0; BigInteger num = BigInteger.valueOf(count); for(long i=a;i<=b;i++){...
Main.java:11: error: cannot find symbol BigInteger num = BigInteger.valueOf(count); ^ symbol: class BigInteger location: class Main Main.java:11: error: cannot find symbol BigInteger num = BigInteger.valueOf(count); ^ symbol: variable BigInteger location: class Main ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067786616|p03861|0
u067786616|p03861|0
codenet
Compile Error
421
v2_s535310866
s535310866
s535310866
p03861
p03861
u067786616
u067786616
1,570,214,242
2019-10-04T18:37:22
Main.java
import java.util.*; import java.math.BigInteger; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); long x = sc.nextInt(); long count = 0; BigInteger num = BigInteger.valueOf(count); ...
Main.java:15: error: bad operand types for binary operator '+' num += 1; ^ first type: BigInteger second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067786616|p03861|0
u067786616|p03861|0
codenet
Compile Error
445
v2_s370944407
s370944407
s370944407
p03861
p03861
u067786616
u067786616
1,570,215,948
2019-10-04T19:05:48
Main.java
import java.util.*; import java.math.BigInteger; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); long x = sc.nextInt(); long count = 0; System.out.println(f(b,x) - f(a-1,x)); } ...
Main.java:24: error: <identifier> expected public statis long f2(long n, long d){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067786616|p03861|0
u067786616|p03861|0
codenet
Compile Error
632
v2_s472772997
s472772997
s472772997
p03861
p03861
u075367840
u075367840
1,543,590,707
2018-11-30T15:11:47
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long x = sc.nextLong(); long ans = b/x + 1; if(l != 0){ ans += a/x + 1; } System.out.println(ans); } }
Main.java:11: error: cannot find symbol if(l != 0){ ^ symbol: variable l location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u075367840|p03861|0
u075367840|p03861|0
codenet
Compile Error
312
v2_s415477623
s415477623
s415477623
p03861
p03861
u080877599
u080877599
1,490,918,819
2017-03-31T00:06:59
Main.java
import java.util.Scanner; public class Main(){ public static void main(String[] args){ int a,b,x,count=0; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); x = sc.nextInt(); for(int i=a; i<=b; i++){ if(i%x == 0) count++; } System.out.println(cout); } }
Main.java:3: error: '{' expected public class Main(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u080877599|p03861|0
u080877599|p03861|0
codenet
Compile Error
302
v2_s509396133
s509396133
s509396133
p03861
p03861
u080877599
u080877599
1,490,918,871
2017-03-31T00:07:51
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ int a,b,x,count=0; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); x = sc.nextInt(); for(int i=a; i<=b; i++){ if(i%x == 0) count++; } System.out.println(cout); } }
Main.java:16: error: cannot find symbol System.out.println(cout); ^ symbol: variable cout location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u080877599|p03861|0
u080877599|p03861|0
codenet
Compile Error
300
v2_s281346854
s281346854
s281346854
p03861
p03861
u115819033
u115819033
1,551,463,989
2019-03-01T18:13:09
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); int x = sc.nextInt(); long count = 0; for(int i = a;i <= b;i++){ if(i%x == 0){ count++; } } System.out....
Main.java:10: error: incompatible types: possible lossy conversion from long to int for(int i = a;i <= b;i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u115819033|p03861|1
u115819033|p03861|1
codenet
Compile Error
342
v2_s682477267
s682477267
s682477267
p03861
p03861
u124119858
u124119858
1,559,085,530
2019-05-28T23:18:50
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(); int b = sc.nextInt(); int x = sc.nextInt(); int cnt = 0; for(int i=a; i <= b; i++) { if(i % x == 0) { cnt++; } } System.out.println(cnt); }
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u124119858|p03861|0
u124119858|p03861|0
codenet
Compile Error
315
v2_s688779007
s688779007
s688779007
p03861
p03861
u124119858
u124119858
1,559,085,927
2019-05-28T23:25:27
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); int x = sc.nextInt(); int cnt = 0; for(int i=a; i <= b; i++) { if(i % x == 0) { cnt++; } } System.out.println(cnt); } }
Main.java:10: error: incompatible types: possible lossy conversion from long to int for(int i=a; i <= b; i++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u124119858|p03861|0
u124119858|p03861|0
codenet
Compile Error
318
v2_s027678130
s027678130
s027678130
p03861
p03861
u166660827
u166660827
1,490,820,322
2017-03-29T20:45:22
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 = sc.nextLong(); long x = sc.nextLong(); long ans; ans = b / x - a / x; if(a % x == 0){ ans++; } System.out.println(ans); }
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u166660827|p03861|0
u166660827|p03861|0
codenet
Compile Error
303
v2_s847343439
s847343439
s847343439
p03861
p03861
u189999139
u189999139
1,597,122,708
2020-08-11T05:11:48
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); long n = in.nextLong(); long x = in.nextLong(); long[] a = new long[n]; for (int i = 0; i < n; i++) { a[i] = in.nextLong(); } ...
Main.java:9: 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
u189999139|p03861|0
u189999139|p03861|0
codenet
Compile Error
603
v2_s679204195
s679204195
s679204195
p03861
p03861
u310549140
u310549140
1,506,844,095
2017-10-01T07:48:15
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 = sc.nextLong(); long x = sc.nextLong(); long count = 0; for(long i=a;i<=b;i++){ System.out.println(b/x-a/x+(a%x==0?1:0)); } }
Main.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u310549140|p03861|1
u310549140|p03861|0
codenet
Compile Error
312
v2_s576894760
s576894760
s576894760
p03861
p03861
u322331631
u322331631
1,498,707,134
2017-06-29T03:32:14
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long x = sc.nextLong(); long sum = 0; sum = (b / x) - (a / x); if (a % x == 0) { sum++; }...
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
u322331631|p03861|1
u322331631|p03861|1
codenet
Compile Error
674
v2_s989720850
s989720850
s989720850
p03861
p03861
u334656323
u334656323
1,523,408,701
2018-04-11T01:05:01
Main.java
import java.util.*; import java.util.Arrays; import java.util.Set; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); long a=sc.nextLong(); long b=sc.nextLong(); long x=sc.nextLong(); int sum=0; for(int i=a;i<=b;i++){ ...
Main.java:12: error: incompatible types: possible lossy conversion from long to int for(int i=a;i<=b;i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334656323|p03861|0
u334656323|p03861|0
codenet
Compile Error
462
v2_s232180283
s232180283
s232180283
p03861
p03861
u356726575
u356726575
1,546,916,297
2019-01-08T02:58:17
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); long x = sc.nextInt(); long count = 0; f...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u356726575|p03861|0
u356726575|p03861|0
codenet
Compile Error
425
v2_s314658923
s314658923
s314658923
p03861
p03861
u416438774
u416438774
1,490,158,198
2017-03-22T04:49:58
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long x = sc.nextLong(); long sum = (b/x + 1); if(a==0){sum++};else{sum -=(a - 1)/x + 1;}; System.out.println(sum); } }
Main.java:9: error: ';' expected if(a==0){sum++};else{sum -=(a - 1)/x + 1;}; ^ Main.java:9: error: 'else' without 'if' if(a==0){sum++};else{sum -=(a - 1)/x + 1;}; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u416438774|p03861|0
u416438774|p03861|0
codenet
Compile Error
300
v2_s965267760
s965267760
s965267760
p03861
p03861
u497336212
u497336212
1,555,184,079
2019-04-13T19:34:39
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long x = sc.nextInt(); long count = 0; if (a == 0 && b == 0) { count++; } (a == 0)...
Main.java:12: error: not a statement } (a == 0) { ^ Main.java:12: error: ';' expected } (a == 0) { ^ Main.java:15: error: 'else' without 'if' } else { ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497336212|p03861|0
u497336212|p03861|0
codenet
Compile Error
498
v2_s271954875
s271954875
s271954875
p03861
p03861
u519450844
u519450844
1,490,751,723
2017-03-29T01:42:03
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int x = sc.nextInt(); int i; int cnt; if(a<=i<=b && i%x==0){ cnt++; } ...
Main.java:11: error: bad operand types for binary operator '<=' if(a<=i<=b && i%x==0){ ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u519450844|p03861|0
u519450844|p03861|0
codenet
Compile Error
352
v2_s670150786
s670150786
s670150786
p03861
p03861
u519450844
u519450844
1,490,751,910
2017-03-29T01:45:10
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int x = sc.nextInt(); int i; int cnt; if((a>=&&i>=b) && i%x==0){ cnt++; } ...
Main.java:11: error: illegal start of expression if((a>=&&i>=b) && i%x==0){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u519450844|p03861|0
u519450844|p03861|0
codenet
Compile Error
356
v2_s668676156
s668676156
s668676156
p03861
p03861
u519450844
u519450844
1,490,763,597
2017-03-29T04:59:57
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int x = sc.nextInt(); int cnt = b / x - a / x;   if(a % x ==0){ cnt++; } System.out.prin...
Main.java:10: error: illegal character: '\u3000' ??if(a % x ==0){ ^ Main.java:10: error: illegal character: '\u3000' ??if(a % x ==0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u519450844|p03861|1
u519450844|p03861|0
codenet
Compile Error
342
v2_s413750503
s413750503
s413750503
p03861
p03861
u519450844
u519450844
1,490,764,126
2017-03-29T05:08:46
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int x = sc.nextInt(); int cnt = b / x - a / x;   if(a % x ==0){ cnt++; } System.out.prin...
Main.java:10: error: illegal character: '\u3000' ??if(a % x ==0){ ^ Main.java:10: error: illegal character: '\u3000' ??if(a % x ==0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u519450844|p03861|1
u519450844|p03861|0
codenet
Compile Error
342
v2_s237700082
s237700082
s237700082
p03861
p03861
u591753269
u591753269
1,490,413,456
2017-03-25T03:44:16
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int a =sc.nextInt(); int b =sc.nextInt(); int x =sc.nextInt(); int count=0; for(int i=0;a<=b;i++){ if((a)%x==0){ count=count+1; } a=a+1;...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u591753269|p03861|0
u591753269|p03861|0
codenet
Compile Error
359
v2_s447217412
s447217412
s447217412
p03861
p03861
u616508610
u616508610
1,586,103,136
2020-04-05T16:12:16
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner s=new Scanner(System.in); long a=s.nextLong(); long b=s.nextLong(); long c=s.nextLong(); long count=0; for(int i=a;i<=b;i++){ if((i%c)==0){ count++; } } System.out.println(count); } }
Main.java:9: error: incompatible types: possible lossy conversion from long to int for(int i=a;i<=b;i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616508610|p03861|0
u616508610|p03861|0
codenet
Compile Error
266
v2_s493850481
s493850481
s493850481
p03861
p03861
u708270276
u708270276
1,571,247,869
2019-10-16T17:44:29
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long x = sc.nextLong(); long count = 0; for(long i = a ; i <= b; i++){ if(i % x == 0){ ...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u708270276|p03861|0
u708270276|p03861|0
codenet
Compile Error
407
v2_s983774435
s983774435
s983774435
p03861
p03861
u708270276
u708270276
1,571,248,064
2019-10-16T17:47:44
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextLong(); int b = sc.nextLong(); int x = sc.nextLong(); int count = 0; count =(b / x) - (a / x); if(a % x == 0){ ...
Main.java:6: error: incompatible types: possible lossy conversion from long to int int a = sc.nextLong(); ^ Main.java:7: error: incompatible types: possible lossy conversion from long to int int b = sc.nextLong(); ^ Main.java:8: error: incompatible t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u708270276|p03861|0
u708270276|p03861|0
codenet
Compile Error
404
v2_s361421385
s361421385
s361421385
p03861
p03861
u783139689
u783139689
1,560,978,444
2019-06-19T21:07:24
Main.java
public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); long a = s.nextLong(); long b = s.nextLong(); long x = s.nextLong(); long answer = 0; if ((b - a) < x) { if (a == b) { if (a % x != 0) { answer = 0; } else if (a % x == 0) { answer = 1; ...
Main.java:5: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u783139689|p03861|0
u783139689|p03861|0
codenet
Compile Error
999
v2_s445537290
s445537290
s445537290
p03861
p03861
u806768852
u806768852
1,572,278,347
2019-10-28T15:59:07
Main.java
import java.util.*; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long x = sc.nextLong(); long ax; if(a != 0){ ax = (a -1) / x; }else{ ax = 0; } long bx = b / x; long ans = bx - ax; if(ans == 0&&a % x == 0){ ans == 1; } System...
Main.java:19: error: not a statement ans == 1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u806768852|p03861|0
u806768852|p03861|0
codenet
Compile Error
344
v2_s192393912
s192393912
s192393912
p03861
p03861
u816631826
u816631826
1,563,574,792
2019-07-19T22:19:52
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); long a = in.nextLong(); long b = in.nextLong(); long x = in.nextLong(); long count=0; for(int i=a;i<b;i++){ if(i%x==0){ count++;...
Main.java:9: error: incompatible types: possible lossy conversion from long to int for(int i=a;i<b;i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p03861|0
u816631826|p03861|0
codenet
Compile Error
388
v2_s091755961
s091755961
s091755961
p03861
p03861
u816631826
u816631826
1,593,815,903
2020-07-03T22:38:23
Main.java
package com.company; import java.io.*; //import java.util.*; public class Main { //public class Betweenaandb { public static void main(String[] args) { out = new PrintWriter(new BufferedOutputStream(System.out)); MyScanner sc = new MyScanner();//start long a=sc.nextLong(); long b...
Main.java:34: error: cannot find symbol StringTokenizer st; ^ symbol: class StringTokenizer location: class MyScanner Main.java:43: error: cannot find symbol st = new StringTokenizer(br.readLine()); ^ symbol: class StringTokenizer location: cl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p03861|1
u816631826|p03861|1
codenet
Compile Error
1,824
v2_s545401310
s545401310
s545401310
p03861
p03861
u952491523
u952491523
1,549,060,112
2019-02-01T22:28:32
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long x = sc.nextLong(); int geta = (a==0) ? 1 : 0: System.out.println(b/x-a/x +geta); } }
Main.java:8: error: ';' expected int geta = (a==0) ? 1 : 0: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u952491523|p03861|0
u952491523|p03861|0
codenet
Compile Error
281
v2_s530704022
s530704022
s530704022
p03861
p03861
u997188008
u997188008
1,490,946,392
2017-03-31T07:46:32
Main.java
import java.util.Scanner; public classMain { public static void main(String[] args){ Scanner sc=new Scanner(System.in); long a=sc.nextLong(),b=sc.nextLong(),x=sc.nextLong(),C =0; C =b/x-a/x; if(a%x==0){ C++; } System.out.println(C); sc.close(); } }
Main.java:3: error: class, interface, enum, or record expected public classMain { ^ Main.java:4: 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:14: error: class,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u997188008|p03861|0
u997188008|p03861|0
codenet
Compile Error
303
v2_s773541602
s773541602
s773541602
p03862
p03862
u185193776
u185193776
1,480,906,172
2016-12-05T02:49:32
Main.java
/** * Created by sonetsuyoshi on 2016/07/31. */ public class Main { static public void main(String[] args) { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); long x = scanner.nextLong(); long[] arr = new long[N]; for(int i = 0; i < N; i++) { ...
Main.java:8: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u185193776|p03862|0
u185193776|p03862|0
codenet
Compile Error
970
v2_s202985967
s202985967
s202985967
p03862
p03862
u222822036
u222822036
1,598,473,006
2020-08-26T20:16:46
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main{ //Don't have to see. start------------------------------------------ static class InputIterator{ ArrayList<String> inputLine = new ArrayList<String>(1024); int index = 0; int max; String read; InputIterator(){ BufferedReader br = ne...
Main.java:81: error: cannot find symbol int minus = (mae + ato) - K; ^ symbol: variable K location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222822036|p03862|0
u222822036|p03862|0
codenet
Compile Error
3,423
v2_s641855768
s641855768
s641855768
p03862
p03862
u265931302
u265931302
1,566,889,383
2019-08-27T07:03:03
Main.java
mport java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int ops = 0; int[] candies = new int[n]; for(int i = 0; i < n; i++){ candies[i] = sc.nextInt(); } for(int i ...
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u265931302|p03862|0
u265931302|p03862|0
codenet
Compile Error
642
v2_s091669704
s091669704
s091669704
p03862
p03862
u405193972
u405193972
1,480,912,478
2016-12-05T04:34:38
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long ans = 0; int N = Integer.parseInt(sc.next()); int x = Integer.parseInt(sc.next()); int[] a = new int[N+1]; while(true){ a[cnt] = Integer.parseInt(sc.n...
Main.java:14: error: cannot find symbol a[cnt] = Integer.parseInt(sc.next()); ^ symbol: variable cnt location: class Main Main.java:15: error: cannot find symbol cnt++; ^ symbol: variable cnt location: class Main Main.java:16: error: cannot find symbol if(cnt==N)bre...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u405193972|p03862|1
u405193972|p03862|0
codenet
Compile Error
707
v2_s295799974
s295799974
s295799974
p03862
p03862
u421764188
u421764188
1,480,906,590
2016-12-05T02:56:30
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 x=sc.nextInt(); int a[]=new int[n]; for (int i = 0; i < n; i++) { a[i]=sc.nextInt(); } long ans=0; if(a[0]>x){ ans+=a[0]-x; a[0]-=ans; } for ...
Main.java:28: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u421764188|p03862|0
u421764188|p03862|0
codenet
Compile Error
499
v2_s970655234
s970655234
s970655234
p03862
p03862
u429053592
u429053592
1,481,165,160
2016-12-08T02:46:00
Main.java
class UnionFind { private int[] data; public UnionFind(int size) { data = new int[size]; clear(); } public UnionFind(final UnionFind uf) { data = uf.data.clone(); } public void copyFrom(final UnionFind uf) { System.arraycopy(uf.data, 0, data, 0, data.length); } public void clear() { Arrays.fil...
Main.java:18: error: cannot find symbol Arrays.fill(data, -1); ^ symbol: variable Arrays location: class UnionFind 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u429053592|p03862|0
u429053592|p03862|0
codenet
Compile Error
721
v2_s470163775
s470163775
s470163775
p03862
p03862
u504228740
u504228740
1,546,923,523
2019-01-08T04:58:43
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int number = sc.nextInt(); long max = sc.nextLong(); int count = 0; long[] c = new long[number]; for(int i = 0; i < number; i++){ long a = sc.nextLong(); c[i]=a; } for(int i =...
Main.java:15: error: cannot find symbol if(((a[i-1]+a[i])-x) < a[i]){ ^ symbol: variable a location: class Main Main.java:15: error: cannot find symbol if(((a[i-1]+a[i])-x) < a[i]){ ^ symbol: variable a location: class Main Main.java:15: error: cannot find symbol if(((a[...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u504228740|p03862|0
u504228740|p03862|0
codenet
Compile Error
562
v2_s848593421
s848593421
s848593421
p03862
p03862
u516438812
u516438812
1,481,081,249
2016-12-07T03:27:29
Main.java
package main import "fmt" type long int64 func Min(x,y long) long { if x < y { return x } return y } func main() { var N,x,ans,i long var a [100000]long fmt.Scan(&N,&x) for i=0;i<N;i++ { fmt.Scan(&a[i]) } for i=1;i<N;i++ { var diff long = a[i-1]+a[i]-x if diff > 0 { ans += diff min := Min(dif...
Main.java:1: error: ';' expected package main ^ Main.java:3: error: <identifier> expected import "fmt" ^ Main.java:17: error: class, interface, enum, or record expected for i=0;i<N;i++ { ^ Main.java:17: error: class, interface, enum, or record expected for i=0;i<N;i++ { ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516438812|p03862|0
u516438812|p03862|0
codenet
Compile Error
423
v2_s259541951
s259541951
s259541951
p03862
p03862
u516438812
u516438812
1,481,081,270
2016-12-07T03:27:50
Main.java
package main import "fmt" type long int64 func Min(x,y long) long { if x < y { return x } return y } func main() { var N,x,ans,i long var a [100000]long fmt.Scan(&N,&x) for i=0;i<N;i++ { fmt.Scan(&a[i]) } for i=1;i<N;i++ { var diff long = a[i-1]+a[i]-x if diff > 0 { ans += diff min := Min(dif...
Main.java:1: error: ';' expected package main ^ Main.java:3: error: <identifier> expected import "fmt" ^ Main.java:17: error: class, interface, enum, or record expected for i=0;i<N;i++ { ^ Main.java:17: error: class, interface, enum, or record expected for i=0;i<N;i++ { ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516438812|p03862|0
u516438812|p03862|0
codenet
Compile Error
423
v2_s501865282
s501865282
s501865282
p03862
p03862
u516438812
u516438812
1,481,081,295
2016-12-07T03:28:15
Main.java
package main import "fmt" type long int64 func Min(x,y long) long { if x < y { return x } return y } func main() { var N,x,ans,i long var a [100000]long fmt.Scan(&N,&x) for i=0;i<N;i++ { fmt.Scan(&a[i]) } for i=1;i<N;i++ { var diff long = a[i-1]+a[i]-x if diff > 0 { ans += diff min := Min(dif...
Main.java:1: error: ';' expected package main ^ Main.java:3: error: <identifier> expected import "fmt" ^ Main.java:17: error: class, interface, enum, or record expected for i=0;i<N;i++ { ^ Main.java:17: error: class, interface, enum, or record expected for i=0;i<N;i++ { ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516438812|p03862|0
u516438812|p03862|0
codenet
Compile Error
423
v2_s925338452
s925338452
s925338452
p03862
p03862
u653981267
u653981267
1,596,129,791
2020-07-30T17:23:11
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 x = sc.nextLong(); long[] a = new long[n]; for(int i = 0; i < n; i++) { a[i] = sc.nextLong(); } long ans = 0; for(int i = 1; i < n; i+...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03862|3
u653981267|p03862|3
codenet
Compile Error
584
v2_s674520049
s674520049
s674520049
p03862
p03862
u762160119
u762160119
1,553,808,807
2019-03-28T21:33:27
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int x = sc.nextInt(); int[] a = new int[N]; for(int i = 0; i<N; i++) { a[i] = sc.nextInt(); } long ans = 0; ...
Main.java:16: error: incompatible types: possible lossy conversion from long to int a[i] = Math.max(0, a[i]-sum); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u762160119|p03862|0
u762160119|p03862|0
codenet
Compile Error
548
v2_s882035198
s882035198
s882035198
p03863
p03863
u018679195
u018679195
1,516,833,957
2018-01-24T22:45:57
Main.java
#include<iostream> #include <math.h> #include <bits/stdc++.h> #define ll long long #define inf 0x3f3f3f3f #define maxn 310000 using namespace std; int vis[maxn]; char s[111111]; int main() { int i,j,n,jj=0,sum=0,k,flag; cin>>s; n=strlen(s); for(i=1;i<n-1;i++) { if(s[i-1]!=s[i+1]) jj++; }...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include <math.h> ^ Main.java:3: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:4: error: illegal character: '#' #define ll long long ^ Main.java:5: error: illegal character: '#' #define inf 0x...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03863|0
u018679195|p03863|0
codenet
Compile Error
379
v2_s016655908
s016655908
s016655908
p03863
p03863
u803964885
u803964885
1,512,334,754
2017-12-03T20:59:14
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String s = scanner.next(); int length = s.length(); StringBuilder sb = new StringBuilder(s); int turn = 0; // 偶数 = 高橋, 奇数 = 青木 int i = 1; while (i < leng...
Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803964885|p03863|0
u803964885|p03863|0
codenet
Compile Error
1,240
v2_s078157861
s078157861
s078157861
p03864
p03864
u632347647
u632347647
1,499,284,260
2017-07-05T19:51:00
Main.java
import java.io.*; import java.util.*; class Main { private static InputReader in; private static PrintWriter out; public static void main(String args[]) throws IOException { in = new InputReader(); out = new PrintWriter(System.out); //String x = in.next(); //while (!x.equal...
Main.java:28: error: unreachable statement if (a[0] < x) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u632347647|p03864|0
u632347647|p03864|0
codenet
Compile Error
4,660
v2_s604562354
s604562354
s604562354
p03864
p03864
u816631826
u816631826
1,601,537,869
2020-10-01T07:37:49
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(), x = sc.nextInt(), a[] = new int[n]; for (int i = 0; i < n; i++) a[i] = sc.nextInt(); long cnt = 0; cnt += Math.max(0...
Main.java:12: error: incompatible types: possible lossy conversion from long to int int current = a[0]-cnt; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p03864|4
u816631826|p03864|4
codenet
Compile Error
571
v2_s364823227
s364823227
s364823227
p03865
p03865
u225097492
u225097492
1,481,091,891
2016-12-07T06:24:51
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // standard input String s = sc.next(); // process boolean isStrLenEvenNumber = (s.length() % 2 == 0); boolean isSameFirstAndLast = (s.charAt(0) == (s.charAt(s.length() - 1)); ...
Main.java:13: error: ')' expected boolean isSameFirstAndLast = (s.charAt(0) == (s.charAt(s.length() - 1)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u225097492|p03865|0
u225097492|p03865|0
codenet
Compile Error
477
v2_s845349896
s845349896
s845349896
p03866
p03866
u137087473
u137087473
1,585,121,583
2020-03-25T07:33:03
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main { static boolean DEBUG; public static void main(String[] args) { DEBUG = args.length > 0 && args[0].equals("-DEBUG"); Solver solver = new Solver(); solver.solve(); solver.exit(); } static class FastScanner { private final InputSt...
Main.java:888: error: integer number too large int x = 1000000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u137087473|p03866|0
u137087473|p03866|0
codenet
Compile Error
27,073
v2_s767648292
s767648292
s767648292
p03866
p03866
u874644572
u874644572
1,585,114,385
2020-03-25T05:33:05
Main.java
import java.io.Serializable; import java.util.AbstractCollection; import java.util.AbstractMap; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Comparator; import java.util.ConcurrentModificationException; import java.util.HashMap; import java.util.Iterator; import jav...
Main.java:64: error: incompatible types: double[] cannot be converted to boolean[] boolean[] visited = new double[graph.size()]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u874644572|p03866|0
u874644572|p03866|0
codenet
Compile Error
34,606
v2_s251676954
s251676954
s251676954
p03878
p03878
u364987850
u364987850
1,511,774,400
2017-11-27T09:20:00
Main.java
import java.util.Arrays; import java.util.Scanner; class event implements Comparable<event>{ public int a; public int b; public event(int a , int b){ this.a = a; this.b = b; } public int compareTo(event other){ // return b - other.b; return Integer.compare(b , other.b); } } public clas...
Main.java:49: error: cannot find symbol size[p.t]++; ^ symbol: variable p location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u364987850|p03878|0
u364987850|p03878|0
codenet
Compile Error
1,269
v2_s248743917
s248743917
s248743917
p03880
p03880
u981808900
u981808900
1,568,422,782
2019-09-14T00:59:42
Main.java
import java.io.*; import java.util.*; class Main { static Scanner scanner = new Scanner(); static long mod = 1000000007; public static void main(String[]$) { int n = scanner.nextInt(); int xor = 0; boolean[] x = new boolean[32]; for (int i = 0; i < n; i++) { int...
Main.java:55: error: reached end of file while parsing }j ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p03880|0
u981808900|p03880|0
codenet
Compile Error
1,547
v2_s264599487
s264599487
s264599487
p03888
p03888
u218710411
u218710411
1,540,061,011
2018-10-20T18:43:31
Main.java
java.util.*; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); System.out.println(1 / ( ( 1 / sc.nextInt() ) + ( 1 / sc.nextInt() ) ) ); } }
Main.java:1: error: class, interface, enum, or record expected java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218710411|p03888|0
u218710411|p03888|0
codenet
Compile Error
192
v2_s062507957
s062507957
s062507957
p03889
p03889
u118217038
u118217038
1,480,306,111
2016-11-28T04:08:31
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner don = new Scanner(System.in); String[] an,bn; String as; an = new String[4]; bn = new String[4]; as = don.next(); for(int i=0;i<4;i++){ if(String.valueOf(as.charAt(i)).equals("d")){ an[i]="d"; bn[i]="...
Main.java:30: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u118217038|p03889|0
u118217038|p03889|0
codenet
Compile Error
659
v2_s931256182
s931256182
s931256182
p03890
p03890
u118217038
u118217038
1,480,427,057
2016-11-29T13:44:17
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner as = new Scanner(System.in); int n = as.nexInt(); int l = n; int[] a; int b = 0; int c = (int)Math.pow(2, n); a = new int[c]; for(int i=0;i<c;i++){ a[i] = as.nextInt(); } for(int s=0;s<n;s++){ for(i...
Main.java:5: error: cannot find symbol int n = as.nexInt(); ^ symbol: method nexInt() location: variable as of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u118217038|p03890|1
u118217038|p03890|1
codenet
Compile Error
604
v2_s575875169
s575875169
s575875169
p03890
p03890
u888451304
u888451304
1,537,299,580
2018-09-18T19:39:40
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.*; class Main{ static void solve(){ int n = ni(); Deque<Integer> que = new ArrayDeque<>(); for(int i=0;i<(1<<n);++i)que.add(ni()); while(!que.size()==1){ int x = que.pollFirst(), y=que.pollF...
Main.java:13: error: bad operand type int for unary operator '!' while(!que.size()==1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u888451304|p03890|0
u888451304|p03890|0
codenet
Compile Error
3,809
v2_s782344712
s782344712
s782344712
p03903
p03903
u313111801
u313111801
1,518,950,190
2018-02-18T10:36:30
Main.java
import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; public class Main implements Runnable { public static void main(String[] args) { new Thread(null, new Main(), "", Runtime.getRuntime().maxMemory()).start(); } public void run() ...
Main.java:120: error: cannot find symbol pw.println(ans - max[s][d]); ^ symbol: variable ans location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u313111801|p03903|0
u313111801|p03903|0
codenet
Compile Error
2,656
v2_s602341548
s602341548
s602341548
p03909
p03909
u587100042
u587100042
1,590,393,065
2020-05-25T07:51:05
Main.java
import java.util.*; public class Main{ public static chalpha(int n){ char[] ch="ABCDEFGHIJKLMNOPQRSTUVWXYZ".toCharArray(); return ch[n]; } public static void main(String[] args){ Scanner sc = new Scanner(System.in); int h=sc.nextInt(),w=sc.nextInt(),f=0; char c; String[][] str=new String[h][w];...
Main.java:4: error: invalid method declaration; return type required public static chalpha(int n){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03909|0
u587100042|p03909|0
codenet
Compile Error
546
v2_s825145636
s825145636
s825145636
p03909
p03909
u587100042
u587100042
1,590,393,113
2020-05-25T07:51:53
Main.java
import java.util.*; public class Main{ public static char chalpha(int n){ char[] ch="ABCDEFGHIJKLMNOPQRSTUVWXYZ".toCharArray(); return ch[n]; } public static void main(String[] args){ Scanner sc = new Scanner(System.in); int h=sc.nextInt(),w=sc.nextInt(),f=0; char c; String[][] str=new String[h...
Main.java:22: error: variable c might not have been initialized System.out.println(c+""+f); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03909|0
u587100042|p03909|0
codenet
Compile Error
551
v2_s592700213
s592700213
s592700213
p03909
p03909
u587100042
u587100042
1,590,393,151
2020-05-25T07:52:31
Main.java
import java.util.*; public class Main{ public static char chalpha(int n){ char[] ch="ABCDEFGHIJKLMNOPQRSTUVWXYZ".toCharArray(); return ch[n]; } public static void main(String[] args){ Scanner sc = new Scanner(System.in); int h=sc.nextInt(),w=sc.nextInt(),f=0; char c=''; String[][] str=new Strin...
Main.java:11: error: empty character literal char c=''; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03909|0
u587100042|p03909|0
codenet
Compile Error
554
v2_s742837252
s742837252
s742837252
p03909
p03909
u842558079
u842558079
1,543,862,074
2018-12-03T18:34:34
Main.java
class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); H = sc.nextInt(), W = sc.nextInt(); String[][] S = new String[H][W]; ansH = -1,ansW = -1; for(int i=0;i<H;i++){ for(int j=0;j<W;j++){ S[i][j] = s.next(); if(S[i][j].equals("snuke")){ ...
Main.java:4: error: ';' expected H = sc.nextInt(), W = sc.nextInt(); ^ Main.java:6: error: ';' expected ansH = -1,ansW = -1; ^ Main.java:16: error: '.class' expected System.out.println(char("A"+j)+(i+1)) ^ Main.java:16: error: not a statement S...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u842558079|p03909|0
u842558079|p03909|0
codenet
Compile Error
427
v2_s038423029
s038423029
s038423029
p03911
p03911
u383107062
u383107062
1,572,810,683
2019-11-03T19:51:23
Main.java
import java.util.*; public class Main { static int[] par; static int[] rank; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); par = new int[n]; rank = new int[n]; ArrayList[] list = new ArrayList[m]; for(int i = ...
Main.java:26: error: incompatible types: Object cannot be converted to int unite(list[i].get(j), list[i].get(j + 1)); ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some messages have been simplified; recompile with -Xdiag...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u383107062|p03911|0
u383107062|p03911|0
codenet
Compile Error
1,535
v2_s145824662
s145824662
s145824662
p03919
p03919
u451080461
u451080461
1,574,484,085
2019-11-23T04:41:25
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { Main main = new Main(); main.solve(); } public void solve() { Scanner scan = new Scanner(new BufferedRead...
Main.java:28: error: cannot find symbol sb.append((char)((int)'A'+j)); ^ symbol: variable j location: class Main Main.java:29: error: cannot find symbol sb.append(j); ^ symbol: variable j location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u451080461|p03919|0
u451080461|p03919|0
codenet
Compile Error
922
v2_s700975507
s700975507
s700975507
p03919
p03919
u981808900
u981808900
1,560,031,014
2019-06-08T21:56:54
Main.java
import java.util.*; public class Main { static Scanner scanner = new Scanner(System.in); public static void main(String[]$) { int h = scanner.nextInt(), w = scanner.nextInt(); for (int i = 1; i <= w; i++) { for (int j = 0; j < h; j++) { if (scanner.nextInt().equals("snuke")) { ...
Main.java:10: error: int cannot be dereferenced if (scanner.nextInt().equals("snuke")) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p03919|0
u981808900|p03919|0
codenet
Compile Error
406
v2_s355801616
s355801616
s355801616
p03921
p03921
u266665184
u266665184
1,522,813,798
2018-04-04T03:49:58
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.util.HashSet; import java.util.InputMismatchException; import java.util.Set; import java.util.StringTokenizer; import codefesti...
Main.java:14: error: package codefestival2016Final.C does not exist import codefestival2016Final.C.UnionFind; ^ Main.java:36: error: cannot find symbol UnionFind uf = new UnionFind(n + m); ^ symbol: class UnionFind location: class TaskX Main.java:36: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u266665184|p03921|0
u266665184|p03921|0
codenet
Compile Error
2,238
v2_s728854466
s728854466
s728854466
p03921
p03921
u592725337
u592725337
1,480,191,380
2016-11-26T20:16:20
Main.java
import java.io.*; import java.lang.*; import java.util.*; public class Main { static int count = 0; static boolean[] m; static Map<Integer, List<Integer>> spoken; static int[][] L; public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(Syst...
Main.java:34: error: cannot find symbol if (count == N) return; ^ symbol: variable N location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u592725337|p03921|0
u592725337|p03921|0
codenet
Compile Error
1,096
v2_s533310281
s533310281
s533310281
p03937
p03937
u621472351
u621472351
1,479,008,467
2016-11-13T03:41:07
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); try { int height = sc.nextInt(); int width = sc.nextInt(); char[][] list = new char[height][width]; for (int i = 0; i < height; i++) { String str = sc.next(); for (int j = 0; j < width; j++...
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
u621472351|p03937|0
u621472351|p03937|0
codenet
Compile Error
1,187
v2_s802796820
s802796820
s802796820
p03937
p03937
u925103765
u925103765
1,535,947,591
2018-09-03T04:06:31
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int H = sc.nextInt(); int W = sc.nextInt(); String[] dic = new String[H]; for(int i=0;i<H;i++) dic[i]=sc.next(); int end = -1; for(int i=0;i<H;i++){ ...
Main.java:19: error: ';' expected whlie(dic[i].charAt(end)=='.') end++; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925103765|p03937|0
u925103765|p03937|0
codenet
Compile Error
628
v2_s549459557
s549459557
s549459557
p03938
p03938
u881359256
u881359256
1,594,350,832
2020-07-10T03:13:52
Main.java
import java.util.*; public class Main { static void solve() { int n = ni(); int[] a = new int[n], b = new int[n]; for(int i=0;i<n;i++) { a[i] = 30000 * i + 1; } for(int i=0;i<n;i++) { b[i] = n - i; } for(int i=0;i<n;i++) { int p = ni()-1; a[p] += i; } for(int i=0;i<n;i++) out.print(a[i] ...
Main.java:536: error: cannot find symbol static InputStream is; ^ symbol: class InputStream location: class Main Main.java:537: error: cannot find symbol static PrintWriter out; ^ symbol: class PrintWriter location: class Main Main.java:530: error: cannot find symbol is = INPUT.isEmpty()...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u881359256|p03938|2
u881359256|p03938|2
codenet
Compile Error
15,849
v2_s623618700
s623618700
s623618700
p03938
p03938
u923285281
u923285281
1,479,657,699
2016-11-20T16:01: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(); int p[] = new int [N]; for (int i = 0; i < N; i++) { p[i] = sc.nextInt() - 1; } int r[] = new int[N]; for (int i = 0; i < N; i++) { r[p[i]] = i + 1; ...
Main.java:36: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923285281|p03938|1
u923285281|p03938|1
codenet
Compile Error
678
v2_s756416651
s756416651
s756416651
p03940
p03940
u159469260
u159469260
1,479,008,892
2016-11-13T03:48:12
Main.java
Int(); t = in.nextInt(); x = new int[n]; for (int i = 0; i < n; ++i) x[i] = in.nextInt(); if (n == 1) { out.println(e + t); return; } long ans = x[0]; int idx = 0; while (idx < n - 1) { long cnt = 2; int nxt = idx; long tem...
Main.java:1: error: class, interface, enum, or record expected Int(); ^ Main.java:2: error: class, interface, enum, or record expected t = in.nextInt(); ^ Main.java:3: error: class, interface, enum, or record expected x = new int[n]; ^ Main.java:4: error: class, interface, enum, or record expect...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u159469260|p03940|0
u159469260|p03940|0
codenet
Compile Error
2,163
v2_s388609915
s388609915
s388609915
p03943
p03943
u067786616
u067786616
1,570,817,679
2019-10-11T18:14:39
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int num[] = new int[3]; int max = 0; int sum = 0; int remain = 0; for(int i=0;i<3;i++){ num[i] = sc.nextInt(); sum += num[i]; } max = Math.max(num[0],num[1],num[2]...
Main.java:14: error: no suitable method found for max(int,int,int) max = Math.max(num[0],num[1],num[2]); ^ method Math.max(int,int) is not applicable (actual and formal argument lists differ in length) method Math.max(long,long) is not applicable (actual and formal argument lists d...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067786616|p03943|0
u067786616|p03943|0
codenet
Compile Error
457
v2_s814522641
s814522641
s814522641
p03943
p03943
u067786616
u067786616
1,570,817,766
2019-10-11T18:16:06
Main.java
import java.util.*; import java.lang.Math.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int num[] = new int[3]; int max = 0; int sum = 0; int remain = 0; for(int i=0;i<3;i++){ num[i] = sc.nextInt(); sum += num[i]; } max = Math...
Main.java:15: error: no suitable method found for max(int,int,int) max = Math.max(num[0],num[1],num[2]); ^ method Math.max(int,int) is not applicable (actual and formal argument lists differ in length) method Math.max(long,long) is not applicable (actual and formal argument lists d...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067786616|p03943|0
u067786616|p03943|0
codenet
Compile Error
482
v2_s039578597
s039578597
s039578597
p03943
p03943
u067786616
u067786616
1,570,817,898
2019-10-11T18:18:18
Main.java
import java.util.*; import java.lang.Math.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int num[] = new int[3]; int maxNum = 0; int sum = 0; int remain = 0; for(int i=0;i<3;i++){ num[i] = sc.nextInt(); sum += num[i]; } maxNum ...
Main.java:15: error: no suitable method found for max(int,int,int) maxNum = Math.max(num[0],num[1],num[2]); ^ method Math.max(int,int) is not applicable (actual and formal argument lists differ in length) method Math.max(long,long) is not applicable (actual and formal argument l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067786616|p03943|0
u067786616|p03943|0
codenet
Compile Error
494
v2_s568719524
s568719524
s568719524
p03943
p03943
u073396193
u073396193
1,590,372,763
2020-05-25T02:12:43
Main.java
import java.io.BufferedReader; import java.io.*; import java.util.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Collections; public class Main { public static void main(final String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); ...
Main.java:26: error: package Sytem does not exist Sytem.out.println("No"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073396193|p03943|0
u073396193|p03943|0
codenet
Compile Error
851
v2_s545512430
s545512430
s545512430
p03943
p03943
u089230684
u089230684
1,599,891,973
2020-09-12T06:26:13
Main.java
Scanner in = new Scanner (System.in); int a,b,c ; System.out.println("enter candies quantity as: "); a=in.nextInt(); b=in.nextInt(); c=in.nextInt(); if(a==b+c) System.out.println("yes"); else if (b==a+c) System.out.println("yes"); else if (c==b+a) System.out.println("yes"); else System....
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner in = new Scanner (System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:2: error: class, interface, enum, or record expected int a,b,c ; ^ Main.java:3: error: class, interface, enum, or record exp...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089230684|p03943|0
u089230684|p03943|0
codenet
Compile Error
353
v2_s357527469
s357527469
s357527469
p03943
p03943
u176003399
u176003399
1,591,498,580
2020-06-07T02:56:20
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num1 = sc.nextInt(); int num2 = sc.nextInt(); int num3 = sc.nextInt(); if((num1 + num2 + num3)%2 == 0){ System.out.println("Yes"); }else{ ...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176003399|p03943|0
u176003399|p03943|0
codenet
Compile Error
375
v2_s872875905
s872875905
s872875905
p03943
p03943
u181039779
u181039779
1,568,335,196
2019-09-13T00:39:56
Main.java
10 30 20
Main.java:1: error: class, interface, enum, or record expected 10 30 20 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u181039779|p03943|0
u181039779|p03943|0
codenet
Compile Error
8
v2_s814674582
s814674582
s814674582
p03943
p03943
u202101624
u202101624
1,566,401,432
2019-08-21T15:30:32
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String result = " "; Integer [] a = new Integer[2] ; for(int i =0; i < 3; i++) { a[i] = scan.nextInt(); } Arrays.sort(a[2]) ; if (a[2] == a[1] + a...
Main.java:15: error: no suitable method found for sort(Integer) Arrays.sort(a[2]) ; ^ method Arrays.sort(int[]) is not applicable (argument mismatch; Integer cannot be converted to int[]) method Arrays.sort(long[]) is not applicable (argument mismatch; Integer cannot be converted to long[]...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u202101624|p03943|0
u202101624|p03943|0
codenet
Compile Error
422
v2_s686449539
s686449539
s686449539
p03943
p03943
u218494002
u218494002
1,478,652,055
2016-11-09T00:40:55
Main.java
import test.jason.io.LRUCache; import test.jason.io.Solution; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); if (a > b) { ...
Main.java:1: error: package test.jason.io does not exist import test.jason.io.LRUCache; ^ Main.java:2: error: package test.jason.io does not exist import test.jason.io.Solution; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218494002|p03943|0
u218494002|p03943|0
codenet
Compile Error
656
v2_s173871307
s173871307
s173871307
p03943
p03943
u371791265
u371791265
1,593,521,314
2020-06-30T12:48:34
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の取得 int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); if(a=b+c){ System.out.println("Yes"); }else if(b=a+c){ Sy...
Main.java:11: error: incompatible types: int cannot be converted to boolean if(a=b+c){ ^ Main.java:13: error: incompatible types: int cannot be converted to boolean }else if(b=a+c){ ^ Main.java:15: error: incompatible types: int cannot be converted to boolean }else if(c=a+b){...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u371791265|p03943|0
u371791265|p03943|0
codenet
Compile Error
484
v2_s179329326
s179329326
s179329326
p03943
p03943
u412290310
u412290310
1,562,873,532
2019-07-11T19:32:12
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); //3つのキャンディーパックを2人に分ける int a = sc.nextInt(); //キャンディーa int b = sc.nextInt(); //キャンディーb int c = sc.nextInt(); //キャンディーc if(a+b=c || b+c=a || a+c=...
Main.java:10: error: unexpected type if(a+b=c || b+c=a || a+c=b){ ^ required: variable found: value Main.java:10: error: bad operand types for binary operator '||' if(a+b=c || b+c=a || a+c=b){ ^ first type: int second type: int Main.java:10: error: bad operand ty...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412290310|p03943|0
u412290310|p03943|0
codenet
Compile Error
516
v2_s513522416
s513522416
s513522416
p03943
p03943
u412290310
u412290310
1,562,873,715
2019-07-11T19:35:15
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); //3つのキャンディーパックを2人に分ける int a = sc.nextInt(); //キャンディーa int b = sc.nextInt(); //キャンディーb int c = sc.nextInt(); //キャンディーc if(a+b==c || b+c==a || a+...
Main.java:11: error: cannot find symbol System.out.println(YES); ^ symbol: variable YES location: class Main Main.java:14: error: cannot find symbol System.out.println(NO); ^ symbol: variable NO location: class Main 2 erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412290310|p03943|0
u412290310|p03943|0
codenet
Compile Error
519
v2_s009755303
s009755303
s009755303
p03943
p03943
u470481460
u470481460
1,478,495,060
2016-11-07T05:04:20
Main.java
class probA{ static public void main(String[] args) { int num[3]; int i, sum = 0; for (i = 0; i < 3; i++){ int num[i] = parseInt(args[i]); sum += num[i] } for (i = 0; i < 3; i++){ if (sum - num[i] == num[i]){ System.out.println("Yes"); System.exit(0); } } System.out.println("No"); System.exit(0); }
Main.java:4: error: ']' expected int num[3]; ^ Main.java:7: error: ']' expected int num[i] = parseInt(args[i]); ^ Main.java:7: error: ';' expected int num[i] = parseInt(args[i]); ^ Main.java:8: error: ';' expected sum += num[i] ^ Main.java:19: error: reached end of file while par...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u470481460|p03943|0
u470481460|p03943|0
codenet
Compile Error
303
v2_s999723677
s999723677
s999723677
p03943
p03943
u470481460
u470481460
1,478,495,129
2016-11-07T05:05:29
Main.java
class probA{ static public void main(String[] args) { int num[] = new num[3]; int i, sum = 0; for (i = 0; i < 3; i++){ int num[i] = parseInt(args[i]); sum += num[i] } for (i = 0; i < 3; i++){ if (sum - num[i] == num[i]){ System.out.println("Yes"); System.exit(0); } } System.out.println("No"); System.exit(0); }
Main.java:7: error: ']' expected int num[i] = parseInt(args[i]); ^ Main.java:7: error: ';' expected int num[i] = parseInt(args[i]); ^ Main.java:8: error: ';' expected sum += num[i] ^ Main.java:19: error: reached end of file while parsing } ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u470481460|p03943|0
u470481460|p03943|0
codenet
Compile Error
315
v2_s658285846
s658285846
s658285846
p03943
p03943
u470481460
u470481460
1,478,495,176
2016-11-07T05:06:16
Main.java
class probA{ static public void main(String[] args) { int num[] = new num[3]; int i, sum = 0; for (i = 0; i < 3; i++){ num[i] = parseInt(args[i]); sum += num[i]; } for (i = 0; i < 3; i++){ if (sum - num[i] == num[i]){ System.out.println("Yes"); System.exit(0); } } System.out.println("No"); System.exit(0); } }
Main.java:4: error: cannot find symbol int num[] = new num[3]; ^ symbol: class num location: class probA Main.java:7: error: cannot find symbol num[i] = parseInt(args[i]); ^ symbol: method parseInt(String) location: class probA 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u470481460|p03943|0
u470481460|p03943|0
codenet
Compile Error
313
v2_s262985242
s262985242
s262985242
p03943
p03943
u470481460
u470481460
1,478,495,260
2016-11-07T05:07:40
Main.java
class probA{ static public void main(String[] args) { int suji[] = new suji[3]; int i, sum = 0; for (i = 0; i < 3; i++){ suji[i] = parseInt(args[i]); sum += num[i]; } for (i = 0; i < 3; i++){ if (sum - suji[i] == suji[i]){ System.out.println("Yes"); System.exit(0); } } System.out.println("No"); System.exit(0); } }
Main.java:4: error: cannot find symbol int suji[] = new suji[3]; ^ symbol: class suji location: class probA Main.java:7: error: cannot find symbol suji[i] = parseInt(args[i]); ^ symbol: method parseInt(String) location: class probA Main.java:8: error: cannot find symbol sum += nu...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u470481460|p03943|0
u470481460|p03943|0
codenet
Compile Error
320
v2_s993354245
s993354245
s993354245
p03943
p03943
u470481460
u470481460
1,478,495,351
2016-11-07T05:09:11
Main.java
class probA{ static public void main(String[] args) { int suji[] = new int[3]; int i, sum = 0; for (i = 0; i < 3; i++){ suji[i] = parseInt(args[i]); sum += suji[i]; } for (i = 0; i < 3; i++){ if (sum - suji[i] == suji[i]){ System.out.println("Yes"); System.exit(0); } } System.out.println("No"); System.exit(0); } }
Main.java:7: error: cannot find symbol suji[i] = parseInt(args[i]); ^ symbol: method parseInt(String) location: class probA 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u470481460|p03943|0
u470481460|p03943|0
codenet
Compile Error
319
v2_s295555791
s295555791
s295555791
p03943
p03943
u470481460
u470481460
1,478,495,448
2016-11-07T05:10:48
Main.java
class probA{ static public void main(String[] args) { int suji[] = new suji[3]; int i, sum = 0; for (i = 0; i < 3; i++){ suji[i] = Integer.parseInt(args[i]); sum += num[i]; } for (i = 0; i < 3; i++){ if (sum - suji[i] == suji[i]){ System.out.println("Yes"); System.exit(0); } } System.out.println("No"); System.exit(...
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u470481460|p03943|0
u470481460|p03943|0
codenet
Compile Error
325
v2_s344529964
s344529964
s344529964
p03943
p03943
u470481460
u470481460
1,478,495,485
2016-11-07T05:11:25
Main.java
class probA{ static public void main(String[] args) { int suji[] = new suji[3]; int i, sum = 0; for (i = 0; i < 3; i++){ suji[i] = Integer.parseInt(args[i]); sum += num[i]; } for (i = 0; i < 3; i++){ if (sum - suji[i] == suji[i]){ System.out.println("Yes"); System.exit(0); } } System.out.println("No"); System.exit(...
Main.java:4: error: cannot find symbol int suji[] = new suji[3]; ^ symbol: class suji location: class probA Main.java:8: error: cannot find symbol sum += num[i]; ^ symbol: variable num location: class probA 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u470481460|p03943|0
u470481460|p03943|0
codenet
Compile Error
327
v2_s723146465
s723146465
s723146465
p03943
p03943
u482933792
u482933792
1,552,882,012
2019-03-18T04:06:52
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scaner sc = new Scaner(System in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); if(A == B + C){ System.out.println("Yes"); } else if(B == A + C){ System....
Main.java:4: error: ')' or ',' expected Scaner sc = new Scaner(System in); ^ Main.java:4: error: not a statement Scaner sc = new Scaner(System in); ^ Main.java:4: error: ';' expected Scaner sc = new Scaner(System in); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u482933792|p03943|0
u482933792|p03943|0
codenet
Compile Error
484
v2_s193557263
s193557263
s193557263
p03943
p03943
u488934106
u488934106
1,577,391,244
2019-12-26T20:14:04
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int a = Integer.parseInt(sc.next()); int b = Integer.parseInt(sc.next()); int c = Integer.parseInt(sc.next()); if(((a+b == c) || ((a+c == b) || ((b+c == a)) { System.out.println("Yes");...
Main.java:9: error: ')' expected if(((a+b == c) || ((a+c == b) || ((b+c == a)) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u488934106|p03943|0
u488934106|p03943|0
codenet
Compile Error
368