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_s793637691
s793637691
s793637691
p02400
p02400
u262566745
u262566745
1,523,347,258
2018-04-10T08:00:58
Main.java
import java.io.*; public class Main { public static void main(String[] args){ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); try{ String line = reader.readLine(); double r=Double.parseDouble(line); System.out.printf("%6f %6f\n",2*Mat...
Main.java:5: error: 'try' without 'catch', 'finally' or resource declarations try{ ^ Main.java:10: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u262566745|p02400|0
u262566745|p02400|0
codenet
Compile Error
349
v2_s166034425
s166034425
s166034425
p02400
p02400
u262566745
u262566745
1,523,347,320
2018-04-10T08:02:00
Main.java
import java.io.*; public class Main { public static void main(String[] args){ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String line = reader.readLine(); double r=Double.parseDouble(line); System.out.printf("%6f %6f\n",2*Math.PI*r,Math.PI*r*r); }
Main.java:8: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u262566745|p02400|0
u262566745|p02400|0
codenet
Compile Error
318
v2_s285578320
s285578320
s285578320
p02400
p02400
u262566745
u262566745
1,523,347,336
2018-04-10T08:02:16
Main.java
import java.io.*; public class Main { public static void main(String[] args){ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String line = reader.readLine(); double r=Double.parseDouble(line); System.out.printf("%6f %6f\n",2*Math.PI*r,Math.PI*r*r); ...
Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown String line = reader.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u262566745|p02400|0
u262566745|p02400|0
codenet
Compile Error
324
v2_s830726525
s830726525
s830726525
p02400
p02400
u263431633
u263431633
1,523,254,390
2018-04-09T06:13:10
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double r = sc.nextDouble(); //int b = sc.nextInt(); double area = r*r*pi; double length = 2*r*pi; System.out.printf("%f %f", area, length); } }
Main.java:8: error: cannot find symbol double area = r*r*pi; ^ symbol: variable pi location: class Main Main.java:9: error: cannot find symbol double length = 2*r*pi; ^ symbol: variable pi location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u263431633|p02400|0
u263431633|p02400|0
codenet
Compile Error
269
v2_s465276947
s465276947
s465276947
p02400
p02400
u267985939
u267985939
1,520,260,823
2018-03-05T14:40:23
Main.java
import java.util.Scanner;   public class Main {       public static void main(String[] args) {           Scanner sc = new Scanner(System.in);           double r = sc.nextDouble();           System.out.printf("%.10f %.10f\n",r*r*Math.PI,(2*r)*Math.PI);     } }
Main.java:2: error: illegal character: '\u00a0' ? ^ Main.java:4: error: illegal character: '\u00a0' ? ^ Main.java:5: error: illegal character: '\u00a0' ????public static void main(String[] args) { ^ Main.java:5: error: illegal character: '\u00a0' ????public static void main(String[] args) { ^ Main.java:5: error: illeg...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u267985939|p02400|0
u267985939|p02400|0
codenet
Compile Error
297
v2_s578501881
s578501881
s578501881
p02400
p02400
u277869133
u277869133
1,484,983,435
2017-01-21T07:23:55
Main.java
import java.util.Scanner; public clasMain4B { public static void main(String[]args){ //????????£???????????? Scanner sc = new Scanner(System.in); //??\??????????????? ??????r double r =sc.nextDouble(); //?????¨????????£?¨? double P = Math.PI; //????????¢??? ??¬??? ?????????????????????¨??? double A...
Main.java:5: error: class, interface, enum, or record expected public clasMain4B { ^ Main.java:6: 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:21: error: class, inter...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u277869133|p02400|0
u277869133|p02400|0
codenet
Compile Error
519
v2_s571855566
s571855566
s571855566
p02400
p02400
u287253992
u287253992
1,525,658,569
2018-05-07T02:02:49
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); double r = sc.nextLine(); System.out.println(((r^2)*3.141592)+" "+2*r*3.141592); } }
Main.java:7: error: incompatible types: String cannot be converted to double double r = sc.nextLine(); ^ Main.java:9: error: bad operand types for binary operator '^' System.out.println(((r^2)*3.141592)+" "+2*r*3.141592); ^ first type: double second type:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u287253992|p02400|0
u287253992|p02400|0
codenet
Compile Error
221
v2_s899552437
s899552437
s899552437
p02400
p02400
u287253992
u287253992
1,525,658,569
2018-05-07T02:02:49
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); double r = sc.nextLine(); System.out.println(((r^2)*3.141592)+" "+2*r*3.141592); } }
Main.java:7: error: incompatible types: String cannot be converted to double double r = sc.nextLine(); ^ Main.java:9: error: bad operand types for binary operator '^' System.out.println(((r^2)*3.141592)+" "+2*r*3.141592); ^ first type: double second type:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u287253992|p02400|0
u287253992|p02400|0
codenet
Compile Error
221
v2_s719256608
s719256608
s719256608
p02400
p02400
u287253992
u287253992
1,525,658,658
2018-05-07T02:04:18
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); double r = sc.nextDouble(); System.out.println(((r^2)*3.141592)+" "+(2*r*3.141592)); } }
Main.java:9: error: bad operand types for binary operator '^' System.out.println(((r^2)*3.141592)+" "+(2*r*3.141592)); ^ first type: double second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u287253992|p02400|0
u287253992|p02400|0
codenet
Compile Error
226
v2_s871372431
s871372431
s871372431
p02400
p02400
u287253992
u287253992
1,525,658,684
2018-05-07T02:04:44
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); double r = sc.nextDouble(); System.out.println(((r^2)*3.141592)+" "+(2*r*3.141592)); } }
Main.java:9: error: bad operand types for binary operator '^' System.out.println(((r^2)*3.141592)+" "+(2*r*3.141592)); ^ first type: double second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u287253992|p02400|0
u287253992|p02400|0
codenet
Compile Error
226
v2_s254613069
s254613069
s254613069
p02400
p02400
u292897282
u292897282
1,530,249,096
2018-06-29T05:11:36
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double r = sc.nextDouble(); System.out.println((r * r) * Math.PI + " " + (r * 2) * Math.PI); } }
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
u292897282|p02400|0
u292897282|p02400|0
codenet
Compile Error
228
v2_s774389631
s774389631
s774389631
p02400
p02400
u310199964
u310199964
1,523,338,565
2018-04-10T05:36:05
Main.java
public class Main{ public static void main(String[] args){ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); try{ String line = reader.readLine(); double r=Integer.parseInt(line); System.out.printf("%6f %6f",2*Math.PI*r,Math.PI*r*r); ...
Main.java:5: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u310199964|p02400|0
u310199964|p02400|0
codenet
Compile Error
401
v2_s312655987
s312655987
s312655987
p02400
p02400
u311946635
u311946635
1,460,351,089
2016-04-11T05:04:49
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double r nextDouble(); double pi = Math.PI; double r = sc.nextInt(); double area = pi*r*r; int length = 2*pi*r; System.out.printf("%f %f", area, length); } }
Main.java:8: error: ';' expected double r nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u311946635|p02400|0
u311946635|p02400|0
codenet
Compile Error
292
v2_s370492669
s370492669
s370492669
p02400
p02400
u312158419
u312158419
1,518,261,343
2018-02-10T11:15:43
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int r = scanner.nextDouble(); System.out.println((r * r * Math.PI) + " " + (2 * r * Math.PI)); } }
Main.java:7: error: incompatible types: possible lossy conversion from double to int int r = scanner.nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u312158419|p02400|0
u312158419|p02400|0
codenet
Compile Error
245
v2_s717263885
s717263885
s717263885
p02400
p02400
u317715877
u317715877
1,493,251,820
2017-04-27T00:10:20
Main.java
import java.io.IOException; import java.util.ArrayList; import java.util.Scanner; public class Main { public static double circle(int r,double p){ double cir = 2*p*r; return cir; } public static double area(int r, double p){ double area = p*r*r; return area; } public static boolean exception(int r){ boo...
Main.java:44: error: unclosed comment /** ^ Main.java:45: error: reached end of file while parsing * ????????????????????? ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u317715877|p02400|0
u317715877|p02400|0
codenet
Compile Error
944
v2_s620137049
s620137049
s620137049
p02400
p02400
u333762667
u333762667
1,551,493,846
2019-03-02T02:30:46
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int r = sc.nextInt(); System.out.println(String.format("%.6f",r*r*PI)); } }
Main.java:7: error: cannot find symbol System.out.println(String.format("%.6f",r*r*PI)); ^ symbol: variable PI location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u333762667|p02400|0
u333762667|p02400|0
codenet
Compile Error
209
v2_s290454941
s290454941
s290454941
p02400
p02400
u354252526
u354252526
1,524,204,765
2018-04-20T06:12:45
Circle.java
import java.io.*; public class Circle{ public static void main(String[] args){ double r,S,C; String line; BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); line=reader.readLine(); r=Double.parseDouble(line); S=r*r*Math.PI; C=2.0*r...
Circle.java:8: error: unreported exception IOException; must be caught or declared to be thrown line=reader.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u354252526|p02400|1
u354252526|p02400|1
codenet
Compile Error
386
v2_s447196105
s447196105
s447196105
p02400
p02400
u359846519
u359846519
1,530,600,886
2018-07-03T06:54:46
Main.java
import java.util.Scanner; import java.math.Bigdecimal; import.java.math.MathContext; class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); int a=s.nextInt(); int b=s.nextInt(); // double c= (double)a/(double)b; System.out.println(a+b+floatingDiv(a,b)); } pri...
Main.java:3: error: <identifier> expected import.java.math.MathContext; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u359846519|p02400|0
u359846519|p02400|0
codenet
Compile Error
525
v2_s237575950
s237575950
s237575950
p02400
p02400
u359846519
u359846519
1,530,600,927
2018-07-03T06:55:27
Main.java
import java.util.Scanner; import java.math.Bigdecimal; import java.math.MathContext; class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); int a=s.nextInt(); int b=s.nextInt(); // double c= (double)a/(double)b; System.out.println(a+b+floatingDiv(a,b)); } pri...
Main.java:2: error: cannot find symbol import java.math.Bigdecimal; ^ symbol: class Bigdecimal location: package java.math Main.java:15: error: cannot find symbol private static Bigdecimal floata(int a,int b){ ^ symbol: class Bigdecimal location: class Main Main.java:13: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u359846519|p02400|0
u359846519|p02400|0
codenet
Compile Error
525
v2_s549193594
s549193594
s549193594
p02400
p02400
u359846519
u359846519
1,530,600,955
2018-07-03T06:55:55
Main.java
import java.util.Scanner; import java.math.BigDecimal; import java.math.MathContext; class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); int a=s.nextInt(); int b=s.nextInt(); // double c= (double)a/(double)b; System.out.println(a+b+floatingDiv(a,b)); } pri...
Main.java:15: error: cannot find symbol private static Bigdecimal floata(int a,int b){ ^ symbol: class Bigdecimal location: class Main Main.java:13: error: cannot find symbol System.out.println(a+b+floatingDiv(a,b)); ^ symbol: method floatingDiv(int,int) locatio...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u359846519|p02400|0
u359846519|p02400|0
codenet
Compile Error
525
v2_s777632777
s777632777
s777632777
p02400
p02400
u359846519
u359846519
1,530,668,244
2018-07-04T01:37:24
Main.java
import java.util.Scanner; class Main{ private static double a; public static void main(String[] args){ Scanner s= new Scanner(System.in); a=s.nextInt(); double num=Math.PI(); System.out.printf("%.6f %.6f",(a*a*num),((2*a*num)); }}
Main.java:12: error: ')' or ',' expected System.out.printf("%.6f %.6f",(a*a*num),((2*a*num)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u359846519|p02400|1
u359846519|p02400|1
codenet
Compile Error
297
v2_s162422499
s162422499
s162422499
p02400
p02400
u359846519
u359846519
1,530,668,263
2018-07-04T01:37:43
Main.java
import java.util.Scanner; class Main{ private static double a; public static void main(String[] args){ Scanner s= new Scanner(System.in); a=s.nextInt(); double num=Math.PI(); System.out.printf("%.6f %.6f",(a*a*num),(2*a*num)); }}
Main.java:11: error: cannot find symbol double num=Math.PI(); ^ symbol: method PI() location: class Math 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u359846519|p02400|1
u359846519|p02400|1
codenet
Compile Error
296
v2_s098389613
s098389613
s098389613
p02400
p02400
u359846519
u359846519
1,530,668,402
2018-07-04T01:40:02
Main.java
import java.util.Scanner; class Main{ private static double a; public static void main(String[] args){ Scanner s= new Scanner(System.in); a=s.nextInt(); double num=Math.PI; System.out.println("%.5f %.5f",(a*a*num),(2*a*num)); }}
Main.java:12: error: no suitable method found for println(String,double,double) System.out.println("%.5f %.5f",(a*a*num),(2*a*num)); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u359846519|p02400|1
u359846519|p02400|1
codenet
Compile Error
295
v2_s253320201
s253320201
s253320201
p02400
p02400
u361124931
u361124931
1,447,707,033
2015-11-16T20:50:33
Main.java
import java.util.Scanner; import com.sun.org.apache.xerces.internal.impl.xpath.regex.Match; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.nextLine(); int inta = Integer.parseInt(str); System.out.printf("%f %f", (...
Main.java:3: error: package com.sun.org.apache.xerces.internal.impl.xpath.regex is not visible import com.sun.org.apache.xerces.internal.impl.xpath.regex.Match; ^ (package com.sun.org.apache.xerces.internal.impl.xpath.regex is declared in module java.xml, which does...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u361124931|p02400|0
u361124931|p02400|0
codenet
Compile Error
378
v2_s717473859
s717473859
s717473859
p02400
p02400
u361124931
u361124931
1,447,707,349
2015-11-16T20:55:49
Main.java
import java.util.Scanner; import com.sun.org.apache.xerces.internal.impl.xpath.regex.Match; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.nextLine(); double inta = Double.parseDouble(str); System.out.printf("%f %f...
Main.java:3: error: package com.sun.org.apache.xerces.internal.impl.xpath.regex is not visible import com.sun.org.apache.xerces.internal.impl.xpath.regex.Match; ^ (package com.sun.org.apache.xerces.internal.impl.xpath.regex is declared in module java.xml, which does...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u361124931|p02400|0
u361124931|p02400|0
codenet
Compile Error
369
v2_s272939043
s272939043
s272939043
p02400
p02400
u376497241
u376497241
1,527,195,053
2018-05-24T20:50:53
Main.java
import java.io.*; import java.util.Scanner; public class Main { public static double area(double r) { return r * r * Math.PI; } public static double perimeter(double r) { return 2 * Math.PI * r; } public static void main (String[] args) { Scanner sc = new Scanner(System.in...
Main.java:14: error: incompatible types: possible lossy conversion from double to int int r = sc.nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u376497241|p02400|0
u376497241|p02400|0
codenet
Compile Error
453
v2_s958716405
s958716405
s958716405
p02400
p02400
u383671372
u383671372
1,492,154,152
2017-04-14T07:15:52
Main.java
public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); String s = sc.nextLine(); BigDecimal r = new BigDecimal(Integer.parseInt(s)); BigDecimal p = new BigDecimal(Math.PI); BigDecimal a = new BigDecimal(0);...
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 Main.java:9: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u383671372|p02400|0
u383671372|p02400|0
codenet
Compile Error
538
v2_s306307761
s306307761
s306307761
p02400
p02400
u408847429
u408847429
1,508,291,305
2017-10-18T01:48:25
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String[] args) { BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); try{ String ab; double r; double pi=3.1415...
Main.java:34: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u408847429|p02400|0
u408847429|p02400|0
codenet
Compile Error
640
v2_s245529053
s245529053
s245529053
p02400
p02400
u418625354
u418625354
1,497,692,504
2017-06-17T09:41:44
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner sc = new Scanner(System.in); final double pie = 3.141592653589; Double d = sc.nextDouble(); System.out.println(String.format("%.6f %.6f",d*d*pie 2*d*pie)); } }
Main.java:7: error: ')' or ',' expected System.out.println(String.format("%.6f %.6f",d*d*pie 2*d*pie)); ^ Main.java:7: error: not a statement System.out.println(String.format("%.6f %.6f",d*d*pie 2*d*pie)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u418625354|p02400|0
u418625354|p02400|0
codenet
Compile Error
275
v2_s061612346
s061612346
s061612346
p02400
p02400
u451251391
u451251391
1,510,207,141
2017-11-09T05:59:01
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double pi = Math.PI; double r = sc.nextInt(); double a = 0; double b = 0; a = pi * r * r; b = 2 * pi * r; System.out.println(a + " " + b); } }
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
u451251391|p02400|0
u451251391|p02400|0
codenet
Compile Error
266
v2_s544604737
s544604737
s544604737
p02400
p02400
u455971060
u455971060
1,502,430,958
2017-08-11T05:55:58
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new java.util.Scanner(System.in); double r = scan.nextInt(); double S = r * r * pi; double d = 2 * r * pi; System.out.printf((%.05f), S); System.out.print(" "); Syst...
Main.java:8: error: illegal start of expression System.out.printf((%.05f), S); ^ Main.java:10: error: illegal start of expression System.out.printf((%.05f), d); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455971060|p02400|1
u455971060|p02400|1
codenet
Compile Error
354
v2_s154743551
s154743551
s154743551
p02400
p02400
u455971060
u455971060
1,502,431,328
2017-08-11T06:02:08
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new java.util.Scanner(System.in); double r = scan.nextInt(); double S = r * r * pi; double d = 2 * r * pi; System.out.printf("%.05f", S); System.out.print(" "); Syst...
Main.java:6: error: cannot find symbol double S = r * r * pi; ^ symbol: variable pi location: class Main Main.java:7: error: cannot find symbol double d = 2 * r * pi; ^ symbol: variable pi location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455971060|p02400|1
u455971060|p02400|1
codenet
Compile Error
354
v2_s364366399
s364366399
s364366399
p02400
p02400
u458974936
u458974936
1,451,119,052
2015-12-26T08:37:32
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in =new Scanner(System.in); double r; double pi = 3.1415926535897932384626433 ; System.out.printf("%.8f %.8f", r*r*pi,2*r*pi); } }
Main.java:11: error: variable r might not have been initialized System.out.printf("%.8f %.8f", r*r*pi,2*r*pi); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458974936|p02400|0
u458974936|p02400|0
codenet
Compile Error
242
v2_s892406354
s892406354
s892406354
p02400
p02400
u480519190
u480519190
1,473,676,476
2016-09-12T10:34:36
Main.java
import java.util.Scanner; import java.math.BigDecimal; class Main { public static void main(String[] args)throws Exception { Scanner scan=new Scanner(System.in); double r=scan.nextDouble(); double sum1=0; double sum2=0; BigDecimal bi = new BigDecimal(String.valueOf(r)); double a= Double.parseDouble(...
Main.java:14: error: cannot find symbol double a= Double.parseDouble(reader.readLine()); ^ symbol: variable reader location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u480519190|p02400|1
u480519190|p02400|1
codenet
Compile Error
408
v2_s729310616
s729310616
s729310616
p02400
p02400
u480519190
u480519190
1,473,676,571
2016-09-12T10:36:11
Main.java
import java.util.Scanner; import java.math.BigDecimal; class Main { public static void main(String[] args)throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); double r= Double.parseDouble(reader.readLine()); System.out.printf("%6f %6f",r*r*Math.PI,r*2*Math.PI); ...
Main.java:7: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:7: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u480519190|p02400|1
u480519190|p02400|1
codenet
Compile Error
326
v2_s287628952
s287628952
s287628952
p02400
p02400
u480519190
u480519190
1,473,676,619
2016-09-12T10:36:59
Main.java
import java,io,*; class Main { public static void main(String[] args)throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); double r= Double.parseDouble(reader.readLine()); System.out.printf("%6f %6f",r*r*Math.PI,r*2*Math.PI); } }
Main.java:1: error: '.' expected import java,io,*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u480519190|p02400|1
u480519190|p02400|1
codenet
Compile Error
289
v2_s883179956
s883179956
s883179956
p02400
p02400
u499774236
u499774236
1,472,047,025
2016-08-24T13:57:05
Main.java
import java.util.Scanner; public classs Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int r = scanner.nextInt(); Double aDouble = 2 * Math.PI * r; Double bDouble = Math.pow(r, 2) * Math.PI; System.out.println(aDouble + " " + bDouble); } }
Main.java:3: error: class, interface, enum, or record expected public classs 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:12: error: class, in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u499774236|p02400|0
u499774236|p02400|0
codenet
Compile Error
299
v2_s201882638
s201882638
s201882638
p02400
p02400
u500257793
u500257793
1,527,760,618
2018-05-31T09:56:58
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ double r,m,s; Scanner sc = new Scanner(System.in); r=sc.nextInt(); m=r*r*math.pi; s=2*r*math.pi; System.out.println(m+" "+s); } }
Main.java:7: error: cannot find symbol m=r*r*math.pi; ^ symbol: variable math location: class Main Main.java:8: error: cannot find symbol s=2*r*math.pi; ^ symbol: variable math location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u500257793|p02400|0
u500257793|p02400|0
codenet
Compile Error
222
v2_s773619507
s773619507
s773619507
p02400
p02400
u500257793
u500257793
1,527,760,762
2018-05-31T09:59:22
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ double r,m,s; Scanner sc = new Scanner(System.in); r=sc.nextdouble(); m=r*r*Math.PI; s=2*r*Math.PI; System.out.println(m+" "+s); } }
Main.java:6: error: cannot find symbol r=sc.nextdouble(); ^ symbol: method nextdouble() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u500257793|p02400|0
u500257793|p02400|0
codenet
Compile Error
225
v2_s280264723
s280264723
s280264723
p02400
p02400
u522881001
u522881001
1,523,341,567
2018-04-10T06:26:07
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double r = sc.nextDouble(); double pi = Math.PI; double area = pi * r * r; double length = 2 * r * pi; System.out.printf("%f %f", area, length); } }
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
u522881001|p02400|0
u522881001|p02400|0
codenet
Compile Error
304
v2_s924086978
s924086978
s924086978
p02400
p02400
u534111608
u534111608
1,464,250,291
2016-05-26T08:11:31
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); Float r=Float.parseFloat(reader.readLine()); Float s=r*r*3.14 ...
Main.java:8: error: ';' expected Float s=r*r*3.14 ^ Main.java:9: error: ';' expected Float c=r*2*3.14 ^ Main.java:10: error: ')' or ',' expected System.out.System.out.println(s+" "c); ^ Main.java:10: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534111608|p02400|0
u534111608|p02400|0
codenet
Compile Error
385
v2_s119076363
s119076363
s119076363
p02400
p02400
u534111608
u534111608
1,464,250,317
2016-05-26T08:11:57
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); Float r=Float.parseFloat(reader.readLine()); Float s=r*r*3.14 ...
Main.java:8: error: ';' expected Float s=r*r*3.14 ^ Main.java:9: error: ';' expected Float c=r*2*3.14 ^ Main.java:11: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534111608|p02400|0
u534111608|p02400|0
codenet
Compile Error
386
v2_s117293801
s117293801
s117293801
p02400
p02400
u534111608
u534111608
1,464,250,339
2016-05-26T08:12:19
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); Float r=Float.parseFloat(reader.readLine()); Float s=r*r*3.14 ...
Main.java:8: error: ';' expected Float s=r*r*3.14 ^ Main.java:9: error: ';' expected Float c=r*2*3.14 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534111608|p02400|0
u534111608|p02400|0
codenet
Compile Error
392
v2_s107925412
s107925412
s107925412
p02400
p02400
u534111608
u534111608
1,464,250,356
2016-05-26T08:12:36
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); Float r=Float.parseFloat(reader.readLine()); Float s=r*r*3.14; ...
Main.java:8: error: incompatible types: double cannot be converted to Float Float s=r*r*3.14; ^ Main.java:9: error: incompatible types: double cannot be converted to Float Float c=r*2*3.14; ^ Main.java:10: error: cannot find symbol System.out.System.out.prin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534111608|p02400|0
u534111608|p02400|0
codenet
Compile Error
394
v2_s390831087
s390831087
s390831087
p02400
p02400
u534111608
u534111608
1,464,250,488
2016-05-26T08:14:48
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); double r=Double.parseDouble(reader.readLine()); Double s=r*r*Math.PI; ...
Main.java:10: error: cannot find symbol System.out.System.out.println(s+" "+c); ^ symbol: variable System location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534111608|p02400|0
u534111608|p02400|0
codenet
Compile Error
405
v2_s932976141
s932976141
s932976141
p02400
p02400
u534111608
u534111608
1,464,250,729
2016-05-26T08:18:49
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); double r=Double.parseDouble(reader.readLine()); Double area=r*r*Math.P...
Main.java:10: error: no suitable method found for println(String,Double,Double) System.out.println("%.6f %.6f", area, circumference); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not ap...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534111608|p02400|0
u534111608|p02400|0
codenet
Compile Error
434
v2_s967819691
s967819691
s967819691
p02400
p02400
u535768079
u535768079
1,492,647,462
2017-04-20T00:17:42
Main.java
import java.util.Scanner; public class???Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); double r = scanner.nextInt(); double x = 3.1416; double y = 2*x*r; double z = x*r*r; System.out.println(String.format("%.5f",y)+" "+String.format("%.5f",...
Main.java:3: error: <identifier> expected public class???Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u535768079|p02400|1
u535768079|p02400|1
codenet
Compile Error
332
v2_s700276552
s700276552
s700276552
p02400
p02400
u535768079
u535768079
1,493,079,007
2017-04-25T00:10:07
Main.java
import java.util.Scanner; public class???Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); double r = scanner.nextInt(); double x = 3.1416; double y = 2*x*r; double z = x*r*r; System.out.println(String.format("%.6f",y)+" "+String.format("%.6f",...
Main.java:3: error: <identifier> expected public class???Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u535768079|p02400|3
u535768079|p02400|3
codenet
Compile Error
332
v2_s782594327
s782594327
s782594327
p02400
p02400
u535768079
u535768079
1,493,079,070
2017-04-25T00:11:10
Main.java
import java.util.Scanner; public class???Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); double r = scanner.nextInt(); double x = Math.PI; double y = 2*x*r; double z = x*r*r; System.out.println(String.format("%.6f",y)+" "+String.format("%.6f"...
Main.java:3: error: <identifier> expected public class???Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u535768079|p02400|3
u535768079|p02400|3
codenet
Compile Error
333
v2_s664765786
s664765786
s664765786
p02400
p02400
u542091586
u542091586
1,523,257,284
2018-04-09T07:01:24
Main.java
package HelloWrold; import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int m = a*b; int e = 2*a + 2*b; System.out.println(area + " " +length); } }
Main.java:12: error: cannot find symbol int m = a*b; ^ symbol: variable b location: class Main Main.java:13: error: cannot find symbol int e = 2*a + 2*b; ^ symbol: variable b location: class Main Main.java:14: error: cannot find symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u542091586|p02400|0
u542091586|p02400|0
codenet
Compile Error
311
v2_s809416808
s809416808
s809416808
p02400
p02400
u542091586
u542091586
1,523,257,295
2018-04-09T07:01:35
Main.java
package HelloWrold; import java.util.Scanner; public class Main{ public static void Main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int m = a*b; int e = 2*a + 2*b; System.out.println(area + " " +length); } }
Main.java:12: error: cannot find symbol int m = a*b; ^ symbol: variable b location: class Main Main.java:13: error: cannot find symbol int e = 2*a + 2*b; ^ symbol: variable b location: class Main Main.java:14: error: cannot find symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u542091586|p02400|0
u542091586|p02400|0
codenet
Compile Error
311
v2_s359152573
s359152573
s359152573
p02400
p02400
u542091586
u542091586
1,523,257,308
2018-04-09T07:01:48
Main.java
import java.util.Scanner; public class Main{ public static void Main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int m = a*b; int e = 2*a + 2*b; System.out.println(area + " " +length); } }
Main.java:12: error: cannot find symbol int m = a*b; ^ symbol: variable b location: class Main Main.java:13: error: cannot find symbol int e = 2*a + 2*b; ^ symbol: variable b location: class Main Main.java:14: error: cannot find symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u542091586|p02400|0
u542091586|p02400|0
codenet
Compile Error
292
v2_s387643065
s387643065
s387643065
p02400
p02400
u542091586
u542091586
1,523,257,323
2018-04-09T07:02:03
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int m = a*b; int e = 2*a + 2*b; System.out.println(area + " " +length); } }
Main.java:10: error: cannot find symbol int m = a*b; ^ symbol: variable b location: class Main Main.java:11: error: cannot find symbol int e = 2*a + 2*b; ^ symbol: variable b location: class Main Main.java:12: error: cannot find symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u542091586|p02400|0
u542091586|p02400|0
codenet
Compile Error
290
v2_s241050486
s241050486
s241050486
p02400
p02400
u543473017
u543473017
1,475,971,008
2016-10-08T23:56:48
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); double pi = Math.PI; int r = scan.nextInt(); System.out.println("%.6f %.6f",r * r * pi,2 * r * pi); } }
Main.java:8: error: no suitable method found for println(String,double,double) System.out.println("%.6f %.6f",r * r * pi,2 * r * pi); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u543473017|p02400|0
u543473017|p02400|0
codenet
Compile Error
227
v2_s292633185
s292633185
s292633185
p02400
p02400
u543473017
u543473017
1,475,971,220
2016-10-09T00:00:20
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); double pi = Math.PI; int r = scan.nextInt(); double area = r *r * pi; double circumference = 2 * pi *r; System.out.print("%.6f %.6f\n",area,circumference); } }
Main.java:10: error: no suitable method found for print(String,double,double) System.out.print("%.6f %.6f\n",area,circumference); ^ method PrintStream.print(boolean) is not applicable (actual and formal argument lists differ in length) method PrintStream.print(char) is not applicable (ac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u543473017|p02400|0
u543473017|p02400|0
codenet
Compile Error
285
v2_s678996722
s678996722
s678996722
p02400
p02400
u543473017
u543473017
1,475,971,225
2016-10-09T00:00:25
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); double pi = Math.PI; int r = scan.nextInt(); double area = r *r * pi; double circumference = 2 * pi *r; System.out.print("%.6f %.6f\n",area,circumference); } }
Main.java:10: error: no suitable method found for print(String,double,double) System.out.print("%.6f %.6f\n",area,circumference); ^ method PrintStream.print(boolean) is not applicable (actual and formal argument lists differ in length) method PrintStream.print(char) is not applicable (ac...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u543473017|p02400|0
u543473017|p02400|0
codenet
Compile Error
285
v2_s299188861
s299188861
s299188861
p02400
p02400
u543473017
u543473017
1,475,971,460
2016-10-09T00:04:20
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); double pi = Math.PI; int r = scan.nextInt(); // double area = r *r * pi; // double circumference = 2 * pi *r; // System.out.print("%.6f %.6f\n",area,circumference); System.out.println(MathPI * Math...
Main.java:11: error: cannot find symbol System.out.println(MathPI * Math.PI * r + " " + Math.PI * 2 * r); ^ symbol: variable MathPI location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u543473017|p02400|0
u543473017|p02400|0
codenet
Compile Error
358
v2_s733473557
s733473557
s733473557
p02400
p02400
u543473017
u543473017
1,475,971,916
2016-10-09T00:11:56
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner scan =new Scanner(System.in); double r = scan.nextDouble(); // double area = r *r * pi; // double circumference = 2 * pi *r; // System.out.print("%.6f %.6f\n",area,circumference); // System.out.println(MathPI * Math.PI * r ...
Main.java:11: error: no suitable method found for print(String,double,double) System.out.print("%.6f %.6f\n",r*r*Math.PI ,r*2*Math.PI); ^ method PrintStream.print(boolean) is not applicable (actual and formal argument lists differ in length) method PrintStream.print(char) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u543473017|p02400|0
u543473017|p02400|0
codenet
Compile Error
409
v2_s045808324
s045808324
s045808324
p02400
p02400
u543473017
u543473017
1,475,972,290
2016-10-09T00:18:10
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan =new Scanner(System.in); double r = scan.nextDouble(); // double area = r *r * pi; // double circumference = 2 * pi *r; // System.out.print("%.6f %.6f\n",area,circumference); // System.out.println(MathPI * Math.PI...
Main.java:11: error: no suitable method found for print(String,double,double) System.out.print("%.6f %.6f\n",r*r*Math.PI ,r*2*Math.PI); ^ method PrintStream.print(boolean) is not applicable (actual and formal argument lists differ in length) method PrintStream.print(char) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u543473017|p02400|0
u543473017|p02400|0
codenet
Compile Error
414
v2_s843129078
s843129078
s843129078
p02400
p02400
u554960224
u554960224
1,440,565,914
2015-08-26T05:11:54
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 BufferdReader(new InputStreamReader(System.in)); double r = Double.parseDouble(in.readLine()); double pi = Math.PI; double ...
Main.java:5: error: class, interface, enum, or record expected Class Main{ ^ Main.java:6: 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) Main.java:14: error: class, i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554960224|p02400|0
u554960224|p02400|0
codenet
Compile Error
395
v2_s473325037
s473325037
s473325037
p02400
p02400
u554960224
u554960224
1,440,565,960
2015-08-26T05:12: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 BufferdReader(new InputStreamReader(System.in)); double r = Double.parseDouble(br.readLine()); double pi = Math.PI; double ...
Main.java:5: error: class, interface, enum, or record expected Class Main{ ^ Main.java:6: 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) Main.java:14: error: class, i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u554960224|p02400|0
u554960224|p02400|0
codenet
Compile Error
395
v2_s711357320
s711357320
s711357320
p02400
p02400
u606298399
u606298399
1,456,813,768
2016-03-01T06:29:28
Main.java
import java.text.NumberFormat; import java.util.Scanner; public class???Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); NumberFormat nfNum = NumberFormat.getNumberInstance(); nfNum.setMinimumFractionDigits(1); nfNum.setMaximumFractionDigits(5); double r = scan.nex...
Main.java:4: error: <identifier> expected public class???Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606298399|p02400|0
u606298399|p02400|0
codenet
Compile Error
508
v2_s913553494
s913553494
s913553494
p02400
p02400
u606298399
u606298399
1,456,813,836
2016-03-01T06:30:36
Main.java
import java.util.Scanner; public class???Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); double r = scan.nextInt(); double men = (double)r * r * 3.1459; double ensyu = (double)r * 2 * 3.1459; System.out.println(men + " " + ensyu); scan.close(); } }
Main.java:3: error: <identifier> expected public class???Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606298399|p02400|0
u606298399|p02400|0
codenet
Compile Error
316
v2_s427232603
s427232603
s427232603
p02400
p02400
u606298399
u606298399
1,456,814,013
2016-03-01T06:33:33
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); NumberFormat nfNum = NumberFormat.getNumberInstance(); nfNum.setMinimumFractionDigits(1); nfNum.setMaximumFractionDigits(5); double r = scan.nextInt(); double men = (double)r ...
Main.java:21: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606298399|p02400|0
u606298399|p02400|0
codenet
Compile Error
477
v2_s361669360
s361669360
s361669360
p02400
p02400
u606298399
u606298399
1,456,814,029
2016-03-01T06:33:49
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); NumberFormat nfNum = NumberFormat.getNumberInstance(); nfNum.setMinimumFractionDigits(1); nfNum.setMaximumFractionDigits(5); double r = scan.nextInt(); double men = (double)r ...
Main.java:7: error: cannot find symbol NumberFormat nfNum = NumberFormat.getNumberInstance(); ^ symbol: class NumberFormat location: class Main Main.java:7: error: cannot find symbol NumberFormat nfNum = NumberFormat.getNumberInstance(); ^ symbol: variable NumberFormat location:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606298399|p02400|0
u606298399|p02400|0
codenet
Compile Error
475
v2_s261243270
s261243270
s261243270
p02400
p02400
u606298399
u606298399
1,456,890,451
2016-03-02T03:47:31
Main.java
import java.math.BigDecimal; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); double r = scan.nextDouble();//r = ?????? double men = (double)r * r * 3.14159265358979323846264338327950288; double ensyu = (double)r * 2 * 3.1415926...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606298399|p02400|1
u606298399|p02400|1
codenet
Compile Error
696
v2_s268025178
s268025178
s268025178
p02400
p02400
u620468594
u620468594
1,494,395,145
2017-05-10T05:45:45
Main.java
import java.io.*; class Main { public static void main (String[] args){ Scanner scan = new Scanner(System.in); int r = scan.nextInt(); double pi = Math.PI; System.out.println(r * r * pi); System.out.println(r * 2 * pi); } }
Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02400|0
u620468594|p02400|0
codenet
Compile Error
237
v2_s779526233
s779526233
s779526233
p02400
p02400
u657620028
u657620028
1,460,691,555
2016-04-15T03:39:15
Main.java
import java.io.*; class Main { public static void main(String[] args)throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); double r = Double.parseDouble(str); double l, S; l = 2 * Math.PI * r; S = Math.PI * r * r; System.out.println...
Main.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u657620028|p02400|0
u657620028|p02400|0
codenet
Compile Error
337
v2_s523386388
s523386388
s523386388
p02400
p02400
u657620028
u657620028
1,460,691,737
2016-04-15T03:42:17
Main.java
import java.io.*; class Main { public static void main(String[] args)throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); double r = Double.parseDouble(br.readLine()); double l, S; l = 2 * Math.PI * r; S = Math.PI * r * r; System.out.println(S + " " + l); }
Main.java:12: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u657620028|p02400|0
u657620028|p02400|0
codenet
Compile Error
317
v2_s085866957
s085866957
s085866957
p02400
p02400
u657681515
u657681515
1,497,950,395
2017-06-20T09:19:55
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int r; double pi = 3.14159265 r = scan.nextInt(); System.out.printf("%.6f %.6f\n", r*r*pi, 2*r*pi); } }
Main.java:7: error: ';' expected double pi = 3.14159265 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u657681515|p02400|0
u657681515|p02400|0
codenet
Compile Error
244
v2_s458312476
s458312476
s458312476
p02400
p02400
u660501524
u660501524
1,492,591,963
2017-04-19T08:52:43
Main.java
import java.io.IOException; import java.io.InputStreamReader; import java.io.* ; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int r = Integer.parseInt(str); double...
Main.java:15: error: <identifier> expected System.out.printf("%.5lf",c.%.5lf\n",d ); ^ Main.java:15: error: ')' or ',' expected System.out.printf("%.5lf",c.%.5lf\n",d ); ^ Main.java:15: error: illegal character: '\' System.out.printf("%.5lf",c.%....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660501524|p02400|0
u660501524|p02400|0
codenet
Compile Error
454
v2_s694413932
s694413932
s694413932
p02400
p02400
u660501524
u660501524
1,492,591,971
2017-04-19T08:52:51
Main.java
import java.io.IOException; import java.io.InputStreamReader; import java.io.* ; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int r = Integer.parseInt(str); double...
Main.java:15: error: <identifier> expected System.out.printf("%.5f",c.%.5f\n",d ); ^ Main.java:15: error: illegal character: '\' System.out.printf("%.5f",c.%.5f\n",d ); ^ Main.java:15: error: unclosed string literal System.out.printf("%.5f",c.%.5f...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660501524|p02400|0
u660501524|p02400|0
codenet
Compile Error
452
v2_s779736484
s779736484
s779736484
p02400
p02400
u660501524
u660501524
1,492,591,979
2017-04-19T08:52:59
Main.java
import java.io.IOException; import java.io.InputStreamReader; import java.io.* ; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int r = Integer.parseInt(str); double...
Main.java:15: error: <identifier> expected System.out.printf("%.5f",c.%.5f",d ); ^ Main.java:15: error: unclosed string literal System.out.printf("%.5f",c.%.5f",d ); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660501524|p02400|0
u660501524|p02400|0
codenet
Compile Error
450
v2_s406981452
s406981452
s406981452
p02400
p02400
u660501524
u660501524
1,492,591,989
2017-04-19T08:53:09
Main.java
import java.io.IOException; import java.io.InputStreamReader; import java.io.* ; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int r = Integer.parseInt(str); double...
Main.java:15: error: <identifier> expected System.out.printf("%.5f",c.%.5f",d ); ^ Main.java:15: error: unclosed string literal System.out.printf("%.5f",c.%.5f",d ); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660501524|p02400|0
u660501524|p02400|0
codenet
Compile Error
450
v2_s638894682
s638894682
s638894682
p02400
p02400
u660501524
u660501524
1,492,592,008
2017-04-19T08:53:28
Main.java
import java.io.IOException; import java.io.InputStreamReader; import java.io.* ; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); int r = Integer.parseInt(str); double...
Main.java:15: error: string templates are a preview feature and are disabled by default. System.out.printf("%.5f",c."%.5f\n",d ); ^ (use --enable-preview to enable string templates) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660501524|p02400|0
u660501524|p02400|0
codenet
Compile Error
453
v2_s575224357
s575224357
s575224357
p02400
p02400
u660501524
u660501524
1,492,760,160
2017-04-21T07:36:00
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * */ /** * @author cthanh * * public class Main { /** * @param args * @throws IOException */ public static void main(String[] args) throws IOException { // TODO ????????????????????????????????????????????...
Main.java:19: 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) Main.java:32: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660501524|p02400|1
u660501524|p02400|1
codenet
Compile Error
689
v2_s184515266
s184515266
s184515266
p02400
p02400
u660501524
u660501524
1,492,760,513
2017-04-21T07:41:53
Main.java
public class Main { /** * @param args * @throws IOException */ public static void main(String[] args) throws IOException { // TODO ????????????????????????????????????????????? BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\????????? String str = br.readLine(); ...
Main.java:7: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:9: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660501524|p02400|1
u660501524|p02400|1
codenet
Compile Error
537
v2_s252839530
s252839530
s252839530
p02400
p02400
u687806311
u687806311
1,518,841,405
2018-02-17T04:23:25
AAAA.java
public class AAAA{ private Double pi = 3.1415926535 public static void main(String[] args){ String str = getLine(); double r = Double.parseDouble(str); double s = r * r * pi; double l = (r * 2) * pi; System.out.printf("%.6f %.6f\n",s,l); } public static String ...
AAAA.java:3: error: ';' expected private Double pi = 3.1415926535 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
452
v2_s456049332
s456049332
s456049332
p02400
p02400
u687806311
u687806311
1,518,841,435
2018-02-17T04:23:55
AAAA.java
public class AAAA{ private Double pi = 3.1415926535; public static void main(String[] args){ String str = getLine(); double r = Double.parseDouble(str); double s = r * r * pi; double l = (r * 2) * pi; System.out.printf("%.6f %.6f\n",s,l); } public static String...
AAAA.java:8: error: non-static variable pi cannot be referenced from a static context double s = r * r * pi; ^ AAAA.java:9: error: non-static variable pi cannot be referenced from a static context double l = (r * 2) * pi; ^ AAAA.java:14: error: can...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
455
v2_s265967126
s265967126
s265967126
p02400
p02400
u687806311
u687806311
1,518,841,493
2018-02-17T04:24:53
ITP1_4_B.java
public class ITP1_4_B{ private Double pi = 3.1415926535; public static void main(String[] args){ String str = getLine(); double r = Double.parseDouble(str); double s = r * r * pi; double l = (r * 2) * pi; System.out.printf("%.6f %.6f\n",s,l); } public static Str...
ITP1_4_B.java:7: error: non-static variable pi cannot be referenced from a static context double s = r * r * pi; ^ ITP1_4_B.java:8: error: non-static variable pi cannot be referenced from a static context double l = (r * 2) * pi; ^ ITP1_4_B.java:13...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
457
v2_s780403837
s780403837
s780403837
p02400
p02400
u687806311
u687806311
1,518,841,522
2018-02-17T04:25:22
Main.java
public class Main{ private Double pi = 3.1415926535; public static void main(String[] args){ String str = getLine(); double r = Double.parseDouble(str); double s = r * r * pi; double l = (r * 2) * pi; System.out.printf("%.6f %.6f\n",s,l); } public static String ...
Main.java:7: error: non-static variable pi cannot be referenced from a static context double s = r * r * pi; ^ Main.java:8: error: non-static variable pi cannot be referenced from a static context double l = (r * 2) * pi; ^ Main.java:13: error: can...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
454
v2_s126365237
s126365237
s126365237
p02400
p02400
u687806311
u687806311
1,518,841,554
2018-02-17T04:25:54
Main.java
public class Main{ private static final Double pi = 3.1415926535; public static void main(String[] args){ String str = getLine(); double r = Double.parseDouble(str); double s = r * r * pi; double l = (r * 2) * pi; System.out.printf("%.6f %.6f\n",s,l); } public ...
Main.java:14: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:14: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
468
v2_s818981747
s818981747
s818981747
p02400
p02400
u687806311
u687806311
1,518,841,591
2018-02-17T04:26:31
Main.java
import java.io.*; public class Main{ private static final Double pi = 3.1415926535; public static void main(String[] args){ String str = getLine(); double r = Double.parseDouble(str); double s = r * r * pi; double l = (r * 2) * pi; System.out.printf("%.6f %.6f\n",s,l); ...
Main.java:16: error: unreported exception IOException; must be caught or declared to be thrown return br.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
487
v2_s278431853
s278431853
s278431853
p02400
p02400
u687806311
u687806311
1,518,841,712
2018-02-17T04:28:32
Main.java
import java.io.*; public class Main{ private static final Double pi = 3.1415926535; public static void main(String[] args){ String str = getLine(); double r = Double.parseDouble(str); double s = r * r * pi; double l = (r * 2) * pi; System.out.printf("%.6f %.6f\n",s,l); ...
Main.java:16: error: unreported exception IOException; must be caught or declared to be thrown String str = br.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
512
v2_s678519184
s678519184
s678519184
p02400
p02400
u687806311
u687806311
1,518,842,273
2018-02-17T04:37:53
Main.java
import java.io.*; import java.math.BigDecimal; public class Main{ private static final BigDecimal pi = 3.1415926535; public static void main(String[] args) throws IOException{ String str = getLine(); BigDecimal r = Double.parseDouble(str); double s = r.multiply(r).multiply(pi).doubleV...
Main.java:6: error: incompatible types: double cannot be converted to BigDecimal private static final BigDecimal pi = 3.1415926535; ^ Main.java:10: error: incompatible types: double cannot be converted to BigDecimal BigDecimal r = Double.parseDouble(str); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
644
v2_s075188854
s075188854
s075188854
p02400
p02400
u687806311
u687806311
1,518,842,333
2018-02-17T04:38:53
Main.java
import java.io.*; import java.math.BigDecimal; public class Main{ private static final BigDecimal pi = new BigDecimal(3.1415926535); public static void main(String[] args) throws IOException{ String str = getLine(); BigDecimal r = new BigDecimal(str); double s = r.multiply(r).multiply...
Main.java:12: error: incompatible types: int cannot be converted to BigDecimal double l = r.multiply(2).multiply(pi).doubleValue(); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
656
v2_s752955017
s752955017
s752955017
p02400
p02400
u687806311
u687806311
1,518,842,543
2018-02-17T04:42:23
Main.java
import java.io.*; import java.Math.*; public class Main{ public static void main(String[] args) throws IOException{ String str = getLine(); double r = Double.parseDouble(str); double s = r * r * Math.PI; double l = (r * 2) * Math.PI; System.out.printf("%.6f %.6f\n",s,l); ...
Main.java:2: error: package java.Math does not exist import java.Math.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
530
v2_s386275669
s386275669
s386275669
p02400
p02400
u687806311
u687806311
1,518,842,620
2018-02-17T04:43:40
Main.java
import java.io.*; import java.Math.*; public class Main{ public static void main(String[] args) throws IOException{ String str = getLine(); double r = Double.parseDouble(str); double s = r * r * Math.PI; double l = (r * 2) * Math.PI; System.out.printf("%.6f %.6f\n",s,l); ...
Main.java:2: error: package java.Math does not exist import java.Math.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
530
v2_s869177454
s869177454
s869177454
p02400
p02400
u687806311
u687806311
1,518,843,850
2018-02-17T05:04:10
Main.java
import Text.Printf main = do r <- getDouble let s = r * r * pi let l = r * 2 * pi putStrLn $ printf "%.6f %.6f\n" s l getDouble :: IO (Double) getDouble = do str <- getLine return $ read str
Main.java:1: error: ';' expected import Text.Printf ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u687806311|p02400|0
u687806311|p02400|0
codenet
Compile Error
218
v2_s721334938
s721334938
s721334938
p02400
p02400
u699160354
u699160354
1,513,094,382
2017-12-12T15:59:42
Main.java
import java.util.*; import java.math.*; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int r = scanner.nextInt(); BigDecimal circArea = new BigDecimal(r*r*Math.PI); circArea.scale=5; BigDecimal circFere = new BigDecimal(2*r*Math.PI); circFere.scale=5; Syste...
Main.java:9: error: scale has private access in BigDecimal circArea.scale=5; ^ Main.java:11: error: scale has private access in BigDecimal circFere.scale=5; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02400|0
u699160354|p02400|0
codenet
Compile Error
397
v2_s490182179
s490182179
s490182179
p02400
p02400
u699160354
u699160354
1,513,094,983
2017-12-12T16:09:43
Main.java
import java.util.*; import java.math.*; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int r = scanner.nextInt(); long x=Math.PI; BigDecimal circArea = new BigDecimal(r*r*x); circArea.setScale(5); BigDecimal circFere = new BigDecimal(2*r*x); circFere.setSca...
Main.java:8: error: incompatible types: possible lossy conversion from double to long long x=Math.PI; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02400|0
u699160354|p02400|0
codenet
Compile Error
408
v2_s547850746
s547850746
s547850746
p02400
p02400
u699160354
u699160354
1,513,150,293
2017-12-13T07:31:33
Main.java
import java.util.*; import java.Math.*; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int r = scanner.nextInt(); double x = Math.PI; System.out.printf("%.5f %.5f",r*r*x,2*r*x); } }
Main.java:2: error: package java.Math does not exist import java.Math.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02400|1
u699160354|p02400|1
codenet
Compile Error
239
v2_s817765990
s817765990
s817765990
p02400
p02400
u699160354
u699160354
1,513,150,563
2017-12-13T07:36:03
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int r = scanner.nextInt(); double x = Math.PI; System.out.printf("%.5f",r*r*x); System.out.pritn(" "); System.out.printf("%.5f",2*r*x); } }
Main.java:9: error: cannot find symbol System.out.pritn(" "); ^ symbol: method pritn(String) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02400|1
u699160354|p02400|1
codenet
Compile Error
268
v2_s758563329
s758563329
s758563329
p02400
p02400
u705352026
u705352026
1,523,252,151
2018-04-09T05:35:51
Main.java
import java.util.Scanner; public class Main{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); double r = sc.nextDouble(); double pi = Math.pi; double area = Math.pow(r,2)*pi; double length = 2*pi*r; System.out.printf("%f %f",area,length)...
Main.java:7: error: cannot find symbol double pi = Math.pi; ^ symbol: variable pi location: class Math 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u705352026|p02400|0
u705352026|p02400|0
codenet
Compile Error
330
v2_s312599450
s312599450
s312599450
p02400
p02400
u706566315
u706566315
1,485,177,870
2017-01-23T13:24:30
Main.java
import java.io.*; public class Circle { static float area(int r) { return r * r * (float)Math.PI; } static float circuit(int r) { return r * 2 * (float)Math.PI; } } public class Main { public static void main(String[] args) throws IOException { BufferedReader reader = new B...
Main.java:2: error: class Circle is public, should be declared in a file named Circle.java public class Circle { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u706566315|p02400|0
u706566315|p02400|0
codenet
Compile Error
620
v2_s547806330
s547806330
s547806330
p02400
p02400
u733869787
u733869787
1,409,733,176
2014-09-03T08:32:56
Main.java
public class Main { private void calc(){ Scanner scanner = new Scanner(System.in); double r =scanner.nextInt(); double s = r*r*Math.PI; double l = 2.0*r*Math.PI; System.out.printf("%05f %05f", s, l); } public static void main(String[] args) { Main run =new Main(); run.calc(); } }
Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u733869787|p02400|0
u733869787|p02400|0
codenet
Compile Error
303
v2_s425122109
s425122109
s425122109
p02400
p02400
u742666578
u742666578
1,525,136,912
2018-05-01T01:08:32
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan=new Scanner(System.in); double r=scan.nextdouble(); double S=Math.PI * r * r; double L=2*Math.PI*r; System.out.printf("%f %f\n",S,L); } }
Main.java:6: error: cannot find symbol double r=scan.nextdouble(); ^ symbol: method nextdouble() location: variable scan of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u742666578|p02400|1
u742666578|p02400|1
codenet
Compile Error
253
v2_s166547143
s166547143
s166547143
p02400
p02400
u745846646
u745846646
1,460,437,336
2016-04-12T05:02:16
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double r = scan.nextDouble(); double aoac = r * r * Math.PI; double cf = r + r * Math.PI; String after = String format("%.16f", a...
Main.java:12: error: ';' expected String after = String format("%.16f", aoac); ^ Main.java:13: error: ';' expected String str = String format("%.16f", cf); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u745846646|p02400|0
u745846646|p02400|0
codenet
Compile Error
437
v2_s651731177
s651731177
s651731177
p02400
p02400
u745846646
u745846646
1,460,437,364
2016-04-12T05:02:44
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double r = scan.nextDouble(); double aoac = r * r * Math.PI; double cf = r + r * Math.PI; String after = String format("%.16f", a...
Main.java:12: error: ';' expected String after = String format("%.16f", aoac); ^ Main.java:13: error: ';' expected String str = String format("%.16f", cf); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u745846646|p02400|0
u745846646|p02400|0
codenet
Compile Error
437
v2_s714043167
s714043167
s714043167
p02400
p02400
u745846646
u745846646
1,460,437,433
2016-04-12T05:03:53
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double r = scan.nextDouble(); double aoac = r * r * Math.PI; double cf = r + r * Math.PI; String after = String format("%.16f", a...
Main.java:12: error: ';' expected String after = String format("%.16f", aoac); ^ Main.java:13: error: ';' expected String str = String format("%.16f", cf); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u745846646|p02400|0
u745846646|p02400|0
codenet
Compile Error
437