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_s586228677
s586228677
s586228677
p03011
p03011
u539616549
u539616549
1,560,131,363
2019-06-10T01:49:23
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 ab = a+b; int bc = b+c; int ca = c+a; int s = Math.min(ab,bc,ca); System.out.println(s); } }
Main.java:11: error: no suitable method found for min(int,int,int) int s = Math.min(ab,bc,ca); ^ method Math.min(int,int) is not applicable (actual and formal argument lists differ in length) method Math.min(long,long) is not applicable (actual and formal argument lists differ in len...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03011|0
u539616549|p03011|0
codenet
Compile Error
317
v2_s262663417
s262663417
s262663417
p03011
p03011
u539616549
u539616549
1,560,131,453
2019-06-10T01:50: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 ab = a+b; int bc = b+c; int ca = c+a; int s = Math.min(ab,bc); int w = Math.min(bc,ca) Sy...
Main.java:12: error: ';' expected int w = Math.min(bc,ca) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03011|0
u539616549|p03011|0
codenet
Compile Error
345
v2_s743936775
s743936775
s743936775
p03011
p03011
u539616549
u539616549
1,560,131,745
2019-06-10T01:55:45
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 = a if (b=<d){ d = b; } if (c=<d){ d = c; } System.out.println(d); ...
Main.java:8: error: ';' expected int d = a ^ Main.java:9: error: > or ',' expected if (b=<d){ ^ Main.java:12: error: > or ',' expected if (c=<d){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03011|0
u539616549|p03011|0
codenet
Compile Error
323
v2_s524767736
s524767736
s524767736
p03011
p03011
u539616549
u539616549
1,560,131,782
2019-06-10T01:56:22
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 = a if (b<=d){ d = b; } if (c<=d){ d = c; } System.out.println(d); ...
Main.java:8: error: ';' expected int d = a ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03011|0
u539616549|p03011|0
codenet
Compile Error
323
v2_s550560407
s550560407
s550560407
p03011
p03011
u547167033
u547167033
1,561,175,039
2019-06-22T03:43:59
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = Scanner(System.in); int p = sc.nextInt(); int q = sc.nextInt(); int r = sc.nextInt(); int mx = Math.max(p,q,r); System.out.println(p+q+r-mx); sc.close(); } }
Main.java:4: error: cannot find symbol Scanner sc = Scanner(System.in); ^ symbol: method Scanner(InputStream) location: class Main Main.java:8: error: no suitable method found for max(int,int,int) int mx = Math.max(p,q,r); ^ method Math.max(int,int) is not a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03011|0
u547167033|p03011|0
codenet
Compile Error
297
v2_s162794577
s162794577
s162794577
p03011
p03011
u551144476
u551144476
1,572,664,597
2019-11-02T03:16:37
Main.java
import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int p = sc.nextInt(); int q = sc.nextInt(); int r = sc.nextInt(); int ans = Math.min(p + q, q + r); int ans = Math.min(ans, p + r); System.out.println(ans); } }
Main.java:12: error: variable ans is already defined in method main(String[]) int ans = Math.min(ans, p + r); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u551144476|p03011|0
u551144476|p03011|0
codenet
Compile Error
320
v2_s823054776
s823054776
s823054776
p03011
p03011
u626353997
u626353997
1,560,128,595
2019-06-10T01:03:15
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[] t = new int[3]; t[0] = sc.nextInt(); t[1] = sc.nextInt(); t[2] = sc.nextInt(); Arrays.sort(t); Sysetm.out.println(t[0]+t[1]); } }
Main.java:10: error: package Sysetm does not exist Sysetm.out.println(t[0]+t[1]); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u626353997|p03011|0
u626353997|p03011|0
codenet
Compile Error
308
v2_s732845244
s732845244
s732845244
p03011
p03011
u629673381
u629673381
1,560,129,827
2019-06-10T01:23:47
Main.java
import java.util.*; class Main { public static void main(String args[]) { Scanner scanner = new Scanner(System.in); String input = scanner.nextInt(); String input2 = scanner.nextInt(); String input3 = scanner.nextInt(); scanner.close(); int a = input + input2; int b = input2 + input3; ...
Main.java:16: error: ';' expected System.out.println(beta) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u629673381|p03011|0
u629673381|p03011|0
codenet
Compile Error
447
v2_s571860675
s571860675
s571860675
p03011
p03011
u629673381
u629673381
1,560,129,890
2019-06-10T01:24:50
Main.java
import java.util.*; class Main { public static void main(String args[]) { Scanner scanner = new Scanner(System.in); String input = scanner.nextInt(); String input2 = scanner.nextInt(); String input3 = scanner.nextInt(); scanner.close(); int a = input + input2; int b = input2 + input3; ...
Main.java:7: error: incompatible types: int cannot be converted to String String input = scanner.nextInt(); ^ Main.java:8: error: incompatible types: int cannot be converted to String String input2 = scanner.nextInt(); ^ Main.java:9: error: in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u629673381|p03011|0
u629673381|p03011|0
codenet
Compile Error
448
v2_s144507360
s144507360
s144507360
p03011
p03011
u634497115
u634497115
1,560,283,429
2019-06-11T20:03:49
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); List<Integer> list = new ArrayList<>(); list.add(sc.nextInt()); // P list.add(sc.nextInt()); // Q list.add(sc.nextInt()); // R list.sort(Comparator.naturalOrder()); System.out.println(list.get(0...
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 Main.java:7: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u634497115|p03011|0
u634497115|p03011|0
codenet
Compile Error
346
v2_s135201858
s135201858
s135201858
p03011
p03011
u648912196
u648912196
1,560,286,672
2019-06-11T20:57:52
Main.java
fun main(args:Array<String>){ var (p,q,r) = readLine()!!.split(" ").map(String::toInt) var arr:List<Int> = listOf(p,q,r).sorted() println(arr[0]+arr[1]) }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. fun main(args:Array<String>){ ^ (use --enable-preview to enable unnamed classes) Main.java:1: error: <identifier> expected fun main(args:Array<String>){ ^ Main.java:1: error: class, interface, enum, or record expected ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u648912196|p03011|0
u648912196|p03011|0
codenet
Compile Error
160
v2_s391849283
s391849283
s391849283
p03011
p03011
u651361546
u651361546
1,560,131,912
2019-06-10T01:58:32
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int P,Q,R; int max; P = sc.nextInt(); Q = sc.nextInt(); R = sc.nextInt(); if(P >= Q){ if(P >= R){ max = Q + R; }els...
Main.java:24: error: variable max might not have been initialized System.out.println(max); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u651361546|p03011|0
u651361546|p03011|0
codenet
Compile Error
510
v2_s413669546
s413669546
s413669546
p03011
p03011
u651361546
u651361546
1,560,132,026
2019-06-10T02:00:26
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int P,Q,R; int max; P = sc.nextInt(); Q = sc.nextInt(); R = sc.nextInt(); if(P >= Q){ if(P >= R){ max = Q + R; }els...
Main.java:25: error: variable max might not have been initialized System.out.println(max); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u651361546|p03011|0
u651361546|p03011|0
codenet
Compile Error
511
v2_s204383017
s204383017
s204383017
p03011
p03011
u750120744
u750120744
1,560,130,965
2019-06-10T01:42:45
Main.java
import java.util.Scanner; class Main { public static void main(String args) { int saitan; System.out.print("時間Pを入力してください:") Scanner roadp = Scanner.nextInt(); System.out.print("時間Qを入力してください:") Scanner roadq = Scanner.nextInt(); System.out.print("時間Rを入力してください:") Scanner roadr = Scanner.nextInt...
Main.java:6: error: ';' expected System.out.print("??P??????????") ^ Main.java:8: error: ';' expected System.out.print("??Q??????????") ^ Main.java:10: error: ';' expected System.out.print("??R??????????") ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u750120744|p03011|0
u750120744|p03011|0
codenet
Compile Error
857
v2_s710774423
s710774423
s710774423
p03011
p03011
u750120744
u750120744
1,560,131,036
2019-06-10T01:43:56
Main.java
import java.util.Scanner; class Main { public static void main(String args) { int saitan; System.out.print("時間Pを入力してください:"); Scanner roadp = Scanner.nextInt(); System.out.print("時間Qを入力してください:"); Scanner roadq = Scanner.nextInt(); System.out.print("時間Rを入力してください:"); Scanner roadr = Scanner.nex...
Main.java:33: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u750120744|p03011|0
u750120744|p03011|0
codenet
Compile Error
861
v2_s182822356
s182822356
s182822356
p03011
p03011
u750120744
u750120744
1,560,131,077
2019-06-10T01:44:37
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { int saitan; System.out.print("時間Pを入力してください:"); Scanner roadp = Scanner.nextInt(); System.out.print("時間Qを入力してください:"); Scanner roadq = Scanner.nextInt(); System.out.print("時間Rを入力してください:"); Scanner roadr = Scanner.n...
Main.java:33: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u750120744|p03011|0
u750120744|p03011|0
codenet
Compile Error
863
v2_s983651985
s983651985
s983651985
p03011
p03011
u760718569
u760718569
1,573,879,244
2019-11-16T04:40:44
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in): int[] a = new int[3]; int ans = 0; for(int i = 0;i < a.length;i++){ a[i] = sc.nextInt(); } Arrays.sort(a); ans = a[0] + a[1]; System...
Main.java:6: error: ';' expected Scanner sc = new Scanner(System.in): ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u760718569|p03011|0
u760718569|p03011|0
codenet
Compile Error
360
v2_s612425177
s612425177
s612425177
p03011
p03011
u764255388
u764255388
1,560,298,172
2019-06-12T00:09:32
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int p = sc.nextInt(); int q = sc.nextInt(); int r = sc.nextInt(); int time[] = new int[3]; time[0] = p + q; time[1] = r + q; time[2] = p + r; Arrays.sort(time); System.out.print...
Main.java:16: error: cannot find symbol Arrays.sort(time); ^ symbol: variable Arrays location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764255388|p03011|0
u764255388|p03011|0
codenet
Compile Error
338
v2_s928753929
s928753929
s928753929
p03011
p03011
u794927332
u794927332
1,582,252,415
2020-02-21T02:33:35
Main.java
import java.util.*; class Main { // static final long MOD = 1_000_000_007; // 10^9+7 static final int MAX = 2_147_483_646; // intの最大値 static final int INF = 1_000_000_000; // 10^9 public static void main(String args[]) { Scanner sc = new Scanner(System.in); int[] a = new int[3]; ...
Main.java:13: error: ';' expected a[i] = sc.nextInt() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u794927332|p03011|0
u794927332|p03011|0
codenet
Compile Error
497
v2_s432261854
s432261854
s432261854
p03011
p03011
u861453554
u861453554
1,560,381,322
2019-06-12T23:15:22
Airplane.java
public class Airplane { //https://atcoder.jp/contests/abc129/tasks/abc129_a public static void main( String[] args ) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); System.out.println(Math.min...
Airplane.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Airplane Airplane.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u861453554|p03011|0
u861453554|p03011|0
codenet
Compile Error
364
v2_s345872839
s345872839
s345872839
p03011
p03011
u861453554
u861453554
1,560,381,366
2019-06-12T23:16:06
Main.java
class Airplane { //https://atcoder.jp/contests/abc129/tasks/abc129_a public static void main( String[] args ) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); System.out.println(Math.min(a + b,...
Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Airplane Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Air...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u861453554|p03011|0
u861453554|p03011|0
codenet
Compile Error
357
v2_s379389237
s379389237
s379389237
p03011
p03011
u861453554
u861453554
1,560,381,786
2019-06-12T23:23:06
Main.java
class Main { //https://atcoder.jp/contests/abc129/tasks/abc129_a public static void main( String[] args ) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); System.out.println(Math.min(a + b, ...
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
u861453554|p03011|0
u861453554|p03011|0
codenet
Compile Error
353
v2_s325149742
s325149742
s325149742
p03011
p03011
u861453554
u861453554
1,560,381,861
2019-06-12T23:24:21
Main.java
class Main { //https://atcoder.jp/contests/abc129/tasks/abc129_a public static void main( String[] args ) { try{ Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); System.out.println(Math....
Main.java:6: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: 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
u861453554|p03011|0
u861453554|p03011|0
codenet
Compile Error
414
v2_s182882383
s182882383
s182882383
p03011
p03011
u886790806
u886790806
1,564,669,658
2019-08-01T14:27:38
Main.java
import java.util.Arrays; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] time = new time[3]; for(int i = 0;i<3;i++) { time[i] = sc.nextInt(); } Arrays.sort(time); System.out.p...
Main.java:7: error: cannot find symbol int[] time = new time[3]; ^ symbol: class time location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u886790806|p03011|0
u886790806|p03011|0
codenet
Compile Error
352
v2_s711567150
s711567150
s711567150
p03011
p03011
u890539161
u890539161
1,560,129,462
2019-06-10T01:17:42
Main.java
public class Main { static Scanner in = new Scanner(System.in); public static void main(String[] args) throws IOException { int Ph = in.nextInt(); int Qh = in.nextInt(); int Rh = in.nextInt(); if(Ph<Qh && Qh < Rh){ System.out.println(Ph+Qh) } if(Ph<Rh && Rh < Qh){ System.out.p...
Main.java:10: error: ';' expected if(Ph<Qh && Qh < Rh){ System.out.println(Ph+Qh) } ^ Main.java:11: error: ';' expected if(Ph<Rh && Rh < Qh){ System.out.println(Ph+Rh) } ^ Main.java:12: error: ';'...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890539161|p03011|0
u890539161|p03011|0
codenet
Compile Error
579
v2_s935768012
s935768012
s935768012
p03011
p03011
u890539161
u890539161
1,560,129,513
2019-06-10T01:18:33
Main.java
public class Main { static Scanner in = new Scanner(System.in); public static void main(String[] args) throws IOException { int Ph = in.nextInt(); int Qh = in.nextInt(); int Rh = in.nextInt(); if(Ph<Qh && Qh < Rh){ System.out.println(Ph+Qh); } if(Ph<Rh && Rh < Qh){ System.out....
Main.java:3: error: cannot find symbol static Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOExceptio...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890539161|p03011|0
u890539161|p03011|0
codenet
Compile Error
586
v2_s968681953
s968681953
s968681953
p03011
p03011
u890539161
u890539161
1,560,129,642
2019-06-10T01:20:42
Main.java
public class Main { static InputReader in = new InputReader(System.in); public static void main(String[] args){ int Ph = in.nextInt(); int Qh = in.nextInt(); int Rh = in.nextInt(); if(Ph<Qh && Qh < Rh){ System.out.println(Ph+Qh); } if(Ph<Rh && Rh < Qh){ System.out.println(Ph+R...
Main.java:22: error: cannot find symbol private final InputStream stream; ^ symbol: class InputStream location: class InputReader Main.java:26: error: cannot find symbol public InputReader(InputStream st) { ^ symbol: class InputStream location: class InputReader Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890539161|p03011|0
u890539161|p03011|0
codenet
Compile Error
1,048
v2_s222618279
s222618279
s222618279
p03011
p03011
u890539161
u890539161
1,560,129,710
2019-06-10T01:21:50
Main.java
public class Main { static InputReader in = new InputReader(System.in); public static void main(String[] args){ int Ph = in.nextInt(); int Qh = in.nextInt(); int Rh = in.nextInt(); if(Ph<Qh && Qh < Rh){ System.out.println(Ph+Qh); } if(Ph<Rh && Rh < Qh){ System.out.println(Ph+R...
Main.java:22: error: cannot find symbol private final InputStream stream; ^ symbol: class InputStream location: class InputReader Main.java:26: error: cannot find symbol public InputReader(InputStream st) { ^ symbol: class InputStream location: class InputReader Main.jav...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890539161|p03011|0
u890539161|p03011|0
codenet
Compile Error
2,453
v2_s353283264
s353283264
s353283264
p03011
p03011
u890539161
u890539161
1,560,129,795
2019-06-10T01:23:15
Main.java
import java.io.*; import java.util.Scanner; public class Main { static InputReader in = new InputReader(System.in); public static void main(String[] args){ int Ph = in.nextInt(); int Qh = in.nextInt(); int Rh = in.nextInt(); if(Ph<Qh && Qh < Rh){ System.out.println(Ph+Qh); } ...
Main.java:6: error: cannot find symbol static InputReader in = new InputReader(System.in); ^ symbol: class InputReader location: class Main Main.java:6: error: cannot find symbol static InputReader in = new InputReader(System.in); ^ symbol: class InputReader location: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890539161|p03011|0
u890539161|p03011|0
codenet
Compile Error
620
v2_s071737355
s071737355
s071737355
p03011
p03011
u890539161
u890539161
1,560,130,286
2019-06-10T01:31:26
Main.java
import java.io.*; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner in = new Scanner(System.in); int Ph = in.nextInt(); int Qh = in.nextInt(); int Rh = in.nextInt(); System.out.println(minSumBetween(Ph,Qh,Rh)); } public...
Main.java:12: error: non-static method minSumBetween(int,int,int) cannot be referenced from a static context System.out.println(minSumBetween(Ph,Qh,Rh)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890539161|p03011|0
u890539161|p03011|0
codenet
Compile Error
519
v2_s805531919
s805531919
s805531919
p03011
p03011
u890539161
u890539161
1,560,133,893
2019-06-10T02:31:33
Main.java
import java.io.*; import java.util.Scanner; import java.lang.Math; public class Main { public static void main(String[] args){ Scanner in = new Scanner(System.in); int N = in.nextInt(); int M = in.nextInt(); int[] rotos = new int[M]; for(int i=0;i<M;i++){ roto...
Main.java:36: error: missing return statement } ^ Main.java:43: error: missing return statement } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890539161|p03011|0
u890539161|p03011|0
codenet
Compile Error
1,076
v2_s148332980
s148332980
s148332980
p03011
p03011
u890539161
u890539161
1,560,134,274
2019-06-10T02:37:54
Main.java
import java.io.*; import java.util.Scanner; import java.lang.Math; public class Main { public static void main(String[] args){ Scanner in = new Scanner(System.in); int N = in.nextInt(); int M = in.nextInt(); int[] rotos = new int[M]; for(int i=0;i<M;i++){ roto...
Main.java:18: error: incompatible types: int cannot be converted to boolean if(N=0) System.out.println(0); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890539161|p03011|0
u890539161|p03011|0
codenet
Compile Error
1,141
v2_s451320358
s451320358
s451320358
p03011
p03011
u909364920
u909364920
1,560,470,452
2019-06-14T00:00:52
Main.java
public void solve(String[] args) { MyScanner scanner = new MyScanner(); // ビジネスロジックここから int p = scanner.nextInt(); int q = scanner.nextInt(); int r = scanner.nextInt(); int t[] = {p,q,r}; int max = t[0]; int sum = p + q + r; ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public void solve(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:20: error: reached end of file while parsing System.out.println(ans); ^ 2 errors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u909364920|p03011|0
u909364920|p03011|0
codenet
Compile Error
506
v2_s444895272
s444895272
s444895272
p03011
p03011
u909364920
u909364920
1,560,470,618
2019-06-14T00:03:38
Main.java
public class Main { public static void main(String[] args) { Main main = new Main(); main.solve(args); } public void solve(String[] args) { MyScanner scanner = new MyScanner(); // ビジネスロジックここから int p = scanner.nextInt(); int q = scanner.nextInt(); int...
Main.java:36: error: cannot find symbol BufferedReader br; ^ symbol: class BufferedReader location: class Main.MyScanner Main.java:41: error: cannot find symbol br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u909364920|p03011|0
u909364920|p03011|0
codenet
Compile Error
1,841
v2_s210417891
s210417891
s210417891
p03011
p03011
u909364920
u909364920
1,560,470,657
2019-06-14T00:04:17
Main.java
public void solve(String[] args) { MyScanner scanner = new MyScanner(); // ビジネスロジックここから int p = scanner.nextInt(); int q = scanner.nextInt(); int r = scanner.nextInt(); int t[] = {p,q,r}; int max = t[0]; int sum = p + q + r; ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public void solve(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:20: error: reached end of file while parsing System.out.println(ans); ^ 2 errors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u909364920|p03011|0
u909364920|p03011|0
codenet
Compile Error
506
v2_s505184561
s505184561
s505184561
p03011
p03011
u958210291
u958210291
1,560,133,201
2019-06-10T02:20:01
Main.java
import java.util.*; class Main{ public studic main(String[] args){ Scanner sc = new Scanner(System.in); int[] data = new int[3]; data[0] = sc.nextInt(); data[1] = sc.nextInt(); data[2] = sc.nextInt(); for(int i = 0; i < data.length; i++) min = Math.min(min,data[i]); System.out...
Main.java:4: error: cannot find symbol public studic main(String[] args){ ^ symbol: class studic location: class Main Main.java:13: error: cannot find symbol min = Math.min(min,data[i]); ^ symbol: variable min location: class Main Main.java:13: error: cannot find symbol min = Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u958210291|p03011|0
u958210291|p03011|0
codenet
Compile Error
345
v2_s130353361
s130353361
s130353361
p03011
p03011
u958210291
u958210291
1,560,133,231
2019-06-10T02:20:31
Main.java
import java.util.*; import java.lang.Math; class Main{ public studic main(String[] args){ Scanner sc = new Scanner(System.in); int[] data = new int[3]; data[0] = sc.nextInt(); data[1] = sc.nextInt(); data[2] = sc.nextInt(); for(int i = 0; i < data.length; i++) min = Math.min(min,d...
Main.java:5: error: cannot find symbol public studic main(String[] args){ ^ symbol: class studic location: class Main Main.java:14: error: cannot find symbol min = Math.min(min,data[i]); ^ symbol: variable min location: class Main Main.java:14: error: cannot find symbol min = Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u958210291|p03011|0
u958210291|p03011|0
codenet
Compile Error
368
v2_s569745127
s569745127
s569745127
p03011
p03011
u958210291
u958210291
1,560,133,253
2019-06-10T02:20:53
Main.java
import java.util.*; import java.lang.Math; class Main{ public static main(String[] args){ Scanner sc = new Scanner(System.in); int[] data = new int[3]; data[0] = sc.nextInt(); data[1] = sc.nextInt(); data[2] = sc.nextInt(); for(int i = 0; i < data.length; i++) min = Math.min(min,d...
Main.java:5: error: invalid method declaration; return type required public static main(String[] args){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u958210291|p03011|0
u958210291|p03011|0
codenet
Compile Error
368
v2_s179464883
s179464883
s179464883
p03011
p03011
u958210291
u958210291
1,560,133,273
2019-06-10T02:21:13
Main.java
import java.util.*; import java.lang.Math; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[] data = new int[3]; data[0] = sc.nextInt(); data[1] = sc.nextInt(); data[2] = sc.nextInt(); for(int i = 0; i < data.length; i++) min = Math.min(...
Main.java:14: error: cannot find symbol min = Math.min(min,data[i]); ^ symbol: variable min location: class Main Main.java:14: error: cannot find symbol min = Math.min(min,data[i]); ^ symbol: variable min location: class Main Main.java:15: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u958210291|p03011|0
u958210291|p03011|0
codenet
Compile Error
373
v2_s302304494
s302304494
s302304494
p03011
p03011
u958210291
u958210291
1,560,133,438
2019-06-10T02:23:58
Main.java
import java.util.*; class Main{ public studic main(String[] args){ Scanner sc = new Scanner(System.in); int min = 100; int[] data = new int[3]; data[0] = sc.nextInt(); data[1] = sc.nextInt(); data[2] = sc.nextInt(); for(int i = 0; i < data.length; i++) min = Math.min(min,data[i])...
Main.java:4: error: cannot find symbol public studic main(String[] args){ ^ symbol: class studic location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u958210291|p03011|0
u958210291|p03011|0
codenet
Compile Error
356
v2_s419189502
s419189502
s419189502
p03011
p03011
u958210291
u958210291
1,560,133,691
2019-06-10T02:28:11
Main.java
import java.util.*; import java.lang.Math; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int min = 100; int[] data = new int[3]; data[0] = sc.nextInt(); data[1] = sc.nextInt(); data[2] = sc.nextInt(); int[] sumData = new int[3] for(int i = 1...
Main.java:12: error: ';' expected int[] sumData = new int[3] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u958210291|p03011|0
u958210291|p03011|0
codenet
Compile Error
517
v2_s737233501
s737233501
s737233501
p03012
p03012
u011775447
u011775447
1,560,353,971
2019-06-12T15:39:31
main.java
import java.util.*; public class main{ public static void main(String[] args){ Scanner sc =new Scanner(System.in); int n,i,j,t,min,s1,s2; int w[]; n = sc.nextInt(); w = new int w[n]; for(i=0;i<n;i++){ w[i] = sc.nextInt(); } min = 99999; for(t=1;t<n,t++){ s1=0; ...
main.java:12: error: '[' expected w = new int w[n]; ^ main.java:12: error: ']' expected w = new int w[n]; ^ main.java:18: error: ';' expected for(t=1;t<n,t++){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011775447|p03012|0
u011775447|p03012|0
codenet
Compile Error
556
v2_s379529116
s379529116
s379529116
p03012
p03012
u018916376
u018916376
1,562,338,328
2019-07-05T14:52:08
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int num = Integer.parseInt(in.nextLine()); List<Integer> weis = ArrayList<>(); while(in.hasNext()) { weis.add(Integer.parseInt(in.next())); } int a = 0; int b = 0; ...
Main.java:7: error: illegal start of expression List<Integer> weis = ArrayList<>(); ^ Main.java:7: error: -> expected List<Integer> weis = ArrayList<>(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018916376|p03012|0
u018916376|p03012|0
codenet
Compile Error
1,070
v2_s822453783
s822453783
s822453783
p03012
p03012
u018916376
u018916376
1,562,338,427
2019-07-05T14:53:47
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int num = Integer.parseInt(in.nextLine()); List<Integer> weis = new ArrayList<>(); while(in.hasNext()) { weis.add(Integer.parseInt(in.next())); } int a = 0; int b = 0...
Main.java:12: error: bad operand types for binary operator '&' if (num & 1 == 1) { ^ first type: int second type: boolean 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018916376|p03012|0
u018916376|p03012|0
codenet
Compile Error
1,073
v2_s655986336
s655986336
s655986336
p03012
p03012
u047251903
u047251903
1,598,044,564
2020-08-21T21:16:04
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ArrayList<Integer> omori = new ArrayList<Integer>(); int n = sc.nextInt(); for (int i = 0; i <= n - 1; i++) { int a = sc.nextInt(); omori.add(a); } ...
Main.java:28: error: cannot find symbol ans = Math.min(Math.abs(zen2 - kou2), Math.abs(zen - kou)); ^ symbol: variable ans location: class Main Main.java:31: error: cannot find symbol System.out.println(ans); ^ symbol: variable ans location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u047251903|p03012|0
u047251903|p03012|0
codenet
Compile Error
718
v2_s468846407
s468846407
s468846407
p03012
p03012
u058729328
u058729328
1,560,229,603
2019-06-11T05:06:43
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int count_list [] = new int [n]; int ans = 999999; for(int i = 0; i < n ; i++) { count_list[i] = sc.nextInt(); } for(int i =...
Main.java:30: error: reached end of file while parsing System.out.println(ans); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u058729328|p03012|0
u058729328|p03012|0
codenet
Compile Error
616
v2_s254845045
s254845045
s254845045
p03012
p03012
u335736666
u335736666
1,560,133,490
2019-06-10T02:24:50
Main.java
package brincandeira; import java.util.Scanner; public class Main.extension { public static void main(String[]args) { Scanner tc = new Scanner(System.in); int k = 0, l = 0, z = 0; int x = tc.nextInt(); int a[] = new int[x]; for (int i = 0; i < x; i++) a[i] = tc.nextInt(); if(x % 2 ==...
Main.java:5: error: '{' expected public class Main.extension { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u335736666|p03012|0
u335736666|p03012|0
codenet
Compile Error
1,052
v2_s118178131
s118178131
s118178131
p03012
p03012
u390694622
u390694622
1,560,819,673
2019-06-18T01:01:13
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { int N = sc.nextInt(); int[] W = new int[N]; for(int i=0; i < N; i++) { W[i] = sc.nextInt(); } int ans = Integer.MAX_VALUE; for(int i=0; i ...
Main.java:14: error: <identifier> expected for(int i=0; i < N-1@; i++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u390694622|p03012|0
u390694622|p03012|0
codenet
Compile Error
4,098
v2_s779796237
s779796237
s779796237
p03012
p03012
u412298345
u412298345
1,561,061,195
2019-06-20T20:06:35
Main.java
import java.util.*; class Main { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int[] w = new int[n]; for (int i=0; i<n; i++) { w[i] = Integer.parseInt(sc.next()); } public static void main(String[] args) { int s1 = 0; int s2 = 0; int diff = 200; for (int...
Main.java:6: error: illegal start of type for (int i=0; i<n; i++) { ^ Main.java:6: error: > or ',' expected for (int i=0; i<n; i++) { ^ Main.java:6: error: <identifier> expected for (int i=0; i<n; i++) { ^ Main.java:30: error: reached end of file while parsing } ^ 4...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412298345|p03012|0
u412298345|p03012|0
codenet
Compile Error
612
v2_s232795169
s232795169
s232795169
p03012
p03012
u412298345
u412298345
1,561,061,292
2019-06-20T20:08:12
Main.java
import java.util.*; class Main { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int[] w = new int[n]; for (int i=0; i<n; i++) { w[i] = Integer.parseInt(sc.next()); } public static void main(String[] args) { int s1 = 0; int s2 = 0; int diff = 200; for (int...
Main.java:6: error: illegal start of type for (int i=0; i<n; i++) { ^ Main.java:6: error: > or ',' expected for (int i=0; i<n; i++) { ^ Main.java:6: error: <identifier> expected for (int i=0; i<n; i++) { ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412298345|p03012|0
u412298345|p03012|0
codenet
Compile Error
614
v2_s149743313
s149743313
s149743313
p03012
p03012
u412298345
u412298345
1,561,061,373
2019-06-20T20:09:33
Main.java
import java.util.*; class Main { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int[] w = new int[n]; for (int i=0; i<n; i++) { w[i] = Integer.parseInt(sc.next()); } public static void main(String[] args) { int s1 = 0; int s2 = 0; int diff = 200; for (int...
Main.java:6: error: illegal start of type for (int i=0; i<n; i++) { ^ Main.java:6: error: > or ',' expected for (int i=0; i<n; i++) { ^ Main.java:6: error: <identifier> expected for (int i=0; i<n; i++) { ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412298345|p03012|0
u412298345|p03012|0
codenet
Compile Error
615
v2_s051018907
s051018907
s051018907
p03012
p03012
u412298345
u412298345
1,561,061,442
2019-06-20T20:10:42
Main.java
import java.util.*; class Main { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int[] w = new int[n]; for(int i=0; i<n; i++) { w[i] = Integer.parseInt(sc.next()); } public static void main(String[] args) { int s1 = 0; int s2 = 0; int diff = 200; for (int ...
Main.java:6: error: illegal start of type for(int i=0; i<n; i++) { ^ Main.java:6: error: > or ',' expected for(int i=0; i<n; i++) { ^ Main.java:6: error: <identifier> expected for(int i=0; i<n; i++) { ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u412298345|p03012|0
u412298345|p03012|0
codenet
Compile Error
614
v2_s462048200
s462048200
s462048200
p03012
p03012
u458268106
u458268106
1,565,790,018
2019-08-14T13:40:18
Main.java
import java.util.*; class Main{ static Scanner sc = new Scanner(System.in); public static void main(String args[]){ int n=sc.nextInt(); int a[] = new int[n+1]; a[0]=0; for(int i=1;i<=n;i++){ a[i]=a[i-1]+sc.nextInt(); } int min=Integer.max; for(int t=1;t<n;t++){ min=Math.min(...
Main.java:12: error: cannot find symbol int min=Integer.max; ^ symbol: variable max location: class Integer 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458268106|p03012|0
u458268106|p03012|0
codenet
Compile Error
371
v2_s768326733
s768326733
s768326733
p03012
p03012
u474492589
u474492589
1,565,268,747
2019-08-08T12:52:27
Main.java
public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] W = new int[N]; for (int i = 0; i < N; i++) W[i] = sc.nextInt(); int sum = 0; for(int i = 0; i < N; i++) ...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u474492589|p03012|0
u474492589|p03012|0
codenet
Compile Error
776
v2_s072934268
s072934268
s072934268
p03012
p03012
u498057428
u498057428
1,593,183,109
2020-06-26T14:51:49
Main.java
import java.io.InputStream; import java.io.IOException; import java.util.Arrays; import java.util.NoSuchElementException; public class Main { public static void main(final String[] args) { final MyScanner sc = new MyScanner(); final int n = sc.nextInt(); final int[] w = new int[n]; ...
Main.java:21: error: cannot find symbol left += w[i]; ^ symbol: variable i location: class Main Main.java:22: error: cannot find symbol right -= w[i]; ^ symbol: variable i location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u498057428|p03012|0
u498057428|p03012|0
codenet
Compile Error
3,243
v2_s636463925
s636463925
s636463925
p03012
p03012
u498057428
u498057428
1,593,184,904
2020-06-26T15:21:44
Main.java
import java.io.InputStream; import java.io.IOException; import java.util.NoSuchElementException; public class Main { public static void main(final String[] args) { final MyScanner sc = new MyScanner(); final int n = sc.nextInt(); final int[] w = new int[n]; for (int i = 0; i < n; i+...
Main.java:14: error: cannot find symbol int minimum = sum; ^ symbol: variable sum location: class Main Main.java:18: error: cannot find symbol minimum = Math.min(minimum, Math.abs(temp - (sum - temp))); ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u498057428|p03012|0
u498057428|p03012|0
codenet
Compile Error
3,102
v2_s864520457
s864520457
s864520457
p03012
p03012
u521142491
u521142491
1,560,133,397
2019-06-10T02:23:17
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[] W = new int[N]; for(int i=0; i<N; i++) { W[i] = sc.nextInt(); } int min = 20000; for(int i=0; i<N; i++) { int t =Math.abs(calcsum1(W,i) - ca...
Main.java:38: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521142491|p03012|0
u521142491|p03012|0
codenet
Compile Error
660
v2_s577168983
s577168983
s577168983
p03012
p03012
u539616549
u539616549
1,560,132,575
2019-06-10T02:09:35
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]; for (int i;i<n;i++){ a[i] = sc.nextInt(); } int min = 10000; int f = 0; int l = 0; for (int i;i<n;i++){ ...
Main.java:7: error: variable i might not have been initialized for (int i;i<n;i++){ ^ Main.java:13: error: variable i might not have been initialized for (int i;i<n;i++){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03012|0
u539616549|p03012|0
codenet
Compile Error
576
v2_s570986893
s570986893
s570986893
p03012
p03012
u539616549
u539616549
1,560,132,613
2019-06-10T02:10:13
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]; for (int i;i<n;i++){ a[i] = sc.nextInt(); } int min = 10000; int f = 0; int l = 0; for (int i = 0;i<n;i++){ ...
Main.java:7: error: variable i might not have been initialized for (int i;i<n;i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03012|0
u539616549|p03012|0
codenet
Compile Error
580
v2_s437059111
s437059111
s437059111
p03012
p03012
u547167033
u547167033
1,565,809,975
2019-08-14T19:12:55
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[] array = new int[n]; for(int i = 0;i < array.length;i++){ array[i] = sc.nextInt(); } int s1 = 0; int s2 = 0; for(int i = 0...
Main.java:24: error: ';' expected if(count < 0)count = 0 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03012|0
u547167033|p03012|0
codenet
Compile Error
676
v2_s655503292
s655503292
s655503292
p03012
p03012
u559250296
u559250296
1,560,129,698
2019-06-10T01:21:38
Main.java
import java.lang.reflect.Array; import java.util.*; import static java.lang.Math.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] weight = new int[N]; int sum =0; int sum2 = 0; int[] g = new in...
Main.java:14: error: '.class' expected for(int j =0; int < N ; j++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u559250296|p03012|0
u559250296|p03012|0
codenet
Compile Error
787
v2_s189094704
s189094704
s189094704
p03012
p03012
u572345088
u572345088
1,590,682,682
2020-05-28T16:18:02
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(in.readLine()); String[] str = in...
Main.java:21: error: cannot find symbol ans = Math.min(min,Math.abs(s-t)); ^ symbol: variable min location: class Main Main.java:21: error: cannot find symbol ans = Math.min(min,Math.abs(s-t)); ^ symbol: variable s location: class Main Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u572345088|p03012|0
u572345088|p03012|0
codenet
Compile Error
688
v2_s527582462
s527582462
s527582462
p03012
p03012
u629673381
u629673381
1,560,131,598
2019-06-10T01:53:18
Main.java
import java.util.*; import java.util.InputMismatchException; class Main { public static void main(String args[]) { try { Scanner sc = new Scanner(System.in); int all = sc.nextInt(); int[] w = new int[all]; int resurt; for(int i = 0; i<all; i++){ w[i] = sc.next...
Main.java:17: error: ';' expected if(!(nibun(all,i,w))){resurt=i} ^ Main.java:24: error: ';' expected mae2 += w[i] ^ Main.java:27: error: ';' expected mae2 += w[i+result] ^ Main.java:6: error: 'try' without 'cat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u629673381|p03012|0
u629673381|p03012|0
codenet
Compile Error
941
v2_s100357314
s100357314
s100357314
p03012
p03012
u629673381
u629673381
1,560,131,651
2019-06-10T01:54:11
Main.java
import java.util.*; import java.util.InputMismatchException; class Main { public static void main(String args[]) { try { Scanner sc = new Scanner(System.in); int all = sc.nextInt(); int[] w = new int[all]; int resurt; for(int i = 0; i<all; i++){ w[i] = sc.next...
Main.java:17: error: ';' expected if(!(nibun(all,i,w))){resurt=i}; ^ Main.java:6: error: 'try' without 'catch', 'finally' or resource declarations try { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u629673381|p03012|0
u629673381|p03012|0
codenet
Compile Error
945
v2_s350564625
s350564625
s350564625
p03012
p03012
u629673381
u629673381
1,560,131,754
2019-06-10T01:55:54
Main.java
import java.util.*; import java.util.InputMismatchException; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int all = sc.nextInt(); int[] w = new int[all]; int resurt; for(int i = 0; i<all; i++){ w[i] = sc.nextInt()...
Main.java:23: error: cannot find symbol for(int i=0; i<result; i++){ ^ symbol: variable result location: class Main Main.java:26: error: cannot find symbol for(int i=0; i<all-result; i++){ ^ symbol: variable result location: class Main Main.java:27: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u629673381|p03012|0
u629673381|p03012|0
codenet
Compile Error
904
v2_s617852987
s617852987
s617852987
p03012
p03012
u629673381
u629673381
1,560,131,812
2019-06-10T01:56:52
Main.java
import java.util.*; import java.util.InputMismatchException; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int all = sc.nextInt(); int[] w = new int[all]; int result; for(int i = 0; i<all; i++){ w[i] = sc.nextInt()...
Main.java:17: error: cannot find symbol if(!(nibun(all,i,w))){resurt=i;} ^ symbol: variable resurt location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u629673381|p03012|0
u629673381|p03012|0
codenet
Compile Error
899
v2_s018418766
s018418766
s018418766
p03012
p03012
u629673381
u629673381
1,560,131,838
2019-06-10T01:57:18
Main.java
import java.util.*; import java.util.InputMismatchException; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int all = sc.nextInt(); int[] w = new int[all]; int result; for(int i = 0; i<all; i++){ w[i] = sc.nextInt()...
Main.java:23: error: variable result might not have been initialized for(int i=0; i<result; i++){ ^ Main.java:24: error: variable mae2 might not have been initialized mae2 += w[i]; ^ Main.java:27: error: variable ato2 might not have been initialized ato2 += w[i+result]...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u629673381|p03012|0
u629673381|p03012|0
codenet
Compile Error
899
v2_s090782983
s090782983
s090782983
p03012
p03012
u847535452
u847535452
1,560,701,558
2019-06-16T16:12:38
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int sum=0; int[] w=new int[n]; for(int i=0;i<n;i++){ w[i]=sc.nextInt(); sum=sum+w[i]; } int l=sum; int f =0; int dif=sum; for(int i=0;i<n;i++...
Main.java:29: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u847535452|p03012|0
u847535452|p03012|0
codenet
Compile Error
443
v2_s942405771
s942405771
s942405771
p03012
p03012
u890539161
u890539161
1,560,131,914
2019-06-10T01:58:34
Main.java
import java.io.*; import java.util.Scanner; import java.lang.Math; public class Main { public static void main(String[] args){ Scanner in = new Scanner(System.in); int N = in.nextInt(); int[] weigths = new int[N]; for(int i=0;i<N;i++){ weigths[i]= in.nextInt(); } ...
Main.java:21: error: cannot find symbol int S1 = weigths[0]; ^ symbol: variable weigths location: class Main Main.java:22: error: cannot find symbol int S2 = weigths[weigths.length-1]; ^ symbol: variable weigths location: class Main Main.java:22: error: cannot f...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890539161|p03012|0
u890539161|p03012|0
codenet
Compile Error
896
v2_s207541927
s207541927
s207541927
p03012
p03012
u920343454
u920343454
1,560,238,292
2019-06-11T07:31:32
balance_topcoder.java
import java.io.*; import java.util.*; import javafx.util.Pair; public class balance_topcoder { /* * ******** ******* ******** * * * * * * * * * * * * * * * * * * * * * ******** * * * */ stati...
balance_topcoder.java:4: error: package javafx.util does not exist import javafx.util.Pair; ^ balance_topcoder.java:49: error: cannot find symbol static int partition(Pair<Integer,Integer> arr[], int low, int high) ^ symbol: class Pair location: class balance_topcoder ba...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u920343454|p03012|0
u920343454|p03012|0
codenet
Compile Error
5,567
v2_s037966864
s037966864
s037966864
p03012
p03012
u920343454
u920343454
1,560,238,363
2019-06-11T07:32:43
Main.java
import java.io.*; import java.util.*; import javafx.util.Pair; class balance_topcoder { /* * ******** ******* ******** * * * * * * * * * * * * * * * * * * * * * ******** * * * */ static Reade...
Main.java:4: error: package javafx.util does not exist import javafx.util.Pair; ^ Main.java:49: error: cannot find symbol static int partition(Pair<Integer,Integer> arr[], int low, int high) ^ symbol: class Pair location: class balance_topcoder Main.java:69: error: canno...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u920343454|p03012|0
u920343454|p03012|0
codenet
Compile Error
5,560
v2_s411440694
s411440694
s411440694
p03012
p03012
u920343454
u920343454
1,560,238,516
2019-06-11T07:35:16
Main.java
import java.util.*; class shashwat{ static Scanner in=new Scanner(System.in); public static void main(String[] args) throws IOException { int n=in.nextInt(); int arr[]=new int[n]; for(int i=0;i<n;i++) arr[i]=in.nextInt(); int l[]=new int[n]; int r[]=new int[n]; for(int i=0;i<n;i++) { if(i==0) { ...
Main.java:4: error: cannot find symbol public static void main(String[] args) throws IOException ^ symbol: class IOException location: class shashwat 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u920343454|p03012|0
u920343454|p03012|0
codenet
Compile Error
617
v2_s859869062
s859869062
s859869062
p03012
p03012
u979498839
u979498839
1,560,373,372
2019-06-12T21:02:52
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 data[] = new int[n]; for (int i = 0; i < n; i++) { data[i] = sc.nextInt(); } int s1 = 0; int s2 = 0; ...
Main.java:26: error: ';' expected s2 += data[j] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u979498839|p03012|0
u979498839|p03012|0
codenet
Compile Error
744
v2_s036354368
s036354368
s036354368
p03013
p03013
u041601206
u041601206
1,560,284,859
2019-06-11T20:27:39
Main.java
import java.util.Scanner; import java.util.Comparator; import java.util.Arrays; import java.util.ArrayList; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); if(M == 0) { int [] a = new int[1]; a[0] = 0; }...
Main.java:33: error: cannot find symbol if(a[tmp]==1) { ^ symbol: variable a location: class Main Main.java:41: error: cannot find symbol if(a[tmp]==i) { ^ symbol: variable a location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u041601206|p03013|0
u041601206|p03013|0
codenet
Compile Error
842
v2_s359330157
s359330157
s359330157
p03013
p03013
u068098242
u068098242
1,560,661,533
2019-06-16T05:05:33
Main.java
import java.util.*; import java.io.*; public class Main { final long mod = (long)1e9+7; int n, m; boolean[] a; int[] dp; Main(Scanner in, PrintWriter out) { n = in.nextInt(); m = in.nextInt(); a = new boolean[n+2]; for (int i = 0; i < m; i++) a[in.nextInt()] = true; dp = new int[n...
Main.java:33: error: incompatible types: possible lossy conversion from long to int return dp[at] = cnt % mod; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u068098242|p03013|0
u068098242|p03013|0
codenet
Compile Error
829
v2_s034582022
s034582022
s034582022
p03013
p03013
u068098242
u068098242
1,560,661,612
2019-06-16T05:06:52
Main.java
import java.util.*; import java.io.*; public class Main { final int mod = (long)1e9+7; int n, m; boolean[] a; int[] dp; Main(Scanner in, PrintWriter out) { n = in.nextInt(); m = in.nextInt(); a = new boolean[n+2]; for (int i = 0; i < m; i++) a[in.nextInt()] = true; dp = new int[n]...
Main.java:6: error: incompatible types: possible lossy conversion from long to int final int mod = (long)1e9+7; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u068098242|p03013|0
u068098242|p03013|0
codenet
Compile Error
828
v2_s854375386
s854375386
s854375386
p03013
p03013
u205892160
u205892160
1,560,133,003
2019-06-10T02:16:43
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int now = 0; int before = 0; int total = 1; for(int i=1; i < M+1; i++){ now = sc.nextInt(); total *= howmany(now, before); ...
Main.java:34: error: cannot find symbol return n <= 2 ? 1 : fibonacci(n - 1) + fibonacci(n - 2); ^ symbol: method fibonacci(int) location: class Main Main.java:34: error: cannot find symbol return n <= 2 ? 1 : fibonacci(n - 1) + fibonacci(n - 2); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u205892160|p03013|0
u205892160|p03013|0
codenet
Compile Error
756
v2_s534461746
s534461746
s534461746
p03013
p03013
u205892160
u205892160
1,560,134,018
2019-06-10T02:33:38
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int now = 0; int before = 0; int total = 1; for(int i=1; i < M+1; i++){ now = sc.nextInt(); total *= howmany(now, before); ...
Main.java:35: error: unreachable statement if(n<3){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u205892160|p03013|0
u205892160|p03013|0
codenet
Compile Error
805
v2_s294236296
s294236296
s294236296
p03013
p03013
u218740431
u218740431
1,588,642,890
2020-05-05T01:41: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(); long [] ans = new long [a+1]; if(b>0){int [] in = new int [b]; for(int i=0;i<b;i++){ in[i] = sc.nex...
Main.java:16: error: cannot find symbol if(b>0 && in[c]==1){c++;} ^ symbol: variable in location: class Main Main.java:18: error: cannot find symbol for(int i=2;i<=a;i++){if(b>0 && in[c]==i){c++;} ^ symbol: variable in location: class...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03013|0
u218740431|p03013|0
codenet
Compile Error
694
v2_s598432027
s598432027
s598432027
p03013
p03013
u241874341
u241874341
1,560,131,230
2019-06-10T01:47:10
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; import java.util.function.Consumer; public class Main { private static final Scanner scanner = new Scanner(System.in); private static final Consumer<List<String>> consumer = solve(); public static void ma...
Main.java:9: error: cannot find symbol private static final Consumer<List<String>> consumer = solve(); ^ symbol: method solve() location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241874341|p03013|0
u241874341|p03013|0
codenet
Compile Error
1,188
v2_s124768934
s124768934
s124768934
p03013
p03013
u347452770
u347452770
1,560,130,604
2019-06-10T01:36:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int M = scan.nextInt(); int[] a = new int[M]; int ans = 0; ArrayList<Integer> fibo = new ArrayList<>(); fibo.add(1); fi...
Main.java:21: error: ';' expected break(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03013|0
u347452770|p03013|0
codenet
Compile Error
845
v2_s064572672
s064572672
s064572672
p03013
p03013
u347452770
u347452770
1,560,130,635
2019-06-10T01:37:15
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int M = scan.nextInt(); int[] a = new int[M]; int ans = 0; ArrayList<Integer> fibo = new ArrayList<>(); fibo.add(1); f...
Main.java:15: error: cannot find symbol fibo.add(gibo.get(i) + fibo.get(i+1)); ^ symbol: variable gibo location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03013|0
u347452770|p03013|0
codenet
Compile Error
845
v2_s722240116
s722240116
s722240116
p03013
p03013
u397604928
u397604928
1,592,978,254
2020-06-24T05:57:34
Main.java
public class Main { public static void main(String[] args) throws FileNotFoundException { // File file = new File("src/in.txt"); // Scanner sc = new Scanner(file); Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[] n = new int[N+1]; for (int i = 1; i <= M; ...
Main.java:3: error: cannot find symbol public static void main(String[] args) throws FileNotFoundException { ^ symbol: class FileNotFoundException location: class Main Main.java:7: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u397604928|p03013|0
u397604928|p03013|0
codenet
Compile Error
926
v2_s430289820
s430289820
s430289820
p03013
p03013
u409962311
u409962311
1,565,083,474
2019-08-06T09:24:34
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 flag = 1; int[] a = new int[n]; for(int i=0;i<n;i++){ a[i]=sc.nextInt()-1; } //////////ERROR////////////////////// ...
Main.java:18: error: cannot find symbol for(int i=0;i<m-1;i++){ ^ symbol: variable m location: class Main Main.java:32: error: cannot find symbol for(int j=ccnt;j<m;j++){ ^ symbol: variable m location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u409962311|p03013|0
u409962311|p03013|0
codenet
Compile Error
1,147
v2_s227162038
s227162038
s227162038
p03013
p03013
u498057428
u498057428
1,593,187,413
2020-06-26T16:03:33
Main.java
import java.io.InputStream; import java.io.IOException; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) { final MyScanner sc = new MyScanner(); int n = sc.nextInt(); int m = sc.nextInt(); int[] a = new int[m]; for (int i = ...
Main.java:16: error: cannot find symbol lond dp[] = new long[n + 1]; ^ symbol: class lond location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u498057428|p03013|0
u498057428|p03013|0
codenet
Compile Error
3,470
v2_s235426662
s235426662
s235426662
p03013
p03013
u539616549
u539616549
1,560,137,358
2019-06-10T03:29:18
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[] = new a[m]; for (int i = 0; i < m; i++){ a[i] = sc.nextInt(); } int s = fib(a[0] - 1); for ...
Main.java:17: error: <identifier> expected public static int fib(n){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03013|0
u539616549|p03013|0
codenet
Compile Error
669
v2_s855636802
s855636802
s855636802
p03013
p03013
u539616549
u539616549
1,560,137,444
2019-06-10T03:30:44
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[] = new a[m]; for (int i = 0; i < m; i++){ a[i] = sc.nextInt(); } int s = fib(a[0] - 1); for ...
Main.java:7: error: cannot find symbol int a[] = new a[m]; ^ symbol: class a location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03013|0
u539616549|p03013|0
codenet
Compile Error
673
v2_s786460892
s786460892
s786460892
p03013
p03013
u539616549
u539616549
1,560,139,179
2019-06-10T03:59:39
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[] = new int[m]; for (int i = 0; i < m; i++){ a[i] = sc.nextInt(); } int s = fib(a[0] - 1); fo...
Main.java:27: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03013|0
u539616549|p03013|0
codenet
Compile Error
675
v2_s334301179
s334301179
s334301179
p03013
p03013
u539616549
u539616549
1,560,139,272
2019-06-10T04:01:12
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[] = new int[m]; for (int i = 0; i < m; i++){ a[i] = sc.nextInt(); } int s = fib(a[0] - 1); fo...
Main.java:27: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03013|0
u539616549|p03013|0
codenet
Compile Error
675
v2_s589714773
s589714773
s589714773
p03013
p03013
u539616549
u539616549
1,560,139,476
2019-06-10T04:04:36
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[] = new int[m]; for (int i = 0; i < m; i++){ a[i] = sc.nextInt(); } int s = fib(a[0] - 1); fo...
Main.java:29: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539616549|p03013|0
u539616549|p03013|0
codenet
Compile Error
682
v2_s833105165
s833105165
s833105165
p03013
p03013
u653981267
u653981267
1,560,130,030
2019-06-10T01:27:10
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); ArrayList<Integer> list = new ArrayList<Integer>(); int[] a = new int[m]; for(int i = 0; i < m; i++) { a[i] = sc.nextInt(); ...
Main.java:27: error: variable a is already defined in method main(String[]) int a = 0; ^ Main.java:29: error: incompatible types: possible lossy conversion from long to int if(dp[i - 1] != -1) a = dp[i - 1]; ^ Main.java:30: error: incompatible types: possibl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03013|0
u653981267|p03013|0
codenet
Compile Error
859
v2_s624847580
s624847580
s624847580
p03013
p03013
u653981267
u653981267
1,560,130,101
2019-06-10T01:28:21
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); ArrayList<Integer> list = new ArrayList<Integer>(); int[] a = new int[m]; for(int i = 0; i < m; i++) { a[i] = sc.nextInt(); ...
Main.java:35: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03013|0
u653981267|p03013|0
codenet
Compile Error
843
v2_s751333504
s751333504
s751333504
p03013
p03013
u719622470
u719622470
1,560,282,184
2019-06-11T19:43:04
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 m = sc.nextInt(); boolean a[] = new boolean[n+10]; for (int i = 0; i < m; i++) { ab[sc.nextInt()] = true; ...
Main.java:10: error: cannot find symbol ab[sc.nextInt()] = true; ^ symbol: variable ab location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u719622470|p03013|1
u719622470|p03013|1
codenet
Compile Error
699
v2_s843539228
s843539228
s843539228
p03013
p03013
u776202654
u776202654
1,560,194,357
2019-06-10T19:19:17
C.java
package com.company; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class C { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); List<Integer> brokens = new ArrayList<>(); ...
C.java:49: error: cannot find symbol System.out.println(ans.get(i-1)); ^ symbol: variable i location: class C 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u776202654|p03013|0
u776202654|p03013|0
codenet
Compile Error
1,412
v2_s880476160
s880476160
s880476160
p03013
p03013
u824553204
u824553204
1,560,641,145
2019-06-15T23:25:45
Main.java
import java.lang.reflect.Array; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] first = ne...
Main.java:95: error: class, interface, enum, or record expected import java.lang.reflect.Array; ^ Main.java:96: error: class, interface, enum, or record expected import java.math.BigInteger; ^ Main.java:97: error: class, interface, enum, or record expected import java.util.ArrayList; ^ Main.java:98: error: class, inter...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u824553204|p03013|1
u824553204|p03013|1
codenet
Compile Error
4,950
v2_s455380974
s455380974
s455380974
p03013
p03013
u862930387
u862930387
1,560,130,915
2019-06-10T01:41:55
Main.java
public class Main { private static BigInteger[] dp; private static int goal; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); dp = new BigInteger[n + 1]; for (int i = 0; i <= n; i++) { ...
Main.java:3: error: cannot find symbol private static BigInteger[] dp; ^ symbol: class BigInteger location: class Main Main.java:30: error: cannot find symbol private static BigInteger solve(int step) { ^ symbol: class BigInteger location: class Main Main.java:7...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u862930387|p03013|0
u862930387|p03013|0
codenet
Compile Error
984
v2_s093495339
s093495339
s093495339
p03013
p03013
u890539161
u890539161
1,560,133,860
2019-06-10T02:31:00
Main.java
import java.io.*; import java.util.Scanner; import java.lang.Math; public class Main { public static void main(String[] args){ Scanner in = new Scanner(System.in); int N = in.nextInt(); int M = in.nextInt(); int[] rotos = new int[M]; for(int i=0;i<M;i++){ roto...
Main.java:24: error: method waysAux in class Main cannot be applied to given types; return waysAux(rotos, steeps, counter, 1, 0); ^ required: int[],int,int,int found: int[],int,int,int,int reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u890539161|p03013|0
u890539161|p03013|0
codenet
Compile Error
1,079
v2_s759061963
s759061963
s759061963
p03013
p03013
u920212194
u920212194
1,562,262,885
2019-07-04T17:54:45
Main.java
import java.util.Scanner; public class { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int []a = new int [m]; boolean []jdg = new boolean [n+1]; long []Dp = new long [n+1]; int p = 1000000007; for(int i = 0; i < m ; i++...
Main.java:2: error: <identifier> expected public class { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u920212194|p03013|0
u920212194|p03013|0
codenet
Compile Error
664
v2_s257616621
s257616621
s257616621
p03013
p03013
u920212194
u920212194
1,562,262,964
2019-07-04T17:56:04
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int []a = new int [m]; boolean []jdg = new boolean [n+1]; long []Dp = new long [n+1]; int p = 1000000007; for(int i = 0; i < m ; i++) { a[i] = sc.nextIn...
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
u920212194|p03013|0
u920212194|p03013|0
codenet
Compile Error
641
v2_s733192394
s733192394
s733192394
p03013
p03013
u954094464
u954094464
1,566,169,586
2019-08-18T23:06:26
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int m=sc.nextInt(); boolean[] a=new boolean[n+1]; for(int i=1;i<=n;i++){ i=sc.nextInt(); a[i]=false; } int r=1_000_000_007; long[] d=new long[n+1]; d[0]=1; for(int ...
Main.java:19: error: variable declaration not allowed here int p=i-1; ^ Main.java:21: error: variable declaration not allowed here int p=i-2; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954094464|p03013|1
u954094464|p03013|0
codenet
Compile Error
547