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_s176604003
s176604003
s176604003
p03448
p03448
u157348006
u157348006
1,600,198,555
2020-09-15T19:35:55
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(); int x sc.nextInt(); int count=0; boolean flag100 = true; boolean flag50 = true;...
Main.java:6: error: ';' expected int a sc.nextInt(); ^ Main.java:7: error: ';' expected int b sc.nextInt(); ^ Main.java:8: error: ';' expected int c sc.nextInt(); ^ Main.java:9: error: ';' expected int x sc.nextInt(); ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u157348006|p03448|0
u157348006|p03448|0
codenet
Compile Error
1,131
v2_s359527336
s359527336
s359527336
p03448
p03448
u157348006
u157348006
1,600,198,609
2020-09-15T19:36:49
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(); int x = sc.nextInt(); int count=0; boolean flag100 = true; boolean flag5...
Main.java:48: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:53: error: ';' expected int a sc.nextInt(); ^ Main.java:54: error: ';' expected int b sc.nextInt(); ^ Main.java:55: error: ';' expected int c sc.nextInt(); ^ Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u157348006|p03448|0
u157348006|p03448|0
codenet
Compile Error
2,273
v2_s492532991
s492532991
s492532991
p03448
p03448
u157348006
u157348006
1,600,198,650
2020-09-15T19:37:30
Main.java
mport 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(); int x = sc.nextInt(); int count=0; boolean flag100 = true; boolean flag50...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u157348006|p03448|0
u157348006|p03448|0
codenet
Compile Error
1,139
v2_s329331738
s329331738
s329331738
p03448
p03448
u182897471
u182897471
1,517,592,291
2018-02-02T17:24:51
Main.java
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(); int X = sc.nextInt(); int count = 0; for (int a = 0; a <= A; a++) { for (int b = 0; b <= B; b++) { for (int c = 0; c <= C; c++) { ...
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
u182897471|p03448|0
u182897471|p03448|0
codenet
Compile Error
432
v2_s420398789
s420398789
s420398789
p03448
p03448
u276492340
u276492340
1,536,275,380
2018-09-06T23:09:40
Main.java
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(); int X = sc.nextInt(); int z = 0; for(int i; A==X; i++){ z = z+i; } ...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03448|0
u276492340|p03448|0
codenet
Compile Error
467
v2_s547173771
s547173771
s547173771
p03448
p03448
u276492340
u276492340
1,536,275,489
2018-09-06T23:11:29
Main.java
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(); int X = sc.nextInt(); int z = 0; for(int i = 0; A==X; i++){ z = z+i; ...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03448|0
u276492340|p03448|0
codenet
Compile Error
479
v2_s374883863
s374883863
s374883863
p03448
p03448
u276492340
u276492340
1,536,277,484
2018-09-06T23:44:44
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 C = sc.nextInt(); int X = sc.nextInt(); int ans = 0; int ans1 = 0; in...
Main.java:43: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03448|0
u276492340|p03448|0
codenet
Compile Error
1,044
v2_s969247787
s969247787
s969247787
p03448
p03448
u276492340
u276492340
1,536,277,729
2018-09-06T23:48:49
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 C = sc.nextInt(); int X = sc.nextInt(); int ans = 0; int ans1 = 0; in...
Main.java:28: error: ';' expected break ^ Main.java:33: error: class, interface, enum, or record expected System.out.print(ans); ^ Main.java:34: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03448|0
u276492340|p03448|0
codenet
Compile Error
834
v2_s656644259
s656644259
s656644259
p03448
p03448
u276492340
u276492340
1,536,278,295
2018-09-06T23:58:15
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args){ MyScanner scanner = new MyScanner(); // 整数の入力 int A = scanner.nextIn(); int B = scanner.nextIn(); int C = scanner.nextIn(); int X = scanner.ne...
Main.java:6: error: cannot find symbol MyScanner scanner = new MyScanner(); ^ symbol: class MyScanner location: class Main Main.java:6: error: cannot find symbol MyScanner scanner = new MyScanner(); ^ symbol: class MyScanner location: class Main 2 erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03448|0
u276492340|p03448|0
codenet
Compile Error
792
v2_s650285342
s650285342
s650285342
p03448
p03448
u277343138
u277343138
1,525,924,089
2018-05-10T03:48:09
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(); int x = sc.nextInt(); int answer = 0; for (int i = 0; i <= a; i++) { for (int j = 0; j <= b; j++) {...
Main.java:16: error: variable c is already defined in method main(String[]) int c = cc / 50; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u277343138|p03448|0
u277343138|p03448|0
codenet
Compile Error
497
v2_s260520627
s260520627
s260520627
p03448
p03448
u286256224
u286256224
1,559,313,435
2019-05-31T14:37:15
Min.java
public class Min { public static void main(String[] args) { Scanner sca=new Scanner(System.in); int a=sca.nextInt(); int b=sca.nextInt(); int c=sca.nextInt(); int x=sca.nextInt(); int y=0; for (int i=0;i<=a;i++) { for (int j=0;j<=b;j++) { for(int k=0;k<=c;k++) { if((500*i)+(100*j)+(50*k)==x) { ...
Min.java:3: error: cannot find symbol Scanner sca=new Scanner(System.in); ^ symbol: class Scanner location: class Min Min.java:3: error: cannot find symbol Scanner sca=new Scanner(System.in); ^ symbol: class Scanner location: class Min 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u286256224|p03448|0
u286256224|p03448|0
codenet
Compile Error
381
v2_s084730377
s084730377
s084730377
p03448
p03448
u286256224
u286256224
1,559,313,518
2019-05-31T14:38:38
Min.java
public class Min { public static void main(String[] args) { Scanner sca=new Scanner(System.in); int a=sca.nextInt(); int b=sca.nextInt(); int c=sca.nextInt(); int x=sca.nextInt(); int y=0; for (int i=0;i<=a;i++) { for (int j=0;j<=b;j++) { for(int k=0;k<=c;k++) { if((500*i)+(100*j)+(50*k)==x) { ...
Min.java:3: error: cannot find symbol Scanner sca=new Scanner(System.in); ^ symbol: class Scanner location: class Min Min.java:3: error: cannot find symbol Scanner sca=new Scanner(System.in); ^ symbol: class Scanner location: class Min 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u286256224|p03448|0
u286256224|p03448|0
codenet
Compile Error
382
v2_s732589944
s732589944
s732589944
p03448
p03448
u316171408
u316171408
1,596,291,821
2020-08-01T14:23:41
Main.java
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(); int X = sc.nextInt(); int count = 0; for(int i = 0; i <= A; i++) { for(int j = 0; j <= B; j...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316171408|p03448|0
u316171408|p03448|0
codenet
Compile Error
653
v2_s170632537
s170632537
s170632537
p03448
p03448
u316171408
u316171408
1,596,291,906
2020-08-01T14:25:06
Main.java
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(); int X = sc.nextInt(); int count = 0; for(int i = 0; i <= A; i++) { for(int j = 0; j <= B...
Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: 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
u316171408|p03448|0
u316171408|p03448|0
codenet
Compile Error
658
v2_s705283853
s705283853
s705283853
p03448
p03448
u316394373
u316394373
1,536,279,698
2018-09-07T00:21:38
Main.java
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 C = sc.nextInt(); int X = sc.nextInt(); int sum = 0; int count = 0; for(int i=0; i<=A; i++) { ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316394373|p03448|0
u316394373|p03448|0
codenet
Compile Error
721
v2_s696150689
s696150689
s696150689
p03448
p03448
u334656323
u334656323
1,517,526,738
2018-02-01T23:12:18
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 C=sc.nextInt(); int X=sc.nextInt(); int l=0; for(int i=0;i<=A;i++){ for(int j=0;j<=B;...
Main.java:13: error: incompatible types: int cannot be converted to boolean if(X=500*i+100*j+50*k){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334656323|p03448|0
u334656323|p03448|0
codenet
Compile Error
606
v2_s849035206
s849035206
s849035206
p03448
p03448
u356726575
u356726575
1,551,928,255
2019-03-07T03:10:55
Hello.java
public class Hello{ public static void Main(){ int A = int.Parse(System.Console.ReadLine()); int B = int.Parse(System.Console.ReadLine()); int C = int.Parse(System.Console.ReadLine()); int X = int.Parse(System.Console.ReadLine()); int count = 0; for(int i = 0; i <= ...
Hello.java:4: error: class expected int A = int.Parse(System.Console.ReadLine()); ^ Hello.java:4: error: ';' expected int A = int.Parse(System.Console.ReadLine()); ^ Hello.java:4: error: ';' expected int A = int.Parse(System.Console.ReadLine()); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u356726575|p03448|0
u356726575|p03448|0
codenet
Compile Error
610
v2_s696379989
s696379989
s696379989
p03448
p03448
u369029128
u369029128
1,517,717,148
2018-02-04T04:05:48
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ int x,a,b,c; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); x = sc.nextInt(); int cnt=0; for(int i=0;i<=a;i++) {...
Main.java:19: error: illegal start of expression package main; ^ Main.java:19: error: not a statement package main; ^ Main.java:21: error: illegal start of expression import java.util.Scanner; ^ Main.java:21: error: not a statement import java.util.Scanner; ^ Main.java:23: error: illegal start o...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369029128|p03448|0
u369029128|p03448|0
codenet
Compile Error
1,169
v2_s972982605
s972982605
s972982605
p03448
p03448
u390795821
u390795821
1,562,348,420
2019-07-05T17:40:20
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] inputNumbers = new int[4]; for (int i = 0; i < 4; i++) { inputNumbers[i] = Integer.parseInt(sc.nextLine()); } int count = 0; for (int i = 0; i <= inputNumbers[0]; i++) { for (int j = 0; j <= inp...
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
u390795821|p03448|0
u390795821|p03448|0
codenet
Compile Error
520
v2_s083204660
s083204660
s083204660
p03448
p03448
u404850460
u404850460
1,564,994,784
2019-08-05T08:46:24
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 c = sc.nextInt(); int x = sc.nextInt(); int count = 0; // 操作を行った数 for (int ia = 0; ia < a, ia++) { for (int ib = 0; ib < b, ib...
Main.java:12: error: ';' expected for (int ia = 0; ia < a, ia++) { ^ Main.java:13: error: ';' expected for (int ib = 0; ib < b, ib++) { ^ Main.java:14: error: ';' expected for (int ic = 0; ic < c, ic++) { ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u404850460|p03448|0
u404850460|p03448|0
codenet
Compile Error
492
v2_s549601410
s549601410
s549601410
p03448
p03448
u451023654
u451023654
1,522,173,662
2018-03-27T18:01:02
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 C = sc.nextInt(); int X = sc.nextInt(); int Z = 0; for(int i=0;i<=A;i++) {//Aの加算 int sum = A * i; if(sum == X) Z++; else i...
Main.java:32: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u451023654|p03448|0
u451023654|p03448|0
codenet
Compile Error
686
v2_s611681379
s611681379
s611681379
p03448
p03448
u471125004
u471125004
1,584,575,111
2020-03-18T23:45:11
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); int x = scan.nextInt(); int count; for(int i=0;i<a;i++){ for(int j=0;j<b;j++){ ...
Main.java:13: error: ';' expected for(int k=0;k<c+k++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u471125004|p03448|0
u471125004|p03448|0
codenet
Compile Error
523
v2_s970235317
s970235317
s970235317
p03448
p03448
u515674295
u515674295
1,568,760,994
2019-09-17T22:56:34
Main.java
import java.util.*; 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(); int X = sc.nextInt(); int res = 0; for(int a=0;a<=A;a++){ for(int b=0;b...
Main.java:14: error: cannot find symbol int c = (x-a*500-b*100)/50; ^ symbol: variable x location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u515674295|p03448|0
u515674295|p03448|0
codenet
Compile Error
517
v2_s637778271
s637778271
s637778271
p03448
p03448
u547167033
u547167033
1,567,356,791
2019-09-01T16:53:11
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(); int x = sc.nextInt(); int count = 0; for(int i = 0;i <= a;i++){ for(int j = 0;j <= b;j++...
Main.java:17: error: package Sysetm does not exist Sysetm.out.println(count); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03448|0
u547167033|p03448|0
codenet
Compile Error
476
v2_s260386238
s260386238
s260386238
p03448
p03448
u587842109
u587842109
1,543,464,727
2018-11-29T04:12:07
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int acoin = sc.nextInt(); int bcoin = sc.nextInt(); int ccoin = sc.nextInt(); int N = sc.nextInt(); int count = 0; for(int i=0;i<=acoin;i++){ if(i*500 >...
Main.java:47: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587842109|p03448|0
u587842109|p03448|0
codenet
Compile Error
837
v2_s562227862
s562227862
s562227862
p03448
p03448
u587842109
u587842109
1,543,464,762
2018-11-29T04:12:42
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int acoin = sc.nextInt(); int bcoin = sc.nextInt(); int ccoin = sc.nextInt(); int N = sc.nextInt(); int count = 0; for(int i=0;i<=acoin;i++){ if(i*500 >...
Main.java:43: error: cannot find symbol System.outprintln(count); ^ symbol: method outprintln(int) location: class System 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587842109|p03448|0
u587842109|p03448|0
codenet
Compile Error
830
v2_s579782356
s579782356
s579782356
p03448
p03448
u634965946
u634965946
1,571,681,834
2019-10-21T18:17:14
main.java
import java.util.*; public class main{ public static void main{ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int x = sc.nextInt(); int res = 0; for(h=0; h<a; h++){ for(i=0;i<b;i++){ int y = (x-50...
main.java:3: error: '(' expected public static void main{ ^ main.java:18: error: illegal start of expression if (y =>0 && y <= c){ ^ main.java:25: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u634965946|p03448|0
u634965946|p03448|0
codenet
Compile Error
450
v2_s064453114
s064453114
s064453114
p03448
p03448
u634965946
u634965946
1,571,681,907
2019-10-21T18:18:27
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(); int x = sc.nextInt(); int res = 0; for(h=0; h<a; h++){ for(i=0;i<b;i++){ ...
main.java:18: error: illegal start of expression if (y =>0 && y <= c){ ^ main.java:25: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u634965946|p03448|0
u634965946|p03448|0
codenet
Compile Error
466
v2_s281150161
s281150161
s281150161
p03448
p03448
u634965946
u634965946
1,571,683,372
2019-10-21T18:42:52
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(); int x = sc.nextInt(); int res=0; for(h < 0; h<=a ; h++ ){ f...
Main.java:15: error: illegal start of type for(h < 0; h<=a ; h++ ){ ^ Main.java:15: error: not a statement for(h < 0; h<=a ; h++ ){ ^ Main.java:15: error: not a statement for(h < 0; h<=a ; h++ ){ ^ Main.java:15: error: ')' expected for(h < 0; h<=a ; h+...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u634965946|p03448|0
u634965946|p03448|0
codenet
Compile Error
479
v2_s643381534
s643381534
s643381534
p03448
p03448
u634965946
u634965946
1,571,839,368
2019-10-23T14:02:48
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(); int X = sc.nextINt(); int y = 0; int count = 0; for(int i=0; i < A ...
Main.java:8: error: cannot find symbol int A = sc.nextINt(); ^ symbol: method nextINt() location: variable sc of type Scanner Main.java:9: error: cannot find symbol int B = sc.nextINt(); ^ symbol: method nextINt() location: variable sc of type Scanner Main.java:10...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u634965946|p03448|1
u634965946|p03448|1
codenet
Compile Error
541
v2_s673480857
s673480857
s673480857
p03448
p03448
u643840641
u643840641
1,537,277,374
2018-09-18T13:29: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(); int x = sc.nextInt(); int cnt = 0; for(int i=0; i<=a; i++){ for(int j=0; j<=b; j++){ if((x-500*i-100*j)%50==0)cnt++;...
Main.java:15: error: not a statement System,out.println(cnt); ^ Main.java:15: error: ';' expected System,out.println(cnt); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u643840641|p03448|0
u643840641|p03448|0
codenet
Compile Error
361
v2_s819675456
s819675456
s819675456
p03448
p03448
u650482973
u650482973
1,526,147,936
2018-05-12T17:58:56
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(); int x = sc.nextInt(); int sub500 = (b + c) / 500; int sub100 = c / 100; int count = 0; int divi5...
Main.java:27: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u650482973|p03448|0
u650482973|p03448|0
codenet
Compile Error
650
v2_s682049869
s682049869
s682049869
p03448
p03448
u726402265
u726402265
1,598,814,982
2020-08-30T19:16:22
Main.java
import java.io.*; public class Main { public static void main(String[] args) { BufferedReader sc = new BufferedReader(new InputStreamReader(System.in)); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int X = sc.nextInt(); int count = 0; int a; int b; ...
Main.java:8: error: cannot find symbol int A = sc.nextInt(); ^ symbol: method nextInt() location: variable sc of type BufferedReader Main.java:9: error: cannot find symbol int B = sc.nextInt(); ^ symbol: method nextInt() location: variable sc of type BufferedReader Main.j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u726402265|p03448|0
u726402265|p03448|0
codenet
Compile Error
581
v2_s109144733
s109144733
s109144733
p03448
p03448
u726402265
u726402265
1,598,815,087
2020-08-30T19:18:07
Main.java
import java.io.*; public class Main { public static void main(String[] args) { BufferedReader kbd = new BufferedReader(new InputStreamReader(System.in)); int A = kdb.readLine(); int B = kbd.readLine(); int C = kbd.readLine(); int X = kbd.readLine(); int count = 0; int a; in...
Main.java:8: error: cannot find symbol int A = kdb.readLine(); ^ symbol: variable kdb location: class Main Main.java:9: error: incompatible types: String cannot be converted to int int B = kbd.readLine(); ^ Main.java:10: error: incompatible types: String cannot be conve...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u726402265|p03448|0
u726402265|p03448|0
codenet
Compile Error
590
v2_s057245533
s057245533
s057245533
p03448
p03448
u734289387
u734289387
1,591,627,761
2020-06-08T14:49:21
Main.java
import java.util.Scanner; pubulic 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(); int X = sc.nextInt(); int ans = 0; for(int i = 0; i <= A; i++) { for(int j = 0; j <= B; j++) { for(int ...
Main.java:3: error: class, interface, enum, or record expected pubulic class Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u734289387|p03448|0
u734289387|p03448|0
codenet
Compile Error
456
v2_s888876365
s888876365
s888876365
p03448
p03448
u736778721
u736778721
1,587,416,304
2020-04-20T20:58:24
Main.java
import java.io.*; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int c500 = Integer.parseInt(br.readLine()); int c100 = Integer.parseInt(br.readLine()); int c50 = Integer.parseInt(br.readLine(...
Main.java:15: error: ';' expected for(int i = 0; i<=c500, i++){ ^ Main.java:16: error: ';' expected for(int j = 0; j<=c100, j++){ ^ Main.java:17: error: ';' expected for(int k = 0; k <= c50, k++){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u736778721|p03448|0
u736778721|p03448|0
codenet
Compile Error
782
v2_s448665500
s448665500
s448665500
p03448
p03448
u736778721
u736778721
1,587,678,189
2020-04-23T21:43:09
Main.java
import java.io.*; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int[] args = new int[4]; for(int i= 0; i<4; i++){ args[i] = Integer.parseInte(br.readLine()); } int c1 = 0; ...
Main.java:7: error: variable args is already defined in method main(String[]) int[] args = new int[4]; ^ Main.java:9: error: cannot find symbol args[i] = Integer.parseInte(br.readLine()); ^ symbol: method parseInte(String) location: class Integer 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u736778721|p03448|1
u736778721|p03448|1
codenet
Compile Error
1,021
v2_s930588114
s930588114
s930588114
p03448
p03448
u738265085
u738265085
1,581,188,361
2020-02-08T18:59:21
Main.java
import java.util.Scanner; 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(); int x = sc.nextInt(); int abc = 0; int times = 0; for(int i=0;i<=a;i++){ for(int j=0;j<=b;j++){ ...
Main.java:15: error: array required, but int found abc = a[i] + b[j] + c[k]; ^ Main.java:15: error: array required, but int found abc = a[i] + b[j] + c[k]; ^ Main.java:15: error: array required, but int found abc = a[i] + b[j] + c[k]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u738265085|p03448|0
u738265085|p03448|0
codenet
Compile Error
502
v2_s200276928
s200276928
s200276928
p03448
p03448
u836270233
u836270233
1,599,683,680
2020-09-09T20:34:40
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 c=sc.nextInt(); int x=sc.nextInt(); int count=0; for(int i=0;i<=a;++i) { for(int j=0;j<=b;++j) { if((x-500*i-100*j)/50>=0 && (x-500...
Main.java:19: error: reached end of file while parsing System.out.println(count); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u836270233|p03448|0
u836270233|p03448|0
codenet
Compile Error
401
v2_s426004106
s426004106
s426004106
p03448
p03448
u863370423
u863370423
1,587,073,091
2020-04-16T21:38:11
Main.java
class Util { // Function to find the total number of ways to get change // of N from unlimited supply of coins in set S public static int count(int[] S, int N) { // if total is 0, return 1 if (N == 0) { return 1; } // return 0 if total become negative ...
Main.java:45: error: reached end of file while parsing Download ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03448|5
u863370423|p03448|5
codenet
Compile Error
1,064
v2_s860609814
s860609814
s860609814
p03448
p03448
u901728983
u901728983
1,522,319,996
2018-03-29T10:39:56
Main.java
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(); int x = sc.nextInt(); int l, m; int root = 0; for(int i=0; i<=a; i++) { ...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u901728983|p03448|0
u901728983|p03448|0
codenet
Compile Error
651
v2_s886100418
s886100418
s886100418
p03448
p03448
u902983917
u902983917
1,528,203,919
2018-06-05T13:05:19
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner (System.in); int tem = 0; int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(...
Main.java:7: error: cannot find symbol Scanner sc = new Scanner (System.in); ^ symbol: class Scanner location: class Main Main.java:7: 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
u902983917|p03448|0
u902983917|p03448|0
codenet
Compile Error
794
v2_s426831379
s426831379
s426831379
p03448
p03448
u923824033
u923824033
1,525,907,713
2018-05-09T23:15:13
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); System.out.println("コインの数"); do{ do { System.out.print("500円玉:"); int A = stdIn.nextInt(); } while (A < 0 || A > 50); do { System.out.print("100円玉:"); ...
Main.java:27: error: ';' expected } while (X < 50 || X > 20000) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923824033|p03448|1
u923824033|p03448|1
codenet
Compile Error
1,346
v2_s153104578
s153104578
s153104578
p03448
p03448
u923824033
u923824033
1,525,908,039
2018-05-09T23:20:39
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); System.out.println("コインの数"); do{ do { System.out.print("500円玉:"); int A = stdIn.nextInt(); } while (A < 0 || A > 50); do { System.out.print("100円玉:"); ...
Main.java:12: error: cannot find symbol } while (A < 0 || A > 50); ^ symbol: variable A location: class Main Main.java:12: error: cannot find symbol } while (A < 0 || A > 50); ^ symbol: variable A location: class Main Main.java:16: error: cannot find symbol } w...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923824033|p03448|1
u923824033|p03448|1
codenet
Compile Error
1,347
v2_s555870722
s555870722
s555870722
p03448
p03448
u973653506
u973653506
1,581,449,189
2020-02-11T19:26:29
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(); int X = sc.nextInt(); int ret = 0; for (int a=0;a<=A;a++) { for (int b=0;b<=B;b++) { ...
Main.java:20: error: variable c might not have been initialized for (int c;c<=C;c++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973653506|p03448|0
u973653506|p03448|0
codenet
Compile Error
499
v2_s938433816
s938433816
s938433816
p03449
p03449
u019098614
u019098614
1,517,198,024
2018-01-29T03:53:44
Main.java
public void Class() { public static void main(String[] args) { // 2xNのマス目 // 1,2,3,4.. // 5,6,7,8.. // スタートは(1, 1) Scanner sc = new Scanner(System.in); int N = sc.nextInt(); // (2,N) ArrayList<Integer> masu1 = new ArrayList<Integer>(); ArrayList<Integer> masu2 = new ArrayList<Integer>...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public void Class() { ^ (use --enable-preview to enable unnamed classes) Main.java:2: error: illegal start of expression public static void main(String[] args) { ^ Main.java:43: error: class, interface, enum, or record exp...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u019098614|p03449|0
u019098614|p03449|0
codenet
Compile Error
1,057
v2_s699810807
s699810807
s699810807
p03449
p03449
u089230684
u089230684
1,521,562,360
2018-03-20T16:12:40
Main.java
import java.util.Scanner; public class Main{ static int a[][] = new int[3][n+1]; static int dp[][] = new int[3][n+1]; static int n; public static void main(String[] args) { Scanner sc = new Scanner(System.in); n = sc.nextInt(); for (int i = 1; i <= 2; i++) { for (int j = 1; j <= n; j++) { a[i][j] =...
Main.java:4: error: illegal forward reference static int a[][] = new int[3][n+1]; ^ Main.java:5: error: illegal forward reference static int dp[][] = new int[3][n+1]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089230684|p03449|3
u089230684|p03449|3
codenet
Compile Error
705
v2_s830205583
s830205583
s830205583
p03449
p03449
u234826697
u234826697
1,542,178,673
2018-11-14T06:57:53
Main.java
import java.io.File; import java.io.IOException; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Deque; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { /...
Main.java:19: error: cannot find symbol int N = in.nextInt(); ^ symbol: variable in location: class Main Main.java:22: error: cannot find symbol A[0][i] = A[0][i-1] + in.nextInt(); ^ symbol: variable in location: class Main Main.java:25: error: cannot find symbol A...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u234826697|p03449|0
u234826697|p03449|0
codenet
Compile Error
887
v2_s833007702
s833007702
s833007702
p03449
p03449
u423952743
u423952743
1,517,193,081
2018-01-29T02:31:21
Main.java
public class Main { static int INF = Integer.MAX_VALUE / 2; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[][] adj = new int[2][N]; for(int i = 0; i < 2; i++) { for(int j = 0; j < N; j++) { adj[i][j] = sc.nextInt(); } } System.out.print...
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
u423952743|p03449|0
u423952743|p03449|0
codenet
Compile Error
682
v2_s939300254
s939300254
s939300254
p03449
p03449
u487433273
u487433273
1,577,487,446
2019-12-27T22:57:26
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[] n1 = new int[N]; for(int i=0;i<N;i++) n1[i]= sc.nextInt(); int[] n2 = new int[N]; for(int i=0;i<N;i++) n2[i]= sc.nextInt(); int sum =0; ...
Main.java:16: error: cannot find symbol tmpsum+= n1[i]+n2[i]; ^ symbol: variable tmpsum location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03449|0
u487433273|p03449|0
codenet
Compile Error
748
v2_s817430856
s817430856
s817430856
p03449
p03449
u686751625
u686751625
1,587,858,640
2020-04-25T23:50:40
Main.java
import java.util.*; import java.io.*; public class Main { public static void main (String[] args) { InputReader in = new InputReader(System.in); int n = in.readInt(); int a[] = new int[n]; int b[] = new int[n]; int asum[] = new int[n]; for(int i = 0; i<n; i++) { a[i] = in.readInt(); ...
Main.java:7: error: cannot find symbol InputReader in = new InputReader(System.in); ^ symbol: class InputReader location: class Main Main.java:7: error: cannot find symbol InputReader in = new InputReader(System.in); ^ symbol: class InputReader location: class Main 2 err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u686751625|p03449|0
u686751625|p03449|0
codenet
Compile Error
677
v2_s539826530
s539826530
s539826530
p03449
p03449
u761516097
u761516097
1,574,463,751
2019-11-22T23:02:31
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.nextLine()); String[] line1 = sc.nextLine().split(" "); String[] line2 = sc.nextLine().split(" "); sc.close(); int[] Cu...
Main.java:40: error: illegal start of type if (max == 0) { ^ Main.java:40: error: <identifier> expected if (max == 0) { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761516097|p03449|0
u761516097|p03449|0
codenet
Compile Error
1,066
v2_s344675205
s344675205
s344675205
p03449
p03449
u925103765
u925103765
1,532,318,302
2018-07-23T03:58:22
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[][] A = new int[3][N+1]; for(int row=1; row<=2;row++){ for(int col=1;col<=N;col++){ A[row][col] = sc.nextInt(); } } int[][] record = new i...
Main.java:25: error: package Syste does not exist Syste.out.println(max); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925103765|p03449|0
u925103765|p03449|0
codenet
Compile Error
690
v2_s555454112
s555454112
s555454112
p03450
p03450
u020892708
u020892708
1,517,452,264
2018-02-01T02:31:04
Main.java
import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Scanner; class InputData { public int R; public int L; public int D; public boolean done; } public class Main { public static void dump(HashMap<Integer, Integer> in) { for (Integer k : in.keySet()...
Main.java:78: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u020892708|p03450|0
u020892708|p03450|0
codenet
Compile Error
2,500
v2_s761067313
s761067313
s761067313
p03450
p03450
u317879811
u317879811
1,517,197,036
2018-01-29T03:37:16
Main.java
import java.io.*; import java.util.*; class pers { boolean isr=true; int par; long dist=0; } public class Main { static void pars(int par, int chi, int dist) { if(pe[par].isr&&pe[chi].isr) { // System.out.println("hola"); pe[chi].isr=false; // System.out.println(chi+" "+pe[chi].isr); pe[chi].par=par;...
Main.java:21: error: illegal start of expression else if(fp(par)==fp(chi)&&(dist!=pe[chi].dist-pe[par].dist))) ^ Main.java:26: error: 'else' without 'if' else if(pe[par].isr) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317879811|p03450|0
u317879811|p03450|0
codenet
Compile Error
5,468
v2_s236747808
s236747808
s236747808
p03450
p03450
u345932819
u345932819
1,588,180,692
2020-04-29T17:18:12
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigInteger; import java.util.*; import java.util.stream.IntStream; import java.util.stream.LongStream; /** * https://kenkoooo.com/atcoder/#/contest/show/79ed76d9-ba5f-44c8-901c-8a7d357a0e7c */ public class Main { ...
Main.java:301: error: <identifier> expected out.println("Yes"); ^ Main.java:301: error: illegal start of type out.println("Yes"); ^ Main.java:308: error: unnamed classes are a preview feature and are disabled by default. private void solveF() { ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345932819|p03450|3
u345932819|p03450|2
codenet
Compile Error
27,294
v2_s558196173
s558196173
s558196173
p03450
p03450
u619903269
u619903269
1,517,852,263
2018-02-05T17:37:43
Main.java
/******************************************** *Author* :ZZZZone *Created Time* : 一 2/ 5 11:22:16 2018 * Ended Time* : 一 2/ 5 11:37:07 2018 *********************************************/ #include <cstdio> #include <cstring> #include <iostream> #include <algorithm> #include <vector> #include <queue> #incl...
Main.java:7: error: illegal character: '#' #include <cstdio> ^ Main.java:8: error: illegal character: '#' #include <cstring> ^ Main.java:9: error: illegal character: '#' #include <iostream> ^ Main.java:10: error: illegal character: '#' #include <algorithm> ^ Main.java:11: error: illegal character: '#' #include <vector>...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u619903269|p03450|0
u619903269|p03450|0
codenet
Compile Error
1,557
v2_s027098639
s027098639
s027098639
p03450
p03450
u902576227
u902576227
1,578,504,486
2020-01-08T17:28:06
DPeopleonaLine.java
package main.java.tasks; import java.util.Scanner; import java.io.PrintWriter; public class DPeopleonaLine { public void solve(int testNumber, Scanner in, PrintWriter out) { boolean f = true; int n = in.nextInt(); int m = in.nextInt(); PotentialUnionFind puf = new PotentialUnionFind(); puf.init...
DPeopleonaLine.java:12: error: cannot find symbol PotentialUnionFind puf = new PotentialUnionFind(); ^ symbol: class PotentialUnionFind location: class DPeopleonaLine DPeopleonaLine.java:12: error: cannot find symbol PotentialUnionFind puf = new PotentialUnionFind(); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902576227|p03450|0
u902576227|p03450|0
codenet
Compile Error
938
v2_s069929086
s069929086
s069929086
p03451
p03451
u497883442
u497883442
1,518,387,909
2018-02-11T22:25:09
Main.java
# coding: UTF-8 n = int(input()) a1 = list(map(int, input().split())) a2 = list(map(int, input().split())) tile = [a1, a2] x, y = 0, 0 score = 0 def move(i, x, y): score = tile[y][x] for j in range(i): x, y = right(x, y) score += tile[y][x] x, y = under(x, y) score += tile[y][x] for...
Main.java:1: error: illegal character: '#' # coding: UTF-8 ^ Main.java:1: error: class, interface, enum, or record expected # coding: UTF-8 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497883442|p03451|0
u497883442|p03451|0
codenet
Compile Error
709
v2_s462199479
s462199479
s462199479
p03451
p03451
u604068691
u604068691
1,572,835,684
2019-11-04T02:48:04
Main.java
import java.util.*; import java.lang.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[][] A = new int[2][N+1]; int[] t0 = new int[N+1]; int[] t1 = new int[N+1]; int[] ans = new ans[N+1]; int total0 = 0,total1 = 0; for( int i=1...
Main.java:11: error: cannot find symbol int[] ans = new ans[N+1]; ^ symbol: class ans location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u604068691|p03451|0
u604068691|p03451|0
codenet
Compile Error
656
v2_s108057468
s108057468
s108057468
p03451
p03451
u611513861
u611513861
1,517,194,286
2018-01-29T02:51:26
ARC090_1.java
import java.util.Scanner; public class ARC090_1 { public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int [][] A = new int[2][N]; for (int i=0; i<2; i++) for (int j=0; ...
ARC090_1.java:38: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u611513861|p03451|0
u611513861|p03451|0
codenet
Compile Error
1,270
v2_s420476865
s420476865
s420476865
p03451
p03451
u611513861
u611513861
1,517,200,736
2018-01-29T04:38:56
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int [][] A = new int[2][N]; for (int i=0; i<2; i++) for (int j=0; j<N; j++) ...
Main.java:27: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u611513861|p03451|0
u611513861|p03451|0
codenet
Compile Error
919
v2_s123942897
s123942897
s123942897
p03451
p03451
u655729056
u655729056
1,573,219,942
2019-11-08T13:32:22
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n=sc.nextInt(); int[] a1=new int[n]; int[] a2=new int[n]; int[] s1=new int[n]; int[] s2=new int[n]; int ans=0; for(int i=0;i<n;i++){ a1[i]=sc.nextInt(); } ...
Main.java:29: error: cannot find symbol score=Math.max(score, s1[i]+s2[i]); ^ symbol: variable score location: class Main Main.java:29: error: cannot find symbol score=Math.max(score, s1[i]+s2[i]); ^ symbol: variable score location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03451|0
u655729056|p03451|0
codenet
Compile Error
675
v2_s975945633
s975945633
s975945633
p03451
p03451
u655729056
u655729056
1,573,219,999
2019-11-08T13:33:19
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n=sc.nextInt(); int[] a1=new int[n]; int[] a2=new int[n]; int[] s1=new int[n]; int[] s2=new int[n]; int ans=0; for(int i=0;i<n;i++){ a1[i]=sc.nextInt(); } ...
Main.java:29: error: cannot find symbol ans=Math.max(score, s1[i]+s2[i]); ^ symbol: variable score location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03451|0
u655729056|p03451|0
codenet
Compile Error
673
v2_s157709053
s157709053
s157709053
p03451
p03451
u655729056
u655729056
1,573,220,054
2019-11-08T13:34:14
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[] a1=new int[n]; int[] a2=new int[n]; int[] s1=new int[n]; int[] s2=new int[n]; int ans=0; for(int i=0;i<n;i++){ a1[i]=sc.nextInt(); ...
Main.java:29: error: cannot find symbol ans=Math.max(score, s1[i]+s2[i]); ^ symbol: variable score location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03451|0
u655729056|p03451|0
codenet
Compile Error
679
v2_s219501999
s219501999
s219501999
p03451
p03451
u655729056
u655729056
1,573,220,270
2019-11-08T13:37: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(); int[] a1=new int[n]; int[] a2=new int[n]; int[] s1=new int[n]; int[] s2=new int[n]; int ans=0; for(int i=0;i<n;i++){ a1[i]=sc.nextInt(); } for(int i=0;i<n;...
Main.java:29: error: cannot find symbol ans=Math.max(score, s1[i]+s2[i]); ^ symbol: variable score location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655729056|p03451|0
u655729056|p03451|0
codenet
Compile Error
598
v2_s543957270
s543957270
s543957270
p03452
p03452
u354729543
u354729543
1,557,471,684
2019-05-10T07:01:24
Main.java
import java.util.Random; import java.util.Scanner; import java.util.Set; import java.util.stream.Collectors; //class nextCost implements Comparable<nextCost>{ // public nextCost(node next, int cost) { // this.next = next; // this.cost = cost; // } // // node next; // int cost; // // @Override // public int compareT...
Main.java:67: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u354729543|p03452|0
u354729543|p03452|0
codenet
Compile Error
1,467
v2_s982910247
s982910247
s982910247
p03452
p03452
u591717585
u591717585
1,517,200,215
2018-01-29T04:30:15
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Deque; import java.util.InputMismatchException; import java.util.NoSuchElementException; public class Main { static PrintWriter out; ...
Main.java:24: error: illegal start of expression for(int i=0;i<m;i++)){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u591717585|p03452|0
u591717585|p03452|0
codenet
Compile Error
4,090
v2_s567970621
s567970621
s567970621
p03452
p03452
u884379688
u884379688
1,517,213,042
2018-01-29T08:04:02
Main.java
pos = [[] for i in range(100000)] por = [[] for s in range(200000)] posvis = [1 for y in range(200000)] qe = [] n, m = map(int, input().split()) for i in range(m): l, r, d = map(int, input().split()) pos[l].append([r, d, i]) pos[r].append([l, -d, i]) qe.append([l, r, d]) def deep(self, vis=1): f...
Main.java:1: error: class, interface, enum, or record expected pos = [[] for i in range(100000)] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u884379688|p03452|0
u884379688|p03452|0
codenet
Compile Error
848
v2_s999072725
s999072725
s999072725
p03453
p03453
u089230684
u089230684
1,587,075,620
2020-04-16T22:20:20
Main.java
import java.io.*; class Gift { static void point(int a, int b, int c, int d, int n) { int x , flag = 0; for (int i = 0; i < n; i++) { x = b + i * a; if ((x - d) % c == 0 && x - d >= 0) {...
Main.java:32: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089230684|p03453|0
u089230684|p03453|0
codenet
Compile Error
586
v2_s597278155
s597278155
s597278155
p03453
p03453
u119714109
u119714109
1,517,197,197
2018-01-29T03:39:57
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; public class Main { static InputStream is; static PrintWriter out; static String INPUT = ""; stat...
Main.java:107: error: cannot find symbol if(ds[e[0]] == ds[cur] + e[1] && ds[e[0]]+dt[e[0]] == D && ds[e[0]] > dt[e[0]]){ ^ symbol: variable cur location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u119714109|p03453|0
u119714109|p03453|0
codenet
Compile Error
8,713
v2_s405144288
s405144288
s405144288
p03453
p03453
u324669236
u324669236
1,598,722,460
2020-08-29T17:34:20
Main.java
// copied #include<bits/stdc++.h> #define ll long long #define pa pair<ll,int> #define mo 1000000007 #define N 100005 using namespace std; ll ds[N],dt[N],ways[N],wayt[N]; struct edge{int to,next,v;}e[N*4]; int head[N],vis[N]; int n,m,s,t,tot,ans; priority_queue<pa > q; void add(int x,int y,int v){ e[++tot]=(edge){y,he...
Main.java:2: error: illegal character: '#' #include<bits/stdc++.h> ^ Main.java:2: error: class, interface, enum, or record expected #include<bits/stdc++.h> ^ Main.java:3: error: illegal character: '#' #define ll long long ^ Main.java:4: error: illegal character: '#' #define pa pair<ll,int> ^ Main.java:5: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u324669236|p03453|0
u324669236|p03453|0
codenet
Compile Error
1,434
v2_s531291281
s531291281
s531291281
p03453
p03453
u555577504
u555577504
1,517,196,872
2018-01-29T03:34:32
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.PriorityQueue; import java.util.Scanner; class Main{ static class Edge{ int to; long cost; Edge(int to,long cost){ this.to = to; this.cost = cost; } } publi...
Main.java:30: error: incompatible types: String cannot be converted to int int u=(int)scan.next(); ^ Main.java:31: error: incompatible types: String cannot be converted to int int v=(int)scan.next(); ^ Main.java:32: error: incompati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u555577504|p03453|0
u555577504|p03453|0
codenet
Compile Error
4,604
v2_s178443241
s178443241
s178443241
p03453
p03453
u591717585
u591717585
1,544,476,968
2018-12-10T21:22:48
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.ArrayList; import java.util.Comparator; import java.util.HashSet; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.util.PriorityQueue; public class ...
Main.java:54: error: cannot find symbol out.printn(sp[-1]); ^ symbol: method printn(long) location: variable out of type PrintWriter 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u591717585|p03453|0
u591717585|p03453|0
codenet
Compile Error
5,606
v2_s380948990
s380948990
s380948990
p03455
p03455
u009460507
u009460507
1,524,688,188
2018-04-25T20:29:48
Main.java
import java.util.Scanner; import java.io.File; import java.io.FileNotFoundException; public class Main{ public static void main(String[] args){ try{ Scanner sc = new Scanner(System.in); Integer num1 = Integer.parseInt(sc.next()); Integer num2 = Integer.parseInt(sc.next()); Integer ans = num1 * num...
Main.java:21: error: exception FileNotFoundException is never thrown in body of corresponding try statement } catch (FileNotFoundException e){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u009460507|p03455|0
u009460507|p03455|0
codenet
Compile Error
502
v2_s721369794
s721369794
s721369794
p03455
p03455
u018679195
u018679195
1,517,055,402
2018-01-27T12:16:42
Main.java
public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int res = a * b; if(res % 2 == 0) { System.out.print("Even"); } else { System.out.print("Odd"); } }
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03455|0
u018679195|p03455|0
codenet
Compile Error
259
v2_s738542140
s738542140
s738542140
p03455
p03455
u018679195
u018679195
1,517,055,524
2018-01-27T12:18:44
Main.java
import java.io.*; import java.util.*; public class Main { public static void main (String [] args){ Scanner s = new Scanner(System.in); int a = s.nextInt(); int b = s.nextInt(); int c = a * b; if(c % 2 == 0) System.out.println("Even"); else System.out.prinln("Odd"); } }
Main.java:13: error: cannot find symbol System.out.prinln("Odd"); ^ symbol: method prinln(String) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03455|0
u018679195|p03455|0
codenet
Compile Error
291
v2_s153495555
s153495555
s153495555
p03455
p03455
u018679195
u018679195
1,517,057,568
2018-01-27T12:52:48
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main (String args[]){ int a = Integer.valueOf(args[0]); int b = Integer.valueOf(args[1]); EasyMod(a,b); } static void EasyMod(int a, int b){ if ((args[0]*args[1]) % 2 == 0) System...
Main.java:15: error: ';' expected System.out.println("Odd") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03455|0
u018679195|p03455|0
codenet
Compile Error
402
v2_s310643866
s310643866
s310643866
p03455
p03455
u018679195
u018679195
1,517,057,591
2018-01-27T12:53:11
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main (String args[]){ int a = Integer.valueOf(args[0]); int b = Integer.valueOf(args[1]); EasyMod(a,b); } static void EasyMod(int a, int b){ if ((args[0]*args[1]) % 2 == 0) System...
Main.java:12: error: cannot find symbol if ((args[0]*args[1]) % 2 == 0) ^ symbol: variable args location: class Main Main.java:12: error: cannot find symbol if ((args[0]*args[1]) % 2 == 0) ^ symbol: variable args location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03455|0
u018679195|p03455|0
codenet
Compile Error
403
v2_s152098844
s152098844
s152098844
p03455
p03455
u018679195
u018679195
1,517,058,309
2018-01-27T13:05:09
Main.java
import java.io.*; public class Main { public static void main(String[] args) { Scanner s = new Scanner(); int a = s.nextInt(), b = s.nextInt(); if ((a * b) % 2 == 0) { System.out.println("Even"); } else { System.out.println("Odd"); } } }
Main.java:5: error: cannot find symbol Scanner s = new Scanner(); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner s = new Scanner(); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03455|0
u018679195|p03455|0
codenet
Compile Error
308
v2_s844326717
s844326717
s844326717
p03455
p03455
u018679195
u018679195
1,517,060,219
2018-01-27T13:36:59
Main.java
public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int product = a*b; if(product%2 == 0) { System.out.println("Even"); } else { System.out.println("Odd"); } } }
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
u018679195|p03455|0
u018679195|p03455|0
codenet
Compile Error
305
v2_s222888608
s222888608
s222888608
p03455
p03455
u021921602
u021921602
1,581,360,366
2020-02-10T18:46:06
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if ((a * b) % 2 == 0) System.out.println("Even"); else System.out.println("Odd"); } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u021921602|p03455|0
u021921602|p03455|0
codenet
Compile Error
292
v2_s878190022
s878190022
s878190022
p03455
p03455
u024824950
u024824950
1,556,332,201
2019-04-27T02:30:01
Main.java
#include <iostream> using namespace std; int main() { int a,b; cin >> a >> b; int c = a*b; if(c % 2 == 0) cout << "Even" << endl; else cout << "Odd" << endl; }
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:6: error: not a statement cin >> a >> b; ^ Main.java:8: error: not a statement if(c % 2 == 0) cout << "Even" << endl; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03455|0
u024824950|p03455|0
codenet
Compile Error
171
v2_s849092825
s849092825
s849092825
p03455
p03455
u026779876
u026779876
1,573,445,361
2019-11-11T04:09:21
Main.java
mport java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); //aの入力 int a = Integer.parseInt(sc.next()); //bの入力 int b = Integer.parseInt(sc.next()); int x = a * b; if(x % 2 == 0){ System.out.p...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u026779876|p03455|0
u026779876|p03455|0
codenet
Compile Error
440
v2_s809357891
s809357891
s809357891
p03455
p03455
u050763225
u050763225
1,561,837,765
2019-06-29T19:49:25
Main.java
import java.util.Scanner; public static void Main(String[] args) { Scanner dataScanner = new Scanner(System.in); String data = dataScanner.nextLine(); String[] dataList = data.split(); int a = Integer.parseInt(dataList[0]); int b = Integer.parseInt(dataList[1]); if (a*b % 2 == 0) { System.out.println("E...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void Main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u050763225|p03455|0
u050763225|p03455|0
codenet
Compile Error
373
v2_s702762018
s702762018
s702762018
p03455
p03455
u050763225
u050763225
1,561,837,880
2019-06-29T19:51:20
Main.java
public class Main { import java.util.Scanner; public static void Main(String[] args) { Scanner dataScanner = new Scanner(System.in); String data = dataScanner.nextLine(); String[] dataList = data.split(); int a = Integer.parseInt(dataList[0]); int b = Integer.parseInt(dataList[1]); if (a*b %...
Main.java:2: error: illegal start of type import java.util.Scanner; ^ Main.java:2: error: <identifier> expected import java.util.Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u050763225|p03455|0
u050763225|p03455|0
codenet
Compile Error
423
v2_s762379320
s762379320
s762379320
p03455
p03455
u050763225
u050763225
1,561,837,930
2019-06-29T19:52:10
Main.java
import java.util.Scanner; public class Main { public static void Main(String[] args) { Scanner dataScanner = new Scanner(System.in); String data = dataScanner.nextLine(); String[] dataList = data.split(); int a = Integer.parseInt(dataList[0]); int b = Integer.parseInt(dataList[1]); if (a*b % 2...
Main.java:6: error: no suitable method found for split(no arguments) String[] dataList = data.split(); ^ method String.split(String,int) is not applicable (actual and formal argument lists differ in length) method String.split(String,int,boolean) is not applicable (ac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u050763225|p03455|0
u050763225|p03455|0
codenet
Compile Error
421
v2_s781717882
s781717882
s781717882
p03455
p03455
u050763225
u050763225
1,561,838,111
2019-06-29T19:55:11
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner dataScanner = new Scanner(System.in); String data = dataScanner.nextLine(); String[] dataList = data.split(); int a = Integer.parseInt(dataList[0]); int b = Integer.parseInt(dataList[1]); if (a*b % 2...
Main.java:6: error: no suitable method found for split(no arguments) String[] dataList = data.split(); ^ method String.split(String,int) is not applicable (actual and formal argument lists differ in length) method String.split(String,int,boolean) is not applicable (ac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u050763225|p03455|0
u050763225|p03455|0
codenet
Compile Error
421
v2_s217774226
s217774226
s217774226
p03455
p03455
u051785624
u051785624
1,550,116,663
2019-02-14T03:57:43
Main.java
impurt 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 output = (a * b) % 2; if(output == 0) { System.out.print("Even"); } else{ Syste...
Main.java:1: error: class, interface, enum, or record expected impurt java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051785624|p03455|0
u051785624|p03455|0
codenet
Compile Error
369
v2_s706058407
s706058407
s706058407
p03455
p03455
u051785624
u051785624
1,550,116,718
2019-02-14T03:58:38
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 output = (a * b) % 2; if(output == 0) { System.out.print("Even"); } else{ Syst...
Main.java:7: error: cannot find symbol int a = sc.nextint(); ^ symbol: method nextint() location: variable sc of type Scanner Main.java:8: error: cannot find symbol int b = sc.nextint(); ^ symbol: method nextint() location: variable sc of type Scanner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051785624|p03455|0
u051785624|p03455|0
codenet
Compile Error
357
v2_s306857903
s306857903
s306857903
p03455
p03455
u051785624
u051785624
1,550,116,780
2019-02-14T03:59:40
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextlnt(); int b = sc.nextlnt(); int output = (a * b) % 2; if(output == 0) { System.out.print("Even"); } else{ Syst...
Main.java:7: error: cannot find symbol int a = sc.nextlnt(); ^ symbol: method nextlnt() location: variable sc of type Scanner Main.java:8: error: cannot find symbol int b = sc.nextlnt(); ^ symbol: method nextlnt() location: variable sc of type Scanner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u051785624|p03455|0
u051785624|p03455|0
codenet
Compile Error
357
v2_s030988490
s030988490
s030988490
p03455
p03455
u053945542
u053945542
1,559,268,895
2019-05-31T02:14:55
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { int a; int b; Scanner sc1 = new Scanner(System.in); a = sc1.nextInt(); b = sc1.nextInt(); if((a*b) % 2 == 0){ System.out.println("Even"); }else if{ System.out...
Main.java:15: error: '(' expected }else if{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u053945542|p03455|0
u053945542|p03455|0
codenet
Compile Error
356
v2_s818020096
s818020096
s818020096
p03455
p03455
u056438254
u056438254
1,586,903,530
2020-04-14T22:32:10
Main.java
public static void main(String[] args){ int a,b; if((a*b % 2) == 0){ System.out.println("Odd"); } else(){ System.out.println("Even"); } }
Main.java:6: error: not a statement else(){ ^ Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) Main.java:6: error: -> expected else(){ ^ Main.java:8: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056438254|p03455|0
u056438254|p03455|0
codenet
Compile Error
163
v2_s851652442
s851652442
s851652442
p03455
p03455
u056438254
u056438254
1,586,903,641
2020-04-14T22:34:01
Main.java
package sample; public static void main(String[] args){ int a,b; if((a*b % 2) == 0){ System.out.println("Odd"); } else{ System.out.println("Even"); } }
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) Main.java:1: error: unnamed class should not have package declaration package sample; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056438254|p03455|0
u056438254|p03455|0
codenet
Compile Error
176
v2_s243332351
s243332351
s243332351
p03455
p03455
u056438254
u056438254
1,586,903,799
2020-04-14T22:36:39
Main.java
class Main{ public static void main(String[] args){ int a,b; if((a*b % 2) == 0){ System.out.println("Odd"); } else{ System.out.println("Even"); } } }
Main.java:4: error: variable a might not have been initialized if((a*b % 2) == 0){ ^ Main.java:4: error: variable b might not have been initialized if((a*b % 2) == 0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056438254|p03455|0
u056438254|p03455|0
codenet
Compile Error
188
v2_s753509440
s753509440
s753509440
p03455
p03455
u056438254
u056438254
1,588,381,768
2020-05-02T01:09:28
Main.java
import java.util.*; public void main(String[] args){ Scanner sc = new Scanner(); int a = sc.nextInt(); int b = sc.nextInt(); if(a*b % 2 == 0){ System.out.println("even"); } else if(a*b % 2 == 1){ System.out.println("0dd"); } }
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056438254|p03455|1
u056438254|p03455|1
codenet
Compile Error
258
v2_s339842623
s339842623
s339842623
p03455
p03455
u062736195
u062736195
1,581,463,468
2020-02-11T23:24:28
Main.java
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()+ if((a * b % 2) == 0){ System.out.println("Odd"); }else{ System.out.println("Even"); } } }
Main.java:1: error: class, interface, enum, or record expected java.util*; ^ Main.java:7: error: illegal start of expression if((a * b % 2) == 0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03455|0
u062736195|p03455|0
codenet
Compile Error
291
v2_s344780101
s344780101
s344780101
p03455
p03455
u062736195
u062736195
1,581,463,534
2020-02-11T23:25: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()+ if((a * b % 2) == 0){ System.out.println("Odd"); }else{ System.out.println("Even"); } } }
Main.java:1: error: ';' expected import java.util*; ^ Main.java:7: error: illegal start of expression if((a * b % 2) == 0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03455|0
u062736195|p03455|0
codenet
Compile Error
298
v2_s733353381
s733353381
s733353381
p03455
p03455
u062736195
u062736195
1,581,463,636
2020-02-11T23:27:16
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(); if((a * b % 2) == 0){ System.out.println("Odd"); }else{ System.out.println("Even"); } } }
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03455|0
u062736195|p03455|0
codenet
Compile Error
299
v2_s645687095
s645687095
s645687095
p03455
p03455
u062736195
u062736195
1,581,463,674
2020-02-11T23:27:54
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()+ if((a * b % 2) == 0){ System.out.println("Odd"); }else{ System.out.println("Even"); } } }
Main.java:7: error: illegal start of expression if((a * b % 2) == 0){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03455|0
u062736195|p03455|0
codenet
Compile Error
305