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_s118370862
s118370862
s118370862
p00011
p00011
u755268821
u755268821
1,452,139,687
2016-01-07T04:08:07
Main.java
public static void main(String[] args){ Scanner sc=new Scanner(System.in); int w=sc.nextInt(); int num[]=new int[w+1]; for(int i=1;i<=w;i++){ num[i]=i; } int n=sc.nextInt(); for(int i=0;i<n;i++){ String[] str=sc.next().split(","); int a=Integer.parseInt(str[0]); int b=Integer.parseInt(str[1])...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u755268821|p00011|0
u755268821|p00011|0
codenet
Compile Error
451
v2_s156532106
s156532106
s156532106
p00011
p00011
u755268821
u755268821
1,452,139,698
2016-01-07T04:08:18
Main.java
public static void main(String[] args){ Scanner sc=new Scanner(System.in); int w=sc.nextInt(); int num[]=new int[w+1]; for(int i=1;i<=w;i++){ num[i]=i; } int n=sc.nextInt(); for(int i=0;i<n;i++){ String[] str=sc.next().split(","); int a=Integer.parseInt(str[0]); int b=Integer.parseInt(str[1])...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u755268821|p00011|0
u755268821|p00011|0
codenet
Compile Error
451
v2_s251047542
s251047542
s251047542
p00011
p00011
u755268821
u755268821
1,452,139,711
2016-01-07T04:08:31
Main.java
public static void main(String[] args){ Scanner sc=new Scanner(System.in); int w=sc.nextInt(); int num[]=new int[w+1]; for(int i=1;i<=w;i++){ num[i]=i; } int n=sc.nextInt(); for(int i=0;i<n;i++){ String[] str=sc.next().split(","); int a=Integer.parseInt(str[0]); int b=Integer.parseInt(str[1])...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u755268821|p00011|0
u755268821|p00011|0
codenet
Compile Error
451
v2_s175960846
s175960846
s175960846
p00011
p00011
u755268821
u755268821
1,452,139,720
2016-01-07T04:08:40
Main.java
public static void main(String[] args){ Scanner sc=new Scanner(System.in); int w=sc.nextInt(); int num[]=new int[w+1]; for(int i=1;i<=w;i++){ num[i]=i; } int n=sc.nextInt(); for(int i=0;i<n;i++){ String[] str=sc.next().split(","); int a=Integer.parseInt(str[0]); int b=Integer.parseInt(str[1])...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u755268821|p00011|0
u755268821|p00011|0
codenet
Compile Error
451
v2_s328502769
s328502769
s328502769
p00011
p00011
u758643885
u758643885
1,430,115,902
2015-04-27T06:25:02
Main.java
public class Main { public static void Main(String[] args) { Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int[] a = new int[w+1]; for(int i=1;i<=w;i++)a[i]=i; int m = sc.nextInt(); while(m--!=0){ String[] s = sc.next().split(","); int l = Integer.parseInt(s[0]); int r = Integer.pars...
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
u758643885|p00011|0
u758643885|p00011|0
codenet
Compile Error
435
v2_s323955648
s323955648
s323955648
p00011
p00011
u768361792
u768361792
1,462,770,696
2016-05-09T05:11:36
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // ?¨??????\??????????????????????????????????????? Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int n = sc.nextInt(); int[] values = new int[w]; for (int i = 0; i < values.length; i++) { values[i] = i + 1; } for (int i...
Main.java:23: error: cannot find symbol for(i=0;i<w;i++){ ^ symbol: variable i location: class Main Main.java:23: error: cannot find symbol for(i=0;i<w;i++){ ^ symbol: variable i location: class Main Main.java:23: error: cannot find symbol for(i=0;i<w;i++){ ^ symbol: variable i ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u768361792|p00011|0
u768361792|p00011|0
codenet
Compile Error
685
v2_s215320503
s215320503
s215320503
p00011
p00011
u778333573
u778333573
1,430,811,909
2015-05-05T07:45:09
Main.java
import java.util.Scanner; public class Main { static int[]z; public static int a,b,n,w,t; public static void main(String[] args) { Scanner sc=new Scanner(System.in); w=sc.nextInt(); n=sc.nextInt(); z = new int[w]; mmm(); for(int i=0;i<w;i++) System....
Main.java:20: error: cannot find symbol String mm= sc.next(); ^ symbol: variable sc location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u778333573|p00011|0
u778333573|p00011|0
codenet
Compile Error
738
v2_s163474728
s163474728
s163474728
p00011
p00011
u832288236
u832288236
1,525,672,766
2018-05-07T05:59:26
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // 標準入力からデータを読み込む準備 try (Scanner sc = new Scanner(System.in)) { int w = sc.nextInt(); int n = sc.nextInt(); int[] values = new int[w]; for (int i = 0; i < va...
Main.java:19: error: cannot find symbol values[a] = value[b]; ^ symbol: variable value location: class Main Main.java:23: error: cannot find symbol System.out.println("%d\n",values[i]); ^ symbol: varia...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u832288236|p00011|0
u832288236|p00011|0
codenet
Compile Error
932
v2_s053550711
s053550711
s053550711
p00011
p00011
u832288236
u832288236
1,525,672,800
2018-05-07T06:00:00
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { int w = sc.nextInt(); int n = sc.nextInt(); int[] values = new int[w]; for (int i = 0; i < values.length; i++) { ...
Main.java:18: error: cannot find symbol values[a] = value[b]; ^ symbol: variable value location: class Main Main.java:22: error: cannot find symbol System.out.println("%d\n",values[i]); ^ symbol: varia...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u832288236|p00011|0
u832288236|p00011|0
codenet
Compile Error
871
v2_s177745826
s177745826
s177745826
p00011
p00011
u832288236
u832288236
1,525,672,845
2018-05-07T06:00:45
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { int w = sc.nextInt(); int n = sc.nextInt(); int[] values = new int[w]; for (int i = 0; i < values.length; i++) { ...
Main.java:22: error: cannot find symbol System.out.println("%d\n",values[i]); ^ symbol: variable i location: class Main Main.java:22: error: no suitable method found for println(String,int) System.out.println("%d\n",values[i]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u832288236|p00011|0
u832288236|p00011|0
codenet
Compile Error
872
v2_s218928901
s218928901
s218928901
p00011
p00011
u832288236
u832288236
1,525,672,882
2018-05-07T06:01:22
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { int w = sc.nextInt(); int n = sc.nextInt(); int[] values = new int[w]; for (int i = 0; i < values.length; i++) { ...
Main.java:22: error: cannot find symbol System.out.println("%d\n",values[i]); ^ symbol: variable i location: class Main Main.java:22: error: no suitable method found for println(String,int) System.out.println("%d\n",values[i]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u832288236|p00011|0
u832288236|p00011|0
codenet
Compile Error
874
v2_s674901869
s674901869
s674901869
p00011
p00011
u877840161
u877840161
1,463,026,800
2016-05-12T04:20:00
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // ?¨??????\?????????????????????????????????????????? Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int n = sc.nextInt(); int j = 0, k = 0; int[] a = new int[w + 1]; for (int i = 0; i <= w; i++) { a[i] = i; } for (in...
Main.java:25: error: reached end of file while parsing sc.close(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u877840161|p00011|0
u877840161|p00011|0
codenet
Compile Error
555
v2_s170785646
s170785646
s170785646
p00011
p00011
u877840161
u877840161
1,463,026,851
2016-05-12T04:20:51
DrawingLots.java
import java.util.Scanner; public class DrawingLots { public static void main(String[] args) { // ?¨??????\?????????????????????????????????????????? Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int n = sc.nextInt(); int j = 0, k = 0; int[] a = new int[w + 1]; for (int i = 0; i <= w; i++) { a[i] = i; } ...
DrawingLots.java:25: error: reached end of file while parsing sc.close(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u877840161|p00011|0
u877840161|p00011|0
codenet
Compile Error
562
v2_s210708382
s210708382
s210708382
p00011
p00011
u877840161
u877840161
1,463,027,306
2016-05-12T04:28:26
DrawingLots.java
import java.util.Scanner; public class DrawingLots { public static void main(String[] args) { // ?¨??????\?????????????????????????????????????????? Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int n = sc.nextInt(); int j = 0, k = 0; int[] a = new int[w + 1]; for (int i = 1; i <= w; i++) { a[i] = i; } ...
DrawingLots.java:22: error: cannot find symbol for( i = 1; i <= w; i++){ ^ symbol: variable i location: class DrawingLots DrawingLots.java:22: error: cannot find symbol for( i = 1; i <= w; i++){ ^ symbol: variable i location: class DrawingLots DrawingLots.java:22: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u877840161|p00011|0
u877840161|p00011|0
codenet
Compile Error
560
v2_s493749281
s493749281
s493749281
p00011
p00011
u877840161
u877840161
1,463,027,395
2016-05-12T04:29:55
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // ?¨??????\?????????????????????????????????????????? Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int n = sc.nextInt(); int j = 0, k = 0; int[] a = new int[w + 1]; for (int i = 1; i <= w; i++) { a[i] = i; } for (in...
Main.java:22: error: cannot find symbol for( i = 1; i <= w; i++){ ^ symbol: variable i location: class Main Main.java:22: error: cannot find symbol for( i = 1; i <= w; i++){ ^ symbol: variable i location: class Main Main.java:22: error: cannot find symbol for( i = 1; i <= w; i++){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u877840161|p00011|0
u877840161|p00011|0
codenet
Compile Error
552
v2_s754161160
s754161160
s754161160
p00011
p00011
u877840161
u877840161
1,463,029,826
2016-05-12T05:10:26
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // ?¨??????\?????????????????????????????????????????? Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int n = sc.nextInt(); int[] values = new int[w]...
Main.java:23: error: not a statement -uuu:**-F1 Main.java Top L1 (Java/l Abbrev)--------------------------- ^ Main.java:23: error: ';' expected -uuu:**-F1 Main.java Top L1 (Java/l Abbrev)--------------------------- ^ Main.java:23: error: ';' expected -uuu:**-F1 Main.java Top L1 (Java/l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u877840161|p00011|0
u877840161|p00011|0
codenet
Compile Error
1,007
v2_s252144112
s252144112
s252144112
p00011
p00011
u893217810
u893217810
1,430,112,370
2015-04-27T05:26:10
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int n = sc.nextInt(); int a[] = new int[w]; int b[] = new int[w]; int c[] = new int[w]; int temp; int i = 0; for(i=0;i<w;i++){ a[i] = i + 1; ...
Main.java:27: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u893217810|p00011|0
u893217810|p00011|0
codenet
Compile Error
510
v2_s098213453
s098213453
s098213453
p00011
p00011
u910402677
u910402677
1,480,489,074
2016-11-30T06:57:54
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ int w = scan.nextInt(); int[] dl = new int[w]; for(int i = 0; i < w; i++){ dl[i] = i + 1; } int n = scan.nextInt(); for(int i = 0; i < n; i++){ String input = ...
Main.java:16: error: cannot find symbol int a = Integer.parseInt(num[0]); ^ symbol: variable num location: class Main Main.java:17: error: cannot find symbol int b = Integer.parseInt(num[1]); ^ symbol: variable num location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00011|0
u910402677|p00011|0
codenet
Compile Error
602
v2_s027453600
s027453600
s027453600
p00011
p00011
u910402677
u910402677
1,480,570,046
2016-12-01T05:27:26
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ int w = scan.nextInt(); int n = scan.nextInt(); int[] dl = new int[w]; for(int i = 0; i < w; i++){ dl[i] = i + 1; } for(int i = 0; i < n; i++){ String \n = sca...
Main.java:14: error: illegal character: '\' String \n = scan.nextLine(); ^ Main.java:14: error: not a statement String \n = scan.nextLine(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00011|1
u910402677|p00011|1
codenet
Compile Error
623
v2_s236791670
s236791670
s236791670
p00011
p00011
u942037564
u942037564
1,508,823,500
2017-10-24T05:38:20
Main.java
/** * Drawing Lots * (http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0011&lang=jp) * * @author ikaruga */ class Main { public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new InputStreamReader( System.in)); List<String> lines = br.lines().collect(Collector...
Main.java:35: error: cannot find symbol List<Yokosen> yokosenList) { ^ symbol: class List location: class Main Main.java:10: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader( ^ symbol: class BufferedReader location: class Main Main.java:10: error: cannot fin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u942037564|p00011|1
u942037564|p00011|1
codenet
Compile Error
1,732
v2_s094632893
s094632893
s094632893
p00011
p00011
u951319620
u951319620
1,525,670,639
2018-05-07T05:23:59
Drawing.java
import java.util.Scanner; public class Drawing { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { int w = sc.nextInt(); int n = sc.nextInt(); int[] values = new int[w]; for (int i = 0; i < values.length; i++) { ...
Drawing.java:28: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u951319620|p00011|0
u951319620|p00011|0
codenet
Compile Error
870
v2_s347829013
s347829013
s347829013
p00011
p00011
u960490627
u960490627
1,462,774,048
2016-05-09T06:07:28
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[] values = new int[w]; for(int i=0;i<values.length;i++){ values[i]=i+1; } for(int i=0;i<n;i++){ String str = sc.next(); String[] ab = str.split(","); ...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960490627|p00011|0
u960490627|p00011|0
codenet
Compile Error
582
v2_s503806537
s503806537
s503806537
p00011
p00011
u960490627
u960490627
1,462,774,070
2016-05-09T06:07:50
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[] values = new int[w]; for(int i=0;i<values.length;i++){ values[i]=i+1; } for(int i=0;i<n;i++){ String str = sc.next(); String[] ab = str.split(","); ...
Main.java:6: error: cannot find symbol int[] values = new int[w]; ^ symbol: variable w location: class Main Main.java:10: error: cannot find symbol for(int i=0;i<n;i++){ ^ symbol: variable n location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960490627|p00011|0
u960490627|p00011|0
codenet
Compile Error
588
v2_s154177906
s154177906
s154177906
p00011
p00011
u960490627
u960490627
1,462,774,148
2016-05-09T06:09:08
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int n = sc,nextInt(); int[] values = new int[w]; for(int i=0;i<values.length;i++){ values[i]=i+1; } for(int i=0;i<n;i++){ String str ...
Main.java:7: error: ';' expected int n = sc,nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960490627|p00011|0
u960490627|p00011|0
codenet
Compile Error
640
v2_s243686204
s243686204
s243686204
p00011
p00011
u973580811
u973580811
1,526,265,486
2018-05-14T02:38:06
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); // String code = sc.nextLine(); // String answer = ""; int box[] = new int[30]; String p = ""; String q = ""; int x=0; int w = s...
Main.java:22: error: ')' or ',' expected String[] ab = str.split(regex","); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973580811|p00011|1
u973580811|p00011|1
codenet
Compile Error
851
v2_s414834359
s414834359
s414834359
p00011
p00011
u973580811
u973580811
1,526,265,512
2018-05-14T02:38:32
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int box[] = new int[30]; String p = ""; String q = ""; int x=0; int w = sc.nextInt(); int n = sc.nextInt(); for(int ...
Main.java:20: error: ')' or ',' expected String[] ab = str.split(regex","); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973580811|p00011|1
u973580811|p00011|1
codenet
Compile Error
782
v2_s237599172
s237599172
s237599172
p00011
p00011
u973580811
u973580811
1,526,265,584
2018-05-14T02:39:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int box[] = new int[30]; int x=0; int w = sc.nextInt(); int n = sc.nextInt(); for(int i=0;i<w;i++){ box[i] = i + 1; ...
Main.java:18: error: ')' or ',' expected String[] ab = str.split(regex","); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973580811|p00011|1
u973580811|p00011|1
codenet
Compile Error
736
v2_s071491472
s071491472
s071491472
p00011
p00011
u982302262
u982302262
1,403,600,022
2014-06-24T08:53:42
Main.java
import java.io.*; import java.uti.*; public class Main{ public static void main(String[] args){ BufferedReader reader=new BufferedReader(new InputStreamReader(System.in)); String s,t,u; int a,b,hako; hako=0; String[] abc=new String[2]; int[] xyz=new int[2]; try{ while(true){ s=reader.readLine(); ...
Main.java:2: error: package java.uti does not exist import java.uti.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982302262|p00011|0
u982302262|p00011|0
codenet
Compile Error
842
v2_s046781052
s046781052
s046781052
p00011
p00011
u985809245
u985809245
1,330,830,197
2012-03-04T03:03:17
Main.java
package p.saburou.aoj import java.util.ArrayList; import java.util.Scanner; public class Main { private static Scanner sc = new Scanner(System.in); public static void main(String[] args) { ArrayList<Integer> num = new ArrayList<Integer>(); ArrayList<Integer> a = new ArrayList<Integer>(); ArrayList<Integer>...
Main.java:1: error: ';' expected package p.saburou.aoj ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985809245|p00011|0
u985809245|p00011|0
codenet
Compile Error
1,218
v2_s504258555
s504258555
s504258555
p00011
p00011
u993535761
u993535761
1,525,673,097
2018-05-07T06:04:57
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int w = sc.nextInt(); int n = sc.nextInt(); int[] array=new int[w]; for(int i=0;i<w;i++)array[i]=i+1; int a=0,b=0; for(int i=0;i<n;i++){ ...
Main.java:13: error: bad operand types for binary operator '-' a=Integer.parseInt(ab[0]-1); ^ first type: String second type: int Main.java:14: error: bad operand types for binary operator '-' b=Integer.parseInt(ab[1]-1); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u993535761|p00011|0
u993535761|p00011|0
codenet
Compile Error
659
v2_s656582584
s656582584
s656582584
p00012
p00012
u269308343
u269308343
1,441,162,839
2015-09-02T03:00:39
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNextDouble()){ double x1 = sc.nextDouble(); double y1 = sc.nextDouble(); double x2 = sc.nextDouble(); double y2 = sc.nextDouble(); double x3 = sc.nextDouble(); ...
Main.java:51: error: cannot find symbol public Line(Point p1, Point p2){ ^ symbol: class Point location: class Line Main.java:51: error: cannot find symbol public Line(Point p1, Point p2){ ^ symbol: class Point location: class Line Main.java:64: error: cannot find symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u269308343|p00012|0
u269308343|p00012|0
codenet
Compile Error
2,246
v2_s629413713
s629413713
s629413713
p00012
p00012
u269308343
u269308343
1,441,164,045
2015-09-02T03:20:45
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNextDouble()){ double x1 = sc.nextDouble(); double y1 = sc.nextDouble(); double x2 = sc.nextDouble(); double y2 = sc.nextDouble(); double x3 = sc.nextDouble(); ...
Main.java:138: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u269308343|p00012|0
u269308343|p00012|0
codenet
Compile Error
2,616
v2_s014429971
s014429971
s014429971
p00012
p00012
u339990004
u339990004
1,356,246,939
2012-12-23T07:15:39
Main.java
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] arg) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s; while((s=br.readLine())!=null){ double x1 = Doubl...
Main.java:23: error: illegal character: '\u3000' else ?System.out.println("NO"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u339990004|p00012|0
u339990004|p00012|0
codenet
Compile Error
1,756
v2_s268441081
s268441081
s268441081
p00012
p00012
u358879127
u358879127
1,319,365,224
2011-10-23T10:20:24
Main.java
import java.util.*; public class Main { Scanner sc = new Scanner(System.in); void run() { while ( sc.hasNext() ) { Point[] p = new Point[4]; for(int i=0;i<4;i++) { p[i] = new Point( sc.nextDouble(),sc.nextDouble() ); } if(!isInner(p[0], p[1], p[2], p[3])) System.out.println("NO"); else Sy...
Main.java:26: error: cannot find symbol new Main.run(); ^ symbol: class run location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358879127|p00012|1
u358879127|p00012|1
codenet
Compile Error
877
v2_s464998906
s464998906
s464998906
p00012
p00012
u393312973
u393312973
1,476,019,023
2016-10-09T13:17:03
main.java
import java.io.BufferedRender; import java.io.IOException; import java.io.InputStreamRender; public class main{ public static void main(String[] args) throws IOException{ BufferedRender br = new BufferRender(new InputStreamReader(System.in)); String str = br.readLine(); Boolean isNull = str.equals(""); while(!isNull){...
main.java:1: error: cannot find symbol import java.io.BufferedRender; ^ symbol: class BufferedRender location: package java.io main.java:3: error: cannot find symbol import java.io.InputStreamRender; ^ symbol: class InputStreamRender location: package java.io main.java:7: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u393312973|p00012|0
u393312973|p00012|0
codenet
Compile Error
1,301
v2_s504038994
s504038994
s504038994
p00012
p00012
u393312973
u393312973
1,476,019,091
2016-10-09T13:18:11
main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class main{ public static void main(String[] args) throws IOException{ BufferedRender br = new BufferRender(new InputStreamReader(System.in)); String str = br.readLine(); Boolean isNull = str.equals(""); while(!isNull){...
main.java:7: error: cannot find symbol BufferedRender br = new BufferRender(new InputStreamReader(System.in)); ^ symbol: class BufferedRender location: class main main.java:7: error: cannot find symbol BufferedRender br = new BufferRender(new InputStreamReader(System.in)); ^ symbol: cl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u393312973|p00012|0
u393312973|p00012|0
codenet
Compile Error
1,301
v2_s359331633
s359331633
s359331633
p00012
p00012
u393312973
u393312973
1,476,019,113
2016-10-09T13:18:33
main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferReader(new InputStreamReader(System.in)); String str = br.readLine(); Boolean isNull = str.equals(""); while(!isNull){...
main.java:7: error: cannot find symbol BufferedReader br = new BufferReader(new InputStreamReader(System.in)); ^ symbol: class BufferReader location: class main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u393312973|p00012|0
u393312973|p00012|0
codenet
Compile Error
1,301
v2_s470365137
s470365137
s470365137
p00012
p00012
u635534452
u635534452
1,457,293,397
2016-03-06T19:43:17
Main.java
import java.util.Scanner; import static java.lang.Math.*; class Main { public static void main (String args[]) { Scanner scan = new Scanner(System.in); double[] p = new double[6]; double[] S = new double[4]; while (scan.hasNext()) { for (int i=0; i<6; i++) { p[i] = scan.nextDouble(); } doubl...
Main.java:41: error: variable S is already defined in method main(String[]) double S = round(S[0] + S[1] + S[2]); ^ Main.java:41: error: array required, but double found double S = round(S[0] + S[1] + S[2]); ^ Main.java:41: error: array required, but double found double...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u635534452|p00012|0
u635534452|p00012|0
codenet
Compile Error
1,280
v2_s801012657
s801012657
s801012657
p00012
p00012
u879226672
u879226672
1,434,508,911
2015-06-17T02:41:51
Main.java
import java.io.IOException; import java.util.Scanner; public class Main { static double cross(double x1, double x2, double y1, double y2, double xp, double yp){ return (x2-x1) * (yp-y2) - (y2-y1) * (xp-x2); public static void main(String[] args) throws IOException { Scanner sc = new Scanne...
Main.java:8: error: illegal start of expression public static void main(String[] args) throws IOException { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u879226672|p00012|1
u879226672|p00012|1
codenet
Compile Error
1,348
v2_s185883634
s185883634
s185883634
p00012
p00012
u889282704
u889282704
1,423,472,898
2015-02-09T09:08:18
Main.java
public class Main { void run() { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { double x1 = sc.nextDouble(); double y1 = sc.nextDouble(); double x2 = sc.nextDouble(); double y2 = sc.nextDouble(); double x3 = sc.nextDouble(); double y3 = sc.nextDouble(); double xp = sc.nextDoub...
Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u889282704|p00012|0
u889282704|p00012|0
codenet
Compile Error
1,101
v2_s045577024
s045577024
s045577024
p00012
p00012
u910402677
u910402677
1,480,492,984
2016-11-30T08:03:04
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<String> list = new ArrayList<String>(); while(scan.hasNext()){ x1 = scan.nextDouble(); y1 = scan.nextDouble(); x2 = scan.nextDouble(); y2 = scan.nextDouble(...
Main.java:9: error: cannot find symbol x1 = scan.nextDouble(); ^ symbol: variable x1 location: class Main Main.java:10: error: cannot find symbol y1 = scan.nextDouble(); ^ symbol: variable y1 location: class Main Main.java:11: error: cannot find symbol x2 = scan.nextDouble(); ^ symbol: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00012|0
u910402677|p00012|0
codenet
Compile Error
897
v2_s791489042
s791489042
s791489042
p00012
p00012
u910402677
u910402677
1,480,497,062
2016-11-30T09:11:02
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ while(scan.hasNext()){ double x1 = scan.nextDouble(); double y1 = scan.nextDouble(); double x2 = scan.nextDouble(); double y2 = scan.nextDouble(); double x3 = s...
Main.java:25: error: cannot find symbol if(S_abc == S_pab + S_pac + P_pbc){ ^ symbol: variable P_pbc location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00012|0
u910402677|p00012|0
codenet
Compile Error
897
v2_s560970280
s560970280
s560970280
p00012
p00012
u910402677
u910402677
1,480,498,772
2016-11-30T09:39:32
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ while(scan.hasNext()){ double[] x = new double[3]; double[] y = new double[3]; for(int i = 0; i < 3; i++){ x[i] = scan.nextDouble(); y[i] = scan.nextdouble();...
Main.java:12: error: cannot find symbol y[i] = scan.nextdouble(); ^ symbol: method nextdouble() location: variable scan of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00012|0
u910402677|p00012|0
codenet
Compile Error
873
v2_s226227919
s226227919
s226227919
p00012
p00012
u939720302
u939720302
1,447,776,671
2015-11-17T16:11:11
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; public class Main { public static void main(String[] args) { print(); } public static void print() { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); St...
Main.java:44: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u939720302|p00012|0
u939720302|p00012|0
codenet
Compile Error
1,352
v2_s948792016
s948792016
s948792016
p00013
p00013
u196414313
u196414313
1,501,855,722
2017-08-04T14:08:42
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { String strLine =""; BufferedReader stdReader = new BufferedReader(new InputStreamRea...
Main.java:23: error: not a statement 8 while((strLine = stdReader.readLine()) != null) { ^ Main.java:23: error: ';' expected 8 while((strLine = stdReader.readLine()) != null) { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u196414313|p00013|0
u196414313|p00013|0
codenet
Compile Error
988
v2_s944080794
s944080794
s944080794
p00013
p00013
u205820388
u205820388
1,331,309,042
2012-03-09T16:04:02
Main.java
import java.util.*;public class Main {public static void main(String[] args) {Scanner s = new Scanner(System.in);Stack data = new Stack();while(s.hasNext()){int in = s.nextInt();if(in != 0)data.push(in);elseSystem.out.println(data.pop());}}}
Main.java:1: error: package elseSystem does not exist import java.util.*;public class Main {public static void main(String[] args) {Scanner s = new Scanner(System.in);Stack data = new Stack();while(s.hasNext()){int in = s.nextInt();if(in != 0)data.push(in);elseSystem.out.println(data.pop());}}} ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u205820388|p00013|0
u205820388|p00013|0
codenet
Compile Error
241
v2_s106858718
s106858718
s106858718
p00013
p00013
u211138527
u211138527
1,434,546,264
2015-06-17T13:04:24
Main.java
import java.util.Scanner; import java.util.Deque; import java.util.Linkedlist; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); Deque<Integer> d=new Linkedlist<Integer>(); while(sc.hasNextInt()){ int n=sc.nextInt(); if(n==0){ System.out.println(d.pollFirst()); } else{ d.offerFirst...
Main.java:3: error: cannot find symbol import java.util.Linkedlist; ^ symbol: class Linkedlist location: package java.util Main.java:8: error: cannot find symbol Deque<Integer> d=new Linkedlist<Integer>(); ^ symbol: class Linkedlist location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00013|0
u211138527|p00013|0
codenet
Compile Error
332
v2_s403606635
s403606635
s403606635
p00013
p00013
u223673510
u223673510
1,450,232,836
2015-12-16T02:27:16
aoj0013.java
public class aoj0013 { static final Scanner stdin = new Scanner(System.in); public static void main(String[] args) { Stack<Integer> st = new Stack<Integer>(); while(stdin.hasNext()){ int i = stdin.nextInt(); if( i == 0 ) System.out.println( st.pop() ); else st.push(i); } } }
aoj0013.java:2: error: cannot find symbol static final Scanner stdin = new Scanner(System.in); ^ symbol: class Scanner location: class aoj0013 aoj0013.java:2: error: cannot find symbol static final Scanner stdin = new Scanner(System.in); ^ symbol: class Scanne...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u223673510|p00013|0
u223673510|p00013|0
codenet
Compile Error
293
v2_s330368198
s330368198
s330368198
p00013
p00013
u223673510
u223673510
1,452,612,419
2016-01-12T15:26:59
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); Stack<Integer> stack = new Stack<Integer>(); while(sc.hasNextInt()){ int a=sc.nextInt(); if(a==0){ System.out.println(stack.pop()); ...
Main.java:12: error: method push in class Stack<E> cannot be applied to given types; stack.push(); ^ required: Integer found: no arguments reason: actual and formal argument lists differ in length where E is a type-variable: E extends Object declared in class Stack 1 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u223673510|p00013|2
u223673510|p00013|2
codenet
Compile Error
399
v2_s622041948
s622041948
s622041948
p00013
p00013
u284889485
u284889485
1,375,274,857
2013-07-31T12:47:37
Main.java
#include <iostream> using namespace std; int main(){ int cnt = 0; int sta; int train[10]={0}; while(cin >> sta){ if(sta == 0){ cnt--; cout << train[cnt] << endl; } else { train[cnt] = sta; cnt++; } } }
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:7: error: not a statement int train[10]={0}; ^ Main.java:11: error: not a statement cout << train[cnt] << endl; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u284889485|p00013|0
u284889485|p00013|0
codenet
Compile Error
302
v2_s565062460
s565062460
s565062460
p00013
p00013
u413996626
u413996626
1,306,941,979
2011-06-01T15:26:19
Main.java
import java.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); Stack<Integer> s = new Stack<Integer>(); while(sc.hasNext()){ int a = sc.nextInt(); if(a==0)System.out.println(s.pop()); else s.push(a); } } }
Main.java:1: error: package java does not exist import java.*; ^ Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u413996626|p00013|0
u413996626|p00013|0
codenet
Compile Error
275
v2_s597416127
s597416127
s597416127
p00013
p00013
u605441342
u605441342
1,300,175,177
2011-03-15T07:46:17
Main.java
import java.io.*; public class Main { public static void main(String[] args)throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); String str; stack s = new stack(); while(true){ str = br.readLine(); int n = Integer.parseInt(str); if...
Main.java:43: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605441342|p00013|0
u605441342|p00013|0
codenet
Compile Error
795
v2_s840262257
s840262257
s840262257
p00013
p00013
u724963150
u724963150
1,476,538,036
2016-10-15T13:27:16
Main.java
import java.io.*; public class Main { public static void main(String[]args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str=br.readLine(); int[] list=new list[10]; int top=0; while(str!=null){ int num=Integer.parseInt(str); if(num==0){ System.ou...
Main.java:6: error: cannot find symbol int[] list=new list[10]; ^ symbol: class list location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u724963150|p00013|0
u724963150|p00013|0
codenet
Compile Error
408
v2_s540843748
s540843748
s540843748
p00013
p00013
u728700495
u728700495
1,424,642,351
2015-02-22T21:59:11
Main.java
rail = [] while line = gets car = line.to_i if car == 0 p rail.pop else rail << car end end
Main.java:1: error: class, interface, enum, or record expected rail = [] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u728700495|p00013|0
u728700495|p00013|0
codenet
Compile Error
107
v2_s721136869
s721136869
s721136869
p00013
p00013
u760351030
u760351030
1,342,371,320
2012-07-15T16:55:20
Main.java
mport java.util.Scanner; public class Main { public static void main(String arg[]) { Scanner scan = new Scanner(System.in); int cb[] = new int[10+1]; int index = 0; while(scan.hasNext()) { int ca = scan.nextInt(); if (ca == 0) { System.out.println(cb[index-1]); index--; continue; ...
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u760351030|p00013|0
u760351030|p00013|0
codenet
Compile Error
363
v2_s680594207
s680594207
s680594207
p00013
p00013
u910402677
u910402677
1,480,574,120
2016-12-01T06:35:20
Main.java
import java.util.*; public class Main{ private static final scan = Scanner(System.in); public static void main(String[] args){ List<Integer> list = new ArrayList<Integer>(); while(scan.hasNext()){ int in = scan.nextInt(); int size = list.size(); if(in == 0){ list.remove(size - 1); } list.add(...
Main.java:4: error: <identifier> expected private static final scan = Scanner(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00013|0
u910402677|p00013|0
codenet
Compile Error
419
v2_s248682331
s248682331
s248682331
p00013
p00013
u910402677
u910402677
1,480,574,292
2016-12-01T06:38:12
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Integer> list = new ArrayList<Integer>(); while(scan.hasNext()){ int in = scan.nextInt(); int size = list.size(); if(in == 0){ list.remove(size - 1); } ...
Main.java:17: error: cannot find symbol for(int i = size - 1; i >= 0; i++){ ^ symbol: variable size location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00013|0
u910402677|p00013|0
codenet
Compile Error
431
v2_s629815576
s629815576
s629815576
p00013
p00013
u910402677
u910402677
1,480,574,404
2016-12-01T06:40:04
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Integer> list = new ArrayList<Integer>(); int size; while(scan.hasNext()){ int in = scan.nextInt(); size = list.size(); if(in == 0){ list.remove(size - 1...
Main.java:17: error: variable size might not have been initialized for(int i = size - 1; i >= 0; i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00013|0
u910402677|p00013|0
codenet
Compile Error
438
v2_s466016464
s466016464
s466016464
p00013
p00013
u982302262
u982302262
1,403,610,468
2014-06-24T11:47:48
Main.java
import java.io.*; port java.util.*; public class Main{ public static void main(String[] args){ BufferedReader reader=new BufferedReader(new InputStreamReader(System.in)); LinkedList<Integer> stack=new LinkedList<Integer>(); ArrayList<Integer> list=new ArrayList<Integer>(); String s; int n,t; try{ while...
Main.java:2: error: class, interface, enum, or record expected port java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u982302262|p00013|0
u982302262|p00013|0
codenet
Compile Error
825
v2_s511531236
s511531236
s511531236
p00014
p00014
u021233305
u021233305
1,394,114,222
2014-03-06T13:57:02
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int d, x; while (sc.hasNext()) { area = 0; d = sc.nextInt(); for (int i = 0; i < 600; i += d) { x = i * i; area += x * d; } System.out.println(area); } } }
Main.java:8: error: cannot find symbol area = 0; ^ symbol: variable area location: class Main Main.java:12: error: cannot find symbol area += x * d; ^ symbol: variable area location: class Main Main.java:14: error: cannot find symbol System.out.println(area); ^ symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u021233305|p00014|0
u021233305|p00014|0
codenet
Compile Error
307
v2_s821313883
s821313883
s821313883
p00014
p00014
u211138527
u211138527
1,434,547,941
2015-06-17T13:32:21
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ int d=sc.nextInt(); int n=600/d-1; int s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; System.out.println(s); } } }
Main.java:9: error: ')' expected int s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: not a statement int s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: ';' expected int s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: not a statement int s=n*(n...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00014|0
u211138527|p00014|0
codenet
Compile Error
239
v2_s978585897
s978585897
s978585897
p00014
p00014
u211138527
u211138527
1,434,548,029
2015-06-17T13:33:49
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ int d=sc.nextInt(); int n=600/d-1; int s=n*(n+1)*(2n+1)*d*d*d/6; System.out.println(s); } } }
Main.java:9: error: ')' expected int s=n*(n+1)*(2n+1)*d*d*d/6; ^ Main.java:9: error: not a statement int s=n*(n+1)*(2n+1)*d*d*d/6; ^ Main.java:9: error: ';' expected int s=n*(n+1)*(2n+1)*d*d*d/6; ^ Main.java:9: error: not a statement int s=n*(n+1)*(2n+1)*d*d*d/6; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00014|0
u211138527|p00014|0
codenet
Compile Error
231
v2_s671972466
s671972466
s671972466
p00014
p00014
u211138527
u211138527
1,434,548,096
2015-06-17T13:34:56
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ int d=sc.nextInt(); int n=600/d-1; long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; System.out.println(s); } } }
Main.java:9: error: ')' expected long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: not a statement long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: ';' expected long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: not a statement long...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00014|0
u211138527|p00014|0
codenet
Compile Error
240
v2_s225322211
s225322211
s225322211
p00014
p00014
u211138527
u211138527
1,434,548,200
2015-06-17T13:36:40
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ int d=sc.nextInt(); int n=(600/d)-1; long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; System.out.println(s); } } }
Main.java:9: error: ')' expected long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: not a statement long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: ';' expected long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: not a statement long...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00014|0
u211138527|p00014|0
codenet
Compile Error
242
v2_s338454160
s338454160
s338454160
p00014
p00014
u211138527
u211138527
1,434,548,417
2015-06-17T13:40:17
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ long d=sc.nextLong(); long n=(600/d)-1; long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; System.out.println(s); } } }
Main.java:9: error: ')' expected long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: not a statement long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: ';' expected long s=n*(n+1)*(2n+1)*Math.pow(d,3)/6; ^ Main.java:9: error: not a statement long...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00014|0
u211138527|p00014|0
codenet
Compile Error
245
v2_s867871947
s867871947
s867871947
p00014
p00014
u211138527
u211138527
1,434,548,637
2015-06-17T13:43:57
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ long d=sc.nextLong(); long n=(600/d)-1; long s=((2*Math.pow(n,3)+3*Math.pow(n,2)+n)*Math.pow(d,3))/6; System.out.println(s); } } }
Main.java:9: error: incompatible types: possible lossy conversion from double to long long s=((2*Math.pow(n,3)+3*Math.pow(n,2)+n)*Math.pow(d,3))/6; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00014|0
u211138527|p00014|0
codenet
Compile Error
268
v2_s348973879
s348973879
s348973879
p00014
p00014
u236679854
u236679854
1,503,845,194
2017-08-27T14:46:34
Main.java
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; class Main { public static void main (String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (sc.hasNextInt()) { ...
Main.java:10: error: cannot find symbol while (sc.hasNextInt()) { ^ symbol: variable sc location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u236679854|p00014|0
u236679854|p00014|0
codenet
Compile Error
447
v2_s264741015
s264741015
s264741015
p00014
p00014
u254990098
u254990098
1,480,095,590
2016-11-25T17:39:50
Main.java
public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; while((str=br.readLine()) != null){ int integral = 0; int j=1; int d = Integer.parseInt(str); int num = 600 / d; for(int i=0; i<num-1; i++){ i...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) throws IOException ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u254990098|p00014|1
u254990098|p00014|0
codenet
Compile Error
411
v2_s885158324
s885158324
s885158324
p00014
p00014
u254990098
u254990098
1,480,095,669
2016-11-25T17:41:09
Main.java
public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; while((str=br.readLine()) != null){ int integral = 0; int j=1; int d = Integer.parseInt(str); int num = 600 / d; for(int i=0; i<num-1; i++){ i...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) throws IOException ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u254990098|p00014|1
u254990098|p00014|0
codenet
Compile Error
411
v2_s323204262
s323204262
s323204262
p00014
p00014
u736256485
u736256485
1,486,897,104
2017-02-12T10:58:24
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); int d; while(true){ d=s.nextInt(); if(d != null) integral(d[i]); else ...
Main.java:9: error: bad operand types for binary operator '!=' if(d != null) integral(d[i]); ^ first type: int second type: <null> Main.java:9: error: cannot find symbol if(d != null) integral(d[i]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u736256485|p00014|0
u736256485|p00014|0
codenet
Compile Error
607
v2_s766537042
s766537042
s766537042
p00014
p00014
u910402677
u910402677
1,480,576,637
2016-12-01T07:17:17
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Integer> list = new ArrayList<Integer>(); while(scan.hasNext()){ int d = scan.nextInt(); int n600 = 600; int ans = 0; for(int x = d; x < n600; x += d){ ...
Main.java:13: error: ')' expected ans += d * ((x * x); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00014|0
u910402677|p00014|0
codenet
Compile Error
431
v2_s488068337
s488068337
s488068337
p00014
p00014
u995780824
u995780824
1,319,955,146
2011-10-30T06:12:26
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; //public class Problem0014_Integral { public class Main { public static void main(String[] args) { try { // Problem0014_Integral test = new Problem0014_Integral(); Main test = new Main(); BufferedReader reader = new BufferedReader(new ...
Main.java:14: error: cannot find symbol CarStack stack = new CarStack(); ^ symbol: class CarStack location: class Main Main.java:14: error: cannot find symbol CarStack stack = new CarStack(); ^ symbol: class CarStack location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u995780824|p00014|0
u995780824|p00014|0
codenet
Compile Error
1,183
v2_s724039342
s724039342
s724039342
p00015
p00015
u088290348
u088290348
1,401,984,081
2014-06-05T16:01:21
Main.java
mport java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); while(t--!=0){ BigInteger b = sc.nextBigInteger().add(sc.nextBigInteger()); System.out.println(b.toString().length()>80?"overflow":...
Main.java:1: error: class, interface, enum, or record expected mport java.math.BigInteger; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u088290348|p00015|0
u088290348|p00015|0
codenet
Compile Error
343
v2_s293858180
s293858180
s293858180
p00015
p00015
u211138527
u211138527
1,434,549,705
2015-06-17T14:01:45
Main.java
import java.util.Scanner; import java.math.BigInteger; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); for(int i=0i<n;i++){ BigInteger a=sc.nextBigInteger(); BigInteger b=sc.nextBigInteger(); a=a.add(b); if(a.toString().length()>80{ System.out.println("overflo...
Main.java:8: error: ';' expected for(int i=0i<n;i++){ ^ Main.java:12: error: ')' expected if(a.toString().length()>80{ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00015|0
u211138527|p00015|0
codenet
Compile Error
363
v2_s941499820
s941499820
s941499820
p00015
p00015
u211138527
u211138527
1,435,506,740
2015-06-28T15:52:20
Main.java
import java.util.Scanner; import java.math.BigInteger; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); for(int i=0;i<n;i++){ BigInteger a=sc.nextBigInteger(); BigInteger b=sc.nextBigInteger(); a=a.add(b); if(String.valeOf(a).length()>80){ System.out.println("...
Main.java:12: error: cannot find symbol if(String.valeOf(a).length()>80){ ^ symbol: method valeOf(BigInteger) location: class String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00015|1
u211138527|p00015|1
codenet
Compile Error
370
v2_s412161524
s412161524
s412161524
p00015
p00015
u285298145
u285298145
1,390,473,004
2014-01-23T10:30:04
Main.java
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()); BigInteger a,b; for (int i = 0; i < N; i++) { a = new BigInteger(in.readLine()); b = new BigInteger(in.readLin...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:3: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u285298145|p00015|0
u285298145|p00015|0
codenet
Compile Error
564
v2_s745357606
s745357606
s745357606
p00015
p00015
u285298145
u285298145
1,390,473,180
2014-01-23T10:33:00
Main.java
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()); BigInteger a,b; for (int i = 0; i < N; i++) { a = new BigInteger(in.readLine()); b = new BigInteger(in.readLin...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:3: error: cannot find symbol BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u285298145|p00015|0
u285298145|p00015|0
codenet
Compile Error
584
v2_s573545922
s573545922
s573545922
p00015
p00015
u292012552
u292012552
1,479,379,375
2016-11-17T10:42:55
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); for ...
Main.java:12: error: cannot find symbol if (s.length() > 80){ ^ symbol: variable s location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u292012552|p00015|0
u292012552|p00015|0
codenet
Compile Error
650
v2_s609400969
s609400969
s609400969
p00015
p00015
u339990004
u339990004
1,356,209,155
2012-12-22T20:45:55
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.util.Stack; public class Main { public static void main(String[] arg) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine());...
Main.java:52: error: incompatible types: possible lossy conversion from int to byte temp = a.pop() + b.pop() + roundup; ^ Main.java:54: error: incompatible types: possible lossy conversion from int to byte temp = b.pop() + roundup; ^ Main.java:56: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u339990004|p00015|1
u339990004|p00015|1
codenet
Compile Error
1,821
v2_s983794194
s983794194
s983794194
p00015
p00015
u343710561
u343710561
1,503,449,379
2017-08-23T00:49:39
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static main(String argv[]) { int num; BigDecimal bd1; BigDecimal bd2; BigDecimal sum; BufferReader br = new BufferReader(new InputStream(System.in)); num = Integer.perseInt(br.readLine()); ...
Main.java:7: error: invalid method declaration; return type required public static main(String argv[]) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
703
v2_s171643877
s171643877
s171643877
p00015
p00015
u343710561
u343710561
1,503,449,410
2017-08-23T00:50:10
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigDecimal bd1; BigDecimal bd2; BigDecimal sum; BufferReader br = new BufferReader(new InputStream(System.in)); num = Integer.perseInt(br.readLine...
Main.java:10: error: cannot find symbol BigDecimal bd1; ^ symbol: class BigDecimal location: class Main Main.java:11: error: cannot find symbol BigDecimal bd2; ^ symbol: class BigDecimal location: class Main Main.java:12: error: cannot find symbol BigDecimal sum; ^ symbol: class BigDecimal locat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
708
v2_s470473141
s470473141
s470473141
p00015
p00015
u343710561
u343710561
1,503,449,445
2017-08-23T00:50:45
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferReader br = new BufferReader(new InputStream(System.in)); num = Integer.perseInt(br.readLine...
Main.java:14: error: cannot find symbol BufferReader br = new BufferReader(new InputStream(System.in)); ^ symbol: class BufferReader location: class Main Main.java:14: error: cannot find symbol BufferReader br = new BufferReader(new InputStream(System.in)); ^ symbol: class BufferRead...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
708
v2_s430809426
s430809426
s430809426
p00015
p00015
u343710561
u343710561
1,503,449,456
2017-08-23T00:50:56
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferReader br = new BufferReader(new InputStream(System.in)); num = Integer.perseInt(br.readLine...
Main.java:14: error: cannot find symbol BufferReader br = new BufferReader(new InputStream(System.in)); ^ symbol: class BufferReader location: class Main Main.java:14: error: cannot find symbol BufferReader br = new BufferReader(new InputStream(System.in)); ^ symbol: class BufferRead...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
708
v2_s248317854
s248317854
s248317854
p00015
p00015
u343710561
u343710561
1,503,449,515
2017-08-23T00:51:55
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferReader br = new BufferReader(new InputStream(System.in)); num = Integer.perseInt(br.readLine...
Main.java:14: error: cannot find symbol BufferReader br = new BufferReader(new InputStream(System.in)); ^ symbol: class BufferReader location: class Main Main.java:14: error: cannot find symbol BufferReader br = new BufferReader(new InputStream(System.in)); ^ symbol: class BufferRead...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
708
v2_s224945917
s224945917
s224945917
p00015
p00015
u343710561
u343710561
1,503,449,546
2017-08-23T00:52:26
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferedReader br = new BufferedReader(new InputStream(System.in)); num = Integer.perseInt(br.read...
Main.java:14: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStream(System.in)); ^ symbol: class InputStream location: class Main Main.java:15: error: cannot find symbol num = Integer.perseInt(br.readLine()); ^ symbol: meth...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
712
v2_s366393139
s366393139
s366393139
p00015
p00015
u343710561
u343710561
1,503,449,563
2017-08-23T00:52:43
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferedReader br = new BufferedReader(new InputStream(System.in)); num = Integer.perseInt(br.read...
Main.java:14: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStream(System.in)); ^ symbol: class InputStream location: class Main Main.java:15: error: cannot find symbol num = Integer.perseInt(br.readLine()); ^ symbol: meth...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
712
v2_s077079403
s077079403
s077079403
p00015
p00015
u343710561
u343710561
1,503,449,588
2017-08-23T00:53:08
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); num = Integer.perseInt(b...
Main.java:15: error: cannot find symbol num = Integer.perseInt(br.readLine()); ^ symbol: method perseInt(String) location: class Integer Main.java:16: error: incompatible types: int cannot be converted to boolean while (num--) { ^ Main.java:17: error: cannot find symbol ln1 = br.readL...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
718
v2_s682514886
s682514886
s682514886
p00015
p00015
u343710561
u343710561
1,503,449,614
2017-08-23T00:53:34
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); num = Integer.parseInt(b...
Main.java:16: error: incompatible types: int cannot be converted to boolean while (num--) { ^ Main.java:17: error: cannot find symbol ln1 = br.readLine(); ^ symbol: variable ln1 location: class Main Main.java:18: error: cannot find symbol ln2 = br.readLine(); ^ symbol: variable ln2 locat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
718
v2_s954715626
s954715626
s954715626
p00015
p00015
u343710561
u343710561
1,503,449,649
2017-08-23T00:54:09
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); num = Integer.parseInt(b...
Main.java:17: error: cannot find symbol ln1 = br.readLine(); ^ symbol: variable ln1 location: class Main Main.java:18: error: cannot find symbol ln2 = br.readLine(); ^ symbol: variable ln2 location: class Main Main.java:19: error: cannot find symbol if (ln1 == null || ln2 == null) break; ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
723
v2_s817981142
s817981142
s817981142
p00015
p00015
u343710561
u343710561
1,503,449,670
2017-08-23T00:54:30
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); num = Integer.parseInt(b...
Main.java:26: error: cannot find symbol if (sum.toString().getLength() > 80) { ^ symbol: method getLength() location: class String Main.java:27: error: package Stream does not exist Stream.in.println("overflow"); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
737
v2_s018110194
s018110194
s018110194
p00015
p00015
u343710561
u343710561
1,503,449,699
2017-08-23T00:54:59
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); num = Integer.parseInt(b...
Main.java:26: error: cannot find symbol if (sum.getLength() > 80) { ^ symbol: method getLength() location: variable sum of type BigInteger Main.java:27: error: package Stream does not exist Stream.in.println("overflow"); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
726
v2_s856719457
s856719457
s856719457
p00015
p00015
u343710561
u343710561
1,503,449,768
2017-08-23T00:56:08
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); num = Integer.parseInt(b...
Main.java:26: error: cannot find symbol if (bd1.toString().getLength() > 80) { ^ symbol: method getLength() location: class String Main.java:27: error: package Stream does not exist Stream.in.println("overflow"); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
731
v2_s774882971
s774882971
s774882971
p00015
p00015
u343710561
u343710561
1,503,449,790
2017-08-23T00:56:30
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); num = Integer.parseInt(b...
Main.java:27: error: package Stream does not exist Stream.in.println("overflow"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
728
v2_s320721474
s320721474
s320721474
p00015
p00015
u343710561
u343710561
1,503,449,808
2017-08-23T00:56:48
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BigInteger sum; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); num = Integer.parseInt(b...
Main.java:29: error: variable sum might not have been initialized System.out.println(sum); ^ Main.java:15: error: unreported exception IOException; must be caught or declared to be thrown num = Integer.parseInt(br.readLine()); ^ Main.java:17: error: unreported ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
729
v2_s557611411
s557611411
s557611411
p00015
p00015
u343710561
u343710561
1,503,449,870
2017-08-23T00:57:50
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); num = Integer.parseInt(br.readLine()); w...
Main.java:14: error: unreported exception IOException; must be caught or declared to be thrown num = Integer.parseInt(br.readLine()); ^ Main.java:16: error: unreported exception IOException; must be caught or declared to be thrown String ln1 = br.readLine(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
723
v2_s393320673
s393320673
s393320673
p00015
p00015
u343710561
u343710561
1,503,449,943
2017-08-23T00:59:03
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String argv[]) { int num; BigInteger bd1; BigInteger bd2; try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); num = Integer.parseInt(br.readLine...
Main.java:32: error: '(' expected catch Exception e) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
715
v2_s651841320
s651841320
s651841320
p00015
p00015
u343710561
u343710561
1,503,450,737
2017-08-23T01:12:17
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { public static void main(String[] args) { int num; BigInteger bi1; BigInteger bi2; try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); num = Integer.parseInt(br.re...
Main.java:16: error: cannot find symbol if (bd1.toString().length() > 80 || bd2.toString().length() > 80) { ^ symbol: variable bd1 location: class Main Main.java:16: error: cannot find symbol if (bd1.toString().length() > 80 || bd2.toString().length() > 80) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u343710561|p00015|0
u343710561|p00015|0
codenet
Compile Error
697
v2_s772427360
s772427360
s772427360
p00015
p00015
u354076080
u354076080
1,403,775,332
2014-06-26T09:35:32
Main.java
import java.util.*; import java.math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int rep = sc.nextInt(); for(int u = 0; u < rep; u++){ String a = sc.next(); String b = sc.next(); int longer; ...
Main.java:41: error: ';' expected System.out.println("overflow") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u354076080|p00015|0
u354076080|p00015|0
codenet
Compile Error
1,958
v2_s005429919
s005429919
s005429919
p00015
p00015
u355971134
u355971134
1,502,700,990
2017-08-14T08:56:30
Main.java
import java.io.IOException; import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); int setNum = Integer.parseInt(sc.nextLine()); int inputNum = setNum * 2; String[][] ...
Main.java:51: error: cannot find symbol if(buf.length==80){ ^ symbol: variable length location: variable buf of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u355971134|p00015|0
u355971134|p00015|0
codenet
Compile Error
2,257
v2_s826856217
s826856217
s826856217
p00015
p00015
u355971134
u355971134
1,502,701,034
2017-08-14T08:57:14
Main.java
import java.io.IOException; import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); int setNum = Integer.parseInt(sc.nextLine()); int inputNum = setNum * 2; String[][...
Main.java:76: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u355971134|p00015|0
u355971134|p00015|0
codenet
Compile Error
2,267