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_s081733208
s081733208
s081733208
p03136
p03136
u626353997
u626353997
1,559,716,254
2019-06-05T06:30:54
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner (System.in); int N = sc.nextInt(); int[] n = new int[N]; int sum = 0; for(int i = 0;i < N;i++){ n[i] = sc.nextInt(); } Arrays.sort(n); for(int ...
Main.java:12: error: variable sum is already defined in method main(String[]) for(int sum:n){ ^ Main.java:13: error: bad operand types for binary operator '+' sum += n; ^ first type: int second type: int[] 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u626353997|p03136|0
u626353997|p03136|0
codenet
Compile Error
432
v2_s791643224
s791643224
s791643224
p03136
p03136
u648912196
u648912196
1,549,311,976
2019-02-04T20:26:16
Main.java
import java.util.*; import java.lang.*; import java.io.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int arr[] = new int[n]; for(int i = 0;i <= n();i++){ arr[i] = sc.nextInt(); } Arrays.sort(arr); ...
Main.java:12: error: cannot find symbol for(int i = 0;i <= n();i++){ ^ symbol: method n() location: class Main Main.java:19: error: cannot find symbol for(i = 0;i < n;i++){ ^ symbol: variable i location: class Main Main.java:19: error: cannot find symbol for(i = 0;...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u648912196|p03136|0
u648912196|p03136|0
codenet
Compile Error
507
v2_s427891748
s427891748
s427891748
p03136
p03136
u648912196
u648912196
1,549,312,033
2019-02-04T20:27:13
Main.java
import java.util.*; import java.lang.*; import java.io.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int arr[] = new int[n]; for(int i = 0;i <= n;i++){ arr[i] = sc.nextInt(); } Arrays.sort(arr); in...
Main.java:22: error: cannot find symbol if(arr[n]>X){ ^ symbol: variable X location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u648912196|p03136|0
u648912196|p03136|0
codenet
Compile Error
507
v2_s497827534
s497827534
s497827534
p03136
p03136
u653981267
u653981267
1,586,557,022
2020-04-10T22:17:02
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[] L = new int[n]; int sum = 0; for(int i = 0; i < n; i++) { L[i] = sc.nextInt(); sum += L[i]; } Arrays.sort(L); String ans = "No"...
Main.java:15: error: cannot find symbol if(a[n - 1] >= (sum - a[n - 1])) ans = "Yes"; ^ symbol: variable a location: class Main Main.java:15: error: cannot find symbol if(a[n - 1] >= (sum - a[n - 1])) ans = "Yes"; ^ symbol: variable a location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03136|0
u653981267|p03136|0
codenet
Compile Error
406
v2_s057859013
s057859013
s057859013
p03136
p03136
u659156129
u659156129
1,596,470,056
2020-08-03T15:54:16
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int[] a = new int[n]; for(int i=0; i<a.length; ++i){ a[i] = scn.nextInt(); } Arrays.sort(a); int sum = 0; for(int i=0; i<a.len...
Main.java:16: error: cannot find symbol if(sum<=a[a/length-1]){ ^ symbol: variable length location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03136|0
u659156129|p03136|0
codenet
Compile Error
499
v2_s630871800
s630871800
s630871800
p03136
p03136
u704373596
u704373596
1,557,193,510
2019-05-07T01:45:10
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 arr[] = new int; int max = arr[0]; int maxLength = arr[0]; for (i = 1; i < N; i++) { if (arr[i] >...
Main.java:7: error: '[' expected int arr[] = new int; ^ Main.java:17: error: ';' expected maxLength += arr[i] ^ Main.java:23: error: ')' expected System.out.println("Yes"); ^ Main.java:24: erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704373596|p03136|0
u704373596|p03136|0
codenet
Compile Error
564
v2_s855142062
s855142062
s855142062
p03136
p03136
u704373596
u704373596
1,557,193,544
2019-05-07T01:45:44
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 arr[] = new int; int max = arr[0]; int maxLength = arr[0]; for (i = 1; i < N; i++) { if (arr[i] >...
Main.java:7: error: '[' expected int arr[] = new int; ^ Main.java:23: error: ')' expected System.out.println("Yes"); ^ Main.java:24: error: illegal start of expression ) ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704373596|p03136|0
u704373596|p03136|0
codenet
Compile Error
565
v2_s657148943
s657148943
s657148943
p03136
p03136
u704373596
u704373596
1,557,193,588
2019-05-07T01:46:28
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int arr[] = new int[N]; int max = arr[0]; int maxLength = arr[0]; for (i = 1; i < N; i++) { if (arr[i...
Main.java:23: error: ')' expected System.out.println("Yes"); ^ Main.java:24: error: illegal start of expression ) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704373596|p03136|0
u704373596|p03136|0
codenet
Compile Error
568
v2_s596953098
s596953098
s596953098
p03136
p03136
u704373596
u704373596
1,557,193,617
2019-05-07T01:46:57
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 arr[] = new int[N]; int max = arr[0]; int maxLength = arr[0]; for (int i = 1; i < N; i++) { if (a...
Main.java:23: error: ')' expected System.out.println("Yes"); ^ Main.java:24: error: illegal start of expression ) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704373596|p03136|0
u704373596|p03136|0
codenet
Compile Error
572
v2_s188979884
s188979884
s188979884
p03136
p03136
u704373596
u704373596
1,557,193,689
2019-05-07T01:48:09
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 arr[] = new int[N]; int max = arr[0]; int maxLength = arr[0]; for (int i = 1; i < N; i++) { if (a...
Main.java:22: error: '(' expected } else if { ^ Main.java:22: error: illegal start of expression } else if { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u704373596|p03136|0
u704373596|p03136|0
codenet
Compile Error
572
v2_s226898285
s226898285
s226898285
p03136
p03136
u716669898
u716669898
1,550,207,108
2019-02-15T05:05:08
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int max = 0; for(int i = 0; i < n; i++) { max = Math.max(a[i], max); } System.out.println(max < total - max...
Main.java:9: error: cannot find symbol max = Math.max(a[i], max); ^ symbol: variable a location: class Main Main.java:11: error: cannot find symbol System.out.println(max < total - max ? "Yes" : "No"); ^ symbol: variable total location:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u716669898|p03136|0
u716669898|p03136|0
codenet
Compile Error
345
v2_s531309146
s531309146
s531309146
p03136
p03136
u716669898
u716669898
1,550,207,168
2019-02-15T05:06:08
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int max = 0; for(int i = 0; i < n; i++) { int x = sc.nextInt(); total += x; max = Math.max(x, max); ...
Main.java:10: error: cannot find symbol total += x; ^ symbol: variable total location: class Main Main.java:13: error: cannot find symbol System.out.println(max < total - max ? "Yes" : "No"); ^ symbol: variable total location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u716669898|p03136|0
u716669898|p03136|0
codenet
Compile Error
398
v2_s801737131
s801737131
s801737131
p03136
p03136
u716669898
u716669898
1,550,207,202
2019-02-15T05:06:42
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int max = 0; int total = 0; for(int i = 0; i < n; i++) { max = Math.max(a[i], max); } System.out.pri...
Main.java:10: error: cannot find symbol max = Math.max(a[i], max); ^ symbol: variable a location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u716669898|p03136|0
u716669898|p03136|0
codenet
Compile Error
367
v2_s490293336
s490293336
s490293336
p03136
p03136
u833937509
u833937509
1,549,747,106
2019-02-09T21:18:26
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 sum = 0; int max = 0; while (N > 0) { int temp = sc.nextInt(); sum += temp; max = Math.max(max, temp); ...
Main.java:4: error: <identifier> expected public static void main(String() args) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833937509|p03136|0
u833937509|p03136|0
codenet
Compile Error
473
v2_s420855923
s420855923
s420855923
p03136
p03136
u874000404
u874000404
1,567,394,916
2019-09-02T03:28:36
Main.java
import java.util.Scanner; import java.util.Set; import java.util.Stack; import java.util.concurrent.ArrayBlockingQueue; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int[] l = new int[n]; for(int...
Main.java:14: error: cannot find symbol sort(l, 0, n-1); ^ symbol: method sort(int[],int,int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u874000404|p03136|0
u874000404|p03136|0
codenet
Compile Error
660
v2_s373480261
s373480261
s373480261
p03136
p03136
u905052325
u905052325
1,549,247,427
2019-02-04T02:30:27
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int sum=0; // 整数の入力 int[] L={}; int N = sc.nextInt(); for(int i=0;i<N;i++){ int L[i] = sc.nextInt(); } Arrays.sort(L); for(int i=0;i<N-1;i++){ su...
Main.java:10: error: ']' expected int L[i] = sc.nextInt(); ^ Main.java:10: error: ';' expected int L[i] = sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u905052325|p03136|0
u905052325|p03136|0
codenet
Compile Error
462
v2_s818380604
s818380604
s818380604
p03136
p03136
u905052325
u905052325
1,549,247,600
2019-02-04T02:33:20
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int sum=0; // 整数の入力 int L[]={}; int N = sc.nextInt(); for(int i=0;i<N;i++){ int L[i] = sc.nextInt(); } Arrays.sort(L); for(int i=0;i<N-1;i++){ su...
Main.java:10: error: ']' expected int L[i] = sc.nextInt(); ^ Main.java:10: error: ';' expected int L[i] = sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u905052325|p03136|0
u905052325|p03136|0
codenet
Compile Error
462
v2_s564176076
s564176076
s564176076
p03136
p03136
u936985471
u936985471
1,564,766,805
2019-08-02T17:26:45
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 max = 0; int sum = 0; while(sc.hasNext()){ int newone = sc.nextInt(); if(newone > max){ max = newone } sum = sum + newone; ...
Main.java:12: error: ';' expected max = newone ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u936985471|p03136|0
u936985471|p03136|0
codenet
Compile Error
403
v2_s682209874
s682209874
s682209874
p03136
p03136
u945100192
u945100192
1,549,320,558
2019-02-04T22:49:18
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // get a integer int a = sc.nextInt(); // get two integers separated with half-width break //nt b = sc.nextInt(); Scanner input = new Scanner(System.in); int[] n...
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 Main.java:10: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u945100192|p03136|0
u945100192|p03136|0
codenet
Compile Error
884
v2_s443193425
s443193425
s443193425
p03136
p03136
u945100192
u945100192
1,549,323,105
2019-02-04T23:31:45
Main.java
import java . io . BufferedReader ; import java . io . IOException ; import java . io . InputStreamReader ; import java . util . LinkedList ; import java . util . List ; import java . util . Stack ; public class Main { public static void main ( String [] args ) throws IOException { InputStreamRead...
Main.java:28: error: ')' expected while ( num ! = 0 ) { ^ Main.java:28: error: illegal start of expression while ( num ! = 0 ) { ^ Main.java:28: error: ';' expected while ( num ! = 0 ) { ^ Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u945100192|p03136|0
u945100192|p03136|0
codenet
Compile Error
3,019
v2_s292864861
s292864861
s292864861
p03136
p03136
u985027411
u985027411
1,550,295,850
2019-02-16T05:44:10
Polygon.java
public class Polygon { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) { try { int numberOfSides = Integer.parseInt(br.readLine().trim()); if (3 <= numberOfSides && numberOfSides <= 10) { List<String> sid...
Polygon.java:2: error: cannot find symbol static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Polygon Polygon.java:2: error: cannot find symbol static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985027411|p03136|0
u985027411|p03136|0
codenet
Compile Error
1,105
v2_s566552414
s566552414
s566552414
p03136
p03136
u985027411
u985027411
1,550,296,243
2019-02-16T05:50:43
Polygon.java
public class Polygon { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) { try { int numberOfSides = Integer.parseInt(br.readLine().trim()); if (3 <= numberOfSides && numberOfSides <= 10) { List<String> sid...
Polygon.java:2: error: cannot find symbol static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Polygon Polygon.java:2: error: cannot find symbol static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985027411|p03136|0
u985027411|p03136|0
codenet
Compile Error
1,114
v2_s788564951
s788564951
s788564951
p03136
p03136
u985027411
u985027411
1,550,296,286
2019-02-16T05:51:26
Main.java
public class Main { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) { try { int numberOfSides = Integer.parseInt(br.readLine().trim()); if (3 <= numberOfSides && numberOfSides <= 10) { List<String> sidesS...
Main.java:2: error: cannot find symbol static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:2: error: cannot find symbol static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985027411|p03136|0
u985027411|p03136|0
codenet
Compile Error
1,111
v2_s053974604
s053974604
s053974604
p03137
p03137
u046167857
u046167857
1,549,751,909
2019-02-09T22:38:29
Main.java
Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[] X = new int[M]; for(int i = 0; i < M; i++) { X[i] = sc.nextInt(); } Arrays.sort(X); int[] Y = new int[M-1]; for(int i = 0; i < M-1; i++) { ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner sc = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:5: error: class, interface, enum, or record expected for(int i = 0; i < M; i++) { ^ Main.java:5: error: class, interf...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u046167857|p03137|0
u046167857|p03137|0
codenet
Compile Error
578
v2_s776710187
s776710187
s776710187
p03137
p03137
u062736195
u062736195
1,585,579,820
2020-03-30T14:50:20
Main.java
3 7 -10 -3 0 9 -100 2 17
Main.java:1: error: class, interface, enum, or record expected 3 7 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p03137|0
u062736195|p03137|0
codenet
Compile Error
24
v2_s697282484
s697282484
s697282484
p03137
p03137
u091010228
u091010228
1,555,918,319
2019-04-22T07:31:59
Main.java
import java.util.Arrays; import java.util.Scanner; // C - Stones public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // 整数の入力 int N = sc.nextInt(); int M = sc.nextInt(); int[] x = new int[M]; int[] width = new int[M-1]; // 隣り合う二点の距離 int sum = 0; int out = ...
Main.java:32: error: reached end of file while parsing ???? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u091010228|p03137|0
u091010228|p03137|0
codenet
Compile Error
698
v2_s837554502
s837554502
s837554502
p03137
p03137
u321355907
u321355907
1,562,491,933
2019-07-07T09:32:13
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int M = scanner.nextInt(); ArrayList<Integer> cordinates = new ArrayList<>(); if(M==1){ System.out.println(0); return;...
Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u321355907|p03137|0
u321355907|p03137|0
codenet
Compile Error
960
v2_s155160743
s155160743
s155160743
p03137
p03137
u476482490
u476482490
1,551,655,939
2019-03-03T23:32:19
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main public static void main(final String[] args) { final Scanner scanner = new Scanner(System.in); final int num = scanner.nextInt(); final int point = scanner.nextInt(); if (num >= point) { System.out.println(0); return; } final in...
Main.java:4: error: '{' expected public class Main ^ Main.java:6: error: unnamed classes are a preview feature and are disabled by default. public static void main(final String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:44: error: class, interface, enum, or...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u476482490|p03137|0
u476482490|p03137|0
codenet
Compile Error
819
v2_s051226411
s051226411
s051226411
p03137
p03137
u676749446
u676749446
1,570,132,852
2019-10-03T20:00:52
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { hayami saori = new hayami(); Scanner sc = new Scanner(System.in); int ans = 0; int N = saori_hayami(); int M = saori_hayami(); int[] X = new int[M]; for(int i=0; i<M; i++){ X[i] = saori_hayami();...
Main.java:10: error: cannot find symbol int N = saori_hayami(); ^ symbol: method saori_hayami() location: class Main Main.java:11: error: cannot find symbol int M = saori_hayami(); ^ symbol: method saori_hayami() location: class Main Main.java:14: error: cannot find symbol X[i] = ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u676749446|p03137|0
u676749446|p03137|0
codenet
Compile Error
2,633
v2_s190585730
s190585730
s190585730
p03137
p03137
u682395093
u682395093
1,558,240,424
2019-05-19T04:33:44
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[] X = new int[M]; for (int i = 0; i < M; i++) { X[i] = sc.nextInt(); } Arrays.sort(X); int[] betw...
Main.java:31: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u682395093|p03137|0
u682395093|p03137|0
codenet
Compile Error
583
v2_s344974709
s344974709
s344974709
p03137
p03137
u833937509
u833937509
1,549,845,303
2019-02-11T00:35:03
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 M = sc.nextInt(); int[] xArr = new int[M]; for (int i = 0; i < M; i++) { xArr[i] = sc.nextInt(); } ...
Main.java:22: error: incompatible types: unexpected return value return minSum; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833937509|p03137|0
u833937509|p03137|0
codenet
Compile Error
638
v2_s154315305
s154315305
s154315305
p03137
p03137
u927651664
u927651664
1,549,247,519
2019-02-04T02:31:59
Main.java
import static org.junit.jupiter.api.Assumptions.assumingThat; import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.next...
Main.java:1: error: package org.junit.jupiter.api does not exist import static org.junit.jupiter.api.Assumptions.assumingThat; ^ Main.java:1: error: static import only from classes and interfaces import static org.junit.jupiter.api.Assumptions.assumingThat; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927651664|p03137|0
u927651664|p03137|0
codenet
Compile Error
1,059
v2_s410671091
s410671091
s410671091
p03138
p03138
u264547643
u264547643
1,577,702,694
2019-12-30T10:44:54
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.StringTokenizer; import java.io.IOException; import java.util.BitSet; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.io.InputStream;...
Main.java:39: error: array required, but int found ti[index]++; ^ Main.java:61: error: incompatible types: int[] cannot be converted to int ti = new int[41]; ^ Main.java:82: error: array required, but int found if (ti[i] <= n / 2...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u264547643|p03138|0
u264547643|p03138|0
codenet
Compile Error
3,768
v2_s685804300
s685804300
s685804300
p03138
p03138
u274962354
u274962354
1,549,508,989
2019-02-07T03:09:49
Main.java
import java.util.Random; public class Main { public static void main(String[]srgs) { Random rand=new Random(); long a=rand.nextLong(1000000000000)+1; System.out.println(a); } }
Main.java:5: error: integer number too large long a=rand.nextLong(1000000000000)+1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274962354|p03138|1
u274962354|p03138|1
codenet
Compile Error
180
v2_s241821293
s241821293
s241821293
p03138
p03138
u314232289
u314232289
1,553,357,740
2019-03-23T16:15:40
Main.java
import Control.Monad import Data.Maybe import Debug.Trace import Data.List import qualified Data.Map.Strict as Map import qualified Data.IntMap.Strict as IntMap import qualified Data.Set as Set import qualified Data.IntSet as IntSet import Data.Functor import Data.Array import Data.Bits main :: IO () main = do (n:k:...
Main.java:1: error: ';' expected import Control.Monad ^ Main.java:2: error: ';' expected import Data.Maybe ^ Main.java:3: error: ';' expected import Debug.Trace ^ Main.java:4: error: ';' expected import Data.List ^ Main.java:5: error: '.' expected i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u314232289|p03138|0
u314232289|p03138|0
codenet
Compile Error
682
v2_s334400550
s334400550
s334400550
p03138
p03138
u393868719
u393868719
1,567,395,191
2019-09-02T03:33:11
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Scanner; /** * Built using CHelper plug-in * Actual solution is at the top */public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputS...
Main.java:23: error: incompatible types: long[] cannot be converted to long long memo = new long[50]; ^ Main.java:79: error: array required, but long found return memo[n] = ret; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u393868719|p03138|1
u393868719|p03138|1
codenet
Compile Error
2,269
v2_s488406592
s488406592
s488406592
p03138
p03138
u504228740
u504228740
1,549,251,599
2019-02-04T03:39:59
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n = sc.nextInt(); long k = sc.nextLong(); int[] p=new int[44]; int max=0; long sum=0; long c=1; for(int i = 0; i<n; i++){ long a = sc.nextLong(); sum+=a; int count=0; ...
Main.java:34: error: cannot find symbol if((k & 1)==1 && count>=max){ ^ symbol: variable count location: class Main Main.java:35: error: cannot find symbol sum+=n*Math.pow(2,count); ^ symbol: variable count location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u504228740|p03138|0
u504228740|p03138|0
codenet
Compile Error
708
v2_s338691987
s338691987
s338691987
p03138
p03138
u504228740
u504228740
1,553,025,413
2019-03-19T19:56:53
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); long n = sc.nextLong(); long k = sc.nextLong(); int[] p=new int[44]; long max=0; long sum=0; long c=1; for(int i = 0; i<n; i++){ long a = sc.nextLong(); sum+=a; int count=0; ...
Main.java:40: error: incompatible types: possible lossy conversion from long to int for(int i = max-1; i>=0; i--){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u504228740|p03138|1
u504228740|p03138|1
codenet
Compile Error
927
v2_s140176686
s140176686
s140176686
p03138
p03138
u513960802
u513960802
1,565,846,641
2019-08-15T05:24:01
Main.java
import java.util.*; import static java.lang.Math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 入力 long n = sc.nextInt(); long k = sc.nextInt(); long[] list = new long[n]; for(int i = 0; i < n; i++){ list[i] = sc.nextLong(); } // 計算 long ...
Main.java:11: error: incompatible types: possible lossy conversion from long to int long[] list = new long[n]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u513960802|p03138|0
u513960802|p03138|0
codenet
Compile Error
751
v2_s400191472
s400191472
s400191472
p03138
p03138
u513960802
u513960802
1,565,847,258
2019-08-15T05:34:18
Main.java
import java.util.*; import static java.lang.Math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 入力 int n = sc.nextInt(); long k = sc.nextLong(); long[] list = new long[n]; for(int i = 0; i < n; i++){ list[i] = sc.nextLong(); }import java.util....
Main.java:14: error: illegal start of expression }import java.util.*; ^ Main.java:14: error: <identifier> expected }import java.util.*; ^ Main.java:14: error: illegal start of expression }import java.util.*; ^ Main.java:15: error: illegal start of expression import stat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u513960802|p03138|0
u513960802|p03138|0
codenet
Compile Error
1,503
v2_s985032355
s985032355
s985032355
p03138
p03138
u653981267
u653981267
1,570,491,471
2019-10-07T23:37:51
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long k = sc.nextLong(); k++; int[] kk = new int[40]; long[] c = new long[40]; for(int i = 0; i < 40; i++) { if(k % 2 == 1) kk[i] = 1; k /...
Main.java:17: error: variable i is already defined in method main(String[]) for(int i = 0; i < 40; i++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03138|0
u653981267|p03138|0
codenet
Compile Error
1,127
v2_s473158188
s473158188
s473158188
p03138
p03138
u816429241
u816429241
1,549,250,492
2019-02-04T03:21:32
Main.java
result
Main.java:1: error: reached end of file while parsing result ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816429241|p03138|0
u816429241|p03138|0
codenet
Compile Error
6
v2_s616279240
s616279240
s616279240
p03138
p03138
u881359256
u881359256
1,572,078,466
2019-10-26T08:27:46
Main.java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); long K = sc.nextLong(); long A[] = new long[N]; for (int i = 0; i < N; i++) { A[i] = sc.nextLong(); } sc.close(); // Aを二進数に直した時の、2^kがでる回数をk番目の要素に格納した配列 int bi_A[] = new int[40]; // 初期化 for (int...
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:59: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u881359256|p03138|0
u881359256|p03138|0
codenet
Compile Error
1,317
v2_s055089967
s055089967
s055089967
p03138
p03138
u945100192
u945100192
1,549,311,348
2019-02-04T20:15:48
Main.java
public static void main(String[] args) { int[] x = {1, 6, 3}; System.out.println(findMaximumValue(x, 7)); } static int findMaximumValue(int x[], int k) { int max = 0; int check = 0; int start = 0; while (start < k) { for (int i = 0; i < x.length...
Main.java:3: 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
u945100192|p03138|0
u945100192|p03138|0
codenet
Compile Error
570
v2_s372269401
s372269401
s372269401
p03138
p03138
u945100192
u945100192
1,549,312,382
2019-02-04T20:33:02
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // get a integer int a = sc.nextInt(); // get two integers separated with half-width break int b = sc.nextInt(); Scanner input = new Scanner(System.in); int[] nu...
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 Main.java:10: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u945100192|p03138|0
u945100192|p03138|0
codenet
Compile Error
1,007
v2_s780221297
s780221297
s780221297
p03138
p03138
u982630224
u982630224
1,549,251,569
2019-02-04T03:39:29
Main.java
import java.io.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); long k = sc.nextLong(); int K = (int)k; long A[] = new long[N]; for (int i=0;i<N;i++) { A[i] = sc.nextLong(); } long B[] = new long[K+1]; for (int i=0;i<K+1;i++) {...
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 Main.java:20: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982630224|p03138|0
u982630224|p03138|0
codenet
Compile Error
693
v2_s278591188
s278591188
s278591188
p03138
p03138
u999238730
u999238730
1,559,713,950
2019-06-05T05:52:30
Main.java
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan=new Scanner(System.in); long n=scan.nextLong(); long k=scan.nextLong(); // System.out.println((1^0)+" "+(6^0)+" "+(3^0)); long ar[]=new long[n]; for(int i=0;i<n;i++) { ar[i]=scan.nextLong(); }...
Main.java:13: error: incompatible types: possible lossy conversion from long to int long ar[]=new long[n]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u999238730|p03138|0
u999238730|p03138|0
codenet
Compile Error
729
v2_s725623733
s725623733
s725623733
p03138
p03138
u999238730
u999238730
1,559,715,888
2019-06-05T06:24:48
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(); long k=scan.nextLong(); // System.out.println((1^0)+" "+(6^0)+" "+(3^0)); long ar[]=new long[n]; for(int i=0;i<n;i++) { ar[i]=scan.nextLong(); } ...
Main.java:1: error: class, interface, enum, or record expected = ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u999238730|p03138|0
u999238730|p03138|0
codenet
Compile Error
728
v2_s775485983
s775485983
s775485983
p03139
p03139
u035047120
u035047120
1,548,647,076
2019-01-28T03:44:36
Main.java
import java.time.chrono.MinguoChronology; import java.util.ArrayList; import java.util.List; 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 ansMin = 0; int a...
Main.java:27: error: bad operand types for binary operator '||' }else if (( a/2 <= b || a/2) <= c && a <= b+c) { ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u035047120|p03139|0
u035047120|p03139|0
codenet
Compile Error
862
v2_s395073769
s395073769
s395073769
p03139
p03139
u080824962
u080824962
1,548,644,467
2019-01-28T03:01:07
Main.java
aaa
Main.java:1: error: reached end of file while parsing aaa ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u080824962|p03139|0
u080824962|p03139|0
codenet
Compile Error
3
v2_s309909727
s309909727
s309909727
p03139
p03139
u117327215
u117327215
1,548,645,334
2019-01-28T03:15:34
Main.java
import java.util.Scanner; public class Main { public static void main(String... args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); System.out.println(Math.min(A, B) + " " + Math.max(-(N - A - B), 0)); }
Main.java:10: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u117327215|p03139|0
u117327215|p03139|0
codenet
Compile Error
313
v2_s401017709
s401017709
s401017709
p03139
p03139
u123709318
u123709318
1,548,642,292
2019-01-28T02:24:52
Main.java
class Main{ public static void main(String args[]){ int a=Integer.parseInt(args[0]); int b=Integer.parseInt(args[1]); int c=Integer.parseInt(args[2]); int l,s; if(b>=c){ l=b; s=c; }else{ l=c; s=b; } ...
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u123709318|p03139|0
u123709318|p03139|0
codenet
Compile Error
357
v2_s618014257
s618014257
s618014257
p03139
p03139
u145547572
u145547572
1,548,647,592
2019-01-28T03:53:12
Main.java
import java.util.Random; public Class Main { public static void main(int n,int a,int b){ int max = 0; int min = 0; if(a < b){ max = a; }else { max = b; } Random random = new Random(); min = random.nextInt(max); System.out.print(max + " " + min); } }
Main.java:2: error: class, interface, enum, or record expected public Class Main { ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(int n,int a,int b){ ^ (use --enable-preview to enable unnamed classes) Main.java:15: error: class...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u145547572|p03139|0
u145547572|p03139|0
codenet
Compile Error
293
v2_s560721323
s560721323
s560721323
p03139
p03139
u399160862
u399160862
1,548,643,277
2019-01-28T02:41:17
Sample1.java
import java.io.*; public class Sample1{ public static void main(String []args) throws IOException { try{ //格納(N A B) int n = 0 int a = 0 int b = 0 for(int i = 0; i < 3; i++){ ...
Sample1.java:11: error: ';' expected int n = 0 ^ Sample1.java:12: error: ';' expected int a = 0 ^ Sample1.java:13: error: ';' expected int b = 0 ^ Sample1.java:37: error: ';' expected max = a ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399160862|p03139|0
u399160862|p03139|0
codenet
Compile Error
1,377
v2_s792820348
s792820348
s792820348
p03139
p03139
u399160862
u399160862
1,548,643,789
2019-01-28T02:49:49
Main.java
import java.io.*; public Class Main{ public static void main(String []args) throws IOException { try{ //格納(N A B) int n = 0; int a = 0; int b = 0; for(int i = 0; i < 3; i++){ ...
Main.java:3: error: class, interface, enum, or record expected public Class Main{ ^ Main.java:5: error: unnamed classes are a preview feature and are disabled by default. public static void main(String []args) throws IOException { ^ (use --enable-preview to enable unnamed classes) Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399160862|p03139|0
u399160862|p03139|0
codenet
Compile Error
1,381
v2_s432729433
s432729433
s432729433
p03139
p03139
u399160862
u399160862
1,548,644,007
2019-01-28T02:53:27
Main.java
import java.io.*; Class Subscribers{ public static void main(String []args) throws IOException { try{ //格納(N A B) int n = 0; int a = 0; int b = 0; for(int i = 0; i < 3; i++){ ...
Main.java:3: error: class, interface, enum, or record expected Class Subscribers{ ^ Main.java:5: error: unnamed classes are a preview feature and are disabled by default. public static void main(String []args) throws IOException { ^ (use --enable-preview to enable unnamed classes) Main.java:60...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399160862|p03139|0
u399160862|p03139|0
codenet
Compile Error
1,381
v2_s179616452
s179616452
s179616452
p03139
p03139
u419610393
u419610393
1,548,642,641
2019-01-28T02:30:41
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); int c, d; d = (A + B) - N; if(A > B){ c = B; }else{ c = A; } System.out.println(c + " " + d); } }
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
u419610393|p03139|0
u419610393|p03139|0
codenet
Compile Error
290
v2_s609422802
s609422802
s609422802
p03139
p03139
u419610393
u419610393
1,548,642,961
2019-01-28T02:36:01
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); int c, d; if ((A+B) > N) { d = (A + B) - N; } if(A > B){ c = B; }else{ c = A; } System.out.println(c +...
Main.java:17: error: variable d might not have been initialized System.out.println(c + " " + d); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u419610393|p03139|0
u419610393|p03139|0
codenet
Compile Error
335
v2_s744232684
s744232684
s744232684
p03139
p03139
u422178044
u422178044
1,548,765,565
2019-01-29T12:39:25
Main.java
private static int max = 0; private static int count = 0; static Stack<Integer> list = new Stack<Integer>(); public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int m = scan.nextInt(); int[][] arr01 = new int[n + 1][n +...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. private static int max = 0; ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u422178044|p03139|0
u422178044|p03139|0
codenet
Compile Error
1,219
v2_s058770553
s058770553
s058770553
p03139
p03139
u595900486
u595900486
1,548,641,267
2019-01-28T02:07:47
Main.java
int n = Integer.parseInt(args[0]); int a = Integer.parseInt(args[1]); int b = Integer.parseInt(args[2]); int max = 0; int min = 0; if (a == b) { max = a; min = 0; } else if (a > b) { max = b; min = a - b; } else { ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. int n = Integer.parseInt(args[0]); ^ (use --enable-preview to enable unnamed classes) Main.java:7: error: class, interface, enum, or record expected if (a == b) { ^ Main.java:9: error: class, interfa...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u595900486|p03139|0
u595900486|p03139|0
codenet
Compile Error
410
v2_s085281721
s085281721
s085281721
p03139
p03139
u595900486
u595900486
1,548,641,342
2019-01-28T02:09:02
Main.java
import java.lang.* public class Main { public static void main (String args[]) { int n = Integer.parseInt(args[0]); int a = Integer.parseInt(args[1]); int b = Integer.parseInt(args[2]); int max = 0; int min = 0; if (a == b) { max = a; min = 0; ...
Main.java:1: error: ';' expected import java.lang.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u595900486|p03139|0
u595900486|p03139|0
codenet
Compile Error
505
v2_s981752699
s981752699
s981752699
p03139
p03139
u595900486
u595900486
1,548,642,747
2019-01-28T02:32:27
Main.java
public class Main { public static void main (String args[]) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int a = Integer.parseInt(sc.next()); int b = Integer.parseInt(sc.next()); int max = 0; int min = -1; if (n >= a + b) { ...
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
u595900486|p03139|0
u595900486|p03139|0
codenet
Compile Error
523
v2_s968952647
s968952647
s968952647
p03139
p03139
u711201389
u711201389
1,548,645,753
2019-01-28T03:22:33
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int y = scan.nextInt(); int z = scan.nextInt(); scan.close(); if (y>z) { System.out.print(z); ...
Main.java:33: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u711201389|p03139|0
u711201389|p03139|0
codenet
Compile Error
875
v2_s265204073
s265204073
s265204073
p03139
p03139
u836207173
u836207173
1,552,301,042
2019-03-11T10:44:02
Main.java
import.java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); Integer n = s.nextInt(); int a = s.nextInt(); int b = s.nextInt(); System.out.println(Math.min(a,b)+" "+Math.max(0,a+b-n)); } }
Main.java:1: error: <identifier> expected import.java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u836207173|p03139|0
u836207173|p03139|0
codenet
Compile Error
274
v2_s364664772
s364664772
s364664772
p03139
p03139
u927968536
u927968536
1,548,642,148
2019-01-28T02:22:28
Main.java
public class Main { public static void main(String[] args) { int n = Integer.parseInt(args[0]); int a = Integer.parseInt(args[1]); int b = Integer.parseInt(args[2]); int max = a < b ? b : a; int min; if ((a + b) < n) { min = 0; } else { min = (a + b) - n; } Sytem.out.println(String.valueOf(min)); Sytem...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927968536|p03139|0
u927968536|p03139|0
codenet
Compile Error
356
v2_s143723579
s143723579
s143723579
p03139
p03139
u970755358
u970755358
1,548,641,693
2019-01-28T02:14:53
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); int min = 0; int max = A; if(A < B) { max = A; if(B > N /2) { min = B - A; ...
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
u970755358|p03139|0
u970755358|p03139|0
codenet
Compile Error
540
v2_s373892089
s373892089
s373892089
p03140
p03140
u117557911
u117557911
1,548,643,784
2019-01-28T02:49:44
Main.java
import java.util.*; import java.lang.*; import java.io.*; class Main { public static void main(String args[]) { Scanner scanner = new Scanner(System.in); String input1 = scanner.nextLine(); String A = scanner.nextLine(); String B = scanner.nextLine(); String C = scanner.nextLine(); int N = I...
Main.java:31: error: cannot find symbol if(!AN.equal(BN)){ ^ symbol: method equal(String) location: variable AN of type String Main.java:32: error: cannot find symbol if(!BN.equal(CN)){ ^ symbol: method equal(String) location: variable BN of type String Main.java:39: error: cannot find symbol if...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u117557911|p03140|0
u117557911|p03140|0
codenet
Compile Error
734
v2_s819018725
s819018725
s819018725
p03140
p03140
u117557911
u117557911
1,548,643,844
2019-01-28T02:50:44
Main.java
import java.util.*; import java.lang.*; import java.io.*; class Main { public static void main(String args[]) { Scanner scanner = new Scanner(System.in); String input1 = scanner.nextLine(); String A = scanner.nextLine(); String B = scanner.nextLine(); String C = scanner.nextLine(); int N =...
Main.java:29: error: cannot find symbol if(!AN.equal(BN)){ ^ symbol: method equal(String) location: variable AN of type String Main.java:30: error: cannot find symbol if(!BN.equal(CN)){ ^ symbol: method equal(String) location: variable BN of type String Main.java:37: error: cannot find symbol if...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u117557911|p03140|0
u117557911|p03140|0
codenet
Compile Error
717
v2_s491940436
s491940436
s491940436
p03140
p03140
u123709318
u123709318
1,548,642,862
2019-01-28T02:34:22
Main.java
class Main{ public static void main(String args[]){ int total=0; for(int i=0;i<args[0].length();i++){ if(args[0].charAt(i)==args[1].charAt(i)==args[2].charAt(i)) continue; else if(args[0].charAt(i)==args[1].charAt(i) || args[0].c...
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u123709318|p03140|0
u123709318|p03140|0
codenet
Compile Error
524
v2_s835569819
s835569819
s835569819
p03140
p03140
u156061569
u156061569
1,548,643,021
2019-01-28T02:37:01
Main.java
package test; public class Main { public static void main(String[] args) { int N = Long.valueOf(args[0]); String A = args[1]; String B = args[2]; String C = args[3]; exec(N, A, B, C); } private static void exec(int _N, String _A, String _B, String _C) { int cnt = 0; for (int i = 0; i < _N; i++) ...
Main.java:7: error: incompatible types: Long cannot be converted to int int N = Long.valueOf(args[0]); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u156061569|p03140|0
u156061569|p03140|0
codenet
Compile Error
835
v2_s272249885
s272249885
s272249885
p03140
p03140
u212397344
u212397344
1,585,411,003
2020-03-28T15:56:43
Main.java
import java.util.*; class Main{ public static void main(String[] args){ int N = sc.nextInt(); char[] A = sc.next().toCharArray(); char[] B = sc.next().toCharArray(); char[] C = sc.next().toCharArray(); int cnt = 0; for(int i=0; i<N; i++){ if(A[i] == B[i] && A[i] == C[i]){ continu...
Main.java:4: error: cannot find symbol int N = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:5: error: cannot find symbol char[] A = sc.next().toCharArray(); ^ symbol: variable sc location: class Main Main.java:6: error: cannot find symbol char[] B...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p03140|0
u212397344|p03140|0
codenet
Compile Error
461
v2_s672266495
s672266495
s672266495
p03140
p03140
u212397344
u212397344
1,585,411,186
2020-03-28T15:59:46
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); char[] A = sc.next().toCharArray(); char[] B = sc.next().toCharArray(); char[] C = sc.next().toCharArray(); int cnt = 0; for(int i=0; i<N; i++){ if(A[i]....
Main.java:11: error: char cannot be dereferenced if(A[i].equals(B[i]) && A[i].equals(C[i])){ ^ Main.java:11: error: char cannot be dereferenced if(A[i].equals(B[i]) && A[i].equals(C[i])){ ^ Main.java:13: error: char cannot be dereferenced }else if(!A[i].e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p03140|0
u212397344|p03140|0
codenet
Compile Error
525
v2_s957268304
s957268304
s957268304
p03140
p03140
u489316980
u489316980
1,567,119,618
2019-08-29T23:00:18
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 A = sc.nextLine(); String B = sc.nextLine(); String C = sc.nextLine(); int ans = 0; for(int i = 0; i < N; i++){ cha...
Main.java:27: error: class, interface, enum, or record expected System.out.println(ans); ^ Main.java:28: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u489316980|p03140|0
u489316980|p03140|0
codenet
Compile Error
601
v2_s191445299
s191445299
s191445299
p03140
p03140
u492865352
u492865352
1,548,645,705
2019-01-28T03:21:45
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = Integer.parseInt(scanner.nextLine()); String a = scanner.nextLine(); String b = scanner.nextLine(); String c = scanner.nextLine(); //aとbを先に置換するパターン。 int abNumChan...
Main.java:69: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u492865352|p03140|0
u492865352|p03140|0
codenet
Compile Error
1,380
v2_s498725650
s498725650
s498725650
p03140
p03140
u507706381
u507706381
1,573,265,665
2019-11-09T02:14:25
Main.java
import java.util*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String A = sc.next(); String B = sc.next(); String C = sc.next(); int ans = 0; for (int i = 0; i < N; i++) { char a = A.charAt(i); char b ...
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03140|0
u507706381|p03140|0
codenet
Compile Error
549
v2_s160066046
s160066046
s160066046
p03141
p03141
u345932819
u345932819
1,586,521,570
2020-04-10T12:26:10
Main.java
import javafx.util.Pair; 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; public class Main { public Main() throws IOException { } public static voi...
Main.java:2: error: package javafx.util does not exist import javafx.util.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345932819|p03141|0
u345932819|p03141|0
codenet
Compile Error
22,137
v2_s754975493
s754975493
s754975493
p03141
p03141
u459059646
u459059646
1,548,651,064
2019-01-28T04:51:04
Main.java
import java.util.ArrayList; import java.util.Comparator; import java.util.Scanner; import Main.Dish; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); ArrayList<Dish> dish = new ArrayList<Dish>(); long A_point = 0; long B_point = 0; ...
Main.java:5: error: package Main does not exist import Main.Dish; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u459059646|p03141|0
u459059646|p03141|0
codenet
Compile Error
943
v2_s047797680
s047797680
s047797680
p03141
p03141
u472301895
u472301895
1,548,648,515
2019-01-28T04:08:35
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.List; 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]; int[] b = new int[n]; List<Int...
Main.java:91: error: illegal character: '\' \\??????? ^ Main.java:91: error: illegal character: '\' \\??????? ^ Main.java:91: error: reached end of file while parsing \\??????? ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u472301895|p03141|0
u472301895|p03141|0
codenet
Compile Error
2,599
v2_s402188939
s402188939
s402188939
p03141
p03141
u552502395
u552502395
1,548,643,823
2019-01-28T02:50:23
Main.java
import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Scanner; public class Main { public static void main(String args[]) { try (Scanner in = new Scanner(System.in)) { int N = in.nextInt(); long[] A = new long[N]; long[] ...
Main.java:20: error: package nikkeiC does not exist public int compare(nikkeiC.A o1, nikkeiC.A o2) { ^ Main.java:20: error: package nikkeiC does not exist public int compare(nikkeiC.A o1, nikkeiC.A o2) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u552502395|p03141|0
u552502395|p03141|0
codenet
Compile Error
1,725
v2_s818793885
s818793885
s818793885
p03141
p03141
u595900486
u595900486
1,548,651,471
2019-01-28T04:57:51
Main.java
import java.math.*; import java.util.*; public class Main { public static void main(String[] args) { Map<Integer, Integer[]> map = new HashMap<Integer, Integer[]>(); Scanner sc = new Scanner(System.in); int length = Integer.parseInt(sc.nextLine()); for (int count = 0; count < length; count++) { String p...
Main.java:18: error: cannot find symbol List<Entry<Integer, Integer[]>> list_entries = new ArrayList<Entry<Integer, Integer[]>>(map.entrySet()); ^ symbol: class Entry location: class Main Main.java:18: error: cannot find symbol List<Entry<Integer, Integer[]>> list_entries = new ArrayL...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u595900486|p03141|0
u595900486|p03141|0
codenet
Compile Error
1,461
v2_s927823469
s927823469
s927823469
p03141
p03141
u653981267
u653981267
1,572,124,867
2019-10-26T21:21:07
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long[] sum = new long[n]; long sumb = 0; for(int i = 0; i < n; i++) { long a = sc.nextLong(); long b = sc.nextLong(); sum[i] = (a + b); ...
Main.java:16: error: cannot find symbol long ans = ((-1) * b); ^ symbol: variable b location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03141|0
u653981267|p03141|0
codenet
Compile Error
503
v2_s896675195
s896675195
s896675195
p03141
p03141
u754095983
u754095983
1,548,645,129
2019-01-28T03:12:09
Main.java
import java.util.*; public class Main { static class Q { int V[]; int idx; public Q(int a, int b, int idx) { V = new int[2]; V[0] = a; V[1] = b; this.idx = idx; } } static int compareQForA(Q q1, Q q2) { if (q1.V[0] =...
Main.java:45: error: cannot find symbol que[0] = new PriorityQueue<>(C::compareQForA); ^ symbol: variable C location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u754095983|p03141|0
u754095983|p03141|0
codenet
Compile Error
2,778
v2_s104176141
s104176141
s104176141
p03141
p03141
u754095983
u754095983
1,548,645,632
2019-01-28T03:20:32
Main.java
import java.util.*; public class Main { static class Q { int V[]; int idx; public Q(int a, int b, int idx) { V = new int[2]; V[0] = a; V[1] = b; this.idx = idx; } } static int compareQForA(Q q1, Q q2) { if (q1.V[0] ==...
Main.java:38: error: cannot find symbol que.add(new PriorityQueue<>(C::compareQForA)); ^ symbol: variable C location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u754095983|p03141|0
u754095983|p03141|0
codenet
Compile Error
2,713
v2_s553259051
s553259051
s553259051
p03141
p03141
u754095983
u754095983
1,548,645,886
2019-01-28T03:24:46
Main.java
import java.util.*; public class Main { static class Q { int V[]; int idx; public Q(int a, int b, int idx) { V = new int[2]; V[0] = a; V[1] = b; this.idx = idx; } } static int compareQForA(Q q1, Q q2) { if (q1.V[0] ==...
Main.java:38: error: cannot find symbol que.add(new PriorityQueue<>(C::compareQForA)); ^ symbol: variable C location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u754095983|p03141|0
u754095983|p03141|0
codenet
Compile Error
2,729
v2_s529858630
s529858630
s529858630
p03141
p03141
u992383196
u992383196
1,548,644,917
2019-01-28T03:08:37
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; public Main C { public static void main(String args[]) throws Exception{ BufferedReader stdR = new BufferedReader(new InputStreamReader(System.in)); int...
Main.java:7: error: class, interface, enum, or record expected public Main C { ^ Main.java:8: error: unnamed classes are a preview feature and are disabled by default. public static void main(String args[]) throws Exception{ ^ (use --enable-preview to enable unnamed classes) Main.java:67:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u992383196|p03141|0
u992383196|p03141|0
codenet
Compile Error
4,945
v2_s494873085
s494873085
s494873085
p03142
p03142
u675503966
u675503966
1,548,643,382
2019-01-28T02:43:02
Main.java
import java.io.*; import java.util.*; import java.math.*; // import java.awt.Point; public class Main { InputStream is; PrintWriter out; String INPUT = ""; static int mod = 1_000_000_007; long inf = Long.MAX_VALUE; ArrayList<Integer>[] edge; void solve(){ int n = ni(); i...
Main.java:46: error: not a statement if(seen[r]) continue;m ^ Main.java:46: error: ';' expected if(seen[r]) continue;m ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675503966|p03142|0
u675503966|p03142|0
codenet
Compile Error
4,470
v2_s723591168
s723591168
s723591168
p03142
p03142
u702582248
u702582248
1,549,274,772
2019-02-04T10:06:12
Main.java
import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.util.*; public class Main { static int n; static int m; static List<List<Integer>> children; static int[] degree; public static void main(String[] args) { InputStream inputStream = System.in;...
Main.java:18: error: cannot find symbol PrintWriter out = new PrintWriter(outputStream); n = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:82: error: cannot find symbol } catch (IOException e) {...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u702582248|p03142|0
u702582248|p03142|0
codenet
Compile Error
3,481
v2_s674840393
s674840393
s674840393
p03142
p03142
u925940521
u925940521
1,550,435,015
2019-02-17T20:23:35
Main.java
mport java.util.*; import static java.lang.System.*; // https://ja.wikipedia.org/wiki/%E3%83%88%E3%83%9D%E3%83%AD%E3%82%B8%E3%82%AB%E3%83%AB%E3%82%BD%E3%83%BC%E3%83%88 // O(N+M) public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); ...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ Main.java:3: error: class, interface, enum, or record expected import static java.lang.System.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925940521|p03142|0
u925940521|p03142|0
codenet
Compile Error
3,839
v2_s378146661
s378146661
s378146661
p03145
p03145
u018916376
u018916376
1,559,587,448
2019-06-03T18:44:08
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); int d if (c < a) { d = a; a = c; c = d; } if (c < b) b = c; d = a * b / 2; ...
Main.java:9: error: ';' expected int d ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018916376|p03145|0
u018916376|p03145|0
codenet
Compile Error
348
v2_s017001238
s017001238
s017001238
p03145
p03145
u097638984
u097638984
1,549,553,898
2019-02-07T15:38:18
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void Main(String[] args) { Scanner scan = new Scanner(System.in); int[] tri; tri[0] = scan.nextInt(); tri[1] = scan.nextInt(); tri[2] = scan.nextInt(); Arrays.sort(tri); System....
Main.java:8: error: variable tri might not have been initialized tri[0] = scan.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u097638984|p03145|0
u097638984|p03145|0
codenet
Compile Error
362
v2_s638115735
s638115735
s638115735
p03145
p03145
u132449418
u132449418
1,558,646,452
2019-05-23T21:20:52
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[] h = new int[n]; for(int i = 0; i < n; i++) { h[i] = sc.nextInt(); } Garden garden = new Garden(n,h); while(garden.gardenFlag()) { garden.watering...
Main.java:20: error: class Garden is public, should be declared in a file named Garden.java public class Garden{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u132449418|p03145|1
u132449418|p03145|1
codenet
Compile Error
1,402
v2_s615046272
s615046272
s615046272
p03145
p03145
u147886643
u147886643
1,582,950,794
2020-02-29T04:33:14
Main.java
#include <bits/stdc++.h> using namespace std; #define ll long long #define ld long double int main() { ios_base::sync_with_stdio(0),cin.tie(NULL),cout.tie(NULL); int a, b, c; cin >> a >> b >> c; cout << (int)(a * b / 2.0) << endl; }
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:4: error: illegal character: '#' #define ll long long ^ Main.java:4: error: class, interface, enum, or record expected #define ll long long ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u147886643|p03145|0
u147886643|p03145|0
codenet
Compile Error
253
v2_s735210461
s735210461
s735210461
p03145
p03145
u242082438
u242082438
1,548,036,129
2019-01-21T02:02:09
Main.java
class Main{ public staitc void main(String args[]){ Scanner sc = new Scanner(System.in); int ab = sc.nextInt(); int bc = sc.nextInt(); int ca = sc.nextInt(); System.out.print(ab*bc); } }
Main.java:2: error: <identifier> expected public staitc void main(String args[]){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u242082438|p03145|0
u242082438|p03145|0
codenet
Compile Error
210
v2_s600802327
s600802327
s600802327
p03145
p03145
u242082438
u242082438
1,548,036,155
2019-01-21T02:02:35
Main.java
import java.util.*; class Main{ public staitc void main(String args[]){ Scanner sc = new Scanner(System.in); int ab = sc.nextInt(); int bc = sc.nextInt(); int ca = sc.nextInt(); System.out.print(ab*bc); } }
Main.java:4: error: <identifier> expected public staitc void main(String args[]){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u242082438|p03145|0
u242082438|p03145|0
codenet
Compile Error
232
v2_s209344963
s209344963
s209344963
p03145
p03145
u264007769
u264007769
1,557,585,396
2019-05-11T14:36:36
Main.java
import java.util.Scanner ; class Main{ public static void main(String[] args){ Scanner scn=new Scanner(System.in); int x =scn.nextInt(); int y =scn.nextInt(); System.out.println(x*y*/2); } }
Main.java:7: error: illegal start of expression System.out.println(x*y*/2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u264007769|p03145|0
u264007769|p03145|0
codenet
Compile Error
230
v2_s425615740
s425615740
s425615740
p03145
p03145
u274962354
u274962354
1,548,036,030
2019-01-21T02:00:30
Main.java
public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int ans=0; int a=scan.nextInt(); int b=scan.nextInt(); int c=scan.nextInt(); System.out.println(a*b/2); } }
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274962354|p03145|0
u274962354|p03145|0
codenet
Compile Error
220
v2_s118949501
s118949501
s118949501
p03145
p03145
u274962354
u274962354
1,584,195,276
2020-03-14T14:14:36
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Random; import java.util.Scanner; class UnionFind{ int Parent[]; UnionFind(int n){//Initialize by -1 Parent=new int[n]; Arrays.fill(Parent, -1); } int root(int A) {//In whi...
Main.java:54: error: unnamed classes are a preview feature and are disabled by default. static int lower_bound(int a[],int key) { ^ (use --enable-preview to enable unnamed classes) Main.java:189: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274962354|p03145|2
u274962354|p03145|2
codenet
Compile Error
5,850
v2_s331220423
s331220423
s331220423
p03145
p03145
u277676076
u277676076
1,548,699,619
2019-01-28T18:20:19
Main.java
public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int AB,BC; AB = sc.nextInt(); BC = sc.nextInt(); System.out.println(BC * AB / 2); } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u277676076|p03145|0
u277676076|p03145|0
codenet
Compile Error
195
v2_s029900140
s029900140
s029900140
p03145
p03145
u316394373
u316394373
1,548,374,113
2019-01-24T23:55:13
Main.java
public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int ab = sc.nextInt(); int bc = sc.nextInt(); int ca = sc.nextInt(); int ans = 0; ans = (ab * bc)/2; System.out.p...
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
u316394373|p03145|0
u316394373|p03145|0
codenet
Compile Error
339
v2_s960510813
s960510813
s960510813
p03145
p03145
u316489429
u316489429
1,549,591,873
2019-02-08T02:11:13
Main.java
import java.io*; import java.util.*; class Main { Scanner s = new Scanner(System.in); int a = s.nextInt(); int b = s.nextInt(); int c = s.nextInt(); System.out.println((a*b)/2); }
Main.java:1: error: ';' expected import java.io*; ^ Main.java:8: error: <identifier> expected System.out.println((a*b)/2); ^ Main.java:8: error: illegal start of type System.out.println((a*b)/2); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316489429|p03145|0
u316489429|p03145|0
codenet
Compile Error
191