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_s579721692
s579721692
s579721692
p03221
p03221
u951672936
u951672936
1,551,937,725
2019-03-07T05:48:45
Main.java
import java.util.*; public class Main { static FastScanner sc = new FastScanner(); public static void main(String[] args) { int N = sc.nextInt(); //県の数 int M = sc.nextInt(); //市の数 ArrayList<Integer[]>[] prefectures = new ArrayList[N]; //[0] 市の番号 [1] 年 for (int i = 0; i < N; i++) { prefect...
Main.java:84: error: class, interface, enum, or record expected import java.io.IOException; ^ Main.java:85: error: class, interface, enum, or record expected import java.io.InputStream; ^ Main.java:86: error: class, interface, enum, or record expected import java.util.*; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951672936|p03221|0
u951672936|p03221|0
codenet
Compile Error
3,713
v2_s710028360
s710028360
s710028360
p03221
p03221
u951672936
u951672936
1,551,940,191
2019-03-07T06:29:51
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.*; class FastScanner { private final InputStream in = System.in; private final byte[] buffer = new byte[1024]; private int ptr = 0; private int buflen = 0; private boolean hasNextByte() { if (ptr < buflen) { return true; }...
Main.java:69: error: class, interface, enum, or record expected import java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951672936|p03221|0
u951672936|p03221|0
codenet
Compile Error
2,833
v2_s713003081
s713003081
s713003081
p03221
p03221
u982630224
u982630224
1,561,563,736
2019-06-26T15:42:16
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int M = Integer.parseInt(sc.next()); Comparator<int[]> comparator_0 = new Comparator<int[]>() { @Override public int compare(int[] o1, int[] o2) { ...
Main.java:26: error: cannot find symbol LiskedList<int[]> list_tmp = new LinkedList<int[]>(); ^ symbol: class LiskedList location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982630224|p03221|0
u982630224|p03221|0
codenet
Compile Error
1,512
v2_s519901290
s519901290
s519901290
p03222
p03222
u153556810
u153556810
1,559,882,282
2019-06-07T04:38:02
Main.java
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static Set<boolean[]> amida = new HashSet<>(); public static boolean[] amicre; public static int H, W, K; public static void main(String[] args) { Scanner sc = new Scanner(System.in); H = sc.nextInt(); W =...
Main.java:17: error: method create in class Main cannot be applied to given types; create(); ^ required: int found: no arguments reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u153556810|p03222|0
u153556810|p03222|0
codenet
Compile Error
1,307
v2_s635085324
s635085324
s635085324
p03223
p03223
u923591787
u923591787
1,540,691,871
2018-10-28T01:57:51
Main.java
import java.util.* class Main { public static ArrayList<ArrayList<Integer>> permute(int[] num) { ArrayList<ArrayList<Integer>> result = new ArrayList<ArrayList<Integer>>(); //start from an empty list result.add(new ArrayList<Integer>()); for (int i = 0; i < num.length; i++) { //lis...
Main.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u923591787|p03223|0
u923591787|p03223|0
codenet
Compile Error
1,727
v2_s180736406
s180736406
s180736406
p03223
p03223
u981808900
u981808900
1,559,269,199
2019-05-31T02:19:59
Main.java
import java.util.*; public class Main { static Scanner scanner = new Scanner(System.in); public static void main(String[]$) { int n = scanner.nextInt(); long[] a = new long[n]; for (int i = 0; i < n; i++) { a[i] = scanner.nextInt(); } Arrays.sort(a); ...
Main.java:23: error: cannot find symbol Utils.println(a[i], (i == 0 ? a[n - 1] : a[n / 2 + i - 1]), a[n / 2 + i]); ^ symbol: variable Utils location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p03223|0
u981808900|p03223|0
codenet
Compile Error
1,080
v2_s983460708
s983460708
s983460708
p03223
p03223
u981808900
u981808900
1,559,271,398
2019-05-31T02:56:38
Main.java
import java.util.*; public class Main { static Scanner scanner = new Scanner(System.in); public static void main(String[]$) { int n = scanner.nextInt(); Deque<Long> deque1 = new ArrayDeque<>(); Deque<Long> deque2 = new ArrayDeque<>(); long[] a = new long[n]; long[] b = ...
Main.java:30: error: cannot find symbol Utils.println(j, k); ^ symbol: variable Utils location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p03223|0
u981808900|p03223|0
codenet
Compile Error
1,370
v2_s389605336
s389605336
s389605336
p03224
p03224
u702582248
u702582248
1,540,694,324
2018-10-28T02:38:44
Main.java
import java.util.*; import java.util.stream.IntStream; public class Main { static int n; static int[][] a = new int[2000][2000]; static Scanner sc; public static void main(String[] args) { sc = new Scanner(System.in); n = sc.nextInt(); if(n=1) { System.out.printl...
Main.java:15: error: incompatible types: int cannot be converted to boolean if(n=1) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u702582248|p03224|0
u702582248|p03224|0
codenet
Compile Error
2,184
v2_s573092381
s573092381
s573092381
p03227
p03227
u041601206
u041601206
1,555,698,462
2019-04-19T18:27:42
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.next(); if (S.length() == 2) System.out.println(S); else System.out.println(S.charAt(2) +"" +S.charAt1(1)+"" +S.charAt(0)); } }
Main.java:11: error: cannot find symbol System.out.println(S.charAt(2) +"" +S.charAt1(1)+"" +S.charAt(0)); ^ symbol: method charAt1(int) location: variable S of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u041601206|p03227|0
u041601206|p03227|0
codenet
Compile Error
285
v2_s346465836
s346465836
s346465836
p03227
p03227
u080142373
u080142373
1,543,171,570
2018-11-25T18:46:10
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); String res = s; if(s.length() == 3) { byte[] a = s.getBytes(); byte[] r = new byte[]{a[2],a[1],a[0]}; res = new String(r); ...
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
u080142373|p03227|0
u080142373|p03227|0
codenet
Compile Error
370
v2_s289309198
s289309198
s289309198
p03227
p03227
u123334961
u123334961
1,540,691,009
2018-10-28T01:43:29
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ String S; try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.print("S = "); buf = br.readLine(); S = Integer.parse(buf); } catch (Exception e) { System.err.print("Err...
Main.java:12: error: cannot find symbol buf = br.readLine(); ^ symbol: variable buf location: class Main Main.java:13: error: cannot find symbol S = Integer.parse(buf); ^ symbol: variable buf location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u123334961|p03227|0
u123334961|p03227|0
codenet
Compile Error
540
v2_s159582976
s159582976
s159582976
p03227
p03227
u123334961
u123334961
1,540,691,138
2018-10-28T01:45:38
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ String S; String buf; try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.print("S = "); buf = br.readLine(); S = Integer.parse(buf); } catch (Exception e) { System.e...
Main.java:14: error: cannot find symbol S = Integer.parse(buf); ^ symbol: method parse(String) location: class Integer 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u123334961|p03227|0
u123334961|p03227|0
codenet
Compile Error
553
v2_s439514977
s439514977
s439514977
p03227
p03227
u123334961
u123334961
1,540,691,213
2018-10-28T01:46:53
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ String S; try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.print("S = "); S = br.readLine(); } catch (Exception e) { System.err.print("Error!"); } if(S.length()...
Main.java:19: error: variable S might not have been initialized if(S.length() == 2){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u123334961|p03227|0
u123334961|p03227|0
codenet
Compile Error
515
v2_s641127803
s641127803
s641127803
p03227
p03227
u123334961
u123334961
1,540,691,476
2018-10-28T01:51:16
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ String S; try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.print("S = "); S = br.readLine(); } catch (Exception e) { System.err.print("Error!"); } if( S.length(...
Main.java:19: error: variable S might not have been initialized if( S.length() == 2){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u123334961|p03227|0
u123334961|p03227|0
codenet
Compile Error
516
v2_s945180582
s945180582
s945180582
p03227
p03227
u123334961
u123334961
1,540,691,681
2018-10-28T01:54:41
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ String S; try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.print("S = "); S = br.readLine(); } catch (Exception e) { System.err.print("Error!"); } if( S.length(...
Main.java:19: error: variable S might not have been initialized if( S.length() == 2){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u123334961|p03227|0
u123334961|p03227|0
codenet
Compile Error
516
v2_s263076853
s263076853
s263076853
p03227
p03227
u207391881
u207391881
1,540,689,098
2018-10-28T01:11:38
Main.java
public static void main(String[] args) { if(args[0].length() == 2){ System.out.println(args[0]); }else{ System.out.print(args[0].charAt(2)); System.out.print(args[0].charAt(1)); System.out.println(args[0].charAt(0)); } }
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
u207391881|p03227|0
u207391881|p03227|0
codenet
Compile Error
273
v2_s311094372
s311094372
s311094372
p03227
p03227
u207391881
u207391881
1,540,689,143
2018-10-28T01:12:23
Main.java
public class Main { public static void main(String[] args) { if(args[0].length() == 2){ System.out.println(args[0]); })else{ System.out.print(args[0].charAt(2)); System.out.print(args[0].charAt(1)); System.out.println(args[0].charAt(0)); } } }
Main.java:5: error: illegal start of expression })else{ ^ Main.java:5: error: 'else' without 'if' })else{ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03227|0
u207391881|p03227|0
codenet
Compile Error
297
v2_s716708230
s716708230
s716708230
p03227
p03227
u207391881
u207391881
1,540,689,316
2018-10-28T01:15:16
Main.java
import java.util.*; class Main { public static void main(String[] args) { if(args[0].length() == 2){ System.out.println(args[0]); })else{ System.out.print(args[0].charAt(2)); System.out.print(args[0].charAt(1)); System.out.println(args[0].charAt(0)); } } }
Main.java:7: error: illegal start of expression })else{ ^ Main.java:7: error: 'else' without 'if' })else{ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03227|0
u207391881|p03227|0
codenet
Compile Error
312
v2_s424999920
s424999920
s424999920
p03227
p03227
u207391881
u207391881
1,540,692,507
2018-10-28T02:08:27
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean x = false; for(int i=1; i<n; i++){ if(i*(i-1) == 2n){ x = true; } } if(x){ ...
Main.java:9: error: ')' expected if(i*(i-1) == 2n){ ^ Main.java:9: error: ';' expected if(i*(i-1) == 2n){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03227|0
u207391881|p03227|0
codenet
Compile Error
418
v2_s661144514
s661144514
s661144514
p03227
p03227
u224941344
u224941344
1,593,095,599
2020-06-25T14:33:19
Hello.java
public class Hello{ public static void Main(){ var str = System.Console.ReadLine(); if(str.Length==3){ for(int i=2; i>=0; i--){ System.Console.Write(str[i]); } System.Console.Write("\n"); }else{ System.Console.WriteLine(str); ...
Hello.java:3: error: cannot find symbol var str = System.Console.ReadLine(); ^ symbol: variable Console location: class System Hello.java:6: error: cannot find symbol System.Console.Write(str[i]); ^ symbol: variable Console location: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u224941344|p03227|0
u224941344|p03227|0
codenet
Compile Error
336
v2_s047833369
s047833369
s047833369
p03227
p03227
u295470523
u295470523
1,540,689,731
2018-10-28T01:22:11
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); long A=sc.nextInt(); long B=sc.nextInt(); int K=sc.nextInt(); for(int i=0;i<K;i++){ if(i%2==0){ B=B+(A-(A%2))/2; A=(A-(A%2))/2; } if(i%2==1){ A=A+(B-(B%2))/2;...
Main.java:21: error: class, interface, enum, or record expected import java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u295470523|p03227|0
u295470523|p03227|0
codenet
Compile Error
798
v2_s355664988
s355664988
s355664988
p03227
p03227
u348868667
u348868667
1,591,187,114
2020-06-03T12:25:14
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); String s = input.next(); if (s.length() == 2){ System.out.println(s); } else { StringBuffer sr = new StringBuffer(s); String sr...
Main.java:10: error: ';' expected String sred = sr.reverse().toString() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u348868667|p03227|0
u348868667|p03227|0
codenet
Compile Error
404
v2_s039848106
s039848106
s039848106
p03227
p03227
u375901682
u375901682
1,540,688,689
2018-10-28T01:04:49
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.List; import java.util.stream.IntStream; import java.util.stream.Stream; public class Main { pr...
Main.java:131: error: class, interface, enum, or record expected import java.io.BufferedReader; ^ Main.java:132: error: class, interface, enum, or record expected import java.io.IOException; ^ Main.java:133: error: class, interface, enum, or record expected import java.io.InputStreamReader; ^ Main.java:134: error: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u375901682|p03227|0
u375901682|p03227|0
codenet
Compile Error
8,406
v2_s867500356
s867500356
s867500356
p03227
p03227
u431954591
u431954591
1,541,293,774
2018-11-04T01:09:34
Main.java
public static void main(String[] args) { String str = args[0]; if (str.length() == 2) { System.out.println(str); } else { System.out.print(str.substring(2)); System.out.print(str.substring(1, 1)); System.out.println(str.substring(0, 0)); } }
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
u431954591|p03227|0
u431954591|p03227|0
codenet
Compile Error
263
v2_s202311864
s202311864
s202311864
p03227
p03227
u568545273
u568545273
1,540,698,143
2018-10-28T03:42:23
Main.java
import java.util.*; public class Main { long INF = Long.MAX_VALUE; public static void main(String[] args) { new Main().solve(); } void solve() { Scanner sc = new Scanner(System.in); String S=sc.next(); if(S.length()==2){ System.out.print(S); }else{ ...
Main.java:19: error: illegal start of expression for(int i=2;i=>0;i--){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568545273|p03227|0
u568545273|p03227|0
codenet
Compile Error
462
v2_s798951132
s798951132
s798951132
p03227
p03227
u568545273
u568545273
1,540,698,261
2018-10-28T03:44:21
Main.java
import java.util.*; public class Main { long INF = Long.MAX_VALUE; public static void main(String[] args) { new Main().solve(); } void solve() { Scanner sc = new Scanner(System.in); String S=sc.next(); if(S.length()==2){ System.out.println(S); return; ...
Main.java:20: error: illegal start of expression for(int i=2;i=>0;i--){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568545273|p03227|0
u568545273|p03227|0
codenet
Compile Error
480
v2_s375834796
s375834796
s375834796
p03227
p03227
u573545768
u573545768
1,540,688,492
2018-10-28T01:01:32
Main.java
import java.util.*; import java.math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 String str = sc.next(); if(str.length()==2){ System.out.println(str); }else{ System.out.println(str.reverse()); } } }
Main.java:15: error: cannot find symbol System.out.println(str.reverse()); ^ symbol: method reverse() location: variable str of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u573545768|p03227|0
u573545768|p03227|0
codenet
Compile Error
304
v2_s809883251
s809883251
s809883251
p03227
p03227
u579361901
u579361901
1,540,688,726
2018-10-28T01:05:26
Main.java
import java.util.*; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(); String S = sc.next(); sc.close(); int length = S.length(); if(length == 2) { char [] array = S.toCharArray(); for (int i = 3; i >=0; i --) { ...
Main.java:12: error: ';' expected System.out.print(array[i]) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579361901|p03227|0
u579361901|p03227|0
codenet
Compile Error
451
v2_s894145921
s894145921
s894145921
p03227
p03227
u579361901
u579361901
1,540,689,141
2018-10-28T01:12:21
Main.java
import java.util.*; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(); String S = sc.next(); sc.close(); int length = S.length(); if(length == 2) { char [] array = S.toCharArray(); for (int i = 3; i >=0; i --) { ...
Main.java:5: error: no suitable constructor found for Scanner(no arguments) Scanner sc = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not applicable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579361901|p03227|0
u579361901|p03227|0
codenet
Compile Error
452
v2_s303654415
s303654415
s303654415
p03227
p03227
u726439578
u726439578
1,540,688,617
2018-10-28T01:03:37
Main.java
import java.util.Scanner; public Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String N = in.next(); if(N.length()==2) { System.out.println(N); }else { for(int i=0;i<3;i++) { System.out.print(N.charAt(2-i)); } } } }
Main.java:3: error: class, interface, enum, or record expected public Main { ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:16: error: class, interface...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u726439578|p03227|0
u726439578|p03227|0
codenet
Compile Error
282
v2_s060062995
s060062995
s060062995
p03228
p03228
u029115008
u029115008
1,540,692,605
2018-10-28T02:10:05
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 N = sc.nextInt(); int count = 0; while(count < N){ if(count %2 == 0){ if(A %2 != 0){ A = A - 1; } ...
Main.java:2: error: '{' expected public class Main ^ 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) Main.java:30: error: class, interface, enum, or reco...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u029115008|p03228|0
u029115008|p03228|0
codenet
Compile Error
611
v2_s649890578
s649890578
s649890578
p03228
p03228
u123334961
u123334961
1,540,694,289
2018-10-28T02:38:09
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ int A; int B; int K; int i; Scanner sc = new Scanner(System.in); System.err.print("A = "); A = sc.nextInt(); System.err.print("B = "); B = sc.nextInt(); System.err.print("K ="); K = sc.nextInt(); while(i = 0 && ...
Main.java:22: error: ')' expected while(i = 0 && i <= K; ) { ^ Main.java:22: error: illegal start of expression while(i = 0 && i <= K; ) { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u123334961|p03228|0
u123334961|p03228|0
codenet
Compile Error
759
v2_s719127992
s719127992
s719127992
p03228
p03228
u207183737
u207183737
1,540,692,187
2018-10-28T02:03:07
Main.java
import java.util.Scanner; import javafx.collections.SetChangeListener.Change; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int k = sc.nextInt(); for(int i = 0; i < k; i++){ ...
Main.java:3: error: package javafx.collections.SetChangeListener does not exist import javafx.collections.SetChangeListener.Change; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207183737|p03228|0
u207183737|p03228|0
codenet
Compile Error
1,489
v2_s311594703
s311594703
s311594703
p03228
p03228
u295470523
u295470523
1,540,689,665
2018-10-28T01:21:05
Main.java
import java.util.*; public class Test { public static void main(String[] args) { Scanner sc=new Scanner(System.in); long A=sc.nextInt(); long B=sc.nextInt(); int K=sc.nextInt(); for(int i=0;i<K;i++){ if(i%2==0){ B=B+(A-(A%2))/2; A=(A-(A%2))/2; } if(i%2==1){ A=A+(B-(B%2))/2;...
Main.java:21: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:41: error: reached end of file while parsing Submission ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u295470523|p03228|0
u295470523|p03228|0
codenet
Compile Error
808
v2_s492219963
s492219963
s492219963
p03228
p03228
u295470523
u295470523
1,540,689,695
2018-10-28T01:21:35
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); long A=sc.nextInt(); long B=sc.nextInt(); int K=sc.nextInt(); for(int i=0;i<K;i++){ if(i%2==0){ B=B+(A-(A%2))/2; A=(A-(A%2))/2; } if(i%2==1){ A=A+(B-(B%2))/2; ...
Main.java:21: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:41: error: reached end of file while parsing Submission ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u295470523|p03228|0
u295470523|p03228|0
codenet
Compile Error
807
v2_s604154511
s604154511
s604154511
p03228
p03228
u547167033
u547167033
1,570,193,294
2019-10-04T12:48:14
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 k = sc.nextInt(); for(int i = 0;i < k;i+=2){ int b = b+a/2; int a = a+b/2; } if(k%2==1)b=b+a/2; ...
Main.java:9: error: variable b is already defined in method main(String[]) int b = b+a/2; ^ Main.java:10: error: variable a is already defined in method main(String[]) int a = a+b/2; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03228|0
u547167033|p03228|0
codenet
Compile Error
359
v2_s410416317
s410416317
s410416317
p03228
p03228
u579361901
u579361901
1,540,689,089
2018-10-28T01:11:29
Main.java
import java.util.*; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(); int A = sc.nextInt(); int B = sc.nextInt(); int K = sc.nextInt(); sc.close(); for (int i = 0; i < K; i ++) { if(A%2 == 1)A--; if(B%2 ...
Main.java:5: error: no suitable constructor found for Scanner(no arguments) Scanner sc = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not applicable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579361901|p03228|0
u579361901|p03228|0
codenet
Compile Error
475
v2_s853861198
s853861198
s853861198
p03228
p03228
u659156129
u659156129
1,596,115,955
2020-07-30T13:32:35
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int a = scn.nextInt(); int b = scn.nextInt(); int k = scn.nextInt(); if(k%2==1){ for(int i=1; i<=(k-1)/2; ++i){ if(a%2==1){ a =...
Main.java:41: error: ')' or ',' expected System.out.print(a b); ^ Main.java:41: error: not a statement System.out.print(a b); ^ Main.java:41: error: ';' expected System.out.print(a b); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03228|0
u659156129|p03228|0
codenet
Compile Error
930
v2_s827316135
s827316135
s827316135
p03228
p03228
u803314854
u803314854
1,540,688,974
2018-10-28T01:09:34
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // 自分の得意な言語で // Let's チャレンジ!! Scanner sc = new Scanner(System.in); int []n=new int[2]; int n[0] = sc.nextLine(); int n[1] = sc.nextLine(); int k = sc.nextLine(); for(int i=0;i<k;i++){ n[k%2]=n[k%2]/2;...
Main.java:11: error: ']' expected int n[0] = sc.nextLine(); ^ Main.java:12: error: ']' expected int n[1] = sc.nextLine(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03228|0
u803314854|p03228|0
codenet
Compile Error
417
v2_s961413156
s961413156
s961413156
p03228
p03228
u803314854
u803314854
1,540,689,017
2018-10-28T01:10:17
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // 自分の得意な言語で // Let's チャレンジ!! Scanner sc = new Scanner(System.in); int []n=new int[2]; n[0] = sc.nextLine(); n[1] = sc.nextLine(); int k = sc.nextLine(); for(int i=0;i<k;i++){ n[k%2]=n[k%2]/2; n[(k+1)...
Main.java:11: error: incompatible types: String cannot be converted to int n[0] = sc.nextLine(); ^ Main.java:12: error: incompatible types: String cannot be converted to int n[1] = sc.nextLine(); ^ Main.java:13: error: incompatible types: String cannot be converted to...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03228|0
u803314854|p03228|0
codenet
Compile Error
409
v2_s015848759
s015848759
s015848759
p03228
p03228
u820278079
u820278079
1,555,744,073
2019-04-20T07:07:53
Main.java
public class Main { private class ValueManager { private long a; private long b; private int k; private long[] aSum; private long[] bSum; private int idx = 0; public ValueManager(long a, long b, int k) { super(); this.a = a; this.b = b; this.k = k; thi...
Main.java:61: error: cannot find symbol try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) { ^ symbol: class BufferedReader location: class Main Main.java:61: error: cannot find symbol try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u820278079|p03228|0
u820278079|p03228|0
codenet
Compile Error
1,903
v2_s187653899
s187653899
s187653899
p03228
p03228
u929987892
u929987892
1,540,690,904
2018-10-28T01:41:44
Main.java
public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); int k = sc.nextInt(); while(k>0){ if(a%2==0){ a = a/2; b += a; } else{ a--; a = a/2; b += a; ...
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
u929987892|p03228|0
u929987892|p03228|0
codenet
Compile Error
465
v2_s625256832
s625256832
s625256832
p03228
p03228
u977554186
u977554186
1,541,881,893
2018-11-10T20:31:33
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 K=sc.nextInt(); for(int i=1;i<=K/2;i++){ A=A/2; B=(A+B)/2; A=(3A+B)/2; }if(K%2==1) A=A/2;...
Main.java:4: error: ')' or ',' expected Scanner sc=new Scanner(System in); ^ Main.java:4: error: not a statement Scanner sc=new Scanner(System in); ^ Main.java:4: error: ';' expected Scanner sc=new Scanner(System in); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u977554186|p03228|0
u977554186|p03228|0
codenet
Compile Error
377
v2_s367774326
s367774326
s367774326
p03229
p03229
u080142373
u080142373
1,543,177,294
2018-11-25T20:21:34
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // write your code here c(); } private static void c() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long[] as = new long[n]; for (int i = 0; i < n; i++) { ...
Main.java:17: error: cannot find symbol Arrays.sort(as); ^ symbol: variable Arrays location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u080142373|p03229|0
u080142373|p03229|0
codenet
Compile Error
1,530
v2_s342997917
s342997917
s342997917
p03229
p03229
u207391881
u207391881
1,540,690,535
2018-10-28T01:35:35
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; for(int i=0; i<n; i++){ a[i] = sc.nextInt(); } int max=0; for(i=0; i<n-1; i++){ ...
Main.java:12: error: cannot find symbol for(i=0; i<n-1; i++){ ^ symbol: variable i location: class Main Main.java:12: error: cannot find symbol for(i=0; i<n-1; i++){ ^ symbol: variable i location: class Main Main.java:12: error: cannot find symbol for(i=0...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03229|0
u207391881|p03229|0
codenet
Compile Error
571
v2_s461601761
s461601761
s461601761
p03229
p03229
u327244943
u327244943
1,540,691,327
2018-10-28T01:48:47
Main.java
import java.util.Arrays; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); long N = Integer.parseInt(scanner.nextLine()); long[] A = new long[N]; for (long i = 0; i < N; i++) { A[i] = Long.parseLong(...
Main.java:8: error: incompatible types: possible lossy conversion from long to int long[] A = new long[N]; ^ Main.java:10: error: incompatible types: possible lossy conversion from long to int A[i] = Long.parseLong(scanner.nextLine()); ^ Main.java:31: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u327244943|p03229|0
u327244943|p03229|0
codenet
Compile Error
3,525
v2_s222507270
s222507270
s222507270
p03229
p03229
u387806792
u387806792
1,540,694,360
2018-10-28T02:39:20
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 = new int[n]; int[] b =new int[n]; for (int i = 0; i < n; i++) { a[i] = sc.nextInt(); } Arrays.so...
Main.java:35: error: ';' expected b[0] = b[1] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u387806792|p03229|0
u387806792|p03229|0
codenet
Compile Error
1,094
v2_s038526683
s038526683
s038526683
p03229
p03229
u653981267
u653981267
1,571,627,857
2019-10-21T03:17:37
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[] a = new long[n]; for(int i = 0; i < n; i++) { a[i] = sc.nextLong(); } Arrays.sort(a); long ans = 0; if(n % 2 == 0) { for(int i...
Main.java:58: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03229|0
u653981267|p03229|0
codenet
Compile Error
1,382
v2_s534752092
s534752092
s534752092
p03229
p03229
u861095163
u861095163
1,573,435,765
2019-11-11T01:29:25
Main.java
java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Deque; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.NoSuchElementExcept...
Main.java:1: error: class, interface, enum, or record expected java.io.IOException; ^ Main.java:2: error: class, interface, enum, or record expected import java.io.InputStream; ^ Main.java:3: error: class, interface, enum, or record expected import java.io.PrintWriter; ^ Main.java:4: error: class, interface, enum, or r...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u861095163|p03229|0
u861095163|p03229|0
codenet
Compile Error
14,895
v2_s622316548
s622316548
s622316548
p03229
p03229
u941274418
u941274418
1,586,572,885
2020-04-11T02:41:25
Main.java
import java.util.*; public class Main { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long[] arr = new long[n]; for(int i = 0; i < n; i++) arr[i] = sc.nextLong(); Arrays.sort(arr); long ...
Main.java:38: error: ';' expected head = arr[0], tail = head; ^ Main.java:39: error: ';' expected left = 1, right = n - 1; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941274418|p03229|1
u941274418|p03229|1
codenet
Compile Error
2,003
v2_s640021088
s640021088
s640021088
p03230
p03230
u082512804
u082512804
1,599,578,776
2020-09-08T15:26:16
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
u082512804|p03230|1
u082512804|p03230|1
codenet
Compile Error
3
v2_s525331172
s525331172
s525331172
p03230
p03230
u207391881
u207391881
1,540,692,242
2018-10-28T02:04:02
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean x = false; for(int i=1; (i-1)*(i-1)<2n; i++){ if(i(i-1) == 2n){ x = true; } } if(x){ ...
Main.java:8: error: ';' expected for(int i=1; (i-1)*(i-1)<2n; i++){ ^ Main.java:8: error: ')' expected for(int i=1; (i-1)*(i-1)<2n; i++){ ^ Main.java:8: error: ';' expected for(int i=1; (i-1)*(i-1)<2n; i++){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03230|0
u207391881|p03230|0
codenet
Compile Error
423
v2_s322399146
s322399146
s322399146
p03230
p03230
u207391881
u207391881
1,540,692,442
2018-10-28T02:07:22
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean x = false; for(int i=1; (i-1)*(i-1)<2n; i++){ if(i*(i-1) == 2n){ x = true; } } if(x){ ...
Main.java:8: error: ';' expected for(int i=1; (i-1)*(i-1)<2n; i++){ ^ Main.java:8: error: ')' expected for(int i=1; (i-1)*(i-1)<2n; i++){ ^ Main.java:8: error: ';' expected for(int i=1; (i-1)*(i-1)<2n; i++){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03230|0
u207391881|p03230|0
codenet
Compile Error
429
v2_s966098448
s966098448
s966098448
p03230
p03230
u207391881
u207391881
1,540,692,561
2018-10-28T02:09:21
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean x = false; for(int i=1; i<n; i++){ if(i * (i-1) == 2n){ x = true; } } if(x){ ...
Main.java:9: error: ')' expected if(i * (i-1) == 2n){ ^ Main.java:9: error: ';' expected if(i * (i-1) == 2n){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03230|0
u207391881|p03230|0
codenet
Compile Error
420
v2_s860910417
s860910417
s860910417
p03230
p03230
u207391881
u207391881
1,540,692,605
2018-10-28T02:10:05
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean x = false; for(int i=1; i<n; i++){ int j = i-1; if(i * j== 2n){ x = true; } } ...
Main.java:10: error: ')' expected if(i * j== 2n){ ^ Main.java:10: error: ';' expected if(i * j== 2n){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03230|0
u207391881|p03230|0
codenet
Compile Error
440
v2_s246939387
s246939387
s246939387
p03230
p03230
u207391881
u207391881
1,540,692,653
2018-10-28T02:10:53
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean x = false; for(int i=1; i<n; i++){ int j = (i-1)*i; if(j == 2n){ x = true; } } ...
Main.java:10: error: ')' expected if(j == 2n){ ^ Main.java:10: error: ';' expected if(j == 2n){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03230|0
u207391881|p03230|0
codenet
Compile Error
441
v2_s575839701
s575839701
s575839701
p03230
p03230
u207391881
u207391881
1,540,692,749
2018-10-28T02:12:29
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean x = false; for(int i=1; i<n; i++){ int j = (i-1)*i; if(j == 2n) x = true; } if(x){ ...
Main.java:10: error: ')' expected if(j == 2n) ^ Main.java:10: error: ';' expected if(j == 2n) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207391881|p03230|0
u207391881|p03230|0
codenet
Compile Error
422
v2_s337940006
s337940006
s337940006
p03230
p03230
u253726906
u253726906
1,541,040,351
2018-11-01T02:45:51
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args)throws Exception { Scanner stdIn=new Scanner(System.in); int N=stdIn.nextInt(); int a[][]=new int[200][200]; int z=1,y=0,x=1; int key=0; while(true) { if(z*(z+1)/2==N) { key=z; break; } if(z*(z+1)>N) b...
Main.java:43: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u253726906|p03230|0
u253726906|p03230|0
codenet
Compile Error
744
v2_s388011626
s388011626
s388011626
p03230
p03230
u981808900
u981808900
1,568,924,557
2019-09-19T20:22:37
Main.java
import java.util.*; public class Main { static Sanner scanner = new Scanner(System.in); public static void main(String[] args) { int n = scanner.nextInt(); if (n == 3) { System.out.println("Yes"); System.out.println("3"); System.out.println("2 1 2"); ...
Main.java:13: error: ';' expected System.out.println("2 2 3") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p03230|0
u981808900|p03230|0
codenet
Compile Error
466
v2_s850975488
s850975488
s850975488
p03230
p03230
u981808900
u981808900
1,568,924,576
2019-09-19T20:22:56
Main.java
import java.util.*; public class Main { static Sanner scanner = new Scanner(System.in); public static void main(String[] args) { int n = scanner.nextInt(); if (n == 3) { System.out.println("Yes"); System.out.println("3"); System.out.println("2 1 2"); ...
Main.java:4: error: cannot find symbol static Sanner scanner = new Scanner(System.in); ^ symbol: class Sanner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981808900|p03230|0
u981808900|p03230|0
codenet
Compile Error
467
v2_s118621815
s118621815
s118621815
p03231
p03231
u143383345
u143383345
1,539,483,781
2018-10-14T02:23:01
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int m = in.nextInt(); String s = in.next(); String t = in.next(); int l = max(n, m); while(true) { if(l % n != 0 ...
Main.java:11: error: cannot find symbol int l = max(n, m); ^ symbol: method max(int,int) location: class Main Main.java:25: error: unexpected type for(int i=0; i<l; i++) x.charAt(i) = ' '; ^ required: variable found: value Main.java:29:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u143383345|p03231|0
u143383345|p03231|0
codenet
Compile Error
1,126
v2_s259374191
s259374191
s259374191
p03231
p03231
u143383345
u143383345
1,539,484,629
2018-10-14T02:37:09
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int m = in.nextInt(); String s = in.next(); String t = in.next(); int l = Math.max(n, m); while(true) { if(l % n != 0 || l & m != 0) { l++; } ...
Main.java:13: error: bad operand types for binary operator '&' if(l % n != 0 || l & m != 0) { ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u143383345|p03231|0
u143383345|p03231|0
codenet
Compile Error
479
v2_s893334258
s893334258
s893334258
p03231
p03231
u536564370
u536564370
1,539,481,291
2018-10-14T01:41:31
Main.java
if (N == M){ System.out.println(N); } if (N%M == 0){ System.out.println(-1); } else if(M%N == 0){ System.out.println(-1); } else if (N > M){ int t; while ((N%M) != 0) do{ t = N%M; N = M; M = t; ...
Main.java:1: error: class, interface, enum, or record expected if (N == M){ ^ Main.java:3: error: class, interface, enum, or record expected } ^ Main.java:6: error: class, interface, enum, or record expected } ^ Main.java:9: error: class, interface, enum, or record expected } ^ Main.java:12: error: class,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p03231|0
u536564370|p03231|0
codenet
Compile Error
616
v2_s258840058
s258840058
s258840058
p03231
p03231
u536564370
u536564370
1,539,481,437
2018-10-14T01:43:57
Main.java
class Main.java{ public static void main(String[] args){ if (N == M){ System.out.println(N); } if (N%M == 0){ System.out.println(-1); } else if(M%N == 0){ System.out.println(-1); } else if (N > M){ int t; while ((N%M) != 0) do{ t = N%M; ...
Main.java:1: error: '{' expected class Main.java{ ^ Main.java:19: error: while expected } ^ Main.java:20: error: ')' expected System.out.println(N*M/t); ^ Main.java:22: error: not a statement else (N < M){ ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p03231|0
u536564370|p03231|0
codenet
Compile Error
681
v2_s523660818
s523660818
s523660818
p03231
p03231
u536564370
u536564370
1,539,481,474
2018-10-14T01:44:34
Main.java
class Main{ public static void main(String[] args){ if (N == M){ System.out.println(N); } if (N%M == 0){ System.out.println(-1); } else if(M%N == 0){ System.out.println(-1); } else if (N > M){ int t; while ((N%M) != 0) do{ t = N%M; ...
Main.java:19: error: while expected } ^ Main.java:20: error: ')' expected System.out.println(N*M/t); ^ Main.java:22: error: not a statement else (N < M){ ^ Main.java:22: error: ';' expected else (N < M){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p03231|0
u536564370|p03231|0
codenet
Compile Error
676
v2_s143398568
s143398568
s143398568
p03231
p03231
u536564370
u536564370
1,539,481,546
2018-10-14T01:45:46
Main.java
class Main{ public static void main(String[] args){ if (N == M){ System.out.println(N); } if (N%M == 0){ System.out.println(-1); } else if(M%N == 0){ System.out.println(-1); } else if (N > M){ int t; while ((N%M) != 0) { t = N%M; ...
Main.java:22: error: not a statement else (N < M){ ^ Main.java:22: error: ';' expected else (N < M){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p03231|0
u536564370|p03231|0
codenet
Compile Error
672
v2_s726523837
s726523837
s726523837
p03231
p03231
u536564370
u536564370
1,539,481,606
2018-10-14T01:46:46
Main.java
class Main{ public static void main(String[] args){ if (N == M){ System.out.println(N); } if (N%M == 0){ System.out.println(-1); } else if(M%N == 0){ System.out.println(-1); } else if(N > M){ int t; while ((N%M) != 0) { t = N%M; ...
Main.java:22: error: not a statement else (N < M){ ^ Main.java:22: error: ';' expected else (N < M){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p03231|0
u536564370|p03231|0
codenet
Compile Error
671
v2_s640505834
s640505834
s640505834
p03231
p03231
u536564370
u536564370
1,539,481,652
2018-10-14T01:47:32
Main.java
class Main{ public static void main(String[] args){ if (N == M){ System.out.println(N); } if (N%M == 0){ System.out.println(-1); } else if(M%N == 0){ System.out.println(-1); } else if (N > M){ int t; while ((N%M) != 0) { t = N%M; ...
Main.java:3: error: cannot find symbol if (N == M){ ^ symbol: variable N location: class Main Main.java:3: error: cannot find symbol if (N == M){ ^ symbol: variable M location: class Main Main.java:4: error: cannot find symbol System.out.println(N); ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p03231|0
u536564370|p03231|0
codenet
Compile Error
665
v2_s044393086
s044393086
s044393086
p03231
p03231
u536564370
u536564370
1,539,481,745
2018-10-14T01:49:05
Main.java
class Main{ public static void main(String[] args){ int N; int M; if (N == M){ System.out.println(N); } if (N%M == 0){ System.out.println(-1); } else if(M%N == 0){ System.out.println(-1); } else if (N > M){ int t; while ((N%M) != 0) { ...
Main.java:27: error: cannot find symbol t = M%N; ^ symbol: variable t location: class Main Main.java:29: error: cannot find symbol N = t; ^ symbol: variable t location: class Main Main.java:31: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p03231|0
u536564370|p03231|0
codenet
Compile Error
691
v2_s492316947
s492316947
s492316947
p03231
p03231
u536564370
u536564370
1,539,481,831
2018-10-14T01:50:31
Main.java
class Main{ public static void main(String[] args){ int N; int M; int t; if (N == M){ System.out.println(N); } if (N%M == 0){ System.out.println(-1); } else if(M%N == 0){ System.out.println(-1); } else if (N > M){ // int t; while ((N%M) != 0) ...
Main.java:6: error: variable N might not have been initialized if (N == M){ ^ Main.java:6: error: variable M might not have been initialized if (N == M){ ^ Main.java:23: error: variable t might not have been initialized System.out.println(N*M/t); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p03231|0
u536564370|p03231|0
codenet
Compile Error
706
v2_s830817462
s830817462
s830817462
p03231
p03231
u536564370
u536564370
1,539,481,874
2018-10-14T01:51:14
Main.java
class Main{ public static void main(String[] args){ int N; int M; int t = 0; if (N == M){ System.out.println(N); } if (N%M == 0){ System.out.println(-1); } else if(M%N == 0){ System.out.println(-1); } else if (N > M){ // int t; while ((N%M) != 0) ...
Main.java:6: error: variable N might not have been initialized if (N == M){ ^ Main.java:6: error: variable M might not have been initialized if (N == M){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u536564370|p03231|0
u536564370|p03231|0
codenet
Compile Error
710
v2_s724056662
s724056662
s724056662
p03231
p03231
u598826970
u598826970
1,539,479,924
2018-10-14T01:18:44
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); final int n = sc.nextInt(); final int m = sc.nextInt(); sc.nextLine(); String first = sc.nextLine(); String second = sc.nextLine(); if (first.charAt(0) != seco...
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
u598826970|p03231|0
u598826970|p03231|0
codenet
Compile Error
1,236
v2_s566159403
s566159403
s566159403
p03231
p03231
u601812291
u601812291
1,546,120,899
2018-12-29T22:01:39
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrlongWriter; import java.util.InputMismatchException; import java.util.Scanner; import java.util.StringTokenizer; import java.util.ArrayList; public cla...
Main.java:6: error: cannot find symbol import java.io.PrlongWriter; ^ symbol: class PrlongWriter location: package java.io Main.java:19: error: cannot find symbol PrlongWriter out = new PrlongWriter(outputStream); ^ symbol: class PrlongWriter location: class Main Main.java:19: error: canno...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u601812291|p03231|0
u601812291|p03231|0
codenet
Compile Error
3,170
v2_s413282739
s413282739
s413282739
p03231
p03231
u616201501
u616201501
1,539,486,801
2018-10-14T03:13:21
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(); scanner.nextLine(); String S = scanner.nextLine(); String T = scanner.nextLine(); long lcm = lcm(N,...
Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616201501|p03231|0
u616201501|p03231|0
codenet
Compile Error
1,125
v2_s057863271
s057863271
s057863271
p03231
p03231
u616201501
u616201501
1,539,487,418
2018-10-14T03:23:38
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int M = scanner.nextInt(); scanner.nextLine(); String S = scanner.nextLine(); String T = scanner.nextLine(); ...
Main.java:21: error: incompatible types: possible lossy conversion from long to int if (sArray[i/n] != tArray[i/m]) { ^ Main.java:21: error: incompatible types: possible lossy conversion from long to int if (sArray[i/n] != tArray[i/m]) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616201501|p03231|0
u616201501|p03231|0
codenet
Compile Error
944
v2_s748207675
s748207675
s748207675
p03231
p03231
u653981267
u653981267
1,588,441,358
2020-05-02T17:42:38
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long m = sc.nextLong(); String s = sc.next(); String t = sc.next(); long L = (n * m) / gcd(n, m); long nn = L / n; long mm = L / m; int p =...
Main.java:19: error: incompatible types: possible lossy conversion from long to int if(s.charAt(i) != t.charAt(j)) { ^ Main.java:19: error: incompatible types: possible lossy conversion from long to int if(s.charAt(i) != t.charAt(j)) { ^ Note: Some ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03231|0
u653981267|p03231|0
codenet
Compile Error
708
v2_s651851471
s651851471
s651851471
p03231
p03231
u791593901
u791593901
1,544,920,963
2018-12-16T00:42:43
MAIN.java
public class MAIN { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N = sc.nextInt(); long M = sc.nextInt(); char[] S = sc.next().toCharArray(); char[] T = sc.next().toCharArray(); long g = gcd(N,M); long L = (N * M) / g; boolean flag = true; fo...
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
u791593901|p03231|0
u791593901|p03231|0
codenet
Compile Error
693
v2_s733679086
s733679086
s733679086
p03231
p03231
u881037761
u881037761
1,539,490,072
2018-10-14T04:07:52
Main.java
import java.util.*; import java.awt.*; import static java.lang.System.*; import static java.lang.Math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(in); long n=sc.nextLong(); long m=sc.nextLong(); String s=sc.next(); String t=sc.next(...
Main.java:15: error: incompatible types: possible lossy conversion from long to int if(s.charAt(i*n/g)!=t.charAt(i*m/g)){ ^ Main.java:15: error: incompatible types: possible lossy conversion from long to int if(s.charAt(i*n/g)!=t.charAt(i*m/g)){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u881037761|p03231|1
u881037761|p03231|0
codenet
Compile Error
733
v2_s809994866
s809994866
s809994866
p03231
p03231
u881037761
u881037761
1,539,490,451
2018-10-14T04:14:11
Main.java
import java.util.*; import java.awt.*; import static java.lang.System.*; import static java.lang.Math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(in); long n=sc.nextLong(); long m=sc.nextLong(); String s=sc.next(); String t=sc.next(...
Main.java:36: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u881037761|p03231|1
u881037761|p03231|0
codenet
Compile Error
1,102
v2_s182429839
s182429839
s182429839
p03231
p03231
u899929023
u899929023
1,539,492,893
2018-10-14T04:54: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 M = sc.nextLong(); String S = sc.next(); String T = sc.next(); long g = gcd(N,M); boolean is_ok = true; long n = N/g; long m = M/g...
Main.java:16: error: incompatible types: possible lossy conversion from long to int if(S.charAt((int)l*n)!=T.charAt((int)l*m)){ ^ Main.java:16: error: incompatible types: possible lossy conversion from long to int if(S.charAt((int)l*n)!=T.charAt((int)l*m)){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u899929023|p03231|0
u899929023|p03231|0
codenet
Compile Error
700
v2_s239626371
s239626371
s239626371
p03231
p03231
u968365254
u968365254
1,539,481,246
2018-10-14T01:40:46
Main.java
15 9 dnsusrayukuaiia dujrunuma
Main.java:1: error: class, interface, enum, or record expected 15 9 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u968365254|p03231|0
u968365254|p03231|0
codenet
Compile Error
30
v2_s751938190
s751938190
s751938190
p03232
p03232
u059234158
u059234158
1,539,482,321
2018-10-14T01:58:41
Main.java
import java.util.Scanner; import java.util.stream.IntStream; public class Main{ static Scanner s=new Scanner(System.in); static int mod=1000000007; static long nCr(int n,int r) { long res=1; for(int i=1;i<=r;++i) { res*=n-r+i; res/=i; res%=mod; } return res; } void solve(){ int n=gInt(); ...
Main.java:56: error: reached end of file while parsing aaa ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059234158|p03232|0
u059234158|p03232|0
codenet
Compile Error
913
v2_s578394296
s578394296
s578394296
p03234
p03234
u446135838
u446135838
1,540,283,733
2018-10-23T08:35:33
Main.java
//package atcoder028D; import java.util.stream.*; import java.util.function.Supplier; import java.util.function.BiFunction; import java.util.*; interface Computations{ final int MOD = 1000000007; final BiFunction <Integer, Integer, Integer> Add = (x, y) -> (x + y) >= MOD ? (x + y - MOD) : (x + y); final BiFunction ...
Main.java:51: error: invalid method declaration; return type required Chords() { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u446135838|p03234|2
u446135838|p03234|1
codenet
Compile Error
3,686
v2_s144016521
s144016521
s144016521
p03234
p03234
u446135838
u446135838
1,540,283,800
2018-10-23T08:36:40
Main.java
//package atcoder028D; import java.util.stream.*; import java.util.function.Supplier; import java.util.function.BiFunction; import java.util.*; interface Computations{ final int MOD = 1000000007; final BiFunction <Integer, Integer, Integer> Add = (x, y) -> (x + y) >= MOD ? (x + y - MOD) : (x + y); final BiFunction ...
Main.java:51: error: invalid method declaration; return type required Chords() { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u446135838|p03234|2
u446135838|p03234|1
codenet
Compile Error
3,682
v2_s888090364
s888090364
s888090364
p03238
p03238
u048004795
u048004795
1,539,471,964
2018-10-13T23:06:04
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int firstnumber = sc.nextInt(); // スペース区切りの整数の入力 if(firstnumber == 1){ System.out.println("Hello World") } else { int a = sc.nextInt(); int b = sc.nextInt();...
Main.java:9: error: ';' expected System.out.println("Hello World") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u048004795|p03238|0
u048004795|p03238|0
codenet
Compile Error
413
v2_s706959802
s706959802
s706959802
p03238
p03238
u272711014
u272711014
1,543,906,588
2018-12-04T06:56:28
ProgrammingEducation.java
public class ProgrammingEducation { public static void main(String[] args) { Scanner Cf=new Scanner(System.in); int FirstInput=Cf.nextInt(); if(FirstInput==1) { System.out.println("Hello World"); } else { int A=Cf.nextInt(); int B=Cf.nextInt(); System.out.println(A+B); } } }
ProgrammingEducation.java:3: error: cannot find symbol Scanner Cf=new Scanner(System.in); ^ symbol: class Scanner location: class ProgrammingEducation ProgrammingEducation.java:3: error: cannot find symbol Scanner Cf=new Scanner(System.in); ^ symbol: class Scanner location: class Prog...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u272711014|p03238|0
u272711014|p03238|0
codenet
Compile Error
302
v2_s769833178
s769833178
s769833178
p03238
p03238
u272711014
u272711014
1,543,906,895
2018-12-04T07:01:35
Main.java
class Main { public static void main(String[] args) { Scanner Cf=new Scanner(System.in); int FirstInput=Cf.nextInt(); if(FirstInput==1) { System.out.println("Hello World"); } else { int A=Cf.nextInt(); int B=Cf.nextInt(); System.out.println(A+B); } } }
Main.java:3: error: cannot find symbol Scanner Cf=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner Cf=new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u272711014|p03238|0
u272711014|p03238|0
codenet
Compile Error
279
v2_s967394970
s967394970
s967394970
p03238
p03238
u276492340
u276492340
1,538,875,130
2018-10-07T01:18:50
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ MyScanner sc = new MyScanner(); int N = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); String ans = "Hello World"; if( N == 1){ System....
Main.java:6: error: cannot find symbol MyScanner sc = new MyScanner(); ^ symbol: class MyScanner location: class Main Main.java:6: error: cannot find symbol MyScanner sc = new MyScanner(); ^ symbol: class MyScanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
432
v2_s900256424
s900256424
s900256424
p03238
p03238
u276492340
u276492340
1,538,876,214
2018-10-07T01:36:54
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(); String ans1 = "Hello World"; int n1 = 1; int n2 = A+B...
Main.java:19: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
474
v2_s077808631
s077808631
s077808631
p03238
p03238
u276492340
u276492340
1,538,876,275
2018-10-07T01:37:55
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(); String ans1 = "Hello World"; int n1 = 1; if( ...
Main.java:17: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
451
v2_s743451067
s743451067
s743451067
p03238
p03238
u276492340
u276492340
1,538,876,592
2018-10-07T01:43:12
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(); String ans1 = "Hello World"; int n1 = 1; if( N == n1){ System.out.print(ans1); break; } ...
Main.java:16: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
423
v2_s239231729
s239231729
s239231729
p03238
p03238
u276492340
u276492340
1,538,876,685
2018-10-07T01:44:45
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(); String ans1 = "Hello World"; int n1 = 1; if( N == n1){ System.out.print(ans1); break; } ...
Main.java:16: error: break outside switch or loop break; ^ Main.java:23: error: break outside switch or loop break; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
499
v2_s660023722
s660023722
s660023722
p03238
p03238
u276492340
u276492340
1,538,876,728
2018-10-07T01:45:28
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(); String ans1 = "Hello World"; int n1 = 1; if( N == n...
Main.java:19: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
440
v2_s145010070
s145010070
s145010070
p03238
p03238
u276492340
u276492340
1,538,876,883
2018-10-07T01:48:03
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(); String ans1 = "Hello World"; int n1 = 1; int n2 = A+B; ...
Main.java:21: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
463
v2_s803088248
s803088248
s803088248
p03238
p03238
u276492340
u276492340
1,538,877,190
2018-10-07T01:53:10
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(); String ans1 = "Hello World"; ...
Main.java:19: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
584
v2_s651773433
s651773433
s651773433
p03238
p03238
u276492340
u276492340
1,538,877,325
2018-10-07T01:55:25
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ MyScanner scanner = new MyScanner(); int N = scanner.nextInt(); int A = scanner.nextInt(); int B = scanner.nextInt(); String ans1 = "Hello World...
Main.java:6: error: cannot find symbol MyScanner scanner = new MyScanner(); ^ symbol: class MyScanner location: class Main Main.java:6: error: cannot find symbol MyScanner scanner = new MyScanner(); ^ symbol: class MyScanner location: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
593
v2_s771599219
s771599219
s771599219
p03238
p03238
u276492340
u276492340
1,538,877,491
2018-10-07T01:58:11
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String N = sc.next(); String A = sc.next(); String B = sc.next(); int nValue = Integer.parseInt(N); ...
Main.java:22: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
731
v2_s370959885
s370959885
s370959885
p03238
p03238
u276492340
u276492340
1,538,877,553
2018-10-07T01:59:13
Main.java
import java.util.Scanner; import java.io.BufferedReader; import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String N = sc.next(); String A = sc.next(); String B = sc.nex...
Main.java:24: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
790
v2_s525508155
s525508155
s525508155
p03238
p03238
u276492340
u276492340
1,538,877,886
2018-10-07T02:04:46
Main.java
import java.util.Scanner; import java.io.BufferedReader; import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String N = sc.next(); String A = sc.next(); String B = sc.nex...
Main.java:26: error: break outside switch or loop break; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
851
v2_s146365060
s146365060
s146365060
p03238
p03238
u276492340
u276492340
1,538,878,258
2018-10-07T02:10:58
Main.java
import java.util.Scanner; import java.io.BufferedReader; import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String N = sc.next(); String A = sc.next(); String B = sc.nex...
Main.java:44: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276492340|p03238|0
u276492340|p03238|0
codenet
Compile Error
1,118