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_s703480944
s703480944
s703480944
p03059
p03059
u794280735
u794280735
1,556,413,508
2019-04-28T01:05:08
Main.java
import java.util.Scanner; import java.util.InputMismatchException; class Main { public static void main(String args[]) { int x=0 ,y=0, z=0; int sum = 0; try { Scanner scanner = new Scanner(System.in); x = scanner.nextInt(); y = scanner.nextInt(); z = scanner.nex...
Main.java:17: error: cannot find symbol for (i=1; i<z+1; i=i+1) { ^ symbol: variable i location: class Main Main.java:17: error: cannot find symbol for (i=1; i<z+1; i=i+1) { ^ symbol: variable i location: class Main Main.java:17: error: cannot find symbol for (i=...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u794280735|p03059|0
u794280735|p03059|0
codenet
Compile Error
542
v2_s613062014
s613062014
s613062014
p03059
p03059
u803565203
u803565203
1,556,414,655
2019-04-28T01:24:15
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int t = sc.nextInt(); double v = t + 0.5; int p = 0; p = (int)v / a; int r = 0; r = (int)p * b; Syst...
Main.java:19: error: reached end of file while parsing System.out.println(r); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803565203|p03059|0
u803565203|p03059|0
codenet
Compile Error
369
v2_s977000836
s977000836
s977000836
p03059
p03059
u964598828
u964598828
1,556,414,169
2019-04-28T01:16:09
MyClass.java
public class MyClass { private int A, B, T; public MyClass(int a, int b, int c) { this.A = a; this.B = b; this.T = c; } private int getBuiscit () { System.out.println(T/A*B); } public static void main(String[] args) { MyClass obj = new MyClass(args[0], args[1], args[2]...
MyClass.java:17: error: incompatible types: String cannot be converted to int MyClass obj = new MyClass(args[0], args[1], args[2]); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
355
v2_s077778903
s077778903
s077778903
p03059
p03059
u964598828
u964598828
1,556,414,316
2019-04-28T01:18:36
MyClass.java
public class MyClass { private int A, B, T; public MyClass(int a, int b, int c) { this.A = a; this.B = b; this.T = c; } private int getBuiscit () { System.out.println(T/A*B); } public static void main(String[] args) { MyClass obj = new MyClass(args[0], args[1], args[2]...
MyClass.java:17: error: incompatible types: String cannot be converted to int MyClass obj = new MyClass(args[0], args[1], args[2]); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
356
v2_s112689553
s112689553
s112689553
p03059
p03059
u964598828
u964598828
1,556,414,414
2019-04-28T01:20:14
MyClass.java
public class MyClass { private int A, B, T; public MyClass(String a, String b, String c) { this.A = Integer.parseInt(a); this.B = Integer.parseInt(b); this.T = Integer.parseInt(c); } private int getBuiscit () { System.out.println(T/A*B); } public static void main(String[] args)...
MyClass.java:13: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
419
v2_s012241343
s012241343
s012241343
p03059
p03059
u964598828
u964598828
1,556,414,837
2019-04-28T01:27:17
TaskA.java
import java.util.*; public class TaskA { private int A, B, T; public MyClass(String a, String b, String c) { this.A = Integer.parseInt(a); this.B = Integer.parseInt(b); this.T = Integer.parseInt(c); } private int getBuiscit () { System.out.println(T/A*B); } public static void ...
TaskA.java:7: error: invalid method declaration; return type required public MyClass(String a, String b, String c) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
438
v2_s291946046
s291946046
s291946046
p03059
p03059
u964598828
u964598828
1,556,414,874
2019-04-28T01:27:54
TaskA.java
import java.util.*; public class TaskA { private int A, B, T; public MyClass(String a, String b, String c) { this.A = Integer.parseInt(a); this.B = Integer.parseInt(b); this.T = Integer.parseInt(c); } private int getBuiscit () { System.out.println(T/A*B); } public static void ...
TaskA.java:7: error: invalid method declaration; return type required public MyClass(String a, String b, String c) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
434
v2_s795593766
s795593766
s795593766
p03059
p03059
u964598828
u964598828
1,556,414,944
2019-04-28T01:29:04
TaskA.java
import java.util.*; public class TaskA { private int A, B, T; public TaskA(String a, String b, String c) { this.A = Integer.parseInt(a); this.B = Integer.parseInt(b); this.T = Integer.parseInt(c); } private int getBuiscit () { System.out.println(T/A*B); } public static void ma...
TaskA.java:15: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
432
v2_s189105583
s189105583
s189105583
p03059
p03059
u964598828
u964598828
1,556,415,059
2019-04-28T01:30:59
TaskA.java
import java.util.*; public class TaskA { private int A, B, T; public TaskA(String a, String b, String c) { this.A = Integer.parseInt(a); this.B = Integer.parseInt(b); this.T = Integer.parseInt(c); } private int getBuiscit () { System.out.println(T/A*B); } public static void ma...
TaskA.java:15: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
432
v2_s315015158
s315015158
s315015158
p03059
p03059
u964598828
u964598828
1,556,415,129
2019-04-28T01:32:09
TaskA.java
package main; import java.util.*; public class TaskA { private int A, B, T; public TaskA(String a, String b, String c) { this.A = Integer.parseInt(a); this.B = Integer.parseInt(b); this.T = Integer.parseInt(c); } private int getBuiscit () { System.out.println(T/A*B); } public...
TaskA.java:17: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
447
v2_s635103933
s635103933
s635103933
p03059
p03059
u964598828
u964598828
1,556,415,395
2019-04-28T01:36:35
Main.java
import java.util.*; public class Main { private int A, B, T; public TaskA(String a, String b, String c) { this.A = Integer.parseInt(a); this.B = Integer.parseInt(b); this.T = Integer.parseInt(c); } private int getBuiscit () { System.out.println(T/A*B); } public static void mai...
Main.java:7: error: invalid method declaration; return type required public TaskA(String a, String b, String c) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
431
v2_s837791758
s837791758
s837791758
p03059
p03059
u964598828
u964598828
1,556,415,572
2019-04-28T01:39:32
Main.java
import java.util.*; public class Main { private int A, B, T; public Main(String a, String b, String c) { this.A = Integer.parseInt(a); this.B = Integer.parseInt(b); this.T = Integer.parseInt(c); } private int getBuiscit () { System.out.println(T/A*B); } public static void main...
Main.java:21: error: incompatible types: int cannot be converted to String Main obj = new Main(scan.nextInt(), scan.nextInt(), scan.nextInt()); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
497
v2_s481264279
s481264279
s481264279
p03059
p03059
u964598828
u964598828
1,556,415,698
2019-04-28T01:41:38
Main.java
import java.util.*; public class Main { private int A, B, T; public Main(int a, int b, int c) { this.A = a this.B = b this.T = c } private int getBuiscit () { System.out.println(T/A*B); } public static void main(String[] args) { Scanner scan = new Scanner(System.in); ...
Main.java:8: error: ';' expected this.A = a ^ Main.java:9: error: ';' expected this.B = b ^ Main.java:10: error: ';' expected this.T = c ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
431
v2_s746628970
s746628970
s746628970
p03059
p03059
u964598828
u964598828
1,556,415,727
2019-04-28T01:42:07
Main.java
import java.util.*; public class Main { private int A, B, T; public Main(int a, int b, int c) { this.A = a; this.B = b; this.T = c; } private int getBuiscit () { System.out.println(T/A*B); } public static void main(String[] args) { Scanner scan = new Scanner(System.in...
Main.java:15: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
434
v2_s127740312
s127740312
s127740312
p03059
p03059
u964598828
u964598828
1,556,415,765
2019-04-28T01:42:45
Main.java
import java.util.*; public class Main { private int A, B, T; public Main(int a, int b, int c) { this.A = a; this.B = b; this.T = c; } private int getBuiscit () { System.out.println(T/A*B); } public static void main(String[] args) { Scanner scan = new Scanner(System.in...
Main.java:24: error: incompatible types: unexpected return value return true; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03059|0
u964598828|p03059|0
codenet
Compile Error
451
v2_s822533009
s822533009
s822533009
p03059
p03059
u985272901
u985272901
1,557,095,500
2019-05-05T22:31:40
main.java
public class main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int t = scan.nextInt(); int ans = t / a * b; System.out.println(ans); scan.close(); } }
main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class main main.java:4: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985272901|p03059|0
u985272901|p03059|0
codenet
Compile Error
297
v2_s887859516
s887859516
s887859516
p03059
p03059
u985272901
u985272901
1,557,095,638
2019-05-05T22:33:58
main.java
public class main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int t = scan.nextInt(); int ans = t / a * b; System.out.println(ans); scan.close(); }...
main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class main main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985272901|p03059|0
u985272901|p03059|0
codenet
Compile Error
353
v2_s759161724
s759161724
s759161724
p03059
p03059
u990148524
u990148524
1,556,413,973
2019-04-28T01:12:53
Main.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ import java.util.Scanner; /** * * @author kchpc */ public class Main { /** * @param args the command line arguments ...
Main.java:19: error: cannot find symbol AtCoder atc = new AtCoder(); ^ symbol: class AtCoder location: class Main Main.java:19: error: cannot find symbol AtCoder atc = new AtCoder(); ^ symbol: class AtCoder location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990148524|p03059|0
u990148524|p03059|0
codenet
Compile Error
879
v2_s267152802
s267152802
s267152802
p03059
p03059
u990148524
u990148524
1,556,414,023
2019-04-28T01:13:43
AtCoder.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package atcoder; import java.util.Scanner; /** * * @author kchpc */ public class AtCoder { /** * @param args the command...
AtCoder.java:21: error: cannot find symbol Main atc = new Main(); ^ symbol: class Main location: class AtCoder AtCoder.java:21: error: cannot find symbol Main atc = new Main(); ^ symbol: class Main location: class AtCoder 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990148524|p03059|0
u990148524|p03059|0
codenet
Compile Error
894
v2_s608984343
s608984343
s608984343
p03059
p03059
u999478725
u999478725
1,558,311,996
2019-05-20T00:26:36
Main.java
import java.util.*; public class Main { static int gcd( int a , int b ){ return b>0?gcd(b,a%b):a; } public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] num; num = new int[N]; for ( int i = 0 ; i < N ; i++ ){ num[i] = sc.nextInt();...
Main.java:24: error: cannot find symbol GCD = gcd ( num[k] , GCD ); ^ symbol: variable GCD location: class Main Main.java:24: error: cannot find symbol GCD = gcd ( num[k] , GCD ); ^ symbol: variable GCD location: class Main Main.java:26: error: cannot fin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u999478725|p03059|1
u999478725|p03059|1
codenet
Compile Error
784
v2_s849182082
s849182082
s849182082
p03060
p03060
u073787520
u073787520
1,557,001,266
2019-05-04T20:21:06
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); String V = scan.nextLine(); String C = scan.nextLine(); final List<Integer> v = Arrays.stream(V.split(" ", N)).mapToInt(Integer::parseInt).boxed().coll...
Main.java:13: error: cannot find symbol public static int find(int N, int cMax, Set<Integer> mark, List<Integer> v, List<Integer> c) { ^ symbol: class Set location: class Main Main.java:13: error: cannot find symbol public static int find(int N, int cMax, Set<In...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073787520|p03060|0
u073787520|p03060|0
codenet
Compile Error
1,129
v2_s886465557
s886465557
s886465557
p03060
p03060
u082512804
u082512804
1,560,700,589
2019-06-16T15:56:29
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); List<Integer> Vlist = new ArrayList<>(); List<Integer> Clist = new ArrayList<>(); for(int i; i<N; i++){ Vlist.add(...
Main.java:10: 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++){ ^ Main.java:18: error: variable i might not have been initialized for(int i; i<N; i+...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u082512804|p03060|0
u082512804|p03060|0
codenet
Compile Error
667
v2_s089417551
s089417551
s089417551
p03060
p03060
u222822036
u222822036
1,598,901,729
2020-08-31T19:22:09
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main{ //Don't have to see. start------------------------------------------ static class InputIterator{ ArrayList<String> inputLine = new ArrayList<String>(1024); int index = 0; int max; String read; InputIterator(){ BufferedReader br = ne...
Main.java:73: error: cannot find symbol Arraylist<Integer> plus = nextIntArray(); ^ symbol: class Arraylist location: class Main Main.java:74: error: cannot find symbol Arraylist<Integer> minus = nextIntArray(); ^ symbol: class Arraylist location: class Main Main.java:77: error: cann...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222822036|p03060|0
u222822036|p03060|0
codenet
Compile Error
3,135
v2_s922692712
s922692712
s922692712
p03060
p03060
u222822036
u222822036
1,598,901,750
2020-08-31T19:22:30
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main{ //Don't have to see. start------------------------------------------ static class InputIterator{ ArrayList<String> inputLine = new ArrayList<String>(1024); int index = 0; int max; String read; InputIterator(){ BufferedReader br = ne...
Main.java:77: error: cannot find symbol if(plsu.get(i) > minus.get(i)){ ^ symbol: variable plsu location: class Main Main.java:78: error: cannot find symbol output += plus.get(i) - minus.get(i); ^ symbol: variable output location: class Main Main.java:81: error: cannot...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222822036|p03060|0
u222822036|p03060|0
codenet
Compile Error
3,135
v2_s206321224
s206321224
s206321224
p03060
p03060
u222822036
u222822036
1,598,901,767
2020-08-31T19:22:47
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main{ //Don't have to see. start------------------------------------------ static class InputIterator{ ArrayList<String> inputLine = new ArrayList<String>(1024); int index = 0; int max; String read; InputIterator(){ BufferedReader br = ne...
Main.java:77: error: cannot find symbol if(plsu.get(i) > minus.get(i)){ ^ symbol: variable plsu location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222822036|p03060|0
u222822036|p03060|0
codenet
Compile Error
3,135
v2_s043755029
s043755029
s043755029
p03060
p03060
u252362412
u252362412
1,556,416,682
2019-04-28T01:58:02
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int num = Integer.parseInt(scanner.nextLine()); String[] value = scanner.nextLine().split(" "); String[] cost = scanner.nextLine().split(" "); ArrayList list = new ArrayList<In...
Main.java:24: error: ';' expected sum += (Integer)list.get(i) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u252362412|p03060|0
u252362412|p03060|0
codenet
Compile Error
784
v2_s063717595
s063717595
s063717595
p03060
p03060
u347452770
u347452770
1,564,872,544
2019-08-03T22:49:04
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] spi = new int[]; int list = 0; for(int i = 0; i < n; i ++){ v[i] = sc.nextInt(); cost[i] = sc.nextInt(); sp...
Main.java:7: error: array dimension missing String[] spi = new int[]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03060|0
u347452770|p03060|0
codenet
Compile Error
671
v2_s431376660
s431376660
s431376660
p03060
p03060
u347452770
u347452770
1,564,872,606
2019-08-03T22:50:06
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] spi = new int[n]; int list = 0; for(int i = 0; i < n; i ++){ v[i] = sc.nextInt(); cost[i] = sc.nextInt(); ...
Main.java:7: error: incompatible types: int[] cannot be converted to String[] String[] spi = new int[n]; ^ Main.java:10: error: cannot find symbol v[i] = sc.nextInt(); ^ symbol: variable v location: class Main Main.java:11: error: cannot find symbol cost[i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03060|0
u347452770|p03060|0
codenet
Compile Error
673
v2_s669287331
s669287331
s669287331
p03060
p03060
u377272798
u377272798
1,556,592,635
2019-04-30T02:50:35
Main.java
import java.util.Scanner; 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[] V = new int [N]; int[] C = new int [N]; int[] P = new int [N]; ...
Main.java:17: error: cannot find symbol V[i] = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:18: error: cannot find symbol C[i] = nextInt(); ^ symbol: method nextInt() location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u377272798|p03060|0
u377272798|p03060|0
codenet
Compile Error
535
v2_s022779337
s022779337
s022779337
p03060
p03060
u448324500
u448324500
1,565,375,326
2019-08-09T18:28:46
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ans =0; for(int i =0; i<N ;i++){ int V [] = new int[N]; V[i] = sc.nextInt(); } for(int i =0; i<N ;i++){ int C [] = new int[N]; C[i] = sc.nextInt[N]; ...
Main.java:25: error: cannot find symbol C[i] = sc.nextInt[N]; ^ symbol: variable nextInt location: variable sc of type Scanner Main.java:31: error: cannot find symbol if(V[i]<C[i]){ ^ symbol: variable V location: class Main Main.java:31: error: cannot find symbol if(V[i]<C[i]){ ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u448324500|p03060|0
u448324500|p03060|0
codenet
Compile Error
437
v2_s269664068
s269664068
s269664068
p03060
p03060
u448324500
u448324500
1,565,376,125
2019-08-09T18:42:05
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ans =0; int V[] =new int[N]; int C[] =new int[N]; for(int i =0; i<N ;i++){ int V [] = new int[N]; V[i] = sc.nextInt(); } for(int i =0; i<N ;i++){ int...
Main.java:19: error: variable V is already defined in method main(String[]) int V [] = new int[N]; ^ Main.java:27: error: variable C is already defined in method main(String[]) int C [] = new int[N]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u448324500|p03060|0
u448324500|p03060|0
codenet
Compile Error
482
v2_s559109894
s559109894
s559109894
p03060
p03060
u474492589
u474492589
1,565,445,577
2019-08-10T13:59: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(); int[] v = new int[N]; int[] c = new int[N]; for(int i = 0; i < N; i++) v[i] = sc.nxtInt(); for(int i = 0; i ...
Main.java:11: error: cannot find symbol v[i] = sc.nxtInt(); ^ symbol: method nxtInt() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u474492589|p03060|0
u474492589|p03060|0
codenet
Compile Error
572
v2_s107738862
s107738862
s107738862
p03060
p03060
u521293705
u521293705
1,556,413,549
2019-04-28T01:05:49
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[] v = new int[n]; int[] c = new int[n]; for(int i = 0; i < n; i++){ v[i] = sc.nextInt();...
Main.java:22: error: illegal start of expression ans += v[i] - c;[i] ^ Main.java:22: error: not a statement ans += v[i] - c;[i] ^ Main.java:22: error: ';' expected ans += v[i] - c;[i] ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521293705|p03060|0
u521293705|p03060|0
codenet
Compile Error
646
v2_s758992253
s758992253
s758992253
p03060
p03060
u527616458
u527616458
1,556,414,101
2019-04-28T01:15:01
Main.java
import java.util.*; pubilc 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]; int ans = 0; for(int i=0;i<N;i++){ a[i] = sc.nextInt(); } for(int i=0;i<N;i++){ b[i] =...
Main.java:3: error: class, interface, enum, or record expected pubilc class Main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u527616458|p03060|0
u527616458|p03060|0
codenet
Compile Error
480
v2_s268813410
s268813410
s268813410
p03060
p03060
u527616458
u527616458
1,556,414,241
2019-04-28T01:17:21
Main.java
import java.util.*; pubilc 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]; int ans = 0; for(int i=0;i<N;i++){ a[i] = sc.nextInt(); } for(int i=0;i<N;i++){ ...
Main.java:3: error: class, interface, enum, or record expected pubilc class Main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u527616458|p03060|0
u527616458|p03060|0
codenet
Compile Error
497
v2_s777908406
s777908406
s777908406
p03060
p03060
u547671064
u547671064
1,584,753,219
2020-03-21T01:13: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 V[] =new int[N]; int C[] =new int[N]; int x=0; for(int i=0;i<2N;i++){ if(i<N){V[i]=sc.nextInt();} else{C[i-N]=V[i]-sc.nextInt(); if...
Main.java:9: error: ';' expected for(int i=0;i<2N;i++){ ^ Main.java:9: error: ')' expected for(int i=0;i<2N;i++){ ^ Main.java:9: error: ';' expected for(int i=0;i<2N;i++){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p03060|0
u547671064|p03060|0
codenet
Compile Error
351
v2_s360398898
s360398898
s360398898
p03060
p03060
u547671064
u547671064
1,584,753,574
2020-03-21T01:19: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 V[] =new int[2*N]; int x=0; for(int i=0;i<2*N;i++){ if(i<N){V[i]=sc.nextInt();} elseV[i]=V[i-N]-sc.nextInt(); if(V[i]>0){x=x+V[i];}}} ...
Main.java:12: error: <identifier> expected System.out.println(x); ^ Main.java:12: error: <identifier> expected System.out.println(x); ^ Main.java:14: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p03060|0
u547671064|p03060|0
codenet
Compile Error
351
v2_s150274468
s150274468
s150274468
p03060
p03060
u748479137
u748479137
1,558,322,236
2019-05-20T03:17:16
main.java
import java.util.*; public class main{ public static void main(String[] args){ Scanner stdle = new Scanner(System.in); int N = stdle.nextint(); int[] V = new int[N]; int[] C = new int[N]; int sum = 0; for(int i = 0; i < N; i++){ V[i] = stdle.nextI...
main.java:6: error: cannot find symbol int N = stdle.nextint(); ^ symbol: method nextint() location: variable stdle of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u748479137|p03060|0
u748479137|p03060|0
codenet
Compile Error
502
v2_s404578460
s404578460
s404578460
p03060
p03060
u748479137
u748479137
1,558,322,276
2019-05-20T03:17:56
main.java
import java.util.*; public class main{ public static void main(String[] args){ Scanner stdle = new Scanner(System.in); int N = stdle.nextint(); int[] V = new int[N]; int[] C = new int[N]; int sum = 0; for(int i = 0; i < N; i++){ V[i] = stdle.nextI...
main.java:6: error: cannot find symbol int N = stdle.nextint(); ^ symbol: method nextint() location: variable stdle of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u748479137|p03060|0
u748479137|p03060|0
codenet
Compile Error
502
v2_s052737685
s052737685
s052737685
p03060
p03060
u769524580
u769524580
1,556,960,418
2019-05-04T09:00: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[] v = new int[n]; int[] c = new int[n]; int x = Math.pow(n, 2); int max = 0; for (int i = 0; i < n; i++) { ...
Main.java:35: error: illegal character: '\u3000' ?System.out.println(max); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769524580|p03060|0
u769524580|p03060|0
codenet
Compile Error
1,053
v2_s859045360
s859045360
s859045360
p03060
p03060
u803314854
u803314854
1,556,413,505
2019-04-28T01:05:05
Main.java
fimport java.util.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int c[]=new int[n]; int v[]=new int[n]; for(int i=0;i<n;i++){ c[i]=sc.nextInt(); } for(int i...
Main.java:1: error: class, interface, enum, or record expected fimport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03060|0
u803314854|p03060|0
codenet
Compile Error
524
v2_s270606546
s270606546
s270606546
p03060
p03060
u841977095
u841977095
1,584,432,864
2020-03-17T08:14:24
Main.java
class Resale { public static void main(String[] args) { BufferedReader f = new BufferedReader(System.in); PrintWriter out = new PrintWriter(new BufferedWriter(System.out)); int a = Integer.parseInt(f.readLine()); StringTokenizer vals = new StringTokenizer(f.readLine()); StringTokenizer costs ...
Main.java:3: error: cannot find symbol BufferedReader f = new BufferedReader(System.in); ^ symbol: class BufferedReader location: class Resale Main.java:3: error: cannot find symbol BufferedReader f = new BufferedReader(System.in); ^ symbol: class BufferedReader locati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841977095|p03060|0
u841977095|p03060|0
codenet
Compile Error
634
v2_s845591960
s845591960
s845591960
p03060
p03060
u841977095
u841977095
1,584,432,922
2020-03-17T08:15:22
Main.java
import java.io.*; import java.util.*; class Resale { public static void main(String[] args) { BufferedReader f = new BufferedReader(System.in); PrintWriter out = new PrintWriter(new BufferedWriter(System.out)); int a = Integer.parseInt(f.readLine()); StringTokenizer vals = new StringTokenizer(f....
Main.java:6: error: incompatible types: InputStream cannot be converted to Reader BufferedReader f = new BufferedReader(System.in); ^ Main.java:7: error: incompatible types: PrintStream cannot be converted to Writer PrintWriter out = new PrintWriter(new BufferedWr...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841977095|p03060|0
u841977095|p03060|0
codenet
Compile Error
674
v2_s095447629
s095447629
s095447629
p03060
p03060
u841977095
u841977095
1,584,433,099
2020-03-17T08:18:19
Main.java
import java.io.*; import java.util.*; class Resale { public static void main(String[] args) { BufferedReader f = new BufferedReader(new InputStreamReader(System.in)); PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out))); int a = Integer.parseInt(f.readLine()); ...
Main.java:20: error: bad operand types for binary operator '>' if (val > cost) { ^ first type: String second type: String Main.java:21: error: bad operand types for binary operator '-' profit += val - cost; ^ first type: String second type: String 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841977095|p03060|0
u841977095|p03060|0
codenet
Compile Error
721
v2_s936241119
s936241119
s936241119
p03060
p03060
u841977095
u841977095
1,584,433,163
2020-03-17T08:19:23
Main.java
import java.io.*; import java.util.*; class Resale { public static void main(String[] args) { BufferedReader f = new BufferedReader(new InputStreamReader(System.in)); PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out))); int a = Integer.parseInt(f.readLine()); ...
Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown int a = Integer.parseInt(f.readLine()); ^ Main.java:10: error: unreported exception IOException; must be caught or declared to be thrown StringTokenizer vals = new StringTokenizer...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841977095|p03060|0
u841977095|p03060|0
codenet
Compile Error
751
v2_s399316482
s399316482
s399316482
p03060
p03060
u925101523
u925101523
1,557,571,409
2019-05-11T10:43:29
Main.java
import java.util.*; class Main{ public static void main(String []args){ Scanner sc= new Scanner(System.ln); int x = sc.nextInt(); int[] c = new int[x]; int[] v = new int[x]; int t = 0; for(int i = 0; i < x; i++){ if( v[i] > c[i] ){ t = ...
Main.java:7: error: cannot find symbol Scanner sc= new Scanner(System.ln); ^ symbol: variable ln location: class System 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925101523|p03060|0
u925101523|p03060|0
codenet
Compile Error
416
v2_s308927146
s308927146
s308927146
p03060
p03060
u964598828
u964598828
1,556,416,924
2019-04-28T02:02:04
Main.java
import java.util.*; public class Main { private int[] value; private int[] cost; public Main() { } private void getValue () { int total = 0; for (int i = 0; i < value.length; i++) { if (value[i] - cost[i] > 0 ) total += value[i] - cost[i]; } System.out.println...
Main.java:28: error: non-static variable this cannot be referenced from a static context this.value = new int[size]; ^ Main.java:29: error: non-static variable this cannot be referenced from a static context this.cost = new int[size]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03060|0
u964598828|p03060|0
codenet
Compile Error
591
v2_s165040782
s165040782
s165040782
p03060
p03060
u979339793
u979339793
1,556,849,988
2019-05-03T02:19:48
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[] array1 = array[]; int[] array2 = array[]; int ans = 0; for(int i=0; i<n; i++){ array1[i] = sc.nextInt(); } for(...
Main.java:6: error: '.class' expected int[] array1 = array[]; ^ Main.java:7: error: '.class' expected int[] array2 = array[]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u979339793|p03060|0
u979339793|p03060|0
codenet
Compile Error
566
v2_s825775430
s825775430
s825775430
p03060
p03060
u979339793
u979339793
1,556,850,018
2019-05-03T02:20: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[] array1 = new array[]; int[] array2 = new array[]; int ans = 0; for(int i=0; i<n; i++){ array1[i] = sc.nextInt(); } ...
Main.java:6: error: array dimension missing int[] array1 = new array[]; ^ Main.java:7: error: array dimension missing int[] array2 = new array[]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u979339793|p03060|0
u979339793|p03060|0
codenet
Compile Error
574
v2_s650766416
s650766416
s650766416
p03061
p03061
u008695540
u008695540
1,567,980,316
2019-09-08T22:05:16
Main.java
import java.util.*; public class Main{ static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;} 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<n; i++){ array[i] = sc.nextInt(); } int a = ar...
Main.java:25: error: cannot find symbol uu = 0; ^ symbol: variable uu location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u008695540|p03061|0
u008695540|p03061|0
codenet
Compile Error
1,112
v2_s719005189
s719005189
s719005189
p03061
p03061
u008695540
u008695540
1,567,998,918
2019-09-09T03:15:18
Main.java
import java.util.*; public class Main{ static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;} 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<n; i++){ array[i] = sc.nextInt(); } int a = ar...
Main.java:31: error: ';' expected for(int i=n-2 i>0; i--){ ^ Main.java:35: error: ';' expected ans = gcd(l_gcd[i],r_lcd[i+2]) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u008695540|p03061|2
u008695540|p03061|0
codenet
Compile Error
846
v2_s805714776
s805714776
s805714776
p03061
p03061
u008695540
u008695540
1,567,998,974
2019-09-09T03:16:14
Main.java
import java.util.*; public class Main{ static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;} 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<n; i++){ array[i] = sc.nextInt(); } int a = ar...
Main.java:25: error: array required, but int found l_gcd[i] = gcd(l_gcd[i-1],a[i]); ^ Main.java:29: error: array required, but int found r_lcd[n-1] = a[n-1]; ^ Main.java:32: error: array required, but int found r_lcd[i] = gcd(r_lcd[i+1],a[i]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u008695540|p03061|2
u008695540|p03061|0
codenet
Compile Error
848
v2_s438166114
s438166114
s438166114
p03061
p03061
u033343781
u033343781
1,556,420,745
2019-04-28T03:05:45
Main.java
import java.time.Instant; import java.util.*; import java.util.regex.Pattern; import java.util.stream.Collectors; public class Main { public static void main(String[] args){ Long ans = 0l; Scanner sc = new Scanner(System.in); Long N = sc.nextLong(); List<Long> aList = new ArrayList<>(); for(Long i=0l; i<N...
Main.java:44: error: cannot find symbol ans = ans * tmpAns; ^ symbol: variable tmpAns location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u033343781|p03061|0
u033343781|p03061|0
codenet
Compile Error
1,591
v2_s510507618
s510507618
s510507618
p03061
p03061
u043146101
u043146101
1,558,138,335
2019-05-18T00:12:15
Main.java
import java.io.*; import java.util.*; import java.util.function.UnaryOperator; public class Main { public static void main(String[] args) throws IOException { Solution solution = new Solution(); InputReader in = new InputReader(); PrintWriter out = new PrintWriter(new BufferedOutputStream...
Main.java:9: error: cannot find symbol Solution solution = new Solution(); ^ symbol: class Solution location: class Main Main.java:9: error: cannot find symbol Solution solution = new Solution(); ^ symbol: class Solution location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u043146101|p03061|0
u043146101|p03061|0
codenet
Compile Error
3,244
v2_s850151358
s850151358
s850151358
p03061
p03061
u091010228
u091010228
1,556,665,001
2019-04-30T22:56:41
Main.java
import java.util.Scanner; class Main { public static final long INF = Long.MAX_VALUE / 4; public static long gcd(long a, long b) { if (a < b) { long tmp = a; a = b; b = tmp; } if (b == 0) { return a; } long r = a % b; while (r != 0) { a = b; b = r; ...
Main.java:53: error: reached end of file while parsing ajdflakj ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u091010228|p03061|0
u091010228|p03061|0
codenet
Compile Error
1,025
v2_s434611234
s434611234
s434611234
p03061
p03061
u110087226
u110087226
1,556,417,417
2019-04-28T02:10:17
Main.java
import java.util.*; import java.io.*; public class Main{ public static int gojo(int a,int b){ if(a%b==0)return b; return gojo(b,a%b); } public static void main(String[] args)throws IOException{ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int[] ary=new int[...
Main.java:18: error: ';' expected int gt=gojo(Math.max(ary[i],ary[j]),Math.min(ary[i],ary[j])) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u110087226|p03061|0
u110087226|p03061|0
codenet
Compile Error
712
v2_s538412298
s538412298
s538412298
p03061
p03061
u110087226
u110087226
1,556,421,912
2019-04-28T03:25:12
Main.java
mport java.util.*; import java.io.*; public class Main{ public static int gj(int a,int b){ if(a%b==0)return b; return gj(b,a%b); } public static void sort(int data[],int n){ int mininum,memory; for(int i=0;i<n-1;i++){ mininum=data[i]; memory=i; ...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ Main.java:2: error: class, interface, enum, or record expected import java.io.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u110087226|p03061|0
u110087226|p03061|0
codenet
Compile Error
1,459
v2_s543276213
s543276213
s543276213
p03061
p03061
u110087226
u110087226
1,556,421,965
2019-04-28T03:26:05
Main.java
import java.util.*; import java.io.*; public class Main{ public static int gj(int a,int b){ if(a%b==0)return b; return gj(b,a%b); } public static void sort(int data[],int n){ int mininum,memory; for(int i=0;i<n-1;i++){ mininum=data[i]; memory=i; ...
Main.java:53: error: class, interface, enum, or record expected mport java.util.*; ^ Main.java:54: error: class, interface, enum, or record expected import java.io.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u110087226|p03061|0
u110087226|p03061|0
codenet
Compile Error
2,922
v2_s932921088
s932921088
s932921088
p03061
p03061
u129357465
u129357465
1,558,143,575
2019-05-18T01:39:35
Main.java
import java.io.*; 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; }else{ ...
Main.java:114: error: ';' expected b[n-i] = gcd(a[n-1-i],b[n-i+1]) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u129357465|p03061|1
u129357465|p03061|1
codenet
Compile Error
3,360
v2_s744323779
s744323779
s744323779
p03061
p03061
u218740431
u218740431
1,588,986,340
2020-05-09T01:05:40
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*y/gcd(x,y); ...
Main.java:40: error: ';' expected for(int i=0;i<a;i++){ans[i]=gcd(l[i],r[i+1])} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03061|0
u218740431|p03061|0
codenet
Compile Error
1,693
v2_s670355724
s670355724
s670355724
p03061
p03061
u218740431
u218740431
1,588,986,376
2020-05-09T01:06:16
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*y/gcd(x,y); ...
Main.java:38: error: array required, but int found for(int i=1;i<=a;i++){l[i]=gcd(l[i-1],a[i]);} ^ Main.java:39: error: array required, but int found for(int i=a-1;i>=0;i--){r[i]=gcd(r[i+1],a[i]);} ^ 2 errors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03061|0
u218740431|p03061|0
codenet
Compile Error
1,695
v2_s090543706
s090543706
s090543706
p03061
p03061
u228127260
u228127260
1,556,416,733
2019-04-28T01:58:53
Main.java
import java.io.PrintStream; import java.util.Scanner; import library.common.Predef; public class Main { static final PrintStream so = System.out; static final Scanner sc = new Scanner(System.in); public static void main(String[] args) { int N = ni(); int[] A = new int[N]; for ...
Main.java:4: error: package library.common does not exist import library.common.Predef; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u228127260|p03061|0
u228127260|p03061|0
codenet
Compile Error
1,531
v2_s758328027
s758328027
s758328027
p03061
p03061
u280715164
u280715164
1,556,455,722
2019-04-28T12:48:42
Main.java
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(); Arrays.sort(A); boolean flg = true; int counter = 1; int max = 1; for(int i=1;i<n;i++){ if(A[i]%A[n-1]!=0){ if(c...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) Main.java:54: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u280715164|p03061|0
u280715164|p03061|0
codenet
Compile Error
775
v2_s829406671
s829406671
s829406671
p03061
p03061
u288042356
u288042356
1,586,724,003
2020-04-12T20:40:03
Main.java
import java.util.*; import java.io.*; import java.util.function.*; import lib.util.*; // import lib.graph.*; // import lib.io.*; // import lib.math.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); PrintWriter out = new PrintWriter(System.out); ...
Main.java:4: error: package lib.util does not exist import lib.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03061|0
u288042356|p03061|0
codenet
Compile Error
15,795
v2_s869400997
s869400997
s869400997
p03061
p03061
u324881146
u324881146
1,566,449,606
2019-08-22T04:53:26
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; int[] G = new int[n]; int[] GL = new int[n]; int[] GR = new int[n]; for(int i = 0; i < n; i++) { a[i] = Intege...
Main.java:44: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u324881146|p03061|0
u324881146|p03061|0
codenet
Compile Error
822
v2_s787503378
s787503378
s787503378
p03061
p03061
u324881146
u324881146
1,566,449,683
2019-08-22T04:54:43
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; int[] G = new int[n]; int[] GL = new int[n]; int[] GR = new int[n]; for(int i = 0; i < n; i++) { a[i] = Integer...
Main.java:4: error: illegal character: '\u3000' public class?Main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u324881146|p03061|0
u324881146|p03061|0
codenet
Compile Error
825
v2_s852523360
s852523360
s852523360
p03061
p03061
u417414025
u417414025
1,561,069,198
2019-06-20T22:19:58
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] Ai = new int[N]; List<Integer> AiList = new ArrayList<>(); for (int ...
Main.java:86: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u417414025|p03061|5
u417414025|p03061|5
codenet
Compile Error
1,698
v2_s467731848
s467731848
s467731848
p03061
p03061
u487433273
u487433273
1,578,609,255
2020-01-09T22:34:15
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=0;i<N;i++) { a[i]= sc.nextInt(); } int[] forans = new int[N]; int tmp =0; for(int i=0;i<N;i++) { tmp=a...
Main.java:20: error: incompatible types: possible lossy conversion from long to int tmp = gcd(tmp,a[k]); ^ Main.java:24: error: incompatible types: possible lossy conversion from long to int tmp = gcd(tmp,a[k]); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03061|1
u487433273|p03061|1
codenet
Compile Error
691
v2_s981687307
s981687307
s981687307
p03061
p03061
u521293705
u521293705
1,556,418,652
2019-04-28T02:30:52
Main.java
import java.util.*; public class Main{ static int gcd(int a, int b) {//最大公約数を求める if(b == 0) return a; return gcd(b, a%b); } public static void main(String args[]){ // スキャナーの宣言 Scanner sc = new Scanner(System.in); // 整数の入力 int n = sc.nextInt(); int[] a = ...
Main.java:79: error: ')' expected if(gcd(a[0], a[1] == 1 && !flag) flag = true; ^ Main.java:89: error: ')' expected if(gcd(a[2], a[1] == 1 && !flag) flag = true; ^ Main.java:99: error: ')' exp...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521293705|p03061|0
u521293705|p03061|0
codenet
Compile Error
3,662
v2_s043351026
s043351026
s043351026
p03061
p03061
u521293705
u521293705
1,556,418,724
2019-04-28T02:32:04
Main.java
import java.util.*; public class Main{ static int gcd(int a, int b) {//最大公約数を求める if(b == 0) return a; return gcd(b, a%b); } public static void main(String args[]){ // スキャナーの宣言 Scanner sc = new Scanner(System.in); // 整数の入力 int n = sc.nextInt(); int[] a = ...
Main.java:79: error: ')' expected if(gcd(a[0], a[1] == 1 && !flag){ ^ Main.java:91: error: ')' expected if(gcd(a[2], a[1] == 1 && !flag){ ^ Main.java:103: error: ')' expected i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521293705|p03061|0
u521293705|p03061|0
codenet
Compile Error
3,856
v2_s970693898
s970693898
s970693898
p03061
p03061
u521293705
u521293705
1,556,419,123
2019-04-28T02:38:43
Main.java
import java.util.*; public class Main{ static int gcd(int a, int b) {//最大公約数を求める if(b == 0) return a; return gcd(b, a%b); } public static void main(String args[]){ // スキャナーの宣言 Scanner sc = new Scanner(System.in); // 整数の入力 int n = sc.nextInt(); int[] a = n...
Main.java:63: error: cannot find symbol for(int i = 0; i < min(n, 50000); i++){ ^ symbol: method min(int,int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521293705|p03061|0
u521293705|p03061|0
codenet
Compile Error
3,866
v2_s534099367
s534099367
s534099367
p03061
p03061
u592264721
u592264721
1,556,418,474
2019-04-28T02:27:54
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N=sc.nextInt(); int[] A=new int[N]; for(int i=0;i<N;i++)A[i]=sc.nextInt(); sc.close(); int max=1; if(N==2){ max=Math.max(A[0],A[1]); }else{ int g=gcd(A[0], A[1]); for(int i=0;i<N;i++){ if...
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
u592264721|p03061|0
u592264721|p03061|0
codenet
Compile Error
793
v2_s197760787
s197760787
s197760787
p03061
p03061
u689946852
u689946852
1,556,427,651
2019-04-28T05:00:51
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; import java.util.stream.Collectors; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scanner = new Scanner(System.in); String inputN = scanner.nextLin...
Main.java:30: error: cannot find symbol acm = calc(acm, inA.get(i)); ^ symbol: method calc(int,Integer) location: class Main Main.java:38: error: cannot find symbol acm = calc(acm, inA.get(i)); ^ symbol: method calc(int,Integer) location: class Main Main.java:68: error: cannot find s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u689946852|p03061|0
u689946852|p03061|0
codenet
Compile Error
1,517
v2_s178461408
s178461408
s178461408
p03061
p03061
u769839099
u769839099
1,556,419,200
2019-04-28T02:40:00
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] a = new int[n]; int[] gcd = new int[n]; int[] gcd2 = new int[n]; for(int i = 0; i < n; i++){ a[i] = scan.nextInt(); } int count = 0; int gcd[0] ...
Main.java:17: error: ']' expected int gcd[0] = a[0]; ^ Main.java:17: error: not a statement int gcd[0] = a[0]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769839099|p03061|0
u769839099|p03061|0
codenet
Compile Error
1,905
v2_s358532575
s358532575
s358532575
p03061
p03061
u892395063
u892395063
1,556,416,953
2019-04-28T02:02:33
Main.java
public class Main { public static void main(String[] args) { int i, j; Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int[] a = new int[n]; for(i=0; i<n; i++) { a[i] = Integer.parseInt(sc.next()); } sc.close(); sc = null; if(n==2) { System.out.println(Math.max(a[0], a...
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u892395063|p03061|0
u892395063|p03061|0
codenet
Compile Error
698
v2_s837638331
s837638331
s837638331
p03061
p03061
u908039151
u908039151
1,556,471,200
2019-04-28T17:06:40
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); public static void main(String[] args) { Main main = new Main(); main.solve(); } private void solve() { int n = nextInt(); long[]a = new long [n]; for(int i=0;i<n;i++)a[i]=nextLong(); long[] L =...
Main.java:12: error: cannot find symbol int n = nextInt(); ^ symbol: method nextInt() location: class Main Main.java:14: error: cannot find symbol for(int i=0;i<n;i++)a[i]=nextLong(); ^ symbol: method nextLong() location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u908039151|p03061|1
u908039151|p03061|1
codenet
Compile Error
699
v2_s887242117
s887242117
s887242117
p03061
p03061
u981382049
u981382049
1,556,417,478
2019-04-28T02:11:18
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n, x, y, tmp,m,m1; m=m1=0; n = sc.nextInt(); int v[] = new int[n]; int tmp[] = new int[n]; for(int i=0;i<n;i++){ v[i]=sc.nextInt(); } if(v[0]>v[1]){ x...
Main.java:10: error: variable tmp is already defined in method main(String[]) int tmp[] = new int[n]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u981382049|p03061|0
u981382049|p03061|0
codenet
Compile Error
832
v2_s882433514
s882433514
s882433514
p03061
p03061
u992675902
u992675902
1,556,416,983
2019-04-28T02:03:03
CGCDOnBlackboard.java
package main.atcoder; import fastIO.InputReader; import java.io.PrintWriter; import java.util.*; public class CGCDOnBlackboard { public void solve(int testNumber, InputReader in, PrintWriter out) { int n = in.nextInt(); int[] arr = new int[n]; int res = Integer.MAX_VALUE; for (int...
CGCDOnBlackboard.java:3: error: package fastIO does not exist import fastIO.InputReader; ^ CGCDOnBlackboard.java:9: error: cannot find symbol public void solve(int testNumber, InputReader in, PrintWriter out) { ^ symbol: class InputReader location: class CGCD...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u992675902|p03061|0
u992675902|p03061|0
codenet
Compile Error
1,535
v2_s670422263
s670422263
s670422263
p03061
p03061
u999478725
u999478725
1,558,311,947
2019-05-20T00:25:47
Main.java
import java.util.*; public class Main { static int gcd( int a , int b ){ return b>0?gcd(b,a%b):a; } public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] num; num = new int[N]; for ( int i = 0 ; i < N ; i++ ){ num[i] = sc.nextInt();...
Main.java:24: error: cannot find symbol GCD = gcd ( num[k] , GCD ); ^ symbol: variable GCD location: class Main Main.java:24: error: cannot find symbol GCD = gcd ( num[k] , GCD ); ^ symbol: variable GCD location: class Main Main.java:26: error: cannot fin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u999478725|p03061|0
u999478725|p03061|0
codenet
Compile Error
755
v2_s933924331
s933924331
s933924331
p03062
p03062
u046105273
u046105273
1,556,419,186
2019-04-28T02:39:46
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); long[] b = new long[a]; long[] c = new long[a]; long sum = 0; boolean check = false; for(int i=0; i<a; i++){ b[i] = sc.nextLong(); ...
Main.java:38: error: illegal start of type for(int i=0; i<a; i++){ ^ Main.java:38: error: > or ',' expected for(int i=0; i<a; i++){ ^ Main.java:38: error: <identifier> expected for(int i=0; i<a; i++){ ^ Main.java:41: error: <identifier> ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u046105273|p03062|0
u046105273|p03062|0
codenet
Compile Error
1,125
v2_s760880405
s760880405
s760880405
p03062
p03062
u053035132
u053035132
1,558,044,187
2019-05-16T22:03:07
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner in = new Scanner(System.in); long n = in.nextInt(); long a[] = new long[n]; for (int i = 0; i < n; ++i){ a[i] = in.nextInt(); } for (int i = 0; i < n-1; ++i){ ...
Main.java:7: error: incompatible types: possible lossy conversion from long to int long a[] = new long[n]; ^ Main.java:18: error: incompatible types: possible lossy conversion from long to int if (a[n-1] < 0 && Math.abs(a[n-2]) < Math.abs(a[n-1])){ ^ Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u053035132|p03062|1
u053035132|p03062|0
codenet
Compile Error
718
v2_s329689683
s329689683
s329689683
p03062
p03062
u274962354
u274962354
1,582,044,660
2020-02-18T16:51:00
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Scanner; public class Main { static FastScanner scan=new FastScanner(); static Scanner scanner=new Scanner(System.in); static long mod=1000000007; static double eps=0.0000000001...
Main.java:29: error: incompatible types: possible lossy conversion from long to int min=min(min,Math.abs(b[i])); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274962354|p03062|0
u274962354|p03062|0
codenet
Compile Error
5,492
v2_s462432885
s462432885
s462432885
p03062
p03062
u324881146
u324881146
1,563,574,292
2019-07-19T22:11:32
Main.java
import java.util.*; import java.lang.*; import java.io.*; public class Main{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); long Pmin = 0; long Nmin = 0; long Psum = 0; long Nsum = 0; boolean flag = false; List<Long> positive = new ArrayList<Lo...
Main.java:21: error: ';' expected }elseif(a < 0){ ^ Main.java:27: error: 'else' without 'if' }else{ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u324881146|p03062|0
u324881146|p03062|0
codenet
Compile Error
868
v2_s552318372
s552318372
s552318372
p03062
p03062
u390762553
u390762553
1,556,419,085
2019-04-28T02:38:05
Main.java
import java.util.*; import java.math.*; class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); double[] a = new double[n]; int un = 0; for(int i = 0;i<n;i++) { a[i] = stdIn.nextDouble(); if(a[i]<0) { un+=1; ...
Main.java:28: error: illegal start of expression static double addArray(double[] a) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u390762553|p03062|0
u390762553|p03062|0
codenet
Compile Error
738
v2_s303915560
s303915560
s303915560
p03062
p03062
u390762553
u390762553
1,556,420,884
2019-04-28T03:08:04
Main.java
import java.util.*; import java.math.*; class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); double[] a = new double[n]; int un = 0; for(int i = 0;i<n;i++) { a[i] = stdIn.nextDouble(); if(a[i]<0) { un+=1; ...
Main.java:28: error: illegal start of expression static double addArray(double[] a) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u390762553|p03062|0
u390762553|p03062|0
codenet
Compile Error
738
v2_s077642846
s077642846
s077642846
p03062
p03062
u487433273
u487433273
1,556,421,219
2019-04-28T03:13:39
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int max = sc.nextInt(); int[] a = new int(max); int count = 0; for(int i=0;i<max;i++){ int c = sc.nextInt(); if(c<0){ count++; c = -c; } a[i] = c; } i...
Main.java:6: error: '[' expected int[] a = new int(max); ^ Main.java:6: error: ']' expected int[] a = new int(max); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03062|0
u487433273|p03062|0
codenet
Compile Error
622
v2_s338139295
s338139295
s338139295
p03062
p03062
u487433273
u487433273
1,556,421,486
2019-04-28T03:18:06
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int max = sc.nextInt(); int[] a = new int(max); int count = 0; for(int i=0;i<max;i++){ int c = sc.nextInt(); if(c<0){ count++; c = -c; } a[i] = c; } l...
Main.java:6: error: '[' expected int[] a = new int(max); ^ Main.java:6: error: ']' expected int[] a = new int(max); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487433273|p03062|0
u487433273|p03062|0
codenet
Compile Error
623
v2_s500689341
s500689341
s500689341
p03062
p03062
u653013798
u653013798
1,556,418,218
2019-04-28T02:23: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[] a = new int[n]; for(int i=0; i<n; i++){ a[i] = sc.nextInt(); } int ans = 0; int ttl = 0; for(int i=0; i<n-1; i++){ ttl = 0; a...
Main.java:25: error: ';' expected a[i+1]=a[i+1]*(-1) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653013798|p03062|0
u653013798|p03062|0
codenet
Compile Error
553
v2_s658107831
s658107831
s658107831
p03062
p03062
u714538557
u714538557
1,556,414,537
2019-04-28T01:22:17
Main.java
#include <bits/stdc++.h> using namespace std; #define int long long int MOD = (int)1e9 + 7; int INF = (int)2e18; // Comment out below and program paste // #include "UnionFind.hpp" // #include "power.hpp" signed main() { ios::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; vector<int> A(...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:3: error: illegal character: '#' #define int long long ^ Main.java:3: error: class, interface, enum, or record expected #define int long long...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u714538557|p03062|0
u714538557|p03062|0
codenet
Compile Error
683
v2_s552886237
s552886237
s552886237
p03062
p03062
u963101847
u963101847
1,577,730,820
2019-12-30T18:33:40
Main.java
import java.util.*; import java.io.*; public class Main { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out))); public static void main(String[] args) throws Exception { int n = Inte...
Main.java:27: error: cannot find symbol sum -= abs; ^ symbol: variable abs location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u963101847|p03062|0
u963101847|p03062|0
codenet
Compile Error
807
v2_s272397378
s272397378
s272397378
p03062
p03062
u964598828
u964598828
1,556,417,929
2019-04-28T02:18:49
Main.java
import java.util.*; public class Main { public int[] value; public int[] cost; public Main() { } public static void main(String[] args) { Scanner scan = new Scanner(System.in); int size = scan.nextInt(); int[] num = new int[size]; for(int i = 0; i < size; i++) { n...
Main.java:32: error: ';' expected System.out.println(sum) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03062|0
u964598828|p03062|0
codenet
Compile Error
573
v2_s186543488
s186543488
s186543488
p03062
p03062
u964598828
u964598828
1,556,417,953
2019-04-28T02:19:13
Main.java
import java.util.*; public class Main { public int[] value; public int[] cost; public Main() { } public static void main(String[] args) { Scanner scan = new Scanner(System.in); int size = scan.nextInt(); int[] num = new int[size]; for(int i = 0; i < size; i++) { n...
Main.java:28: error: bad operand types for binary operator '+' num+= num[i]; ^ first type: int[] second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03062|0
u964598828|p03062|0
codenet
Compile Error
574
v2_s491923410
s491923410
s491923410
p03062
p03062
u964598828
u964598828
1,556,419,049
2019-04-28T02:37:29
Main.java
import java.util.*; import java.lang.Math; public class Main { private int sum = INTEGER.MIN_VALUE; private int size; public Main() { } public void getSum (int[] num, int index, int temp) { if (index == this.size - 1) { sum = Math.min(temp + num[index]); return; } getSum...
Main.java:6: error: cannot find symbol private int sum = INTEGER.MIN_VALUE; ^ symbol: variable INTEGER location: class Main Main.java:14: error: no suitable method found for min(int) sum = Math.min(temp + num[index]); ^ method Math.min(int,int) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03062|0
u964598828|p03062|0
codenet
Compile Error
909
v2_s007425613
s007425613
s007425613
p03062
p03062
u964598828
u964598828
1,556,419,163
2019-04-28T02:39:23
Main.java
import java.util.*; import java.lang.Math; import Java.lang.Integer; public class Main { private int sum = INTEGER.MIN_VALUE; private int size; public Main() { } public void getSum (int[] num, int index, int temp) { if (index == this.size - 1) { sum = Math.min(temp + num[index], this.sum);...
Main.java:3: error: package Java.lang does not exist import Java.lang.Integer; ^ Main.java:7: error: cannot find symbol private int sum = INTEGER.MIN_VALUE; ^ symbol: variable INTEGER location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03062|0
u964598828|p03062|0
codenet
Compile Error
954
v2_s246917993
s246917993
s246917993
p03062
p03062
u964598828
u964598828
1,556,419,415
2019-04-28T02:43:35
Main.java
import java.util.*; import java.lang.Math; import Java.lang.Integer; public class Main { private int sum = Integer.MIN_VALUE; private int size; public Main() { } public void getSum (int[] num, int index, int temp) { if (index == this.size - 1) { sum = Math.min(temp + num[index], this.sum);...
Main.java:3: error: package Java.lang does not exist import Java.lang.Integer; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964598828|p03062|0
u964598828|p03062|0
codenet
Compile Error
954
v2_s409497320
s409497320
s409497320
p03063
p03063
u521293705
u521293705
1,579,275,961
2020-01-17T15:46:01
Main.java
import java.io.*; import java.util.*; class Main{ final static long MOD = 1000000007; FastScanner sc = new FastScanner(); public static void main(String[] args) { new Main().solve(); } void solve(){ int n = sc.nextInt(); String s = sc.next(); boolean flagw = false...
Main.java:22: error: illegal start of expression if(flagw %% s.charAt(i) == '.') w++; ^ Main.java:24: error: illegal start of expression if(flagb %% s.charAt(n - 1 - i) == '#') b++; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521293705|p03063|0
u521293705|p03063|0
codenet
Compile Error
4,981
v2_s457473606
s457473606
s457473606
p03063
p03063
u552502395
u552502395
1,555,812,214
2019-04-21T02:03:34
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String args[]) { try (Scanner in = new Scanner(System.in)) { int N = in.nextInt(); String S = in.next(); char[] cs = S.toCharArray(); ArrayList<Integer> l = new...
Main.java:49: error: cannot find symbol Utils.debug(i, cumsumW[i], cumsumB[i], cumsumW[i] + cumsumB[i]); ^ symbol: variable Utils location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u552502395|p03063|0
u552502395|p03063|0
codenet
Compile Error
1,813
v2_s270338231
s270338231
s270338231
p03063
p03063
u552502395
u552502395
1,555,813,209
2019-04-21T02:20:09
Main.java
import java.util.ArrayList; import java.util.Scanner; import util.Utils; public class Main { public static void main(String args[]) { try (Scanner in = new Scanner(System.in)) { int N = in.nextInt(); String S = in.next(); char[] cs = S.toCharArray(); ArrayL...
Main.java:4: error: package util does not exist import util.Utils; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u552502395|p03063|0
u552502395|p03063|0
codenet
Compile Error
1,902
v2_s387899914
s387899914
s387899914
p03063
p03063
u554541965
u554541965
1,558,455,721
2019-05-21T16:22:01
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int number=sc.nextInt(); String str = new String(); str=sc.next(); int count=0; int sum=0; int count2=0; // for(int z=0;z<number;z++) { count=0; count2=0; ...
Main.java:47: error: reached end of file while parsing System.out.print(sum);} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554541965|p03063|1
u554541965|p03063|1
codenet
Compile Error
638
v2_s089693813
s089693813
s089693813
p03065
p03065
u429053592
u429053592
1,555,813,625
2019-04-21T02:27:05
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Random; import java.io.IOException; import java.io.Reader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.io.BufferedReader; import java.io....
Main.java:65: error: cannot assign a value to final variable ps ps = next; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u429053592|p03065|0
u429053592|p03065|0
codenet
Compile Error
5,199