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_s344368510
s344368510
s344368510
p02407
p02407
u740756276
u740756276
1,483,266,734
2017-01-01T10:32:14
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder output = new StringBuilder(); ...
Main.java:18: error: illegal start of expression if(i =??? 0){ ^ Main.java:18: error: illegal start of expression if(i =??? 0){ ^ Main.java:18: error: illegal start of expression if(i =??? 0){ ^ Main.java:18: error: : expected ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u740756276|p02407|0
u740756276|p02407|0
codenet
Compile Error
865
v2_s781839718
s781839718
s781839718
p02407
p02407
u742666578
u742666578
1,525,187,881
2018-05-01T15:18:01
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan=new Scanner(System.in); int a[]=new int[100]; int n=scan.nextInt(); for(int i=0;i<n;i++) a[i]=scan.nextInt(); for(i=0;i<n/2;i++){ int temp=a[i]; a[i]=a[n-1-i]; a[n-1-i]=temp; } for...
Main.java:13: error: cannot find symbol for(i=0;i<n/2;i++){ ^ symbol: variable i location: class Main Main.java:13: error: cannot find symbol for(i=0;i<n/2;i++){ ^ symbol: variable i location: class Main Main.java:13: error: cannot find symbol for(i=0;i<n/2;i++){ ^ sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u742666578|p02407|0
u742666578|p02407|0
codenet
Compile Error
407
v2_s110924243
s110924243
s110924243
p02407
p02407
u745846646
u745846646
1,460,523,756
2016-04-13T05:02:36
Main.java
import java.io.*; class Main { public static void main(String args[]) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder builder = new StringBuilder(); int n = Integer.parseInt(); String[] str = reader.readLine().split("...
Main.java:8: error: no suitable method found for parseInt(no arguments) int n = Integer.parseInt(); ^ method Integer.parseInt(String,int) is not applicable (actual and formal argument lists differ in length) method Integer.parseInt(CharSequence,int,int,int) is not applicable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u745846646|p02407|0
u745846646|p02407|0
codenet
Compile Error
426
v2_s087395962
s087395962
s087395962
p02407
p02407
u745846646
u745846646
1,460,523,816
2016-04-13T05:03:36
Main.java
import java.io.*; class Main { public static void main(String args[]) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder builder = new StringBuilder(); int n = Integer.parseInt(reader.readLine); String[] str = reader.rea...
Main.java:8: error: cannot find symbol int n = Integer.parseInt(reader.readLine); ^ symbol: variable readLine location: variable reader of type BufferedReader 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u745846646|p02407|0
u745846646|p02407|0
codenet
Compile Error
441
v2_s654029639
s654029639
s654029639
p02407
p02407
u747275204
u747275204
1,408,943,649
2014-08-25T05:14:09
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { try { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); String bu...
Main.java:29: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u747275204|p02407|0
u747275204|p02407|0
codenet
Compile Error
673
v2_s731502383
s731502383
s731502383
p02407
p02407
u763673519
u763673519
1,438,563,710
2015-08-03T01:01:50
Main.java
input() data = input().split() data.reverse() print(' '.join(data))
Main.java:1: error: class, interface, enum, or record expected input() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u763673519|p02407|0
u763673519|p02407|0
codenet
Compile Error
67
v2_s164288871
s164288871
s164288871
p02407
p02407
u778333573
u778333573
1,439,022,130
2015-08-08T08:22:10
Main.java
#include<iostream> using namespace std; int main() { int n, count = 0; int a[101]; cin >> n; for (int i = 0; i < n; i++){ cin >> a[i]; count++; } for (int i = 0; i < n; i++){ cout << a[count - i - 1]; if (i == n - 1){ cout << endl; } ...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include<iostream> ^ Main.java:9: error: not a statement cin >> n; ^ Main.java:11: error: not a statement cin >> a[i]; ^ Main.java:15: error: not a state...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u778333573|p02407|0
u778333573|p02407|0
codenet
Compile Error
384
v2_s557375614
s557375614
s557375614
p02407
p02407
u779656282
u779656282
1,525,447,323
2018-05-04T15:22:03
Main.java
import java.util.Scanner public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(system.in); int ans[] = new int[1000]; int n = sc.nextInt(); for(int i=0;i<n;i++){ ans[i]=sc.nextInt(); } for(int i =0;i...
Main.java:1: error: ';' expected import java.util.Scanner ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u779656282|p02407|0
u779656282|p02407|0
codenet
Compile Error
394
v2_s274219750
s274219750
s274219750
p02407
p02407
u779656282
u779656282
1,525,447,335
2018-05-04T15:22:15
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(system.in); int ans[] = new int[1000]; int n = sc.nextInt(); for(int i=0;i<n;i++){ ans[i]=sc.nextInt(); } for(int i =0;...
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(system.in); ^ symbol: variable system location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u779656282|p02407|0
u779656282|p02407|0
codenet
Compile Error
395
v2_s719321836
s719321836
s719321836
p02407
p02407
u779656282
u779656282
1,525,447,853
2018-05-04T15:30:53
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int ans[] = new int[1000]; int n = sc.nextInt(); for(int i=0;i<n;i++){ ans[i]=sc.nextInt(); } System.out.print(ans[(n-1)]); ...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u779656282|p02407|0
u779656282|p02407|0
codenet
Compile Error
431
v2_s640648717
s640648717
s640648717
p02407
p02407
u779656282
u779656282
1,525,448,092
2018-05-04T15:34:52
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int ans[] = new int[1000]; int n = sc.nextInt(); for(int i=0;i<n;i++){ ans[i]=sc.nextInt(); } for(int i =0;i<n;i++){ ...
Main.java:16: error: illegal start of expression } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u779656282|p02407|0
u779656282|p02407|0
codenet
Compile Error
477
v2_s653033606
s653033606
s653033606
p02407
p02407
u792486880
u792486880
1,468,697,924
2016-07-16T19:38:44
Main.java
imimport java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] arr = new int[n]; //???????????´??°????´? for(int i=0; i<n; i++) { arr[i] = scan.nextInt(); } //??????????????????????´?????????¨?????????????...
Main.java:1: error: class, interface, enum, or record expected imimport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02407|0
u792486880|p02407|0
codenet
Compile Error
438
v2_s988825377
s988825377
s988825377
p02407
p02407
u833039167
u833039167
1,491,821,426
2017-04-10T10:50:26
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int box[a]; int [] box = new int [n]; for(int a = n-1; 0 <= a; a--){ box[a] = scanner.nextInt(); ...
Main.java:8: error: ']' expected int box[a]; ^ Main.java:8: error: ';' expected int box[a]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02407|0
u833039167|p02407|0
codenet
Compile Error
468
v2_s815357728
s815357728
s815357728
p02407
p02407
u833039167
u833039167
1,491,875,215
2017-04-11T01:46:55
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[] box = new int[n]; for(int a = 0; a < n;a++) { nums[a] = scanner.nextInt(); } for(int ...
Main.java:11: error: cannot find symbol nums[a] = scanner.nextInt(); ^ symbol: variable nums location: class Main Main.java:16: error: cannot find symbol System.out.print(nums[a]); ^ symbol: variable nums location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02407|1
u833039167|p02407|1
codenet
Compile Error
512
v2_s387255446
s387255446
s387255446
p02407
p02407
u836290503
u836290503
1,509,348,373
2017-10-30T07:26:13
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner stdin = new Scanner(System.in); int num = Integer.parseInt(stdin.nextLine()); boolean boo = true; int[] seq = new int[num]; if(num <= 100) { ...
Main.java:41: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u836290503|p02407|1
u836290503|p02407|1
codenet
Compile Error
887
v2_s918469982
s918469982
s918469982
p02407
p02407
u836290503
u836290503
1,509,348,406
2017-10-30T07:26:46
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner stdin = new Scanner(System.in); int num = Integer.parseInt(stdin.nextLine()); boolean boo = true; int[] seq = new int[num]; if(num <= 100) { ...
Main.java:39: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u836290503|p02407|1
u836290503|p02407|1
codenet
Compile Error
885
v2_s221592952
s221592952
s221592952
p02407
p02407
u843873000
u843873000
1,505,302,590
2017-09-13T11:36:30
Main.java
class Main { import java.util.Scanner; import java.util.StringJoiner; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] ary = new String[n]; for (int i = 0; i < n; i++ ) { ary[i] = String.valueOf(sc.nextInt()); } sc.close()...
Main.java:3: error: illegal start of type import java.util.Scanner; ^ Main.java:3: error: <identifier> expected import java.util.Scanner; ^ Main.java:4: error: illegal start of type import java.util.StringJoiner; ^ Main.java:4: error: <identifier> expected import java.util.StringJoiner; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843873000|p02407|0
u843873000|p02407|0
codenet
Compile Error
478
v2_s928900904
s928900904
s928900904
p02407
p02407
u843873000
u843873000
1,505,302,614
2017-09-13T11:36:54
Main.java
class Main { import java.util.Scanner; import java.util.StringJoiner; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] ary = new String[n]; for (int i = 0; i < n; i++ ) { ary[i] = String.valueOf(sc.nextInt()); } sc.close()...
Main.java:3: error: illegal start of type import java.util.Scanner; ^ Main.java:3: error: <identifier> expected import java.util.Scanner; ^ Main.java:4: error: illegal start of type import java.util.StringJoiner; ^ Main.java:4: error: <identifier> expected import java.util.StringJoiner; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843873000|p02407|0
u843873000|p02407|0
codenet
Compile Error
478
v2_s425223967
s425223967
s425223967
p02407
p02407
u843873000
u843873000
1,505,302,651
2017-09-13T11:37:31
Main.java
class Main { import java.util.Scanner; import java.util.StringJoiner; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] ary = new String[n]; for (int i = 0; i < n; i++ ) { ary[i] = String.valueOf(sc.nextInt()); } sc.close()...
Main.java:3: error: illegal start of type import java.util.Scanner; ^ Main.java:3: error: <identifier> expected import java.util.Scanner; ^ Main.java:4: error: illegal start of type import java.util.StringJoiner; ^ Main.java:4: error: <identifier> expected import java.util.StringJoiner; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843873000|p02407|0
u843873000|p02407|0
codenet
Compile Error
478
v2_s881935524
s881935524
s881935524
p02407
p02407
u869688911
u869688911
1,504,060,997
2017-08-30T02:43:17
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in); String str=br.readLine(); int n=Integer.parseInt(n); String str2=br.read(); String[] arr=str2.split(" "); String[] rev =new String[n]; for(int i=0; i<n; i++){ re...
Main.java:4: error: ')' or ',' expected BufferedReader br=new BufferedReader(new InputStreamReader(System.in); ^ Main.java:15: error: not a statement br.class(); ^ Main.java:15: error: ';' expected br.class(); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02407|0
u869688911|p02407|0
codenet
Compile Error
417
v2_s369151425
s369151425
s369151425
p02407
p02407
u869688911
u869688911
1,504,061,034
2017-08-30T02:43:54
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in); String str=br.readLine(); int n=Integer.parseInt(n); String str2=br.read(); String[] arr=str2.split(" "); String[] rev =new String[n]; for(int i=0; i<n; i++){ re...
Main.java:4: error: ')' or ',' expected BufferedReader br=new BufferedReader(new InputStreamReader(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02407|0
u869688911|p02407|0
codenet
Compile Error
417
v2_s784612502
s784612502
s784612502
p02407
p02407
u869688911
u869688911
1,504,061,051
2017-08-30T02:44:11
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str=br.readLine(); int n=Integer.parseInt(n); String str2=br.read(); String[] arr=str2.split(" "); String[] rev =new String[n]; for(int i=0; i<n; i++){ r...
Main.java:6: error: incompatible types: int cannot be converted to String int n=Integer.parseInt(n); ^ Main.java:7: error: incompatible types: int cannot be converted to String String str2=br.read(); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02407|0
u869688911|p02407|0
codenet
Compile Error
418
v2_s101295760
s101295760
s101295760
p02407
p02407
u895275311
u895275311
1,491,355,750
2017-04-05T01:29:10
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); ArrayList<Integer> gyaku = new ArrayList<Integer>(); String n =scan.nextLine(); w...
Main.java:25: error: 'else' without 'if' else{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02407|0
u895275311|p02407|0
codenet
Compile Error
733
v2_s616718981
s616718981
s616718981
p02407
p02407
u895275311
u895275311
1,492,075,690
2017-04-13T09:28:10
Main.java
import java.io.IOException; import java.util.ArrayList; import java.util.LinkedList; import java.util.Scanner; class Main{ public static void main(String[] args)throws NumberFormatException, IOException{ // System.out.println(" "); mathClass keisan = new mathClass(); Scanner scan = new Scanner(System.in); Strin...
Main.java:32: error: cannot find symbol inWater = true; ^ symbol: variable inWater location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02407|2
u895275311|p02407|1
codenet
Compile Error
3,195
v2_s662383230
s662383230
s662383230
p02407
p02407
u902605499
u902605499
1,558,936,201
2019-05-27T05:50:01
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextlnt(); for(int i=0, i<n; i++) int a[] = sc.nextInt(); System.out.print(a[n]);
Main.java:9: error: ';' expected for(int i=0, i<n; i++) ^ Main.java:9: error: > or ',' expected for(int i=0, i<n; i++) ^ Main.java:10: error: variable declaration not allowed here int a[] = sc.nextInt(); ^ Main.java:12: error: reached end of file while parsing System.o...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|0
u902605499|p02407|0
codenet
Compile Error
231
v2_s751201239
s751201239
s751201239
p02407
p02407
u902605499
u902605499
1,558,936,218
2019-05-27T05:50:18
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextlnt(); for(int i=0; i<n; i++) int a[] = sc.nextInt(); System.out.print(a[n]);
Main.java:10: error: variable declaration not allowed here int a[] = sc.nextInt(); ^ Main.java:12: error: reached end of file while parsing System.out.print(a[n]); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|0
u902605499|p02407|0
codenet
Compile Error
231
v2_s381521392
s381521392
s381521392
p02407
p02407
u902605499
u902605499
1,558,936,265
2019-05-27T05:51:05
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextlnt(); for(int i=0; i<n; i++) int a[i] = sc.nextInt(); System.out.print();
Main.java:10: error: ']' expected int a[i] = sc.nextInt(); ^ Main.java:10: error: variable declaration not allowed here int a[i] = sc.nextInt(); ^ Main.java:10: error: ';' expected int a[i] = sc.nextInt(); ^ Main.java:12: error: reached end of file while parsing System.out.print();...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|0
u902605499|p02407|0
codenet
Compile Error
228
v2_s363314993
s363314993
s363314993
p02407
p02407
u902605499
u902605499
1,558,936,360
2019-05-27T05:52:40
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextlnt(); int a[] = new int[n] for(int i=0; i<n; i++) //int a[i] = sc.nextInt(); System.out.print();
Main.java:8: error: ';' expected int a[] = new int[n] ^ Main.java:13: error: reached end of file while parsing System.out.print(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|0
u902605499|p02407|0
codenet
Compile Error
253
v2_s681704511
s681704511
s681704511
p02407
p02407
u902605499
u902605499
1,558,936,375
2019-05-27T05:52:55
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextlnt(); int a[] = new int[n]; for(int i=0; i<n; i++) //int a[i] = sc.nextInt(); System.out.print();
Main.java:13: error: reached end of file while parsing System.out.print(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|0
u902605499|p02407|0
codenet
Compile Error
254
v2_s647554263
s647554263
s647554263
p02407
p02407
u902605499
u902605499
1,558,936,394
2019-05-27T05:53:14
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextlnt(); int a[] = new int[n]; for(int i=0; i<n; i++) //int a[i] = sc.nextInt();
Main.java:16: error: reached end of file while parsing 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|0
u902605499|p02407|0
codenet
Compile Error
229
v2_s891197433
s891197433
s891197433
p02407
p02407
u902605499
u902605499
1,558,936,430
2019-05-27T05:53:50
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextlnt(); int a[] = new int[n]; for(int i=0; i<n; i++) a[i] = sc.nextInt();
Main.java:11: error: reached end of file while parsing a[i] = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|0
u902605499|p02407|0
codenet
Compile Error
223
v2_s036054480
s036054480
s036054480
p02407
p02407
u902605499
u902605499
1,559,535,720
2019-06-03T04:22:00
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextlnt(); int a[] = new int[n]; for(int i=0; i<n; i++){ a[i] = sc.nextInt(); System.out.print(n +" "); n--; }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|1
u902605499|p02407|1
codenet
Compile Error
265
v2_s590929280
s590929280
s590929280
p02407
p02407
u902605499
u902605499
1,559,535,753
2019-06-03T04:22:33
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextlnt(); int a[] = new int[n]; for(int i=0; i<n; i++){ a[i] = sc.nextInt(); System.out.print(n +" "); n--; } } }
Main.java:7: error: cannot find symbol int n = sc.nextlnt(); ^ symbol: method nextlnt() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|1
u902605499|p02407|1
codenet
Compile Error
269
v2_s646521889
s646521889
s646521889
p02407
p02407
u902605499
u902605499
1,559,535,881
2019-06-03T04:24:41
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextlnt(); int a[]; for(int i=0; i<n; i++){ a[i] = sc.nextInt(); System.out.print(n +" "); n--; } } }
Main.java:7: error: cannot find symbol int n = sc.nextlnt(); ^ symbol: method nextlnt() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|1
u902605499|p02407|1
codenet
Compile Error
258
v2_s770123907
s770123907
s770123907
p02407
p02407
u902605499
u902605499
1,559,536,086
2019-06-03T04:28:06
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextlnt(); int a[] = new int[n]; for(int i=0; i<n; i++){ a[i] = sc.nextInt(); System.out.print(n +" "); n--; } } }
Main.java:7: error: cannot find symbol int n = sc.nextlnt(); ^ symbol: method nextlnt() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|1
u902605499|p02407|1
codenet
Compile Error
271
v2_s813766688
s813766688
s813766688
p02407
p02407
u902605499
u902605499
1,559,536,379
2019-06-03T04:32:59
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int a[] = new int[n]; for(int i=0; i<n; i++){ a[i] = sc.nextInt(); } for(i=0;i<n-1;i++){ System.out.print(a[n-1]+" "); n--; } System.out.println(a[0]); ...
Main.java:13: error: cannot find symbol for(i=0;i<n-1;i++){ ^ symbol: variable i location: class Main Main.java:13: error: cannot find symbol for(i=0;i<n-1;i++){ ^ symbol: variable i location: class Main Main.java:13: error: cannot find symbol for(i=0;i<n-1;i++){ ^ sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902605499|p02407|1
u902605499|p02407|1
codenet
Compile Error
326
v2_s328734387
s328734387
s328734387
p02407
p02407
u902869273
u902869273
1,523,247,532
2018-04-09T04:18:52
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static final int BIG_NUM = 2000000000; public static final int MOD = 1000000007; public static void main(String[] args) { BufferedReader br = new BufferedReader(new Input...
Main.java:34: error: class, interface, enum, or record expected Compile Error Logs: ^ Main.java:39: error: illegal character: '#' Case # Verdict CPU Time Memory In Out Case Name ^ Main.java:40: error: illegal character: '#' Case #1 : Accepted 00:04 24520 40 37 testcase_00 ^ Main.java:41: error: illegal charac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u902869273|p02407|0
u902869273|p02407|0
codenet
Compile Error
1,366
v2_s703561847
s703561847
s703561847
p02407
p02407
u933808920
u933808920
1,511,187,831
2017-11-20T14:23:51
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int n = Integer.parseInt(br.readLine()); String[] str = br.readLine().split(" "); for (int i...
Main.java:14: error: not a statement wlse if (i == 0) ^ Main.java:14: error: ';' expected wlse if (i == 0) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u933808920|p02407|0
u933808920|p02407|0
codenet
Compile Error
485
v2_s842004634
s842004634
s842004634
p02407
p02407
u939720302
u939720302
1,471,344,167
2016-08-16T10:42:47
main.java
public class main { public static void main(String[] args) { createOutputArr(); } private static void createOutputArr() { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { int inputArrayNum = Integer.parseInt(br.readLine()); String[] inputStr = br.readLine().spli...
main.java:10: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class main main.java:10: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u939720302|p02407|0
u939720302|p02407|0
codenet
Compile Error
840
v2_s459974604
s459974604
s459974604
p02407
p02407
u943304359
u943304359
1,421,768,660
2015-01-20T15:44:20
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); String line2 = br.readLin...
Main.java:13: warning: [removal] Integer(String) in Integer has been deprecated and marked for removal list.add(new Integer(ary[i])); ^ Main.java:18: error: incompatible types: int cannot be converted to boolean if(list.size()-1) { ^ 1 error 1 warning
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u943304359|p02407|0
u943304359|p02407|0
codenet
Compile Error
783
v2_s135344227
s135344227
s135344227
p02407
p02407
u954258807
u954258807
1,470,303,005
2016-08-04T09:30:05
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int a[] = new int[n]; for(int i = 0; i < n; i++){ a[i] = scan.nextInt(); } for(int j = 0; j < n / 2; j++){ int t = a[j]; a[j] = a[n - j - 1]; ...
Main.java:26: error: no suitable method found for print(no arguments) System.out.print(); ^ method PrintStream.print(boolean) is not applicable (actual and formal argument lists differ in length) method PrintStream.print(char) is not applicable (actual and formal argument lists dif...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954258807|p02407|2
u954258807|p02407|2
codenet
Compile Error
495
v2_s997924389
s997924389
s997924389
p02407
p02407
u955008768
u955008768
1,555,914,982
2019-04-22T06:36:22
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[] a=new int[n]; for(int i=0;i<a.length;i++){ a[i]=sc.nextInt(); } for(int j=0;j<a.length;j++){ System.out.printf("%d",a[n-1-j]); ...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u955008768|p02407|0
u955008768|p02407|0
codenet
Compile Error
433
v2_s206174419
s206174419
s206174419
p02407
p02407
u966110132
u966110132
1,463,554,331
2016-05-18T06:52:11
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int[] intArray = new int[a]; for (int i = 0; i < a; i++) { int b = scanner.nextInt(); intArray[i] = b; } for (int...
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
u966110132|p02407|0
u966110132|p02407|0
codenet
Compile Error
804
v2_s321683189
s321683189
s321683189
p02407
p02407
u968994446
u968994446
1,487,472,114
2017-02-19T02:41:54
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class Main { public static void main(String[] args) throws IOException{ int num; String[] str; List<Integer> list; BufferedReader br = new BufferedReader(new ...
Main.java:27: error: cannot find symbol list.sort(reverseOrder()); ^ symbol: method reverseOrder() location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u968994446|p02407|0
u968994446|p02407|0
codenet
Compile Error
808
v2_s840723011
s840723011
s840723011
p02407
p02407
u982119852
u982119852
1,479,189,920
2016-11-15T06:05:20
Array.java
package internship; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Array { //HOME- ITP1-ITP1_6-A public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); ...
Array.java:35: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982119852|p02407|0
u982119852|p02407|0
codenet
Compile Error
747
v2_s207172405
s207172405
s207172405
p02407
p02407
u982119852
u982119852
1,479,190,013
2016-11-15T06:06:53
Array.java
package internship; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Array { //HOME- ITP1-ITP1_6-A public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); ...
Array.java:34: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982119852|p02407|0
u982119852|p02407|0
codenet
Compile Error
750
v2_s804639979
s804639979
s804639979
p02407
p02407
u982119852
u982119852
1,479,190,067
2016-11-15T06:07:47
Array.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Array { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int n = Integer.parseInt(br.readLi...
Array.java:34: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982119852|p02407|0
u982119852|p02407|0
codenet
Compile Error
672
v2_s852723540
s852723540
s852723540
p02407
p02407
u982119852
u982119852
1,479,190,118
2016-11-15T06:08:38
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int n = Integer.parseInt(br.readLine()); String day[] = br.re...
Main.java:31: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982119852|p02407|0
u982119852|p02407|0
codenet
Compile Error
641
v2_s417814211
s417814211
s417814211
p02407
p02407
u982119852
u982119852
1,479,190,165
2016-11-15T06:09:25
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int n = Integer.parseInt(br.readLine()); String day[] = br.re...
Main.java:14: error: unreported exception IOException; must be caught or declared to be thrown int n = Integer.parseInt(br.readLine()); ^ Main.java:16: error: unreported exception IOException; must be caught or declared to be thrown String day[] = br.readLine().split(" "); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982119852|p02407|0
u982119852|p02407|0
codenet
Compile Error
644
v2_s600089842
s600089842
s600089842
p02407
p02407
u983680143
u983680143
1,417,591,213
2014-12-03T07:20:13
Main.java
class Main { /** * プログラムのエントリポイント * @param args */ public static void main(String[] args) { // 1行目読み込む try{ BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in)); insBR.readLine(); //2行目読み込む String strLine = insBR.readLine(); //降順にする StringBuffer sb = new StringBu...
Main.java:11: error: cannot find symbol BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:11: error: cannot find symbol BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u983680143|p02407|0
u983680143|p02407|0
codenet
Compile Error
643
v2_s184021825
s184021825
s184021825
p02408
p02408
u017274040
u017274040
1,496,661,314
2017-06-05T11:15:14
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner scan= new Scanner(System.in); boolean[][] trump = new boolean[4][13]; char[] head = {'S' , 'H' , 'C' , 'D'}; int n = scan.nextInt(); for (int i = 0; i < n ; i++ ) { char head_in = scan.next().charAt(0); ...
Main.java:10: error: cannot find symbol int num = Integer.parseInt(in.next()); ^ symbol: variable in location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02408|0
u017274040|p02408|0
codenet
Compile Error
778
v2_s804253207
s804253207
s804253207
p02408
p02408
u017274040
u017274040
1,496,661,691
2017-06-05T11:21:31
Main.java
import java.util.*; class Main{ public static void main(String[] args) { Scanner scan= new Scanner(System.in); boolean[][] trump = new boolean[4][13]; char[] head = {'S' , 'H' , 'C' , 'D'}; int n = scan.nextInt(); for (int i = 0; i < n ; i++ ) { char head_in = scan.next().charAt(0); in...
Main.java:10: error: cannot find symbol int num = Integer.parseInt(in.next()); ^ symbol: variable in location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u017274040|p02408|0
u017274040|p02408|0
codenet
Compile Error
771
v2_s415189138
s415189138
s415189138
p02408
p02408
u059763635
u059763635
1,526,015,476
2018-05-11T05:11:16
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { List<String> list = new ArrayList<String>(); String[] mark = {"S", "H", "C", "D"}; for(int i = 0; i < 4; i++){ for(int j = 0; j < 13; j++){ list.add(mark[i] + " " + (j + 1))...
Main.java:4: error: cannot find symbol List<String> list = new ArrayList<String>(); ^ symbol: class List location: class Main Main.java:4: error: cannot find symbol List<String> list = new ArrayList<String>(); ^ symbol: class ArrayList location: cl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059763635|p02408|0
u059763635|p02408|0
codenet
Compile Error
629
v2_s711439245
s711439245
s711439245
p02408
p02408
u059763635
u059763635
1,526,015,524
2018-05-11T05:12:04
Main.java
public static void main(String[] args) { List<String> list = new ArrayList<String>(); String[] mark = {"S", "H", "C", "D"}; for(int i = 0; i < 4; i++){ for(int j = 0; j < 13; j++){ list.add(mark[i] + " " + (j + 1)); } } Scanner sc = new ...
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:23: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059763635|p02408|0
u059763635|p02408|0
codenet
Compile Error
565
v2_s547269298
s547269298
s547269298
p02408
p02408
u059763635
u059763635
1,526,015,569
2018-05-11T05:12:49
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { List<String> list = new ArrayList<String>(); String[] mark = {"S", "H", "C", "D"}; for(int i = 0; i < 4; i++){ for(int j = 0; j < 13; j++){ list.add(mark[i] + " " + (j + 1)); ...
Main.java:4: error: cannot find symbol List<String> list = new ArrayList<String>(); ^ symbol: class List location: class Main Main.java:4: error: cannot find symbol List<String> list = new ArrayList<String>(); ^ symbol: class ArrayList location: class ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059763635|p02408|0
u059763635|p02408|0
codenet
Compile Error
614
v2_s259261008
s259261008
s259261008
p02408
p02408
u059763635
u059763635
1,526,015,654
2018-05-11T05:14:14
Main.java
public static void main(String[] args) { List<String> list = new ArrayList<String>(); String[] mark = {"S", "H", "C", "D"}; for(int i = 0; i < 4; i++){ for(int j = 0; j < 13; j++){ list.add(mark[i] + " " + (j + 1)); } } Scanner sc = new S...
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:23: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059763635|p02408|0
u059763635|p02408|0
codenet
Compile Error
565
v2_s782507447
s782507447
s782507447
p02408
p02408
u059763635
u059763635
1,526,015,674
2018-05-11T05:14:34
Main.java
import java.util.Scanner; public static void main(String[] args) { List<String> list = new ArrayList<String>(); String[] mark = {"S", "H", "C", "D"}; for(int i = 0; i < 4; i++){ for(int j = 0; j < 13; j++){ list.add(mark[i] + " " + (j + 1)); } } ...
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:24: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059763635|p02408|0
u059763635|p02408|0
codenet
Compile Error
591
v2_s883732549
s883732549
s883732549
p02408
p02408
u065787019
u065787019
1,396,241,798
2014-03-31T04:56:38
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args){ String[] tramp = {"S","D","H","C"}; //トランプの各図柄の配列を作る int[] S; S = new int[14]; int[] D; D = new int[14]; int[] H; H = new int[14]; int[] C; C = new int[14]; Finding_Miss...
Main.java:22: error: cannot find symbol Finding_Missing_Card fmc = new Finding_Missing_Card(); ^ symbol: class Finding_Missing_Card location: class Main Main.java:22: error: cannot find symbol Finding_Missing_Card fmc = new Finding_Missing_Card(); ^ symbol: class Finding...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u065787019|p02408|0
u065787019|p02408|0
codenet
Compile Error
2,037
v2_s892873959
s892873959
s892873959
p02408
p02408
u065787019
u065787019
1,396,244,335
2014-03-31T05:38:55
Main.java
import java.io.IOException; import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { String[] tramp = { "S", "D", "H", "C" }; // トランプの各図柄の配列を作る try { int[] S; S = new int[12]; int[] D; D = new int[12]; int[] H; H = new int[12]; in...
Main.java:84: error: exception IOException is never thrown in body of corresponding try statement } catch (IOException e) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u065787019|p02408|0
u065787019|p02408|0
codenet
Compile Error
2,212
v2_s234826833
s234826833
s234826833
p02408
p02408
u065787019
u065787019
1,396,343,242
2014-04-01T09:07:22
Finding_Missing2.java
package Array; import java.util.Scanner; public class Finding_Missing2 { public static void main(String[] args) { // int taro_card_number = 0; Finding_Missing_Card fmc = new Finding_Missing_Card(); String[] tramp = { "S", "H", "C", "D" }; for (String val : tramp) { int[] val; val = new int[13]; ...
Finding_Missing2.java:86: error: <identifier> expected public int[] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u065787019|p02408|1
u065787019|p02408|1
codenet
Compile Error
1,769
v2_s210685743
s210685743
s210685743
p02408
p02408
u067299340
u067299340
1,493,274,578
2017-04-27T06:29:38
Main.java
public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int numOfCards = stdIn.nextInt(); boolean[] spadeCardsExitsance = new boolean[13]; boolean[] hartCardsExitsance = new boolean[13]; boolean[] clubCardsExitsance = new boolean[...
Main.java:3: error: cannot find symbol Scanner stdIn = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner stdIn = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067299340|p02408|0
u067299340|p02408|0
codenet
Compile Error
1,650
v2_s163938681
s163938681
s163938681
p02408
p02408
u091915922
u091915922
1,507,784,625
2017-10-12T05:03:45
Main.java
import java.io.*; import java.util.ArrayList; ?? public class Main { ?? ????????public static void main(String[] args) throws IOException { ?? ????????????????int a = 0; ?? ????????????????ArrayList<String> list1 = new ArrayList<>(); ?? ????????????????BufferedReader br = new BufferedReader(new InputStreamReader(System...
Main.java:3: error: class, interface, enum, or record expected ?? ^ Main.java:5: error: illegal start of type ?? ^ Main.java:7: error: illegal start of expression ?? ^ Main.java:7: error: illegal start of expression ?? ^ Main.java:8: error: illegal start of expression ????????????????int a = 0; ^ Main.java:8: error: i...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u091915922|p02408|0
u091915922|p02408|0
codenet
Compile Error
1,401
v2_s049970961
s049970961
s049970961
p02408
p02408
u097204849
u097204849
1,510,722,862
2017-11-15T05:14:22
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); str =br.readLine(); ArrayList<String> cards = new ArrayList<String>(); ...
Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown String str = br.readLine(); ^ Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown str =br.readLine(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u097204849|p02408|0
u097204849|p02408|0
codenet
Compile Error
1,857
v2_s027996324
s027996324
s027996324
p02408
p02408
u111312636
u111312636
1,484,028,923
2017-01-10T06:15:23
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); int num = Intege...
Main.java:24: error: illegal start of expression static void findCard(String mark, ArrayList list){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u111312636|p02408|0
u111312636|p02408|0
codenet
Compile Error
836
v2_s188133085
s188133085
s188133085
p02408
p02408
u155443227
u155443227
1,460,007,389
2016-04-07T05:36:29
Main.java
import java.io.*; class Main { public static void main (String[ ] args) throws Exception { boolean[][] b = new boolean[4][13]; String[] s = new {"S", "H", "C", "D"}; BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); int n = Integer.parseInt(br....
Main.java:8: error: <identifier> expected String[] s = new {"S", "H", "C", "D"}; ^ Main.java:8: error: '(' or '[' expected String[] s = new {"S", "H", "C", "D"}; ^ Main.java:8: error: not a statement String[] s = new {"S", "H", "C", "D"}; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u155443227|p02408|0
u155443227|p02408|0
codenet
Compile Error
1,200
v2_s624288430
s624288430
s624288430
p02408
p02408
u162151793
u162151793
1,508,547,311
2017-10-21T00:55:11
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); boolean[] numbers = new int[4][13]; for(int i = 0; i < n; i++){ String mark = scanner.nextString(); int card = scanner.nextInt();...
Main.java:28: error: ';' expected System.out.println("S " + j) ^ Main.java:30: error: ';' expected System.out.println("H " + j) ^ Main.java:32: error: ';' expected System.out.println("C " + j) ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u162151793|p02408|0
u162151793|p02408|0
codenet
Compile Error
959
v2_s232872731
s232872731
s232872731
p02408
p02408
u162151793
u162151793
1,508,547,337
2017-10-21T00:55:37
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); boolean[] numbers = new int[4][13]; for(int i = 0; i < n; i++){ String mark = scanner.nextString(); int card = scanner.nextInt();...
Main.java:8: error: incompatible types: int[][] cannot be converted to boolean[] boolean[] numbers = new int[4][13]; ^ Main.java:11: error: cannot find symbol String mark = scanner.nextString(); ^ symbol: method nextString() location: variable scanner of type Sca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u162151793|p02408|0
u162151793|p02408|0
codenet
Compile Error
963
v2_s092227504
s092227504
s092227504
p02408
p02408
u162151793
u162151793
1,508,547,456
2017-10-21T00:57:36
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); boolean[] numbers = new boolean[4][13]; for(int i = 0; i < n; i++){ String mark = scanner.next(); int card = scanner.nextInt(); ...
Main.java:8: error: incompatible types: boolean[][] cannot be converted to boolean[] boolean[] numbers = new boolean[4][13]; ^ Main.java:14: error: array required, but boolean found numbers[0][card-1] = true; ^ Main.java:16: error: array required, but boolean found numbers[...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u162151793|p02408|0
u162151793|p02408|0
codenet
Compile Error
961
v2_s563049647
s563049647
s563049647
p02408
p02408
u162151793
u162151793
1,508,547,487
2017-10-21T00:58:07
Main.java
import java.util.Scanner; import java.util.Arrays; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); boolean[][] numbers = new boolean[4][13]; for(int i = 0; i < n; i++){ String mark = scanner.next(); int card = scanner.nextInt();...
Main.java:27: error: int cannot be dereferenced if(i.equals("S")){ ^ Main.java:29: error: cannot find symbol }else if(mark.equals("H")){ ^ symbol: variable mark location: class Main Main.java:31: error: cannot find symbol }else if(mark.equals("C")){ ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u162151793|p02408|0
u162151793|p02408|0
codenet
Compile Error
963
v2_s358289885
s358289885
s358289885
p02408
p02408
u209041071
u209041071
1,546,193,369
2018-12-30T18:09:29
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int total = sc.nextInt(); List<Integer> spade = new ArrayList<Integer>(); List<Integer> heart = new ArrayLis...
Main.java:48: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u209041071|p02408|0
u209041071|p02408|0
codenet
Compile Error
1,096
v2_s388061329
s388061329
s388061329
p02408
p02408
u210768346
u210768346
1,529,539,118
2018-06-20T23:58:38
Main.java
#include <stdio.h> #include <stdbool.h> int main(int argc, char const *argv[]) { int i, j, n; char mark; char marks[4] = {'S', 'H', 'C', 'D'}; int num; bool cards[4][13]={false}; scanf("%d", &n); for (i=0;i<n;i++){ scanf("%c %d", &mark, &num); for (j=0;j<4;j++) { if(mark==marks[j]) { cards[j][num-1...
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:2: error: illegal character: '#' #include <stdbool.h> ^ Main.java:7: error: unnamed classes are a preview feature and are disabled by default. char mark...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u210768346|p02408|0
u210768346|p02408|0
codenet
Compile Error
481
v2_s496018776
s496018776
s496018776
p02408
p02408
u211138527
u211138527
1,443,362,084
2015-09-27T13:54:44
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Comparator; import java.util.Deque; import java.util.HashMap; import java.util.HashSet; import java.util.InputMi...
Main.java:38: error: ';' expected int p=i/13: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02408|0
u211138527|p02408|0
codenet
Compile Error
3,540
v2_s677575641
s677575641
s677575641
p02408
p02408
u211598122
u211598122
1,460,601,772
2016-04-14T02:42:52
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); int n = in.nextInt(); int cards[][] = new int[4][13]; ...
Main.java:13: error: cannot find symbol String mark = scan.next(); ^ symbol: variable scan location: class Main Main.java:14: error: cannot find symbol int val = scan.nextInt(); ^ symbol: variable scan location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211598122|p02408|0
u211598122|p02408|0
codenet
Compile Error
1,716
v2_s794866962
s794866962
s794866962
p02408
p02408
u220308369
u220308369
1,532,047,139
2018-07-20T00:38:59
Main.java
import sys def make_all_cards(): mark = ['S', 'H', 'C', 'D'] cards = [] for i in mark: for n in range(1, 14): cards.append(i + ' ' + str(n)) return cards if __name__ == '__main__': all_cards = make_all_cards() n = int(sys.stdin.readline().strip()) for _ in range(...
Main.java:1: error: '.' expected import sys ^ Main.java:3: error: ';' expected def make_all_cards(): ^ Main.java:13: error: unclosed character literal if __name__ == '__main__': ^ Main.java:13: error: unclosed character literal if __name__ == '__main__': ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u220308369|p02408|0
u220308369|p02408|0
codenet
Compile Error
441
v2_s223473461
s223473461
s223473461
p02408
p02408
u221816621
u221816621
1,439,450,753
2015-08-13T07:25:53
Main.java
import java.io.*; class Card{ char mark; int num; boolean have = false; static List<Card> allCards = new ArrayList<Card>(); Card(char mark, int num){ this.mark = mark; this.num = num; } } public class Main{ public static void main(String[] args){ char[] marks ={'S','H','C','D'}; for(char mark: marks){ ...
Main.java:7: error: cannot find symbol static List<Card> allCards = new ArrayList<Card>(); ^ symbol: class List location: class Card Main.java:7: error: cannot find symbol static List<Card> allCards = new ArrayList<Card>(); ^ symbol: class ArrayList location: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u221816621|p02408|0
u221816621|p02408|0
codenet
Compile Error
918
v2_s255860423
s255860423
s255860423
p02408
p02408
u221816621
u221816621
1,439,451,319
2015-08-13T07:35:19
Main.java
import java.util.*; import java.io.*; class Card{ char mark; int num; boolean have = false; static List<Card> allCards = new ArrayList<Card>(); Card(char mark, int num){ this.mark = mark; this.num = num; } } public class Main{ public static void main(String[] args){ try{ char[] marks ={'S','H','C','D'}; ...
Main.java:43: error: unreachable statement for(Card c : Card.allCards){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u221816621|p02408|0
u221816621|p02408|0
codenet
Compile Error
936
v2_s659185022
s659185022
s659185022
p02408
p02408
u233376535
u233376535
1,491,298,538
2017-04-04T09:35:38
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int cards[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0; } ...
Main.java:8: error: ']' expected int cards[4][13]; ^ Main.java:49: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,026
v2_s841746306
s841746306
s841746306
p02408
p02408
u233376535
u233376535
1,491,298,645
2017-04-04T09:37:25
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int cards[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0; } ...
Main.java:8: error: ']' expected int cards[4][13]; ^ Main.java:49: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,028
v2_s697146771
s697146771
s697146771
p02408
p02408
u233376535
u233376535
1,491,298,747
2017-04-04T09:39:07
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int[4][13] cards; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0; } ...
Main.java:8: error: ']' expected int[4][13] cards; ^ Main.java:8: error: not a statement int[4][13] cards; ^ Main.java:8: error: not a statement int[4][13] cards; ^ Main.java:49: error: reached end of file while parsing } ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,028
v2_s578183903
s578183903
s578183903
p02408
p02408
u233376535
u233376535
1,491,298,890
2017-04-04T09:41:30
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int[][] cards; cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ ...
Main.java:51: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,053
v2_s851673672
s851673672
s851673672
p02408
p02408
u233376535
u233376535
1,491,298,935
2017-04-04T09:42:15
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int[][] cards; cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ ...
Main.java:52: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,059
v2_s348670608
s348670608
s348670608
p02408
p02408
u233376535
u233376535
1,491,299,000
2017-04-04T09:43:20
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int[][] cards; cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ ...
Main.java:19: error: cannot find symbol strAry = br.readLine().split(" "); ^ symbol: variable strAry location: class Main Main.java:20: error: cannot find symbol String op = strAry[0]; ^ symbol: variable strAry location: class Main Main.java:21: error: cannot find symbol in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,062
v2_s667820921
s667820921
s667820921
p02408
p02408
u233376535
u233376535
1,491,299,089
2017-04-04T09:44:49
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int[][] cards; cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ ...
Main.java:20: error: cannot find symbol strAry = br.readLine().split(" "); ^ symbol: variable strAry location: class Main Main.java:21: error: cannot find symbol String op = strAry[0]; ^ symbol: variable strAry location: class Main Main.java:22: error: cannot find symbol in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,096
v2_s786987261
s786987261
s786987261
p02408
p02408
u233376535
u233376535
1,491,299,137
2017-04-04T09:45:37
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int[][] cards; cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ ...
Main.java:22: error: bad operand types for binary operator '-' int number = strAry[1]-1; ^ first type: String second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,104
v2_s696660889
s696660889
s696660889
p02408
p02408
u233376535
u233376535
1,491,299,176
2017-04-04T09:46:16
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int[][] cards; cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ ...
Main.java:22: error: bad operand types for binary operator '-' int number = strAry[1]-1; ^ first type: String second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,103
v2_s138759979
s138759979
s138759979
p02408
p02408
u233376535
u233376535
1,491,299,228
2017-04-04T09:47:08
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int[][] cards; cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ ...
Main.java:33: error: variable suite might not have been initialized cards[suite][number]=1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,121
v2_s322571412
s322571412
s322571412
p02408
p02408
u233376535
u233376535
1,491,299,307
2017-04-04T09:48:27
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int[][] cards; cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ ...
Main.java:34: error: variable suite might not have been initialized cards[suite][number]=1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,136
v2_s845492959
s845492959
s845492959
p02408
p02408
u233376535
u233376535
1,491,299,388
2017-04-04T09:49:48
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int[][] cards; cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ ...
Main.java:34: error: variable suite might not have been initialized cards[suite][number]=1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,136
v2_s126249645
s126249645
s126249645
p02408
p02408
u233376535
u233376535
1,491,299,415
2017-04-04T09:50:15
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j,suite; num = Integer.parseInt(br.readLine()); int[][] cards; cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ ...
Main.java:34: error: variable suite might not have been initialized cards[suite][number]=1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,136
v2_s421471073
s421471073
s421471073
p02408
p02408
u233376535
u233376535
1,491,300,473
2017-04-04T10:07:53
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j; num = Integer.parseInt(br.readLine()); int[][] cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0;...
Main.java:22: error: char cannot be dereferenced if(strAry[0].charAt(0).equals("S")){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,157
v2_s165863192
s165863192
s165863192
p02408
p02408
u233376535
u233376535
1,491,301,869
2017-04-04T10:31:09
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j; num = Integer.parseInt(br.readLine()); int[][] cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0;...
Main.java:42: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
850
v2_s360714799
s360714799
s360714799
p02408
p02408
u233376535
u233376535
1,491,301,932
2017-04-04T10:32:12
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j; num = Integer.parseInt(br.readLine()); int[][] cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0;...
Main.java:37: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
792
v2_s497600372
s497600372
s497600372
p02408
p02408
u233376535
u233376535
1,491,301,938
2017-04-04T10:32:18
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j; num = Integer.parseInt(br.readLine()); int[][] cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0;...
Main.java:37: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
792
v2_s571647186
s571647186
s571647186
p02408
p02408
u233376535
u233376535
1,491,302,053
2017-04-04T10:34:13
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j; num = Integer.parseInt(br.readLine()); int[][] cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0;...
Main.java:36: error: <identifier> expected System.out.println("5"); ^ Main.java:36: error: illegal start of type System.out.println("5"); ^ Main.java:38: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
819
v2_s506209669
s506209669
s506209669
p02408
p02408
u233376535
u233376535
1,491,302,099
2017-04-04T10:34:59
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j; num = Integer.parseInt(br.readLine()); int[][] cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0;...
Main.java:38: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
795
v2_s602258128
s602258128
s602258128
p02408
p02408
u233376535
u233376535
1,491,302,102
2017-04-04T10:35:02
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j; num = Integer.parseInt(br.readLine()); int[][] cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0;...
Main.java:38: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
795
v2_s705467542
s705467542
s705467542
p02408
p02408
u233376535
u233376535
1,491,302,362
2017-04-04T10:39:22
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j; num = Integer.parseInt(br.readLine()); int[][] cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0;...
Main.java:15: error: variable i is already defined in method main(String[]) for(int i=0;i<num;i++){ ^ Main.java:34: error: variable i is already defined in method main(String[]) for(int i=0;i<4;i++){ ^ Main.java:35: error: variable j is already defined in method main(String[]) for(int j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,152
v2_s767612405
s767612405
s767612405
p02408
p02408
u233376535
u233376535
1,491,302,443
2017-04-04T10:40:43
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j; num = Integer.parseInt(br.readLine()); int[][] cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0;...
Main.java:15: error: variable i is already defined in method main(String[]) for(int i=0;i<num;i++){ ^ Main.java:34: error: variable i is already defined in method main(String[]) for(int i=0;i<4;i++){ ^ Main.java:35: error: variable j is already defined in method main(String[]) for(int j...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
1,152
v2_s864342473
s864342473
s864342473
p02408
p02408
u233376535
u233376535
1,491,302,512
2017-04-04T10:41:52
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j; num = Integer.parseInt(br.readLine()); int[][] cards = new int[4][13]; for(i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j]=0;...
Main.java:15: error: variable i is already defined in method main(String[]) for(int i=0;i<num;i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
814
v2_s427439768
s427439768
s427439768
p02408
p02408
u233376535
u233376535
1,491,302,532
2017-04-04T10:42:12
Main.java
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num,i,j; num = Integer.parseInt(br.readLine()); int[][] cards = new int[4][13]; for(int i=0;i<4;i++){ for(j=0;j<13;j++){ cards[i][j...
Main.java:9: error: variable i is already defined in method main(String[]) for(int i=0;i<4;i++){ ^ Main.java:15: error: variable i is already defined in method main(String[]) for(int i=0;i<num;i++){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u233376535|p02408|0
u233376535|p02408|0
codenet
Compile Error
818