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_s946836082
s946836082
s946836082
p02699
p02699
u534544449
u534544449
1,588,111,090
2020-04-28T21:58:10
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int S = sc.nextInt(); // スペース区切りの整数の入力 int W = sc.nextInt(); if(S>W){ System.out.println("unsafe"); }else{ System.out.println("safe"); } ...
Main.java:15: error: cannot find symbol System.out.println((a+b+c) + " " + s); ^ symbol: variable a location: class Main Main.java:15: error: cannot find symbol System.out.println((a+b+c) + " " + s); ^ symbol: variable b location: class Main Main.java:15: er...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534544449|p02699|0
u534544449|p02699|0
codenet
Compile Error
413
v2_s859949081
s859949081
s859949081
p02699
p02699
u539465520
u539465520
1,587,992,251
2020-04-27T12:57:31
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int S = scan.nextInt(); int W = scan.nextInt(); scan.close(); System.out.println(S <= W ? "unsafe" : "safe"); } }
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
u539465520|p02699|0
u539465520|p02699|0
codenet
Compile Error
226
v2_s579413031
s579413031
s579413031
p02699
p02699
u547671064
u547671064
1,587,996,664
2020-04-27T14:11:04
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); String S=sc.next(); int x =S.length(); String s[] =S.split("",0); int y[]=new int[x+1]; long z[]=new long[x]; long w[]=new long[2019]; y[x]=0; long v[] =new long[x]; ...
Main.java:19: error: incompatible types: possible lossy conversion from long to int y[i]=(y[i+1]+z[i]*v[i])%2019; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02699|1
u547671064|p02699|1
codenet
Compile Error
635
v2_s910089802
s910089802
s910089802
p02699
p02699
u554413629
u554413629
1,588,294,453
2020-05-01T00:54:13
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a < b){ Sytem.out.println("unsafe") }else{ System.out.println("safe") } } }
Main.java:9: error: ';' expected Sytem.out.println("unsafe") ^ Main.java:11: error: ';' expected System.out.println("safe") ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554413629|p02699|0
u554413629|p02699|0
codenet
Compile Error
279
v2_s836473094
s836473094
s836473094
p02699
p02699
u554413629
u554413629
1,588,294,526
2020-05-01T00:55:26
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a < b){ Sytem.out.println("unsafe"); }else{ System.out.println("safe"); } } }
Main.java:9: error: package Sytem does not exist Sytem.out.println("unsafe"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554413629|p02699|0
u554413629|p02699|0
codenet
Compile Error
282
v2_s299899911
s299899911
s299899911
p02699
p02699
u554413629
u554413629
1,588,294,590
2020-05-01T00:56:30
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a < b){ System.out.println("unsafe") }else{ System.out.println("safe") } } }
Main.java:9: error: ';' expected System.out.println("unsafe") ^ Main.java:11: error: ';' expected System.out.println("safe") ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554413629|p02699|0
u554413629|p02699|0
codenet
Compile Error
281
v2_s591469332
s591469332
s591469332
p02699
p02699
u554413629
u554413629
1,588,383,641
2020-05-02T01:40:41
Main.java
import java.util.*; public class Main{ public static void main(stiring[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); while(A<0){ C -=B; if(C<=0){ System.out.println("Yes"); ...
Main.java:4: error: cannot find symbol public static void main(stiring[] args){ ^ symbol: class stiring location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554413629|p02699|1
u554413629|p02699|1
codenet
Compile Error
450
v2_s629086702
s629086702
s629086702
p02699
p02699
u554413629
u554413629
1,588,383,702
2020-05-02T01:41:42
Main.java
import java.util.*; public class Main{ public static void main(string[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); while(A<0){ C -=B; if(C<=0){ System.out.println("Yes"); ...
Main.java:4: error: cannot find symbol public static void main(string[] args){ ^ symbol: class string location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554413629|p02699|1
u554413629|p02699|1
codenet
Compile Error
443
v2_s471670908
s471670908
s471670908
p02699
p02699
u554413629
u554413629
1,588,384,733
2020-05-02T01:58:53
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); while(C>0 && A>0){ kougeki1(B,C); kougeki2(D,A); } private static voi...
Main.java:15: error: illegal start of expression private static void kougeki1(int Attack,int HP){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554413629|p02699|1
u554413629|p02699|1
codenet
Compile Error
569
v2_s771188036
s771188036
s771188036
p02699
p02699
u567771677
u567771677
1,588,887,373
2020-05-07T21:36:13
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner scan; int sheep; int wolves; sheep = 0; wolves = 0; scan = new Scanner(String.in); sheep = scan.nextInt(); wolves = scan.nextInt(); if (sheep > wloves){ System.ou...
Main.java:13: error: cannot find symbol scan = new Scanner(String.in); ^ symbol: variable in location: class String Main.java:17: error: cannot find symbol if (sheep > wloves){ ^ symbol: variable wloves location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u567771677|p02699|0
u567771677|p02699|0
codenet
Compile Error
405
v2_s570506221
s570506221
s570506221
p02699
p02699
u575514036
u575514036
1,588,104,633
2020-04-28T20:10:33
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int S = scanner.nextInt(); int W = scanner.nextInt(); if(W >= S) { System.out.println("unsafe"); }else { System.out.println("safe"); } } }
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 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u575514036|p02699|0
u575514036|p02699|0
codenet
Compile Error
265
v2_s245441044
s245441044
s245441044
p02699
p02699
u633565318
u633565318
1,587,949,310
2020-04-27T01:01:50
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int S = sc.nextInt(); int W = sc.nextInt(); if(W >= S) { System.out.println("unsafe"); }else { System.out.println("safe"); } } }
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
u633565318|p02699|0
u633565318|p02699|0
codenet
Compile Error
296
v2_s711488541
s711488541
s711488541
p02699
p02699
u676749446
u676749446
1,587,949,287
2020-04-27T01:01:27
Main.java
import java.io.*; import java.util.*; import java.util.stream.*; class Main{ static final long MOD = 1_000_000_007; // 10^9+7 static final int MAX = 2_147_483_646; // intMax static final int INF = 1_000_000_000; // 10^9 public static void main(String[] args) throws Exception { hayami saori = new haya...
Main.java:13: error: cannot find symbol if(s > w){ ^ symbol: variable s location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u676749446|p02699|0
u676749446|p02699|0
codenet
Compile Error
2,558
v2_s248457659
s248457659
s248457659
p02699
p02699
u677036498
u677036498
1,587,949,475
2020-04-27T01:04:35
Main.java
import java.util.*; public class Main{ publi static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); System.out.println( n>=m ? "unsafe" : "safe"); } }
Main.java:4: error: <identifier> expected publi static void main(String args[]){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u677036498|p02699|0
u677036498|p02699|0
codenet
Compile Error
229
v2_s698178212
s698178212
s698178212
p02699
p02699
u684944564
u684944564
1,587,952,225
2020-04-27T01:50:25
Main.java
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { Set<String> a=new HashSet<String>(); String s = null; int a1=0; ff b=new ff(); Scanner scanner = new Scanner(System.in); a1 = scanner.nextInt(); while(a1--!=0) { s ...
Main.java:11: error: cannot find symbol ff b=new ff(); ^ symbol: class ff location: class Main Main.java:11: error: cannot find symbol ff b=new ff(); ^ symbol: class ff location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u684944564|p02699|0
u684944564|p02699|0
codenet
Compile Error
394
v2_s958869385
s958869385
s958869385
p02699
p02699
u684944564
u684944564
1,587,952,296
2020-04-27T01:51:36
Main.java
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { Set<String> a=new HashSet<String>(); String s = null; int a1=0; ff b=new ff(); Scanner scanner = new Scanner(System.in); a1 = scanner.nextInt(); while(a1--!=0) { s ...
Main.java:20: error: <identifier> expected scanner.close(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u684944564|p02699|0
u684944564|p02699|0
codenet
Compile Error
412
v2_s159191810
s159191810
s159191810
p02699
p02699
u684944564
u684944564
1,587,952,336
2020-04-27T01:52:16
Main.java
import java.util.Scanner; import java.util.HashSet; import java.util.Set; public class Main { public static void main(String[] args) { Set<String> a=new HashSet<String>(); String s = null; int a1=0; Scanner scanner = new Scanner(System.in); a1 = scanner.nextInt(); while(a1--!=0) { s = scanner.next(); ...
Main.java:18: error: <identifier> expected scanner.close(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u684944564|p02699|0
u684944564|p02699|0
codenet
Compile Error
393
v2_s607028430
s607028430
s607028430
p02699
p02699
u697634943
u697634943
1,587,949,665
2020-04-27T01:07:45
Main.java
public static void main(String[] args) { int n1 = Integer.parseInt(args[0]); int n2 = Integer.parseInt(args[1]); if (n2 >= n1) System.out.println("unsafe"); else System.out.println("safe"); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u697634943|p02699|0
u697634943|p02699|0
codenet
Compile Error
233
v2_s327391842
s327391842
s327391842
p02699
p02699
u751604002
u751604002
1,587,975,786
2020-04-27T08:23:06
Main.java
public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner input = new Scanner(System.in); int s = input.nextInt(); int w = input.nextInt(); if (s>w) System.out.println("safe"); else System.out.println("unsafe"); } }
Main.java:4: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u751604002|p02699|0
u751604002|p02699|0
codenet
Compile Error
314
v2_s454258297
s454258297
s454258297
p02699
p02699
u755665813
u755665813
1,587,949,925
2020-04-27T01:12:05
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int S = sc.nextInt(); int W = sc.nextInt(); if(W >= S) { System.out.println("unsafe"); }else{ System.out.println("safe"); } ...
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u755665813|p02699|0
u755665813|p02699|0
codenet
Compile Error
325
v2_s644473360
s644473360
s644473360
p02699
p02699
u755665813
u755665813
1,587,950,094
2020-04-27T01:14:54
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int S = sc.nextInt(); int W = sc.nextInt(); if(W >= S) { System.out.println("unsafe"); }else if(W < S){ System.out.println("safe"); ...
Main.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u755665813|p02699|0
u755665813|p02699|0
codenet
Compile Error
334
v2_s478589892
s478589892
s478589892
p02699
p02699
u755665813
u755665813
1,587,950,221
2020-04-27T01:17:01
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int S = sc.nextInt(); int W = sc.nextInt(); if(W >= S) { System.out.println('unsafe'); }else{ System.out.println('safe'); } ...
Main.java:9: error: unclosed character literal System.out.println('unsafe'); ^ Main.java:9: error: unclosed character literal System.out.println('unsafe'); ^ Main.java:9: error: not a statement System.out.println('u...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u755665813|p02699|0
u755665813|p02699|0
codenet
Compile Error
324
v2_s083591292
s083591292
s083591292
p02699
p02699
u821356997
u821356997
1,588,399,115
2020-05-02T05:58:35
Main.java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("S "); System.out.print("W"); int s = sc.nextInt(); int w = sc.nextInt(); if(s > w) { System.out.println("safe"); }else { System.out.println("unsafe"); } }
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u821356997|p02699|0
u821356997|p02699|0
codenet
Compile Error
292
v2_s359237874
s359237874
s359237874
p02699
p02699
u825262731
u825262731
1,587,951,985
2020-04-27T01:46:25
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int s = sc.nextInt(); int w = sc.nextInt(); if(w>=s){ System.out.prinln("unsafe"); } else{ System.out.println("safe"); } } }
Main.java:8: error: cannot find symbol System.out.prinln("unsafe"); ^ symbol: method prinln(String) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825262731|p02699|0
u825262731|p02699|0
codenet
Compile Error
297
v2_s466070234
s466070234
s466070234
p02699
p02699
u848412537
u848412537
1,587,949,400
2020-04-27T01:03:20
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int sheep = Integer.parseInt(sc.next()); int wolves = Integer.parseInt(sc.next()); if(sheep <= wolves) { System.out.println("unsafe"); } else { System.o...
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
u848412537|p02699|0
u848412537|p02699|0
codenet
Compile Error
357
v2_s220579419
s220579419
s220579419
p02699
p02699
u848412537
u848412537
1,587,954,999
2020-04-27T02:36:39
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { long a; FastScanner sc = new FastScanner(); String text = sc.next(); int count = 0; if(4 <= text.length()) { for (int i...
Main.java:9: error: cannot find symbol FastScanner sc = new FastScanner(); ^ symbol: class FastScanner location: class Main Main.java:9: error: cannot find symbol FastScanner sc = new FastScanner(); ^ symbol: class FastScanner location: class Main 2 error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848412537|p02699|0
u848412537|p02699|0
codenet
Compile Error
668
v2_s082340172
s082340172
s082340172
p02699
p02699
u858185192
u858185192
1,588,333,709
2020-05-01T11:48:29
ABC164.java
import java.util.Scanner; /** * https://atcoder.jp/contests/abc135/tasks/abc135_b */ public class ABC164 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int S = sc.nextInt(); int W = sc.nextInt(); sc.close(); if(S>W) System.out.println("safe"); el...
ABC164.java:9: error: cannot find symbol int S = sc.nextInt(); ^ symbol: variable sc location: class ABC164 ABC164.java:10: error: cannot find symbol int W = sc.nextInt(); ^ symbol: variable sc location: class ABC164 ABC164.java:11: error: cannot find symbol sc.close(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858185192|p02699|0
u858185192|p02699|0
codenet
Compile Error
366
v2_s832933700
s832933700
s832933700
p02699
p02699
u912953341
u912953341
1,587,951,789
2020-04-27T01:43:09
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new scanner(System.in); Set <String> set = new HashSet<>(); int n = scan.nextInt(); String[] s = new String[n]; for(int i = 0; i < n; i++){ s[i] = scan.nextLine(); set.add(s[i]); } Sys...
Main.java:4: error: cannot find symbol Scanner scan = new scanner(System.in); ^ symbol: class scanner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u912953341|p02699|0
u912953341|p02699|0
codenet
Compile Error
354
v2_s408268014
s408268014
s408268014
p02699
p02699
u912953341
u912953341
1,587,951,824
2020-04-27T01:43:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); Set <String> set = new HashSet<>(); int n = scan.nextInt(); String[] s = new String(); for(int i = 0; i < n; i++){ s[i] = scan.nextLine(); set.add(s[i]); } Syst...
Main.java:7: error: incompatible types: String cannot be converted to String[] String[] s = new String(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u912953341|p02699|0
u912953341|p02699|0
codenet
Compile Error
353
v2_s361062320
s361062320
s361062320
p02699
p02699
u912953341
u912953341
1,587,951,866
2020-04-27T01:44:26
Main.java
ort java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); Set <String> set = new HashSet<>(); int n = scan.nextInt(); String[] s = new String[n]; for(int i = 0; i < n; i++){ s[i] = scan.nextLine(); set.add(s[i]); } System...
Main.java:1: error: class, interface, enum, or record expected ort java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u912953341|p02699|0
u912953341|p02699|0
codenet
Compile Error
351
v2_s025152362
s025152362
s025152362
p02699
p02699
u912953341
u912953341
1,587,955,606
2020-04-27T02:46:46
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); long a = scan.nextLong(); long b = scan.nextLong(); long c = scan.nextLong(); long d = scan.nextLong(); for(int i = 0; i < 1000000; i++); long aw = c-b; long t = a-d; if(aw>=t &...
Main.java:22: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u912953341|p02699|0
u912953341|p02699|0
codenet
Compile Error
448
v2_s456525143
s456525143
s456525143
p02699
p02699
u919444715
u919444715
1,587,951,561
2020-04-27T01:39:21
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scammer(System.in); int S = sc.nextInt(); int W = sc.nextInt(); if (S <= W) { System.out.println("unsafe"); } else { System.out.println("safe"); } } }
Main.java:5: error: cannot find symbol Scanner sc = new Scammer(System.in); ^ symbol: class Scammer location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u919444715|p02699|0
u919444715|p02699|0
codenet
Compile Error
283
v2_s039671347
s039671347
s039671347
p02699
p02699
u924711195
u924711195
1,595,468,248
2020-07-23T01:37:28
Main.java
import java.util.*;class Main{Scanner s=new Scanner(System.in);public static void main(String[] a){System.out.println(s.nextInt()<s.nextInt()*2?"unsafe":"safe");}}
Main.java:1: error: non-static variable s cannot be referenced from a static context import java.util.*;class Main{Scanner s=new Scanner(System.in);public static void main(String[] a){System.out.println(s.nextInt()<s.nextInt()*2?"unsafe":"safe");}} ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u924711195|p02699|0
u924711195|p02699|0
codenet
Compile Error
163
v2_s657924232
s657924232
s657924232
p02699
p02699
u942455341
u942455341
1,587,951,484
2020-04-27T01:38:04
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner s=new Scanner(System.in); int s=s.nextInt(); int w=s.nextInt(); if(w>=s){ System.out.println("unsafe"); }else{ System.out.println("safe"); } } }
Main.java:5: error: variable s is already defined in method main(String[]) int s=s.nextInt(); ^ Main.java:5: error: int cannot be dereferenced int s=s.nextInt(); ^ Main.java:6: error: int cannot be dereferenced int w=s.nextInt(); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u942455341|p02699|0
u942455341|p02699|0
codenet
Compile Error
289
v2_s912833790
s912833790
s912833790
p02700
p02700
u073606136
u073606136
1,587,950,801
2020-04-27T01:26:41
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int hp1 = sc.nextInt(); int attack1 = sc.nextInt(); int hp2 = sc.nextInt(); int attack2 = sc.nextInt(); while(hp1 > 0 && hp2 > 0){ ...
Main.java:15: error: unreachable statement hp1 -= attack2; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p02700|0
u073606136|p02700|0
codenet
Compile Error
582
v2_s844910883
s844910883
s844910883
p02700
p02700
u073606136
u073606136
1,587,950,864
2020-04-27T01:27:44
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int hp1 = sc.nextInt(); int attack1 = sc.nextInt(); int hp2 = sc.nextInt(); int attack2 = sc.nextInt(); while(hp1 > 0 && hp2 > 0){ ...
Main.java:15: error: unreachable statement hp1 -= attack2; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p02700|0
u073606136|p02700|0
codenet
Compile Error
589
v2_s234263651
s234263651
s234263651
p02700
p02700
u093104443
u093104443
1,600,464,274
2020-09-18T21:24:34
Main.java
import java.util.*; class Main{ public static void main(String[] args){ // 入力受付 Scanner sc = new Scanner(System.in); //scanner int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); // 計算 if( A/D >= C/B) ...
Main.java:13: error: cannot find symbol if( A/D >= C/B) ^ symbol: variable A location: class Main Main.java:13: error: cannot find symbol if( A/D >= C/B) ^ symbol: variable D location: class Main Main.java:13: error: cannot find symbol if( A/D >= C/B) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u093104443|p02700|0
u093104443|p02700|0
codenet
Compile Error
420
v2_s210294847
s210294847
s210294847
p02700
p02700
u143495079
u143495079
1,587,949,605
2020-04-27T01:06:45
Main.java
10 9 10 10
Main.java:1: error: class, interface, enum, or record expected 10 9 10 10 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u143495079|p02700|0
u143495079|p02700|0
codenet
Compile Error
10
v2_s265861336
s265861336
s265861336
p02700
p02700
u199937063
u199937063
1,587,951,759
2020-04-27T01:42:39
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); C -= B; A -= D; if (A <= 0){ Sy...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199937063|p02700|0
u199937063|p02700|0
codenet
Compile Error
416
v2_s618617210
s618617210
s618617210
p02700
p02700
u274962354
u274962354
1,587,949,566
2020-04-27T01:06:06
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.ArrayDeque; import java.util.Arrays; import java.util.Deque; import java.util.NoSuchElementException; import java.util.Random; import java.util.Scanner; import org.omg.Messaging.SyncScopeHelper; class UnionFind{ int Parent[]; UnionFind(int n){...
Main.java:10: error: package org.omg.Messaging does not exist import org.omg.Messaging.SyncScopeHelper; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274962354|p02700|0
u274962354|p02700|0
codenet
Compile Error
6,301
v2_s785369960
s785369960
s785369960
p02700
p02700
u292692992
u292692992
1,587,950,319
2020-04-27T01:18:39
Main.java
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; cin >> a >> b >> c >> d; while(true){ c -= b; if(c <= 0) { cout << "Yes"; break; } a -= d; if(a <= 0){ cout << "No"; break; } } cout << "\n"; return 0; }
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:8: error: not a statement cin >> a >> b >> c >> d; ^ Main.java:13: error: not a statement cout << "Yes"; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u292692992|p02700|0
u292692992|p02700|0
codenet
Compile Error
291
v2_s700268636
s700268636
s700268636
p02700
p02700
u321168919
u321168919
1,588,090,727
2020-04-28T16:18:47
Main.java
import java.util.*; class Test { public static void main(String args[]) { Scanner s1 = new Scanner(System.in); int a = s1.nextInt(); int b = s1.nextInt(); int c = s1.nextInt(); int d = s1.nextInt(); int count =1; while(a>0 && c>0) { if(count%2!=0) { c = c - b; else ...
Main.java:13: error: 'else' without 'if' else ^ Main.java:21: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u321168919|p02700|0
u321168919|p02700|0
codenet
Compile Error
468
v2_s398022737
s398022737
s398022737
p02700
p02700
u321168919
u321168919
1,588,091,415
2020-04-28T16:30:15
Main.java
import java.util.*; class Test{ public static void main(String args[]) { Scanner s1 = new Scanner(System.in); int a = s1.nextInt(); int b= s1.nextInt(); int c = s1.nextInt(); int d = s1.nextInt(); int count =1; while(a>0 &; c>0) { if(count%2==1) c = c - b; else ...
Main.java:10: error: illegal start of expression while(a>0 &; c>0) { ^ Main.java:10: error: not a statement while(a>0 &; c>0) { ^ Main.java:10: error: ';' expected while(a>0 &; c>0) { ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u321168919|p02700|0
u321168919|p02700|0
codenet
Compile Error
459
v2_s558007298
s558007298
s558007298
p02700
p02700
u387787516
u387787516
1,588,185,457
2020-04-29T18:37:37
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int takahashiA = sc.nextInt(); int takahashiKougeki = sc.nextInt(); int aokiC = sc.nextInt(); int aokiKougeki = sc.nextInt(); while (takahashi...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u387787516|p02700|0
u387787516|p02700|0
codenet
Compile Error
573
v2_s851063180
s851063180
s851063180
p02700
p02700
u407795516
u407795516
1,587,950,241
2020-04-27T01:17:21
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int A = scanner.nextInt(); int B = scanner.nextInt(); int C = scanner.nextInt(); int D = scanner.nextInt(); int X = Math.ceil(C/B); int Y = Math.ceil(A/...
Main.java:12: error: incompatible types: possible lossy conversion from double to int int X = Math.ceil(C/B); ^ Main.java:13: error: incompatible types: possible lossy conversion from double to int int Y = Math.ceil(A/D); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u407795516|p02700|0
u407795516|p02700|0
codenet
Compile Error
444
v2_s921929148
s921929148
s921929148
p02700
p02700
u499381410
u499381410
1,590,086,876
2020-05-21T18:47:56
Main.java
package java_basic_01; import java.util.Scanner; class HelloWorld { 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 d = sc.nextInt(); sc.close(); String judge ...
Main.java:16: error: unclosed character literal judge = 'Yes'; ^ Main.java:16: error: unclosed character literal judge = 'Yes'; ^ Main.java:16: error: not a statement judge = 'Yes'; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u499381410|p02700|0
u499381410|p02700|0
codenet
Compile Error
604
v2_s609353781
s609353781
s609353781
p02700
p02700
u511176146
u511176146
1,587,949,732
2020-04-27T01:08:52
Main.java
public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int aHP = scan.nextInt(), aA = scan.nextInt(), bHP = scan.nextInt(), bA = scan.nextInt(); int ashibou = 0, bshibou = 0; if(aHP % bA != 0) { ashibou = aHP / bA +1; }else { ashibou = aHP / bA; ...
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
u511176146|p02700|0
u511176146|p02700|0
codenet
Compile Error
553
v2_s738464866
s738464866
s738464866
p02700
p02700
u523670133
u523670133
1,587,949,670
2020-04-27T01:07:50
Main.java
import java.util.*; class Main { public static void main(String args[]) { Scanner in=new Scanner(System.in); int a=in.nextInt(); int b=in.nextInt(); int v=in.nextInt(); int d=in.nextInt(); if(a+b-c-d>0) System.out.print("Yes"); else System.out.print("No");
Main.java:14: error: reached end of file while parsing System.out.print("No"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u523670133|p02700|0
u523670133|p02700|0
codenet
Compile Error
301
v2_s026133432
s026133432
s026133432
p02700
p02700
u526365587
u526365587
1,588,641,437
2020-05-05T01:17:17
Main.java
#include <bits/stdc++.h> using namespace std; int main() { int A,B,C,D; scanf("%d %d %d %d", &A,&B,&C,&D); while(true){ C -= B; if(C <= 0){ printf("Yes"); return 0; } A -= D; if(A <= 0){ printf("No"); return 0; } } }
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: unnamed classes are a preview feature and are disabled by default. int main() { ^ (use --enable-preview to enable unnamed classes...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u526365587|p02700|0
u526365587|p02700|0
codenet
Compile Error
303
v2_s779208600
s779208600
s779208600
p02700
p02700
u554413629
u554413629
1,588,383,562
2020-05-02T01:39:22
Main.java
import java.util.*; public class Main{ public static void main(stiring[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc,nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); while(){ C -=B; if(C<=0){ System.out.println("Yes"); b...
Main.java:7: error: ';' expected int B = sc,nextInt(); ^ Main.java:10: error: illegal start of expression while(){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554413629|p02700|0
u554413629|p02700|0
codenet
Compile Error
447
v2_s171804794
s171804794
s171804794
p02700
p02700
u558270687
u558270687
1,588,455,711
2020-05-02T21:41:51
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); int x = ( a+d-1 ) / d; int y = ( c+b-1 ) / b; if( ...
Main.java:15: error: unclosed character literal System.out.println('Yes'); ^ Main.java:15: error: unclosed character literal System.out.println('Yes'); ^ Main.java:15: error: not a statement System.out.println('Yes'); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u558270687|p02700|0
u558270687|p02700|0
codenet
Compile Error
438
v2_s060792387
s060792387
s060792387
p02700
p02700
u572204849
u572204849
1,587,949,690
2020-04-27T01:08:10
Main.java
import java.util.TreeMap; import java.util.Map; import java.util.HashMap; import java.util.ArrayList; import java.util.Collections; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int S = sc.nextInt(); int W = sc.nextInt(); if(S...
Main.java:10: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:10: 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
u572204849|p02700|0
u572204849|p02700|0
codenet
Compile Error
448
v2_s143330662
s143330662
s143330662
p02700
p02700
u574685848
u574685848
1,587,949,965
2020-04-27T01:12:45
Main.java
import java.util.*; class Main{ static public void main(String args[]){ Scanner sc=new Scanner(System.in); boolean flag=false; int a,b,c,d; a=sc.nextInt(); b=sc.nextInt();//kougeki c=sc.nextInt(); d=sc.nextInt();//kougeki while(true){ a-=d; c-=b; if(a<0)flag=true;break; ...
Main.java:16: error: 'else' without 'if' else if(c<0)falg=false;break; ^ Main.java:19: error: unclosed string literal else System.out.println("fNo); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u574685848|p02700|0
u574685848|p02700|0
codenet
Compile Error
437
v2_s774411600
s774411600
s774411600
p02700
p02700
u574685848
u574685848
1,587,950,062
2020-04-27T01:14:22
Main.java
import java.util.*; class Main{ static public void main(String args[]){ Scanner sc=new Scanner(System.in); boolean flag=false; int a,b,c,d; a=sc.nextInt(); b=sc.nextInt();//kougeki c=sc.nextInt(); d=sc.nextInt();//kougeki while(true){ a-=d; c-=b; if(a<0)flag=true;break; ...
Main.java:16: error: 'else' without 'if' else if(c<0)falg=false;break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u574685848|p02700|0
u574685848|p02700|0
codenet
Compile Error
437
v2_s162269815
s162269815
s162269815
p02700
p02700
u574685848
u574685848
1,587,950,095
2020-04-27T01:14:55
Main.java
import java.util.*; class Main{ static public void main(String args[]){ Scanner sc=new Scanner(System.in); boolean flag=false; int a,b,c,d; a=sc.nextInt(); b=sc.nextInt();//kougeki c=sc.nextInt(); d=sc.nextInt();//kougeki while(true){ a-=d; c-=b; if(a<0)flag=true;break; ...
Main.java:16: error: ';' expected elseif(c<0)falg=false;break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u574685848|p02700|0
u574685848|p02700|0
codenet
Compile Error
436
v2_s998859820
s998859820
s998859820
p02700
p02700
u574685848
u574685848
1,587,950,131
2020-04-27T01:15:31
Main.java
import java.util.*; class Main{ static public void main(String args[]){ Scanner sc=new Scanner(System.in); boolean flag=false; int a,b,c,d; a=sc.nextInt(); b=sc.nextInt();//kougeki c=sc.nextInt(); d=sc.nextInt();//kougeki while(true){ a-=d; c-=b; if(a<0)flag=true;break; ...
Main.java:16: error: ';' expected elseif(c<0)flag=false;break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u574685848|p02700|0
u574685848|p02700|0
codenet
Compile Error
436
v2_s914947234
s914947234
s914947234
p02700
p02700
u623522207
u623522207
1,588,459,974
2020-05-02T22:52:54
Main.java
import java .util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = Integer.parseInt(sc.next());//高橋体力 int b = Integer.parseInt(sc.next());//高橋攻撃 int c = Integer.parseInt(sc.next());//青木体力 int d = Integer.parseInt(sc.next());//青木攻撃 ...
Main.java:24: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u623522207|p02700|0
u623522207|p02700|0
codenet
Compile Error
517
v2_s933907816
s933907816
s933907816
p02700
p02700
u653013798
u653013798
1,587,949,610
2020-04-27T01:06:50
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); while((a<0) || (c<0)){ a -= d; c -=b; } if(a>0){ System...
Main.java:20: error: not a statement eles{ ^ Main.java:20: error: ';' expected eles{ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653013798|p02700|0
u653013798|p02700|0
codenet
Compile Error
405
v2_s990329580
s990329580
s990329580
p02700
p02700
u661594854
u661594854
1,587,950,483
2020-04-27T01:21:23
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a,b,c,d; a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); d = sc.nextInt(); int tokillaoki = 0,tokilltaka = 0; while (a>0){ a -= d...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u661594854|p02700|0
u661594854|p02700|0
codenet
Compile Error
594
v2_s924238830
s924238830
s924238830
p02700
p02700
u699628455
u699628455
1,587,949,536
2020-04-27T01:05:36
Main.java
import java.util.*; class Main{ static Scanner sc=new Scanner(System.in); public static void main(String[] args){ int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); while(A<=0||C<=0){ A=A-D; C=C-B; } ...
Main.java:16: error: ';' expected System.out.println("Yes") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699628455|p02700|0
u699628455|p02700|0
codenet
Compile Error
430
v2_s044945660
s044945660
s044945660
p02700
p02700
u699628455
u699628455
1,587,949,901
2020-04-27T01:11:41
Main.java
10 9 10 10
Main.java:1: error: class, interface, enum, or record expected 10 9 10 10 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699628455|p02700|0
u699628455|p02700|0
codenet
Compile Error
10
v2_s085223297
s085223297
s085223297
p02700
p02700
u707380237
u707380237
1,588,206,233
2020-04-30T00:23:53
Battle.java
public class Battle { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); while (a>0 && c>0) { c -= b; if (c <= 0) { System.out.println("Yes"); break;...
Battle.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Battle Battle.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Battle 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707380237|p02700|0
u707380237|p02700|0
codenet
Compile Error
438
v2_s520714543
s520714543
s520714543
p02700
p02700
u769291367
u769291367
1,594,618,783
2020-07-13T05:39:43
Main.java
import java.util.Scanner public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); int r = A - C; int r1 = B - D; if(r <= 0) System.out.prin...
Main.java:1: error: ';' expected import java.util.Scanner ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02700|0
u769291367|p02700|0
codenet
Compile Error
469
v2_s949140449
s949140449
s949140449
p02700
p02700
u769291367
u769291367
1,594,682,760
2020-07-13T23:26:00
MultiplicationOfArray.java
package arrays; import java.util.Scanner; public class MultiplicationOfArray { 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 D = sc.nextInt(); if(A <= C) ...
MultiplicationOfArray.java:17: error: break outside switch or loop break; ^ MultiplicationOfArray.java:23: error: break outside switch or loop break; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02700|1
u769291367|p02700|1
codenet
Compile Error
497
v2_s509408264
s509408264
s509408264
p02700
p02700
u774995582
u774995582
1,587,949,699
2020-04-27T01:08:19
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A=sc.nextInt(),B=sc.nextInt(),C=sc.nextInt(),D=sc.nextInt(); System.out.println((C-1)/B<=(A-1)/D?"Yes":"No"); } }
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
u774995582|p02700|0
u774995582|p02700|0
codenet
Compile Error
247
v2_s970715096
s970715096
s970715096
p02700
p02700
u825262731
u825262731
1,587,952,648
2020-04-27T01:57:28
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = ac.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); if(a+b>=c+d || Math.max(a,b)>Math.max(c,d)){ System.out.println("Yes"); } el...
Main.java:5: error: cannot find symbol int a = ac.nextInt(); ^ symbol: variable ac location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825262731|p02700|0
u825262731|p02700|0
codenet
Compile Error
367
v2_s527211460
s527211460
s527211460
p02700
p02700
u825262731
u825262731
1,587,954,584
2020-04-27T02:29:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); int w = Math.max(a,b); int x = Math.max(c,d); int y = x-Math.min(a,b); int z =...
Main.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825262731|p02700|0
u825262731|p02700|0
codenet
Compile Error
504
v2_s485240945
s485240945
s485240945
p02700
p02700
u825262731
u825262731
1,587,955,183
2020-04-27T02:39:43
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); int w = Math.max(a,b); int x = Math.max(c,d); int y = x-Math.min(a,b); int z =...
Main.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825262731|p02700|0
u825262731|p02700|0
codenet
Compile Error
530
v2_s008856692
s008856692
s008856692
p02700
p02700
u858509867
u858509867
1,588,310,116
2020-05-01T05:15:16
Main.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ javaapplication1; import java.util.*; /** * * @author Admin */ class Main { public static void main(String args[]) ...
Main.java:6: error: class, interface, enum, or record expected javaapplication1; ^ Main.java:8: error: class, interface, enum, or record expected import java.util.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858509867|p02700|0
u858509867|p02700|0
codenet
Compile Error
702
v2_s643951647
s643951647
s643951647
p02700
p02700
u860874998
u860874998
1,589,119,235
2020-05-10T14:00:35
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); for(i=0,i<100,i++){ C=C-B; if(C<=0){ ...
Main.java:11: error: not a statement for(i=0,i<100,i++){ ^ Main.java:11: error: ';' expected for(i=0,i<100,i++){ ^ Main.java:14: error: not a statement breaks; ^ Main.java:18: error: not a statement breaks; ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02700|0
u860874998|p02700|0
codenet
Compile Error
553
v2_s187261828
s187261828
s187261828
p02700
p02700
u860874998
u860874998
1,589,119,315
2020-05-10T14:01:55
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); for(i=0;i<100;i++){ C=C-B; if(C<=0){ ...
Main.java:14: error: not a statement breaks; ^ Main.java:18: error: not a statement breaks; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02700|0
u860874998|p02700|0
codenet
Compile Error
553
v2_s086330663
s086330663
s086330663
p02700
p02700
u860874998
u860874998
1,589,119,384
2020-05-10T14:03:04
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); for(i=0;i<100;i++){ C=C-B; if(C<=0){ ...
Main.java:11: error: cannot find symbol for(i=0;i<100;i++){ ^ symbol: variable i location: class Main Main.java:11: error: cannot find symbol for(i=0;i<100;i++){ ^ symbol: variable i location: class Main Main.java:11: error: cannot find symbol for(i=0;i<100;i++...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02700|0
u860874998|p02700|0
codenet
Compile Error
551
v2_s665933861
s665933861
s665933861
p02700
p02700
u860874998
u860874998
1,589,119,831
2020-05-10T14:10:31
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); for(int i=0;i<100;i++){ C=C-B; if(C<=0){ ...
Main.java:30: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:40: error: ';' expected boolean flg=true ^ Main.java:48: error: not a statement A-A-D; ^ Main.java:58: error: class, interface, enum, or record expected } ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02700|0
u860874998|p02700|0
codenet
Compile Error
1,122
v2_s028968939
s028968939
s028968939
p02700
p02700
u860874998
u860874998
1,589,549,757
2020-05-15T13:35:57
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a = sc.nextint(); int b = sc.nextint(); int c = sc.nextint(); int d = sc.nextint(); boolean flag=false; for(int i=0;;i++){ c=c-b; if(c<=0){ flag=true; break;} ...
Main.java:6: error: cannot find symbol int a = sc.nextint(); ^ symbol: method nextint() location: variable sc of type Scanner Main.java:7: error: cannot find symbol int b = sc.nextint(); ^ symbol: method nextint() location: variable sc of type Scanner Main.java:8: error: cann...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02700|1
u860874998|p02700|1
codenet
Compile Error
454
v2_s165513751
s165513751
s165513751
p02700
p02700
u912953341
u912953341
1,587,952,880
2020-04-27T02:01:20
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); int d = scan.nextInt(); int aw = c-b; int t = a-d; if(t>0 || t=>aw){ System.out.println("Yes"); } else{ ...
Main.java:11: error: illegal start of expression if(t>0 || t=>aw){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u912953341|p02700|0
u912953341|p02700|0
codenet
Compile Error
356
v2_s026243503
s026243503
s026243503
p02700
p02700
u912953341
u912953341
1,587,955,682
2020-04-27T02:48:02
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); long a = scan.nextLong(); long b = scan.nextLong(); long c = scan.nextLong(); long d = scan.nextLong(); for(int i = 0; i < 1000000; i++); long c = c-b; long a = a-d; if(c>=a && ...
Main.java:22: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u912953341|p02700|0
u912953341|p02700|0
codenet
Compile Error
445
v2_s916245580
s916245580
s916245580
p02700
p02700
u941667495
u941667495
1,587,950,834
2020-04-27T01:27:14
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { int A,B,C,D; do { A=A-D; C=C-B; } while(A>0&&C>0); if(A<0) { System.out.println("Yes"); }else {System.out.println("No");} } }
Main.java:9: error: variable A might not have been initialized A=A-D; ^ Main.java:9: error: variable D might not have been initialized A=A-D; ^ Main.java:10: error: variable C might not have been initialized C=C-B; ^ Main.java:10: error: variable B might not have been initialized C=C-B; ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941667495|p02700|0
u941667495|p02700|0
codenet
Compile Error
224
v2_s631295177
s631295177
s631295177
p02700
p02700
u954904025
u954904025
1,591,712,999
2020-06-09T14:29:59
Main.java
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); int d = scanner.nextInt(); while(a>0&&c>0) { if(a>0&&c>0) { c = c-b; } if(a>0&&c>0)...
Main.java:28: error: reached end of file while parsing WA ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954904025|p02700|1
u954904025|p02700|1
codenet
Compile Error
443
v2_s736077176
s736077176
s736077176
p02700
p02700
u980607863
u980607863
1,587,949,621
2020-04-27T01:07:01
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int t_hp = nextInt(); int t_atk = nextInt(); int a_hp = nextInt(); int a_atk = nextInt(); while(true){ a_hp -= t_atk; if(a_hp<=0) { System.out.println(Yes); return;}...
Main.java:6: error: cannot find symbol int t_hp = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:7: error: cannot find symbol int t_atk = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:8: error: cannot find symbol int a_h...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u980607863|p02700|0
u980607863|p02700|0
codenet
Compile Error
408
v2_s343741832
s343741832
s343741832
p02700
p02700
u980607863
u980607863
1,587,949,843
2020-04-27T01:10:43
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int t_hp = sc.nextInt(); int t_atk = sc.nextInt(); int a_hp = sc.nextInt(); int a_atk = sc.nextInt(); while(true){ a_hp -= t_atk; if(a_hp<=0) { System.out.println(Y...
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u980607863|p02700|0
u980607863|p02700|0
codenet
Compile Error
419
v2_s161666673
s161666673
s161666673
p02700
p02700
u980607863
u980607863
1,587,949,881
2020-04-27T01:11:21
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int t_hp = sc.nextInt(); int t_atk = sc.nextInt(); int a_hp = sc.nextInt(); int a_atk = sc.nextInt(); while(true){ a_hp -= t_atk; if(a_hp<=0) { System.out.println(Y...
Main.java:12: error: cannot find symbol if(a_hp<=0) { System.out.println(Yes); return;} ^ symbol: variable Yes location: class Main Main.java:14: error: cannot find symbol if(t_hp <= 0) { System.out.println(No); return;} ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u980607863|p02700|0
u980607863|p02700|0
codenet
Compile Error
421
v2_s922222463
s922222463
s922222463
p02701
p02701
u080519705
u080519705
1,588,085,593
2020-04-28T14:53:13
Main.java
public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); Integer N = input.nextInt(); String[] S = new String[N]; List<String> types = new ArrayList<String>(); S[0] = input.next(); types.add(S[0]); for (int i = 1; i...
Main.java:3: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u080519705|p02701|0
u080519705|p02701|0
codenet
Compile Error
723
v2_s459796313
s459796313
s459796313
p02701
p02701
u115106582
u115106582
1,595,363,707
2020-07-21T20:35:07
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); int i = sc.nextInt(); List<String> tinko = new ArrayList<>(); for(int...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u115106582|p02701|0
u115106582|p02701|0
codenet
Compile Error
478
v2_s781384823
s781384823
s781384823
p02701
p02701
u121141596
u121141596
1,587,955,190
2020-04-27T02:39:50
Main.java
import java.util.Scanner; public class Main { static int N; static int a=0; static int b=0; public static void main(String[] args) { Scanner sc=new Scanner(System.in); N=sc.nextInt(); String S[]=new String[N]; for(int i=0;i<N;i++) { S[i]=sc.next(); } for(int i=0;i<N;i++) { for(int j=0;j<i;j++) { ...
Main.java:25: error: reached end of file while parsing System.out.println(b); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u121141596|p02701|0
u121141596|p02701|0
codenet
Compile Error
425
v2_s297836881
s297836881
s297836881
p02701
p02701
u228729250
u228729250
1,587,955,622
2020-04-27T02:47:02
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Set<String> set = new HashSet<>(); while (n-- >0) { String s = sc.nextLine(); set.add(s); } sc.close(); System.out.println(set.size()); } }
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 Main.java:6: error: cannot find s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u228729250|p02701|0
u228729250|p02701|0
codenet
Compile Error
307
v2_s793024679
s793024679
s793024679
p02701
p02701
u241752770
u241752770
1,587,950,913
2020-04-27T01:28:33
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); long a = s.nextInt(); long k = 0; long y = 0; String[] st = new String[a]; for(long i = 0; i < a; i++){ st[i] = ""; } ...
Main.java:8: error: incompatible types: possible lossy conversion from long to int String[] st = new String[a]; ^ Main.java:10: error: incompatible types: possible lossy conversion from long to int st[i] = ""; ^ Main.java:22: error: incompatible types:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241752770|p02701|0
u241752770|p02701|0
codenet
Compile Error
707
v2_s976622190
s976622190
s976622190
p02701
p02701
u241752770
u241752770
1,587,950,979
2020-04-27T01:29:39
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); long a = s.nextLong(); long k = 0; long y = 0; String[] st = new String[a]; for(long i = 0; i < a; i++){ st[i] = ""; } ...
Main.java:8: error: incompatible types: possible lossy conversion from long to int String[] st = new String[a]; ^ Main.java:10: error: incompatible types: possible lossy conversion from long to int st[i] = ""; ^ Main.java:22: error: incompatible types:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241752770|p02701|0
u241752770|p02701|0
codenet
Compile Error
708
v2_s821664350
s821664350
s821664350
p02701
p02701
u276152693
u276152693
1,596,456,744
2020-08-03T12:12:24
Main.java
N = int(input()) items = set(input() for i in range(N)) print(len(items))
Main.java:1: error: class, interface, enum, or record expected N = int(input()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276152693|p02701|0
u276152693|p02701|0
codenet
Compile Error
73
v2_s831984736
s831984736
s831984736
p02701
p02701
u309131098
u309131098
1,588,398,912
2020-05-02T05:55:12
Main.java
class Main { Public static void main(String[] args) { int t; Scanner sc=new Scanner(System.in); Set<String> st=new HashSet<>(); t=sc.nextInt(); for(int i=0;i<t;i++) { st.add(sc.next());} System.out.println(st.size()); }}
Main.java:3: error: <identifier> expected Public static void main(String[] args) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u309131098|p02701|0
u309131098|p02701|0
codenet
Compile Error
264
v2_s079856076
s079856076
s079856076
p02701
p02701
u309540708
u309540708
1,587,952,685
2020-04-27T01:58:05
Main.java
import java.util.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); List<String> list = new ArrayList<>(); for(int i ;i < N; i++){ int...
Main.java:14: error: incompatible types: String cannot be converted to int int prize = sc.next(); ^ Main.java:16: error: incompatible types: int cannot be converted to String list.add(prize); ^ Main.java:20: error: cannot find symbol System.out.print...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u309540708|p02701|0
u309540708|p02701|0
codenet
Compile Error
485
v2_s247593632
s247593632
s247593632
p02701
p02701
u309540708
u309540708
1,587,952,766
2020-04-27T01:59:26
Main.java
import java.util.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); List<String> list = new ArrayList<>(); for(int i ;i < N; i++){ str...
Main.java:14: error: cannot find symbol string prize = sc.next(); ^ symbol: class string location: class Main Main.java:20: error: cannot find symbol System.out.println(list.length); ^ symbol: variable length location: variable list of type List<String> 2 e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u309540708|p02701|0
u309540708|p02701|0
codenet
Compile Error
488
v2_s366324895
s366324895
s366324895
p02701
p02701
u309540708
u309540708
1,587,955,150
2020-04-27T02:39:10
Main.java
import java.util.*; import java.util.HashSet; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Hushset list = new HashSet(); for(int i=0 ;i < N; i++){ String prize = sc.next(); list.add(prize); } ...
Main.java:9: error: cannot find symbol Hushset list = new HashSet(); ^ symbol: class Hushset location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u309540708|p02701|0
u309540708|p02701|0
codenet
Compile Error
380
v2_s264912232
s264912232
s264912232
p02701
p02701
u309540708
u309540708
1,587,955,235
2020-04-27T02:40:35
Main.java
import java.util.*; import java.util.HashSet; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Hashset list = new HashSet(); for(int i=0 ;i < N; i++){ String prize = sc.next(); list.add(prize); } ...
Main.java:9: error: cannot find symbol Hashset list = new HashSet(); ^ symbol: class Hashset location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u309540708|p02701|0
u309540708|p02701|0
codenet
Compile Error
380
v2_s976204721
s976204721
s976204721
p02701
p02701
u315307508
u315307508
1,588,366,536
2020-05-01T20:55:36
Main.java
public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); scn.nextLine(); String []arr = new String[n]; Map<String,Integer> map = new HashMap<String,Integer>(); for(int i=0;i<n;i++){ arr[i] = scn.nextLine(); if(map...
Main.java:3: error: cannot find symbol Scanner scn = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scn = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u315307508|p02701|0
u315307508|p02701|0
codenet
Compile Error
536
v2_s679289667
s679289667
s679289667
p02701
p02701
u324881146
u324881146
1,587,949,448
2020-04-27T01:04:08
Main.java
import com.sun.xml.internal.xsom.impl.scd.Step; import java.io.*; import java.util.*; public class Main { public static final long mod = (long)1e9+7; public static final long INF = Long.MAX_VALUE/2; public static final int inf = Integer.MAX_VALUE/2; static void solve(InputReader in, PrintWriter out){...
Main.java:1: error: package com.sun.xml.internal.xsom.impl.scd does not exist import com.sun.xml.internal.xsom.impl.scd.Step; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u324881146|p02701|0
u324881146|p02701|0
codenet
Compile Error
2,174
v2_s742586564
s742586564
s742586564
p02701
p02701
u345351125
u345351125
1,587,956,291
2020-04-27T02:58:11
Main.java
import java.util.Scanner; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; public class Main { public static void main(String[]args){ Scanner in = new Scanner(Sys...
Main.java:19: error: cannot find symbol list.add =(S); ^ symbol: variable add location: variable list of type List<String> Main.java:21: error: cannot find symbol Set<String> uniqueSet = new HashSet<String>(list); ^ symb...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345351125|p02701|0
u345351125|p02701|0
codenet
Compile Error
737
v2_s407409813
s407409813
s407409813
p02701
p02701
u383217711
u383217711
1,589,415,210
2020-05-14T00:13:30
Main.java
import java.util.hashSet; import java.util.Scanner; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); HashSet hs=new HashSet(); int n=sc.nextInt(); for(int i=0;i<n;i++) hs.add(sc.nextInt()); System.out.println(hs.size()); } }
Main.java:1: error: cannot find symbol import java.util.hashSet; ^ symbol: class hashSet location: package java.util Main.java:8: error: cannot find symbol HashSet hs=new HashSet(); ^ symbol: class HashSet location: class Main Main.java:8: error: cannot find symbol HashSet hs=new...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u383217711|p02701|0
u383217711|p02701|0
codenet
Compile Error
311
v2_s623938610
s623938610
s623938610
p02701
p02701
u383217711
u383217711
1,589,415,574
2020-05-14T00:19:34
Main.java
import java.util.HashSet; import java.util.Scanner; class Main{ public static void main(String[]args){ try{ Scanner sc=new Scanner(System.in); HashSet<String> hs=new HashSet<String>(); int n=sc.nextInt(); for(int i=0;i<n;i++) hs.add(sc.next()); System.out.println(hs.siz...
Main.java:6: error: 'try' without 'catch', 'finally' or resource declarations try{ ^ Main.java:18: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u383217711|p02701|0
u383217711|p02701|0
codenet
Compile Error
340
v2_s847922267
s847922267
s847922267
p02701
p02701
u407795516
u407795516
1,587,952,260
2020-04-27T01:51:00
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); long N = scanner.nextLong(); int X = 0; for(int i=0; i<N; i++){ String[i] k = scanner.next(); } for(int j=0; j<N; j++ ){...
Main.java:12: error: not a statement String[i] k = scanner.next(); ^ Main.java:12: error: ';' expected String[i] k = scanner.next(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u407795516|p02701|0
u407795516|p02701|0
codenet
Compile Error
453
v2_s411505547
s411505547
s411505547
p02701
p02701
u407795516
u407795516
1,587,952,486
2020-04-27T01:54:46
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); long N = scanner.nextLong(); int X = 0; String[] k = new String[N-1]; for(int i=0; i<N; i++){ String k[i] = scanner.next(); ...
Main.java:13: error: ']' expected String k[i] = scanner.next(); ^ Main.java:13: error: ';' expected String k[i] = scanner.next(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u407795516|p02701|0
u407795516|p02701|0
codenet
Compile Error
490