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_s241665535
s241665535
s241665535
p00020
p00020
u292015526
u292015526
1,502,608,661
2017-08-13T07:17:41
Main.java
import com.sun.tools.javac.util.StringUtils; 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 BufferedReader(new InputStreamReader(System.in)); Stri...
Main.java:1: error: package com.sun.tools.javac.util is not visible import com.sun.tools.javac.util.StringUtils; ^ (package com.sun.tools.javac.util is declared in module jdk.compiler, which does not export it to the unnamed module) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u292015526|p00020|0
u292015526|p00020|0
codenet
Compile Error
477
v2_s180638169
s180638169
s180638169
p00020
p00020
u605441342
u605441342
1,412,242,163
2014-10-02T09:29:23
Main.java
import java.util.*; public Main{ public static viod main(String[] args){ Scanner sc=new Scanner(System.in); System.out.println(sc.nextLine().toUpperCase()); } }
Main.java:3: error: class, interface, enum, or record expected public Main{ ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. public static viod main(String[] args){ ^ (use --enable-preview to enable unnamed classes) Main.java:8: error: class, interface, enu...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605441342|p00020|2
u605441342|p00020|2
codenet
Compile Error
161
v2_s912399133
s912399133
s912399133
p00020
p00020
u605441342
u605441342
1,412,242,206
2014-10-02T09:30:06
Main.java
import java.util.*; public Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); System.out.println(sc.nextLine().toUpperCase()); } }
Main.java:3: error: class, interface, enum, or record expected public Main{ ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args){ ^ (use --enable-preview to enable unnamed classes) Main.java:8: error: class, interface, enu...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605441342|p00020|2
u605441342|p00020|2
codenet
Compile Error
161
v2_s683251621
s683251621
s683251621
p00020
p00020
u728700495
u728700495
1,424,645,137
2015-02-22T22:45:37
Main.java
puts gets.upcase
Main.java:1: error: class, interface, enum, or record expected puts gets.upcase ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u728700495|p00020|0
u728700495|p00020|0
codenet
Compile Error
16
v2_s283047481
s283047481
s283047481
p00020
p00020
u910402677
u910402677
1,481,176,746
2016-12-08T05:59:06
Main.java
public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ String line = scan.nextInt(); StringBuffer sb = new StringBuffer(); for(int i = 0; i < line.length(); i++){ char ch = line.charAt(i); if(Character.isLowerCase(ch)){ ch = Character...
Main.java:2: error: cannot find symbol private static final Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:2: error: cannot find symbol private static final Scanner scan = new Scanner(System.in); ^ sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00020|0
u910402677|p00020|0
codenet
Compile Error
433
v2_s827604939
s827604939
s827604939
p00020
p00020
u910402677
u910402677
1,481,176,793
2016-12-08T05:59:53
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ String line = scan.nextInt(); StringBuffer sb = new StringBuffer(); for(int i = 0; i < line.length(); i++){ char ch = line.charAt(i); if(Character.isLowerCase(ch)...
Main.java:8: error: incompatible types: int cannot be converted to String String line = scan.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00020|0
u910402677|p00020|0
codenet
Compile Error
454
v2_s311607007
s311607007
s311607007
p00021
p00021
u030036425
u030036425
1,494,380,829
2017-05-10T01:47:09
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.nextLine()); for (int i = 0; i < n; i++) { String input = sc.nextLine(); String[] values = input.split(" "); double ...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u030036425|p00021|0
u030036425|p00021|0
codenet
Compile Error
891
v2_s388652375
s388652375
s388652375
p00021
p00021
u090799640
u090799640
1,421,835,263
2015-01-21T10:14:23
Main.java
import java.util.Scanner; import java.util.Vector; class Main{ public static void main(String[] av){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Vector<Double> vec = new Vector<Double>(); while(sc.hasNextDouble()){ double x1 = sc.nextDouble(); double y1 = sc.nextDouble();...
Main.java:24: error: bad operand types for binary operator '&&' if ( y1 = y2 && y3 == y4 ){ ^ first type: double second type: boolean Main.java:24: error: incompatible types: double cannot be converted to boolean if ( y1 = y2 && y3 == y4 ){ ^ Main.java:28: error: bad op...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u090799640|p00021|0
u090799640|p00021|0
codenet
Compile Error
1,041
v2_s728075798
s728075798
s728075798
p00021
p00021
u181008385
u181008385
1,443,348,591
2015-09-27T10:09:51
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); while(n--!=0){ double[] a = new double[8]; for(int i=0;i<8;i++)a[i]=sc.nextDouble(); double e = (a[2]-a[0])*(a[7]-a[5])-(a[3]-a[1])*(a[6]-a[4]); System.out.println(e==0?"YES":"NO")...
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
u181008385|p00021|0
u181008385|p00021|0
codenet
Compile Error
330
v2_s484378999
s484378999
s484378999
p00021
p00021
u205820388
u205820388
1,331,391,621
2012-03-10T15:00:21
Main.java
import java.util.Scanner; import java.lang.Double; class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int num = s.nextInt(); for(int i=0 ; i<num ; i++){ Double a[] = new Double[8]; Double b,c; for(int j=0 ; j<8 ; j++) a[j] = s.nextDouble(); if((a[2]-a[0])!=...
Main.java:27: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u205820388|p00021|0
u205820388|p00021|0
codenet
Compile Error
614
v2_s405141869
s405141869
s405141869
p00021
p00021
u211138527
u211138527
1,435,410,400
2015-06-27T13:06:40
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str; int n=Integer.parseInt(br.readLine()); for(int i=0;i<n;i++){ str=br.rea...
Main.java:25: error: ';' expected System.out.println("NO") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00021|0
u211138527|p00021|0
codenet
Compile Error
749
v2_s013029003
s013029003
s013029003
p00021
p00021
u211138527
u211138527
1,435,411,574
2015-06-27T13:26:14
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int n=Integer.parseInt(br.readLine()); for(int i=0;i<n;i++){ String line = reader.r...
Main.java:10: error: cannot find symbol String line = reader.readLine(); ^ symbol: variable reader location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00021|0
u211138527|p00021|0
codenet
Compile Error
822
v2_s444071848
s444071848
s444071848
p00021
p00021
u211138527
u211138527
1,435,847,848
2015-07-02T14:37:28
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); for (int i = 0; i < n; i++) { String line = br.readLine(); String[] values = line.split(" "); double x1 =...
Main.java:20: error: cannot find symbol Systemout.println(det == 0.0 ? "YES" : "NO"); } ^ symbol: variable Systemout location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00021|1
u211138527|p00021|1
codenet
Compile Error
776
v2_s741599808
s741599808
s741599808
p00021
p00021
u211138527
u211138527
1,436,452,971
2015-07-09T14:42:51
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line=br.readLine(); int n = Integer.parseInt(line); for (int i = 0; i < n; i++) { String line = br.readLine(); String[] values = line.split(" "); dou...
Main.java:9: error: variable line is already defined in method main(String[]) String line = br.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00021|2
u211138527|p00021|2
codenet
Compile Error
749
v2_s263883312
s263883312
s263883312
p00021
p00021
u413996626
u413996626
1,306,943,475
2011-06-01T15:51:15
Main.java
import java.util.Scanner; //Parallelism public class ‚l‚‚‰‚Ž{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); while(n--!=0){ double[] a = new double[8]; for(int i=0;i<8;i++)a[i]=sc.nextDouble(); double e = (a[2]-a[0])*(a[7]-a[5])-(a[3]-a[1])*(a[6]-a...
Main.java:4: error: illegal character: '\u0082' public class ?l??????{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u413996626|p00021|0
u413996626|p00021|0
codenet
Compile Error
381
v2_s961468837
s961468837
s961468837
p00021
p00021
u491334076
u491334076
1,480,574,609
2016-12-01T06:43:29
Main.java
import java.util.Scanner; public class Main { private Scanner sc; public static void main(String[] args) { new Main(); } public Main() { sc = new Scanner(System.in); int nico = Integer.parseInt(sc.nextLine()); for (int i = 0; i < nico; i++) { String[] params = sc.nextLine().split(" "); doubl...
Main.java:27: error: integer number too large double d = (dx0 * dy1 - dy0 * dx1) * 10000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u491334076|p00021|0
u491334076|p00021|0
codenet
Compile Error
745
v2_s152523816
s152523816
s152523816
p00021
p00021
u532635730
u532635730
1,434,260,113
2015-06-14T05:35:13
Main.java
public static void main(String[] args) { Scanner sc = null; int dataSet = 0; double x1 = 0.0; double y1 = 0.0; double x2 = 0.0; double y2 = 0.0; double x3 = 0.0; double y3 = 0.0; double x4 = 0.0; double y4 = 0.0; try { sc = new Scanner(System.in); while (sc.hasNextInt()) { dataSet = sc...
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:37: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532635730|p00021|2
u532635730|p00021|2
codenet
Compile Error
785
v2_s931290932
s931290932
s931290932
p00021
p00021
u532635730
u532635730
1,434,261,215
2015-06-14T05:53:35
Main.java
class Main { public static void main(String[] args) { Scanner sc = null; try { sc = new Scanner(System.in); while (sc.hasNextInt()) { int dataSet = sc.nextInt(); for (int i = 0; i < dataSet; i++) { double x1 = sc.nextDouble(); double y1 = sc.nextDouble(); double x2 = sc.nextDouble();...
Main.java:5: error: cannot find symbol Scanner sc = null; ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532635730|p00021|2
u532635730|p00021|2
codenet
Compile Error
688
v2_s795737238
s795737238
s795737238
p00021
p00021
u532635730
u532635730
1,434,870,166
2015-06-21T07:02:46
Main.java
class Main { public static void main(String[] args) { Scanner sc = null; try { sc = new Scanner(System.in); while (sc.hasNextInt()) { int dataset = sc.nextInt(); double[] numbers = new double[8]; for (int i = 0; i < dataset; i++) { while (sc.hasNextDouble()) { numbers[i] = sc.nextDou...
Main.java:5: error: cannot find symbol Scanner sc = null; ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532635730|p00021|5
u532635730|p00021|4
codenet
Compile Error
849
v2_s799233304
s799233304
s799233304
p00021
p00021
u567478557
u567478557
1,441,609,065
2015-09-07T06:57:45
Main.java
public class Main{ public void run(java.io.InputStream in, java.io.PrintStream out){ java.util.Scanner sc = new java.util.Scanner(in); int n, i; double x1, y1, x2, y2, x3, y3, x4, y4; n = sc.nextInt(); for(i = 0;i < n;i++){ x1 = sc.nextDouble(); y1 = sc.nextDouble(); x2 = sc.nextDoubl...
Main.java:14: error: cannot find symbol l1x = x2 - x1; l1y = y2 - y1; ^ symbol: variable l1x location: class Main Main.java:14: error: cannot find symbol l1x = x2 - x1; l1y = y2 - y1; ^ symbol: variable l1y location: class Main Main.java:15: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u567478557|p00021|2
u567478557|p00021|2
codenet
Compile Error
722
v2_s435456665
s435456665
s435456665
p00021
p00021
u605441342
u605441342
1,300,649,005
2011-03-20T19:23:25
Main.java
import java.io.*; public class Main { public static void main(String[] args) throws IOException { int n = ReadString.readInt(); for(int i = 0; i < n; i++){ double[] arr = ReadString.readDoubleArray(8); Point p1 = new Point(arr[0], arr[1]); Point p2 = new Point(arr[2], arr[3]); Point p3 = new Point(ar...
Main.java:20: error: cannot find symbol static double katamuki(Point p1, Point p2){ ^ symbol: class Point location: class Main Main.java:20: error: cannot find symbol static double katamuki(Point p1, Point p2){ ^ symbol: class Point location: class...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605441342|p00021|0
u605441342|p00021|0
codenet
Compile Error
1,483
v2_s699586216
s699586216
s699586216
p00021
p00021
u765197056
u765197056
1,400,865,267
2014-05-23T17:14:27
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(); for(int i = 0;i < number ;i++){ double[] x = new double[4]; double[] y = new double[4]; x[0] = sc.nextDouble(); y[0] = sc.nextDouble(); x[...
Main.java:28: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u765197056|p00021|0
u765197056|p00021|0
codenet
Compile Error
624
v2_s319462121
s319462121
s319462121
p00021
p00021
u796112608
u796112608
1,529,028,221
2018-06-15T02:03:41
Main.java
public class Main{ public static void main(String args[]) { Scanner scn = new Scanner(System.in); double x1, y1, x2, y2, x3, y3, x4, y4; int n = scn.nextInt(); for (int i = 0; i < n; i++) { x1 = scn.nextDouble(); y1 = scn.nextDouble(); x2 = scn.nextDouble(); y2 = scn.nextDouble(); x3 = scn.next...
Main.java:4: error: cannot find symbol Scanner scn = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scn = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u796112608|p00021|0
u796112608|p00021|0
codenet
Compile Error
569
v2_s587969820
s587969820
s587969820
p00021
p00021
u871149799
u871149799
1,420,706,392
2015-01-08T08:39:52
P0021.java
import java.util.Scanner; public class P0021 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for (int i = 0; i < n; i++) { double[] p = new double[8]; // 座標入力 for (int j = 0; j < 8; j++) { p[j] = sc.nextDouble(); } // 傾き double a1 = (...
P0021.java:26: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u871149799|p00021|1
u871149799|p00021|1
codenet
Compile Error
525
v2_s458499760
s458499760
s458499760
p00021
p00021
u910402677
u910402677
1,481,181,208
2016-12-08T07:13:28
Main.java
import java.util.*; import java.math.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<String> list = new ArrayList<String>(); int n = scan.nextInt(); for(int i = 0; i < n; i++){ BigDecimal x1 = scan.nextBigDecimal(); BigDecim...
Main.java:27: error: no suitable method found for abs(BigDecimal) BigDecimal thetaA = Math.abs(ax) * Math.tan(Math.abs(ay) ^ method Math.abs(int) is not applicable (argument mismatch; BigDecimal cannot be converted to int) method Math.abs(long) is not applicable (argume...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00021|0
u910402677|p00021|0
codenet
Compile Error
1,078
v2_s742721208
s742721208
s742721208
p00021
p00021
u910402677
u910402677
1,481,181,343
2016-12-08T07:15:43
Main.java
import java.util.*; import java.math.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<String> list = new ArrayList<String>(); int n = scan.nextInt(); for(int i = 0; i < n; i++){ BigDecimal x1 = scan.nextBigDecimal(); BigDecim...
Main.java:27: error: bad operand types for binary operator '/' BigDecimal thetaA = ax * Math.tan(ay / ax); ^ first type: BigDecimal second type: BigDecimal Main.java:28: error: bad operand types for binary operator '/' BigDecimal thetaB = bx * Math.tan(by / bx); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00021|0
u910402677|p00021|0
codenet
Compile Error
1,000
v2_s296160144
s296160144
s296160144
p00021
p00021
u910402677
u910402677
1,481,181,470
2016-12-08T07:17:50
Main.java
import java.util.*; import java.math.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<String> list = new ArrayList<String>(); int n = scan.nextInt(); for(int i = 0; i < n; i++){ BigDecimal x1 = scan.nextBigDecimal(); BigDecim...
Main.java:27: error: incompatible types: BigDecimal cannot be converted to double BigDecimal thetaA = ax * Math.tan(ay.divide(ax)); ^ Main.java:28: error: incompatible types: BigDecimal cannot be converted to double BigDecimal thetaB = bx * Math.tan(by.divide(bx)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00021|0
u910402677|p00021|0
codenet
Compile Error
1,012
v2_s417154647
s417154647
s417154647
p00021
p00021
u910402677
u910402677
1,481,181,537
2016-12-08T07:18:57
Main.java
import java.util.*; import java.math.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<String> list = new ArrayList<String>(); int n = scan.nextInt(); for(int i = 0; i < n; i++){ BigDecimal x1 = scan.nextBigDecimal(); BigDecim...
Main.java:27: error: incompatible types: BigDecimal cannot be converted to double BigDecimal thetaA = ax.multiply(Math.tan(ay.divide(ax))); ^ Main.java:28: error: incompatible types: BigDecimal cannot be converted to double BigDecimal thetaB = bx.multiply(Math....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00021|0
u910402677|p00021|0
codenet
Compile Error
1,028
v2_s578412264
s578412264
s578412264
p00021
p00021
u910402677
u910402677
1,481,182,371
2016-12-08T07:32:51
Main.java
import java.util.*; import java.math.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<String> list = new ArrayList<String>(); int n = scan.nextInt(); for(int i = 0; i < n; i++){ BigDecimal x1 = scan.nextBigDecimal(); BigDecim...
Main.java:30: error: incompatible types: int cannot be converted to boolean boolean flag = t.compareTo(tB); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00021|0
u910402677|p00021|0
codenet
Compile Error
963
v2_s266499998
s266499998
s266499998
p00021
p00021
u910780605
u910780605
1,436,963,685
2015-07-15T12:34:45
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = sc.nextInt(); double x[] = new double[4]; double y[] = new double[4]; for(int j=0; j<n; j++){ for(int i=0; i<4; i++){ ...
Main.java:6: error: cannot find symbol int n = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:11: error: cannot find symbol x[i] = sc.nextDouble(); ^ symbol: variable sc location: class Main Main.java:12: error: cannot find s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910780605|p00021|0
u910780605|p00021|0
codenet
Compile Error
575
v2_s741032263
s741032263
s741032263
p00021
p00021
u939720302
u939720302
1,448,181,156
2015-11-22T08:32:36
Main.java
public class Main { public static void main(String[] args) { print(); } public static void print() { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int amountOfDataset = Integer.parseInt(br.readLine()); String str = br.readLine(); for (int i = 0; i < amountOfDataset;...
Main.java:8: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:8: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u939720302|p00021|1
u939720302|p00021|1
codenet
Compile Error
1,020
v2_s524985057
s524985057
s524985057
p00021
p00021
u939720302
u939720302
1,448,181,326
2015-11-22T08:35:26
Main.java
public class Main { public static void main(String[] args) { print(); } public static void print() { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int amountOfDataset = Integer.parseInt(br.readLine()); for (int i = 0; i < amountOfDataset; i++) { String str = br.re...
Main.java:8: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:8: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u939720302|p00021|1
u939720302|p00021|1
codenet
Compile Error
997
v2_s445211253
s445211253
s445211253
p00021
p00021
u985809245
u985809245
1,331,899,304
2012-03-16T12:01:44
Main.java
import java.util.ArrayList; import java.util.NoSuchElementException; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ArrayList<Point> points = new ArrayList<Point>(4); ArrayList<String> results = new ArrayList<String>(1); try{ ...
Main.java:37: error: cannot find symbol public static double getSlope(Point a, Point b){ ^ symbol: class Point location: class Main Main.java:37: error: cannot find symbol public static double getSlope(Point a, Point b){ ^ symbol: class ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985809245|p00021|0
u985809245|p00021|0
codenet
Compile Error
1,607
v2_s349804747
s349804747
s349804747
p00022
p00022
u205820388
u205820388
1,331,457,477
2012-03-11T09:17:57
aoj0022.java
import java.util.Scanner; public class aoj0022 { public static void main(String[] args) { Scanner s = new Scanner(System.in); int num = s.nextInt(); while(num!=0){ int max = 0; int[] data = new int[num]; for(int i=0 ; i<num ; i++) data[i] = s.nextInt(); for(int i=0 ; i<num ; i++){ int sum =...
aoj0022.java:16: error: cannot find symbol sum+=data[k]; ^ symbol: variable k location: class aoj0022 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u205820388|p00022|0
u205820388|p00022|0
codenet
Compile Error
479
v2_s102000145
s102000145
s102000145
p00022
p00022
u205820388
u205820388
1,331,457,489
2012-03-11T09:18:09
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int num = s.nextInt(); while(num!=0){ int max = 0; int[] data = new int[num]; for(int i=0 ; i<num ; i++) data[i] = s.nextInt(); for(int i=0 ; i<num ; i++){ int sum = 0;...
Main.java:16: error: cannot find symbol sum+=data[k]; ^ symbol: variable k location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u205820388|p00022|0
u205820388|p00022|0
codenet
Compile Error
476
v2_s804065188
s804065188
s804065188
p00022
p00022
u208540985
u208540985
1,461,039,119
2016-04-19T04:11:59
Main.java
public class Main { private static Scanner scr; public static void main(String args[]) throws IOException{ scr = new Scanner(System.in); while (true){ try{ int n = Integer.parseInt(scr.nextLine()); int[] data = new int[n]; for(int i=0; i<n; i++){ data[i] = Integer.parseInt(scr.next...
Main.java:2: error: cannot find symbol private static Scanner scr; ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol public static void main(String args[]) throws IOException{ ^ symbol: class IOException ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u208540985|p00022|1
u208540985|p00022|1
codenet
Compile Error
730
v2_s620119432
s620119432
s620119432
p00022
p00022
u211138527
u211138527
1,435,419,207
2015-06-27T15:33:27
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in); String str; while((str=br.readLine())!="0"){ int n=Integer.parseInt(str); int max=-1000000; int[] a=new int[n]; int[] s=new int[n+1]; s[0]=0; for(int i=0;i<n;i++){ a[i]=Integer.p...
Main.java:5: error: ')' or ',' expected BufferedReader br=new BufferedReader(new InputStreamReader(System.in); ^ Main.java:15: error: ';' expected s[i+1]+=a[i] ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00022|0
u211138527|p00022|0
codenet
Compile Error
469
v2_s448325140
s448325140
s448325140
p00022
p00022
u211138527
u211138527
1,435,419,235
2015-06-27T15:33:55
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str; while((str=br.readLine())!="0"){ int n=Integer.parseInt(str); int max=-1000000; int[] a=new int[n]; int[] s=new int[n+1]; s[0]=0; for(int i=0;i<n;i++){ a[i]=Integer....
Main.java:17: error: variable a is already defined in method main(String[]) for(int a=0;a<n;a++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00022|0
u211138527|p00022|0
codenet
Compile Error
471
v2_s749695213
s749695213
s749695213
p00022
p00022
u211138527
u211138527
1,435,419,293
2015-06-27T15:34:53
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str; while((str=br.readLine())!="0"){ int n=Integer.parseInt(str); int max=-1000000; int[] s=new int[n+1]; s[0]=0; for(int i=0;i<n;i++){ m=Integer.parseInt(br.readLine())...
Main.java:13: error: cannot find symbol m=Integer.parseInt(br.readLine()); ^ symbol: variable m location: class Main Main.java:14: error: cannot find symbol s[i+1]+=m; ^ symbol: variable m location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00022|0
u211138527|p00022|0
codenet
Compile Error
445
v2_s675830383
s675830383
s675830383
p00022
p00022
u211138527
u211138527
1,435,419,310
2015-06-27T15:35:10
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str; while((str=br.readLine())!="0"){ int n=Integer.parseInt(str); int max=-1000000; int[] s=new int[n+1]; s[0]=0; for(int i=0;i<n;i++){ int m=Integer.parseInt(br.readLin...
Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown while((str=br.readLine())!="0"){ ^ Main.java:13: error: unreported exception IOException; must be caught or declared to be thrown int m=Integer.parseInt(br.readLine()); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00022|0
u211138527|p00022|0
codenet
Compile Error
449
v2_s605684905
s605684905
s605684905
p00022
p00022
u252414452
u252414452
1,485,269,876
2017-01-24T14:57:56
Main.java
import java.util.Scanner; import java.util.List; import java.util.ArrayList; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()) { int n = sc.nextInt(); if(n == 0) { break; } int[] arr = new int[n]; for(int i=0; ...
Main.java:18: error: integer number too large int max_sum = -100000000000000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u252414452|p00022|0
u252414452|p00022|0
codenet
Compile Error
653
v2_s980757751
s980757751
s980757751
p00022
p00022
u336000501
u336000501
1,309,502,845
2011-07-01T06:47:25
Main.java
import java.io.*; public class 0022 { public static void main ( String args[] ) throws IOException { int i , j , sum , Input , max1 , max2; int[] data; BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); while ( true ) { sum = 0; max1 = 0; max2 = 0; data = new int[5000]; Input =...
Main.java:3: error: <identifier> expected public class 0022 { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u336000501|p00022|0
u336000501|p00022|0
codenet
Compile Error
697
v2_s596606772
s596606772
s596606772
p00022
p00022
u355971134
u355971134
1,501,217,662
2017-07-28T04:54:22
Main.java
public class Main{ public static void main(String [] args){ Main m = new Main(); m.run(); } void run(){ Scanner sc = new Scanner(System.in); for(;;){ int n = sc.nextInt(); if(n == 0) break; int[] seq = new int[n]; ...
Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:25:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u355971134|p00022|0
u355971134|p00022|0
codenet
Compile Error
890
v2_s777398722
s777398722
s777398722
p00022
p00022
u355971134
u355971134
1,501,217,680
2017-07-28T04:54:40
Main.java
import java.io.util.*; public class Main{ public static void main(String [] args){ Main m = new Main(); m.run(); } void run(){ Scanner sc = new Scanner(System.in); for(;;){ int n = sc.nextInt(); if(n == 0) break; int[] seq = ...
Main.java:1: error: package java.io.util does not exist import java.io.util.*; ^ Main.java:10: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:10: error: cannot find symbol Scanner sc = new Scanner(Syste...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u355971134|p00022|0
u355971134|p00022|0
codenet
Compile Error
914
v2_s104500874
s104500874
s104500874
p00022
p00022
u355971134
u355971134
1,501,217,697
2017-07-28T04:54:57
Main.java
import java.util.*; public class Main{ public static void main(String [] args){ Main m = new Main(); m.run(); } void run(){ Scanner sc = new Scanner(System.in); for(;;){ int n = sc.nextInt(); if(n == 0) break; int[] seq = new...
Main.java:27: error: cannot find symbol long ans = -Long.MAX; ^ symbol: variable MAX location: class Long 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u355971134|p00022|0
u355971134|p00022|0
codenet
Compile Error
911
v2_s056175363
s056175363
s056175363
p00022
p00022
u514537648
u514537648
1,363,480,618
2013-03-17T00:36:58
Main.java
#include <stdio.h> int array[1000]; int n,i,sum=0,k=0; void tansaku(int a); int main(void) { while(1) { sum = 0; for(i=0;i<1000;i++) { array[i] = 0; } scanf("%d",&n); if(n==0)break; for(i=0;i<n;i++) { scanf("%d",&array[i]); } for(i=0;i<n;i++) { tansaku(i); k = 0; } printf("%d\n",...
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:3: error: class, interface, enum, or record expected int n,i,sum=0,k=0; ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by d...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u514537648|p00022|0
u514537648|p00022|0
codenet
Compile Error
461
v2_s672935941
s672935941
s672935941
p00022
p00022
u722076734
u722076734
1,412,991,868
2014-10-11T01:44:28
Main.java
7 -5 -1 6 4 9 -6 -7 13 1 2 3 2 -2 -1 1 2 3 2 1 -2 1 3 1000 -200 201 0
Main.java:1: error: class, interface, enum, or record expected 7 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u722076734|p00022|0
u722076734|p00022|0
codenet
Compile Error
69
v2_s876090822
s876090822
s876090822
p00022
p00022
u760351030
u760351030
1,437,501,470
2015-07-21T17:57:50
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); void run() { for (;;) { int n = sc.nextInt(); int M = -Integer.MAX_VALUE / 2; if (n == 0) return; int[] a = new int[n]; int[] dp = new int[n]; for (int i = 0; i < n; i++) a[i] = sc.nextInt...
Main.java:27: error: cannot find symbol new AOJ0_22().run(); ^ symbol: class AOJ0_22 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u760351030|p00022|1
u760351030|p00022|1
codenet
Compile Error
580
v2_s686784859
s686784859
s686784859
p00022
p00022
u796112608
u796112608
1,530,836,652
2018-07-06T00:24:12
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]) { Scanner scn = new Scanner(System.in); int n; while((n = scn.nextInt())!=0) { long min = 0,max = -100000000000l,buf = 0; for(int i = 0;i < n;i++) { buf += scn.nextLong(); max = Math.max(max, buf); min = Mat...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u796112608|p00022|0
u796112608|p00022|0
codenet
Compile Error
398
v2_s779668833
s779668833
s779668833
p00022
p00022
u813675766
u813675766
1,523,092,616
2018-04-07T09:16:56
Main.java
7 -5 -1 6 4 9 -6 -7 13 1 2 3 2 -2 -1 1 2 3 2 1 -2 1 3 1000 -200 201 0
Main.java:1: error: class, interface, enum, or record expected 7 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u813675766|p00022|0
u813675766|p00022|0
codenet
Compile Error
70
v2_s065622556
s065622556
s065622556
p00022
p00022
u862003818
u862003818
1,397,517,912
2014-04-14T23:25:12
Main.java
public class Main { public static void main(String args[]) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n; int sum=0; int max=-100000; int[] a = new int[5000]; n = Integer.parseInt(br.readLine()); if (n != 0) { for(int i=1; i<=n; i++) { a[i] = ...
Main.java:4: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:4: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u862003818|p00022|0
u862003818|p00022|0
codenet
Compile Error
576
v2_s793881353
s793881353
s793881353
p00022
p00022
u862003818
u862003818
1,397,518,348
2014-04-14T23:32:28
Main.java
public class Main { public static void main(String args[]) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n; int sum=0; int max=-100000; int[] a = new int[5000]; n = Integer.parseInt(br.readLine()); while (n!=0) { for(int i=0; i<n; i++) { a[i]...
Main.java:4: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:4: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u862003818|p00022|0
u862003818|p00022|0
codenet
Compile Error
600
v2_s414311464
s414311464
s414311464
p00022
p00022
u910402677
u910402677
1,481,259,622
2016-12-09T05:00:22
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ for(;;){ int n = scan.nextInt(); if(n == 0){ break; } int[] kou = new int[n]; for(int i = 0; i < n; i++){ kou[i] = scan.nextInt(); } int max =...
Main.java:29: error: ';' expected System.out.printf("%d\n", max) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00022|0
u910402677|p00022|0
codenet
Compile Error
587
v2_s572683968
s572683968
s572683968
p00023
p00023
u197786702
u197786702
1,298,456,330
2011-02-23T10:18:50
Main.java
import java.io.*; import java.util.Scanner; public class Main{ public static void main(String[] args) throws IOException{ int n = 0; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); n = Integer.parseInt(br.readLine()); for(int i=0;i < n;i++){ Scanner scanner...
Main.java:19: error: incompatible types: String cannot be converted to float float xa = scanner.next(); ^ Main.java:20: error: incompatible types: String cannot be converted to float float ya = scanner.next(); ^ Main.java:21: error: incompatible types: S...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u197786702|p00023|0
u197786702|p00023|0
codenet
Compile Error
982
v2_s949224052
s949224052
s949224052
p00023
p00023
u211138527
u211138527
1,435,472,456
2015-06-28T06:20:56
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int n=Integer.parseInt(br.readLine()); for(int i=0; i<n; i++){ String str = br.readLine(); String[] s = str.split(" "); double xa = Double.parseDouble(s[0]); double ya = Double....
Main.java:6: error: unreported exception IOException; must be caught or declared to be thrown int n=Integer.parseInt(br.readLine()); ^ Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown String str = br.readLine(); ^ 2 e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00023|0
u211138527|p00023|0
codenet
Compile Error
713
v2_s970861473
s970861473
s970861473
p00023
p00023
u229177350
u229177350
1,275,910,937
2010-06-07T11:42:17
Main.java
import java.util.*;class Main{public static void main(String[]e){Scanner s=new Scanner(System.in);for(double t=s.nextInt(),a,b;t-->0;){double[]d=new double[6];for(int i=6;i-->0;)d[i]=s.nextDouble();a=(a=d[5]-=d[2])*a+(a=d[4]-=d[1])*a;b=d[3]+d[0];System.out.println(b*b<a?0:(b+=2*d[0])*b<=a?1:d[3]>d[0]?2:-2);}}
Main.java:1: error: reached end of file while parsing import java.util.*;class Main{public static void main(String[]e){Scanner s=new Scanner(System.in);for(double t=s.nextInt(),a,b;t-->0;){double[]d=new double[6];for(int i=6;i-->0;)d[i]=s.nextDouble();a=(a=d[5]-=d[2])*a+(a=d[4]-=d[1])*a;b=d[3]+d[0];System.out.println(b...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u229177350|p00023|0
u229177350|p00023|0
codenet
Compile Error
310
v2_s109063948
s109063948
s109063948
p00023
p00023
u245975427
u245975427
1,371,157,782
2013-06-13T21:09:42
Main.java
import java.util.*; public class Main { public static void main (String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); for (int i = 0; i < n; i++) { double[] x = new double[2]; double[] y = new double[2]; double[] ...
Main.java:23: error: cannot find symbol } else if (Math.abs(rdiff0) <= xy && xy <= rsum) { ^ symbol: variable rdiff0 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u245975427|p00023|1
u245975427|p00023|1
codenet
Compile Error
1,025
v2_s441644279
s441644279
s441644279
p00023
p00023
u858740869
u858740869
1,433,927,494
2015-06-10T09:11:34
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); double xa = 0; double ya = 0; double ra = 0; ...
Main.java:6: error: '{' expected class Main ^ Main.java:8: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) throws NumberFormatException, IOException { ^ (use --enable-preview to enable unnamed classes) Main.java:47: error: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858740869|p00023|0
u858740869|p00023|0
codenet
Compile Error
1,077
v2_s141033572
s141033572
s141033572
p00023
p00023
u910402677
u910402677
1,481,262,613
2016-12-09T05:50:13
Main.java
public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ int n = scan.nextInt(); // while(n-->0){} for(int i = 0; i < n; i++){ double xa = scan.nextDouble(); double ya = scan.nextDouble(); double ra = scan.nextDouble(); double xb = sc...
Main.java:19: error: ';' expected System.out.printf("%d\n", 2) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00023|0
u910402677|p00023|0
codenet
Compile Error
710
v2_s602976680
s602976680
s602976680
p00023
p00023
u910402677
u910402677
1,481,262,641
2016-12-09T05:50:41
Main.java
public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ int n = scan.nextInt(); // while(n-->0){} for(int i = 0; i < n; i++){ double xa = scan.nextDouble(); double ya = scan.nextDouble(); double ra = scan.nextDouble(); double xb = sc...
Main.java:2: error: cannot find symbol private static final Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:2: error: cannot find symbol private static final Scanner scan = new Scanner(System.in); ^ sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00023|0
u910402677|p00023|0
codenet
Compile Error
711
v2_s612130352
s612130352
s612130352
p00024
p00024
u017525488
u017525488
1,373,691,392
2013-07-13T04:56:32
Main.java
gimport java.util.*; import java.io.*; class Main { public static void main(String[] args) { final Scanner stdin = new Scanner(System.in); while ( stdin.hasNextDouble() ) { final double minV = stdin.nextDouble(); final double t = minV / 9.8; final double y = 4.9 * t * t; final int N = (in...
Main.java:1: error: class, interface, enum, or record expected gimport 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
u017525488|p00024|0
u017525488|p00024|0
codenet
Compile Error
399
v2_s927314916
s927314916
s927314916
p00024
p00024
u026129418
u026129418
1,354,096,343
2012-11-28T09:52:23
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args){ BufferedReader sc = new BufferedReader(new InputStreamReader(System.in)); try{ String t; while((t = sc.readLine()) != null){ double v = Double.valueOf(t); double p = 1.0 + 1.0/5.0*4.9*(v/9.8)*(v/9.8); double...
Main.java:14: error: cannot find symbol System.out.pritnln(2); ^ symbol: method pritnln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u026129418|p00024|0
u026129418|p00024|0
codenet
Compile Error
567
v2_s732982949
s732982949
s732982949
p00024
p00024
u026129418
u026129418
1,354,096,373
2012-11-28T09:52:53
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args){ BufferedReader sc = new BufferedReader(new InputStreamReader(System.in)); try{ String t; while((t = sc.readLine()) != null){ double v = Double.valueOf(t); double p = 1.0 + 1.0/5.0*4.9*(v/9.8)*(v/9.8); double...
Main.java:14: error: cannot find symbol System.out.pritnln(2); ^ symbol: method pritnln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u026129418|p00024|0
u026129418|p00024|0
codenet
Compile Error
569
v2_s491339233
s491339233
s491339233
p00024
p00024
u205820388
u205820388
1,331,537,801
2012-03-12T07:36:41
Main.java
import java.util.Scanner; public classツ Math { public static void main(String[] args) { Scanner s = new Scanner(System.in); while(s.hasNext()){ double in = s.nextDouble(); for(int i=2 ; ; i++){ if(Math.sqrt(19.6*5*(i-1))>in){ System.out.println(i); break; } } } } }
Main.java:3: error: illegal character: '\u3000' public class??Math { ^ Main.java:5: 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:17: error: class, interface, ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u205820388|p00024|0
u205820388|p00024|0
codenet
Compile Error
309
v2_s446614599
s446614599
s446614599
p00024
p00024
u211138527
u211138527
1,435,473,471
2015-06-28T06:37:51
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str; while((str=br.readLine())!=null){ double n=Double.parseDouble(str); int f=(Math.pow(n,2)/98)+2; System.out.println(f); } } }
Main.java:9: error: incompatible types: possible lossy conversion from double to int int f=(Math.pow(n,2)/98)+2; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00024|0
u211138527|p00024|0
codenet
Compile Error
279
v2_s908475380
s908475380
s908475380
p00024
p00024
u211138527
u211138527
1,435,473,486
2015-06-28T06:38:06
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str; while((str=br.readLine())!=null){ double n=Double.parseDouble(str); int f=(int)(Math.pow(n,2)/98)+2; System.out.println(f); } } }
Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown while((str=br.readLine())!=null){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00024|0
u211138527|p00024|0
codenet
Compile Error
284
v2_s218127614
s218127614
s218127614
p00024
p00024
u858885710
u858885710
1,481,283,105
2016-12-09T11:31:45
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner scn = new Scanner(System.in); double min_v; try { while (true) { min_v = scn.nextFloat(); int n = (int)(Math.ceil(min_v*min_v / 98 + 1) + 0.1); System.out.println(n); } catch (Exception e) {} } }
Main.java:6: error: 'catch' without 'try' catch (Exception e) {} ^ Main.java:5: error: 'try' without 'catch', 'finally' or resource declarations try { while (true) { min_v = scn.nextFloat(); int n = (int)(Math.ceil(min_v*min_v / 98 + 1) + 0.1); System.out.println(n); } ^ Main.java:8: error: reac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u858885710|p00024|0
u858885710|p00024|0
codenet
Compile Error
304
v2_s640087571
s640087571
s640087571
p00024
p00024
u907626292
u907626292
1,337,778,596
2012-05-23T13:09:56
Main.java
import java.io.*; import java.util.*; import java.math.*; import java.lang.*; public class Main { public static void main(String[] args) throws java.io.IOException{ Scanner scan = new Scanner(System.in); while(scan.hasNext()){ float v = scan.nextFloat(); double t = v / 9.8; double y = 4.9 * Math.pow(t,2);...
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00024|0
u907626292|p00024|0
codenet
Compile Error
412
v2_s630701959
s630701959
s630701959
p00024
p00024
u910402677
u910402677
1,481,346,651
2016-12-10T05:10:51
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 v = scan.nextDouble(); double t = v / 9.8; double y = 4.9 * t * t; int N = (y + 5) / 5; System.out.printf("%d\n", N); } } }
Main.java:12: error: incompatible types: possible lossy conversion from double to int int N = (y + 5) / 5; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00024|0
u910402677|p00024|0
codenet
Compile Error
319
v2_s883380412
s883380412
s883380412
p00025
p00025
u011621222
u011621222
1,509,746,475
2017-11-03T22:01:15
Main.java
public static void main (String[] args) { int hit =0; int blow =0; int n = args.length/8; int index =0; for(int i = 0; i < n; i++) { ArrayList<String> a = new ArrayList<String>(); for (int p=0;p<4;p++) {a.add(args[index]);index++;} ArrayList<String> b = new ArrayList<String>(); fo...
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
u011621222|p00025|0
u011621222|p00025|0
codenet
Compile Error
798
v2_s773399631
s773399631
s773399631
p00025
p00025
u205820388
u205820388
1,331,538,598
2012-03-12T07:49:58
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); while(s.hasNext()){ int[] a = new int[8]; int hit = 0; int blow = 0; for(int i=0 ; i<4 ; i++) a[i] = s.nextInt(); for(int i=0 ; i<4 ; i++){ b[i] = s.nextInt(); if(...
Main.java:14: error: cannot find symbol b[i] = s.nextInt(); ^ symbol: variable b location: class Main Main.java:15: error: cannot find symbol if(a[i] == b[i]) ^ symbol: variable b location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u205820388|p00025|0
u205820388|p00025|0
codenet
Compile Error
509
v2_s638401558
s638401558
s638401558
p00025
p00025
u723736789
u723736789
1,386,159,770
2013-12-04T12:22:50
Program.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Program{ static int N, D, money; static int[] prices; private static int solve(){ int answer = 0; if (prices[0] * 2 > money) return 0; if (prices[prices.Length - 1] + prices[prices.Length - 2] <...
Program.java:11: error: cannot find symbol if (prices[prices.Length - 1] + prices[prices.Length - 2] <= money) return prices[prices.Length - 1] + prices[prices.Length - 2]; ^ symbol: variable Length location: variable prices of type int[] Program.java:11: error: cannot find symbol...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u723736789|p00025|0
u723736789|p00025|0
codenet
Compile Error
1,311
v2_s721106419
s721106419
s721106419
p00026
p00026
u016690321
u016690321
1,459,087,835
2016-03-27T14:10:35
Main.java
public class Main { static int paper[][] = new int[10][10]; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = null; while ((str = br.readLine()) != null) { // ??\??????????????? String[] input = str.split...
Main.java:5: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:7: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u016690321|p00026|1
u016690321|p00026|1
codenet
Compile Error
2,293
v2_s136103445
s136103445
s136103445
p00026
p00026
u131592835
u131592835
1,399,874,052
2014-05-12T05:54:12
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ new P0026DroppingInk().run(); } Scanner sc = new Scanner(System.in); int[][] map; int h = 10; int w = 10; int[] a = {1, 0, -1, 0, 1, -1, 1, -1, 2, 0, -2, 0}; int[] b = {0, 1, 0, -1, 1, 1, -1, -1, 0, 2, 0, -2}; int count; int max;...
Main.java:4: error: cannot find symbol new P0026DroppingInk().run(); ^ symbol: class P0026DroppingInk location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u131592835|p00026|0
u131592835|p00026|0
codenet
Compile Error
867
v2_s873487712
s873487712
s873487712
p00026
p00026
u211138527
u211138527
1,435,477,402
2015-06-28T07:43:22
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int[][] di=new int[10][10]; int max,count=0; String str; while((str=readLine())!=null){ String[] s=str.split(","); int x=Integer.parseInt(s[0]); int y=Integer...
Main.java:9: error: cannot find symbol while((str=readLine())!=null){ ^ symbol: method readLine() location: class Main Main.java:13: error: variable s is already defined in method main(String[]) int s=Integer.parseInt(s[2]); ^ Main.java:13: error: array required, but int found int s=Integer.parseIn...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00026|0
u211138527|p00026|0
codenet
Compile Error
1,120
v2_s871491151
s871491151
s871491151
p00026
p00026
u211138527
u211138527
1,435,477,432
2015-06-28T07:43:52
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int[][] di=new int[10][10]; int max,count=0; String str; while((str=br.readLine())!=null){ String[] s=str.split(","); int x=Integer.parseInt(s[0]); int y=Inte...
Main.java:13: error: variable s is already defined in method main(String[]) int s=Integer.parseInt(s[2]); ^ Main.java:13: error: array required, but int found int s=Integer.parseInt(s[2]); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00026|0
u211138527|p00026|0
codenet
Compile Error
1,123
v2_s502371820
s502371820
s502371820
p00026
p00026
u211138527
u211138527
1,435,477,497
2015-06-28T07:44:57
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int[][] di=new int[10][10]; int max,count=0; String str; while((str=br.readLine())!=null){ String[] value=str.split(","); int x=Integer.parseInt(value[0]); in...
Main.java:18: error: variable max might not have been initialized max=Math.max(max,di[i][j]); ^ Main.java:25: error: variable max might not have been initialized System.out.println(max); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00026|0
u211138527|p00026|0
codenet
Compile Error
1,139
v2_s525646518
s525646518
s525646518
p00026
p00026
u358879127
u358879127
1,340,859,760
2012-06-28T05:02:40
Main.java
import java.util.*; import java.io.*; import static java.util.Arrays.*; import static javaa.String.Math.*; public Main { int INF = 1 << 28; double EPS = 1e-10; int OFS = 2; int[][] map; void run() { Scanner sc = new Scanner(System.in); map = new int[10 + 4][10 + 4]; for(;sc.hasNext(); ) { String[] s...
Main.java:7: error: class, interface, enum, or record expected public Main { ^ Main.java:9: error: unnamed classes are a preview feature and are disabled by default. double EPS = 1e-10; ^ (use --enable-preview to enable unnamed classes) Main.java:28: error: not a statement for(int x=2;<10+2;x++) for(int y=...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358879127|p00026|0
u358879127|p00026|0
codenet
Compile Error
1,201
v2_s034990186
s034990186
s034990186
p00026
p00026
u358879127
u358879127
1,340,859,822
2012-06-28T05:03:42
Main.java
import java.util.*; import java.io.*; import static java.util.Arrays.*; import static javaa.String.Math.*; public class Main { int INF = 1 << 28; double EPS = 1e-10; int OFS = 2; int[][] map; void run() { Scanner sc = new Scanner(System.in); map = new int[10 + 4][10 + 4]; for(;sc.hasNext(); ) { Stri...
Main.java:28: error: illegal start of type for(int x=2;<10+2;x++) for(int y=2;y<10+2;y++) { ^ Main.java:28: error: not a statement for(int x=2;<10+2;x++) for(int y=2;y<10+2;y++) { ^ Main.java:28: error: ')' expected for(int x=2;<10+2;x++) for(int y=2;y<10+2;y++) { ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358879127|p00026|0
u358879127|p00026|0
codenet
Compile Error
1,207
v2_s175331601
s175331601
s175331601
p00026
p00026
u358879127
u358879127
1,340,861,103
2012-06-28T05:25:03
Main.java
import java.util.*; import java.io.*; import static java.util.Arrays.*; import static javaa.String.Math.*; public class Main { int INF = 1 << 28; double EPS = 1e-10; int OFS = 2; int[][] map; void run() { Scanner sc = new Scanner(System.in); map = new int[10 + 4][10 + 4]; for(;sc.hasNext(); ) { Stri...
Main.java:5: error: package javaa.String does not exist import static javaa.String.Math.*; ^ Main.java:22: error: cannot find symbol if(val[2] == 1) small(val[0], val[1]); ^ symbol: variable val location: class Main Main.java:22: error: cannot find symbol if(val[2] == 1) smal...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358879127|p00026|0
u358879127|p00026|0
codenet
Compile Error
1,208
v2_s036171062
s036171062
s036171062
p00026
p00026
u358879127
u358879127
1,340,861,187
2012-06-28T05:26:27
Main.java
import java.util.*; import java.io.*; import static java.util.Arrays.*; import static java.String.Math.*; public class Main { int INF = 1 << 28; double EPS = 1e-10; int OFS = 2; int[][] map; void run() { Scanner sc = new Scanner(System.in); map = new int[10 + 4][10 + 4]; for(;sc.hasNext(); ) { Strin...
Main.java:5: error: package java.String does not exist import static java.String.Math.*; ^ Main.java:21: error: cannot find symbol for(int i=0;i<3;i++) vals[i] = Integer.parseInt(ss[i]); ^ symbol: variable vals location: class Main Main.java:29: error: cannot fi...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358879127|p00026|0
u358879127|p00026|0
codenet
Compile Error
1,208
v2_s518525740
s518525740
s518525740
p00026
p00026
u554121390
u554121390
1,429,254,896
2015-04-17T07:14:56
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { static int[][] math; static final int MATH_LENGTH = 10; public static void main(String[] args) throws IOException { //紙 math = new int[10][10]; int scale; Buf...
Main.java:27: error: ')' or ',' expected setSmallInk(Integer.valueOf(inputSplitStr[0]), Integer.valueOf(inputSplitStr[1]); ^ Main.java:30: error: ')' or ',' expected setMediumInk(Integer.value...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554121390|p00026|4
u554121390|p00026|4
codenet
Compile Error
3,861
v2_s309319964
s309319964
s309319964
p00026
p00026
u554121390
u554121390
1,429,255,042
2015-04-17T07:17:22
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { static int[][] math; static final int MATH_LENGTH = 10; public static void main(String[] args) throws IOException { //紙 math = new int[10][10]; int scale; Buf...
Main.java:26: error: ')' or ',' expected setSmallInk(Integer.valueOf(inputSplitStr[0]), Integer.valueOf(inputSplitStr[1]); ^ Main.java:29: error: ')' or ',' expected setMediumInk(Integer.value...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554121390|p00026|4
u554121390|p00026|4
codenet
Compile Error
3,844
v2_s291756457
s291756457
s291756457
p00026
p00026
u554121390
u554121390
1,429,255,072
2015-04-17T07:17:52
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { static int[][] math; static final int MATH_LENGTH = 10; public static void main(String[] args) throws IOException { //紙 math = new int[10][10]; int scale; Buf...
Main.java:24: error: cannot find symbol switch (nteger.valueOf(inputSplitStr[2])) { ^ symbol: variable nteger location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554121390|p00026|4
u554121390|p00026|4
codenet
Compile Error
3,847
v2_s232194352
s232194352
s232194352
p00026
p00026
u554121390
u554121390
1,429,255,630
2015-04-17T07:27:10
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { static int[][] math; static final int MATH_LENGTH = 10; public static void main(String[] args) throws IOException { math = new int[10][10]; int scale; BufferedReader br = new...
Main.java:21: error: cannot find symbol switch (nteger.valueOf(inputSplitStr[2])) { ^ symbol: variable nteger location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554121390|p00026|4
u554121390|p00026|4
codenet
Compile Error
3,790
v2_s324280719
s324280719
s324280719
p00026
p00026
u554121390
u554121390
1,429,255,859
2015-04-17T07:30:59
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { static int[][] math; static final int MATH_LENGTH = 10; public static void main(String[] args) throws IOException { math = new int[10][10]; int scale; BufferedReader br = new BufferedReader(new InputStr...
Main.java:19: error: cannot find symbol string[] inputSplitStr = inputStr.split(","); ^ symbol: class string location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554121390|p00026|4
u554121390|p00026|4
codenet
Compile Error
2,603
v2_s087068095
s087068095
s087068095
p00026
p00026
u910402677
u910402677
1,481,423,189
2016-12-11T02:26:29
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()){ int count = 0; int max = 0; int[][] paper = new int[10][10]; for(int i = 0; i < 10; i++){ for(int j = 0; j < 10; j++){ paper[i][...
Main.java:54: error: cannot find symbol if(paper[i][j] == 0){ ^ symbol: variable paper location: class Main Main.java:55: error: cannot find symbol count++; ^ symbol: variable count location: class Main Main.java:57: error: cannot find symbol if(max < paper[i][j]){ ^ symbol...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00026|0
u910402677|p00026|0
codenet
Compile Error
1,395
v2_s741175601
s741175601
s741175601
p00026
p00026
u910402677
u910402677
1,481,433,339
2016-12-11T05:15:39
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in) .useDelimiter("[ ,\n]"); public static void main(String[] args){ int[][] paper = new int[10][10]; int count = 0; int max = 0; for(int i = 0; i < 10; i++){ for(int j = 0; j < 10; j++){ paper[i][j] ...
Main.java:131: error: cannot find symbol papaer[x][y] += 1; ^ symbol: variable papaer location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00026|1
u910402677|p00026|0
codenet
Compile Error
3,055
v2_s880816999
s880816999
s880816999
p00026
p00026
u910402677
u910402677
1,481,459,665
2016-12-11T12:34:25
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ int n = 10; int[][] map = new int[n][n]; int[][] small = {{0, 1, 0}, {1, 1, 1}, {0, 1, 0}}; int[][] middle = {{1, 1, 1}, {1, 1, 1}, {1, 1, 1}}; int[][] large = {{0, 0,...
Main.java:51: error: cannot find symbol if(xx < 0 || xx >= n|| yy < 0 || yy >= n){ ^ symbol: variable n location: class Main Main.java:51: error: cannot find symbol if(xx < 0 || xx >= n|| yy < 0 || yy >= n){ ^ symbol: variable n location: cla...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00026|2
u910402677|p00026|1
codenet
Compile Error
1,288
v2_s473495132
s473495132
s473495132
p00026
p00026
u910402677
u910402677
1,481,459,775
2016-12-11T12:36:15
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); int n = 10; int[][] map = new int[n][n]; public static void main(String[] args){ int[][] small = {{0, 1, 0}, {1, 1, 1}, {0, 1, 0}}; int[][] middle = {{1, 1, 1}, {1, 1, 1}, {1, 1, 1}}; int[][] large = {{0, 0, ...
Main.java:37: error: non-static variable n cannot be referenced from a static context for(int i = 0; i < n; i++){ ^ Main.java:38: error: non-static variable n cannot be referenced from a static context for(int j = 0; j < n; j++){ ^ Main.java:39: error: non-static vari...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00026|2
u910402677|p00026|1
codenet
Compile Error
1,287
v2_s938704755
s938704755
s938704755
p00026
p00026
u910402677
u910402677
1,481,459,870
2016-12-11T12:37:50
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); static int n = 10; static int[][] map = new int[n][n]; public static void main(String[] args){ int[][] small = {{0, 1, 0}, {1, 1, 1}, {0, 1, 0}}; int[][] middle = {{1, 1, 1}, {1, 1, 1}, {1, 1, 1}}; int[][] la...
Main.java:55: error: cannot find symbol map[x][y]++; ^ symbol: variable x location: class Main Main.java:55: error: cannot find symbol map[x][y]++; ^ symbol: variable y location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00026|2
u910402677|p00026|1
codenet
Compile Error
1,301
v2_s560864958
s560864958
s560864958
p00026
p00026
u910402677
u910402677
1,481,459,943
2016-12-11T12:39:03
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); static int n = 10; static int[][] map = new int[n][n]; public static void main(String[] args){ int[][] small = {{0, 1, 0}, {1, 1, 1}, {0, 1, 0}}; int[][] middle = {{1, 1, 1}, {1, 1, 1}, {1, 1, 1}}; int[][] la...
Main.java:27: error: variable d might not have been initialized int m = d.length / 2; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00026|2
u910402677|p00026|1
codenet
Compile Error
1,303
v2_s172669180
s172669180
s172669180
p00026
p00026
u910402677
u910402677
1,481,460,023
2016-12-11T12:40:23
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); static int n = 10; static int[][] map = new int[n][n]; public static void main(String[] args){ int[][] small = {{0, 1, 0}, {1, 1, 1}, {0, 1, 0}}; int[][] middle = {{1, 1, 1}, {1, 1, 1}, {1, 1, 1}}; int[][] la...
Main.java:27: error: variable d might not have been initialized int m =(int)(d.length / 2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00026|2
u910402677|p00026|1
codenet
Compile Error
1,309
v2_s798551415
s798551415
s798551415
p00026
p00026
u910402677
u910402677
1,481,460,105
2016-12-11T12:41:45
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); static int n = 10; static int[][] map = new int[n][n]; public static void main(String[] args){ int[][] small = {{0, 1, 0}, {1, 1, 1}, {0, 1, 0}}; int[][] middle = {{1, 1, 1}, {1, 1, 1}, {1, 1, 1}}; int[][] la...
Main.java:28: error: variable m is already defined in method main(String[]) int m =(int)(d.length / 2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00026|2
u910402677|p00026|1
codenet
Compile Error
1,323
v2_s517383250
s517383250
s517383250
p00026
p00026
u910402677
u910402677
1,481,460,197
2016-12-11T12:43:17
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); static int n = 10; static int[][] map = new int[n][n]; public static void main(String[] args){ int[][] small = {{0, 1, 0}, {1, 1, 1}, {0, 1, 0}}; int[][] middle = {{1, 1, 1}, {1, 1, 1}, {1, 1, 1}}; int[][] la...
Main.java:28: error: variable d might not have been initialized m =(int)(d.length / 2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00026|2
u910402677|p00026|1
codenet
Compile Error
1,319
v2_s239782397
s239782397
s239782397
p00026
p00026
u985435826
u985435826
1,429,002,299
2015-04-14T09:04:59
Main.java
int field[][] = setField(); System.out.println("入力してください"); Scanner input = new Scanner(System.in); while (input.hasNext()) { String[] inputString = input.next().split(","); drop(field, Integer.parseInt(inputString[0]), Integer.parseInt(inputString[1]), Integer.parseInt(inputString[2]) ); } am...
Main.java:1: error: class, interface, enum, or record expected int field[][] = setField(); ^ Main.java:2: error: class, interface, enum, or record expected System.out.println("????????"); ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. Scanner input = new Scanner(System.in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985435826|p00026|0
u985435826|p00026|0
codenet
Compile Error
2,232
v2_s459781968
s459781968
s459781968
p00026
p00026
u985435826
u985435826
1,429,002,395
2015-04-14T09:06:35
Main.java
int field[][] = setField(); System.out.println("入力してください"); Scanner input = new Scanner(System.in); while (input.hasNext()) { String[] inputString = input.next().split(","); drop(field, Integer.parseInt(inputString[0]), Integer.parseInt(inputString[1]), Integer.parseInt(inputString[2]) ); } am...
Main.java:1: error: class, interface, enum, or record expected int field[][] = setField(); ^ Main.java:2: error: class, interface, enum, or record expected System.out.println("????????"); ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. Scanner input = new Scanner(System.in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985435826|p00026|0
u985435826|p00026|0
codenet
Compile Error
2,232
v2_s761490291
s761490291
s761490291
p00027
p00027
u498504992
u498504992
1,371,638,555
2013-06-19T10:42:35
Main.java
#include <vector> #include <list> #include <map> #include <set> #include <stack> #include <queue> #include <deque> #include <algorithm> #include <utility> #include <functional> #include <sstream> #include <iostream> #include <cstdio> #include <cmath> #include <cstdlib> #include <cctype> #include <string> #include <cstr...
Main.java:1: error: illegal character: '#' #include <vector> ^ Main.java:2: error: illegal character: '#' #include <list> ^ Main.java:3: error: illegal character: '#' #include <map> ^ Main.java:4: error: illegal character: '#' #include <set> ^ Main.java:5: error: illegal character: '#' #include <stack> ^ Main.java:6: e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u498504992|p00027|0
u498504992|p00027|0
codenet
Compile Error
1,278
v2_s025788152
s025788152
s025788152
p00027
p00027
u910402677
u910402677
1,481,603,664
2016-12-13T04:34:24
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()){ int mon = scan.nextInt(); int day = scan.nextInt(); if(mon == 0){ break; } int year = 2004; Calendar cal = Calendar.getInstance()...
Main.java:46: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00027|0
u910402677|p00027|0
codenet
Compile Error
925
v2_s514726554
s514726554
s514726554
p00027
p00027
u910402677
u910402677
1,481,609,039
2016-12-13T06:03:59
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()){ int year = 2004; int mon = scan.nextInt(); int dat = scan.nextInt(); Calendar cal = Calendar.getInstance(); cal.set(2004, mon - 1, day);...
Main.java:13: error: cannot find symbol cal.set(2004, mon - 1, day); ^ symbol: variable day location: class Main Main.java:35: error: package Calender does not exist case Calender.SATURDAY : ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00027|0
u910402677|p00027|0
codenet
Compile Error
895