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_s372549083
s372549083
s372549083
p02399
p02399
u620468594
u620468594
1,494,400,258
2017-05-10T07:10:58
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); Formatter frm = new formatter(); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; double f = a / b; System.out.println(d + " " + r + " " + ...
Main.java:16: error: unclosed character literal System.out.println(d + " " + r + " " + '%.5f',f); ^ Main.java:16: error: unclosed character literal System.out.println(d + " " + r + " " + '%.5f',f); ^ Main.java:16: error: not a st...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02399|1
u620468594|p02399|1
codenet
Compile Error
336
v2_s016235719
s016235719
s016235719
p02399
p02399
u620468594
u620468594
1,494,400,267
2017-05-10T07:11:07
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); Formatter frm = new formatter(); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; double f = a / b; System.out.println(d + " " + r + " " + ...
Main.java:7: error: cannot find symbol Formatter frm = new formatter(); ^ symbol: class formatter location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02399|1
u620468594|p02399|1
codenet
Compile Error
329
v2_s152264491
s152264491
s152264491
p02399
p02399
u620468594
u620468594
1,494,400,542
2017-05-10T07:15:42
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); Formatter frm = new formatter(); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; frm.formatter = ("%.5f",(double)a / b); System.out.printf...
Main.java:14: error: ')' expected frm.formatter = ("%.5f",(double)a / b); ^ Main.java:14: error: not a statement frm.formatter = ("%.5f",(double)a / b); ^ Main.java:14: error: ';' expected frm.formatter = ("%.5f",(double)a / b); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02399|1
u620468594|p02399|1
codenet
Compile Error
352
v2_s199280551
s199280551
s199280551
p02399
p02399
u620468594
u620468594
1,494,400,592
2017-05-10T07:16:32
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); Formatter frm = new formatter(); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; frm.formatter = ("%.5f".(double)a / b); System.out.printl...
Main.java:14: error: <identifier> expected frm.formatter = ("%.5f".(double)a / b); ^ Main.java:14: error: '.class' expected frm.formatter = ("%.5f".(double)a / b); ^ Main.java:14: error: ')' expected frm.formatter = ("%.5f".(double)a / b); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u620468594|p02399|1
u620468594|p02399|1
codenet
Compile Error
353
v2_s453184112
s453184112
s453184112
p02399
p02399
u657620028
u657620028
1,512,573,031
2017-12-06T15:10:31
Main.java
import java.io.*; public class Main { public static void main(String[] args)throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str = br.readLine().split(" "); double a = Double.parseDouble(str[0]); double b = Double.parseDouble(str[1]); System.out.printl...
Main.java:11: error: no suitable method found for println(String,double,double,double) System.out.println("%d %d %.5f", (int)a/b, a%b, (double)a/b); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is no...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u657620028|p02399|2
u657620028|p02399|2
codenet
Compile Error
370
v2_s535423715
s535423715
s535423715
p02399
p02399
u657620028
u657620028
1,512,573,106
2017-12-06T15:11:46
Main.java
import java.io.*; public class Main { public static void main(String[] args)throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str = br.readLine().split(" "); double a = Double.parseDouble(str[0]); double b = Double.parseDouble(str[1]); System.out.printl...
Main.java:11: error: no suitable method found for println(String,double,double,double) System.out.println("%d %d %.5f?\n", (int)a/b, (int)a%b, (double)a/b); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolea...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u657620028|p02399|2
u657620028|p02399|2
codenet
Compile Error
378
v2_s271980811
s271980811
s271980811
p02399
p02399
u699160354
u699160354
1,512,836,565
2017-12-09T16:22:45
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc =new Scanner(Syste.in); String[] input=sc.nextLine().split(" "); int a=Integer.parseInt(input[0]); int b=Integer.parseInt(input[1]); int d =a/b; int r=a%b; double f=a/b; System.out.println(d+" "+r+" "+f); } }
Main.java:5: error: cannot find symbol Scanner sc =new Scanner(Syste.in); ^ symbol: variable Syste location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02399|0
u699160354|p02399|0
codenet
Compile Error
310
v2_s985343573
s985343573
s985343573
p02399
p02399
u699160354
u699160354
1,512,837,754
2017-12-09T16:42:34
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc =new Scanner(System.in); String[] input=sc.nextLine().split(" "); int a=Integer.parseInt(input[0]); int b=Integer.parseInt(input[1]); int d =a/b; int r=a%b; double f=a/b; int store=f*100000; f=store/100000; System.o...
Main.java:12: error: incompatible types: possible lossy conversion from double to int int store=f*100000; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02399|0
u699160354|p02399|0
codenet
Compile Error
351
v2_s887220010
s887220010
s887220010
p02399
p02399
u699160354
u699160354
1,512,981,074
2017-12-11T08:31:14
Main.java
import java.util.*; import java.math.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String[] input=sc.nextLine().split(" "); int a = Integer.parseInt(input[0]); int b = Integer.parseInt(input[1]); int d = a/b; int r = a%b; BigDecimal aBd = new BigDecima...
Main.java:17: error: cannot find symbol BigDecimal f =aBd.divide(bBd, ROUND_HALF_DOWN); ^ symbol: variable ROUND_HALF_DOWN location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02399|1
u699160354|p02399|1
codenet
Compile Error
475
v2_s234953657
s234953657
s234953657
p02399
p02399
u699160354
u699160354
1,513,093,297
2017-12-12T15:41:37
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner scanner = new Scanner(System.in); int a=scanner.nextInt(); int b=scanner.nextInt(); int d=a/b; int r=a%b; BigDecimal aBig = new BigDecimal(a); BigDecimal bBig = new BigDecimal(b); BigDecimal fBig = aBig.divide(bBig,5...
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02399|2
u699160354|p02399|2
codenet
Compile Error
396
v2_s128914099
s128914099
s128914099
p02399
p02399
u699160354
u699160354
1,513,093,349
2017-12-12T15:42:29
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner scanner = new Scanner(System.in); int a=scanner.nextInt(); int b=scanner.nextInt(); int d=a/b; int r=a%b; BigDecimal aBig = new BigDecimal(a); BigDecimal bBig = new BigDecimal(b); BigDecimal fBig = aBig.divide(bBig,5...
Main.java:12: error: cannot find symbol BigDecimal aBig = new BigDecimal(a); ^ symbol: class BigDecimal location: class Main Main.java:12: error: cannot find symbol BigDecimal aBig = new BigDecimal(a); ^ symbol: class BigDecimal location: class Main Main.java:13: error: cannot ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02399|2
u699160354|p02399|2
codenet
Compile Error
399
v2_s832810120
s832810120
s832810120
p02399
p02399
u699160354
u699160354
1,513,093,391
2017-12-12T15:43:11
Main.java
import java.util.*; import java,math.*; class Main{ public static void main(String args[]){ Scanner scanner = new Scanner(System.in); int a=scanner.nextInt(); int b=scanner.nextInt(); int d=a/b; int r=a%b; BigDecimal aBig = new BigDecimal(a); BigDecimal bBig = new BigDecimal(b); BigDecimal fBig ...
Main.java:2: error: '.' expected import java,math.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02399|2
u699160354|p02399|2
codenet
Compile Error
419
v2_s134002735
s134002735
s134002735
p02399
p02399
u699160354
u699160354
1,513,093,439
2017-12-12T15:43:59
Main.java
import java.util.*; import java.math.*; class Main{ public static void main(String args[]){ Scanner scanner = new Scanner(System.in); int a=scanner.nextInt(); int b=scanner.nextInt(); int d=a/b; int r=a%b; BigDecimal aBig = new BigDecimal(a); BigDecimal bBig = new BigDecimal(b); BigDecimal fBig ...
Main.java:15: error: cannot find symbol BigDecimal fBig = aBig.divide(bBig,5,ROUND_HALF_EVEN); ^ symbol: variable ROUND_HALF_EVEN location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699160354|p02399|2
u699160354|p02399|2
codenet
Compile Error
419
v2_s614251495
s614251495
s614251495
p02399
p02399
u765303114
u765303114
1,556,252,286
2019-04-26T04:18:06
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a+b); System.out.println(a%b); System.out.printl...
Main.java:12: error: <identifier> expected sc.close(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u765303114|p02399|0
u765303114|p02399|0
codenet
Compile Error
372
v2_s466360739
s466360739
s466360739
p02399
p02399
u765303114
u765303114
1,556,252,366
2019-04-26T04:19:26
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a+b); System.out.println(a%b); System.out.printl...
Main.java:11: error: ';' expected sc.close() ^ Main.java:13: error: class, interface, enum, or record expected }} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u765303114|p02399|0
u765303114|p02399|0
codenet
Compile Error
376
v2_s035703931
s035703931
s035703931
p02399
p02399
u765303114
u765303114
1,556,252,394
2019-04-26T04:19:54
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a+b); System.out.println(a%b); System.out.printl...
Main.java:11: error: ';' expected sc.close() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u765303114|p02399|0
u765303114|p02399|0
codenet
Compile Error
375
v2_s690549453
s690549453
s690549453
p02399
p02399
u765303114
u765303114
1,556,252,612
2019-04-26T04:23:32
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a+b); System.out.println(a%b); System.out.printl...
Main.java:11: error: ';' expected sc.close() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u765303114|p02399|0
u765303114|p02399|0
codenet
Compile Error
375
v2_s306607848
s306607848
s306607848
p02399
p02399
u765303114
u765303114
1,556,252,767
2019-04-26T04:26:07
Main.java
import java.util.Scanner; class MyClass{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a/b); System.out.println(a%b); System.out.pri...
Main.java:12: error: ';' expected sc.close() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u765303114|p02399|0
u765303114|p02399|0
codenet
Compile Error
391
v2_s121331880
s121331880
s121331880
p02399
p02399
u765303114
u765303114
1,556,252,780
2019-04-26T04:26:20
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a/b); System.out.println(a%b); System.out.printl...
Main.java:12: error: ';' expected sc.close() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u765303114|p02399|0
u765303114|p02399|0
codenet
Compile Error
388
v2_s162740190
s162740190
s162740190
p02399
p02399
u779656282
u779656282
1,525,360,209
2018-05-03T15:10:09
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Sncanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int d=a/b,r=a%b; double f=a/b; System.out.println(d+" "+r+" "+f); } }
Main.java:4: error: cannot find symbol Scanner sc = new Sncanner(System.in); ^ symbol: class Sncanner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u779656282|p02399|0
u779656282|p02399|0
codenet
Compile Error
308
v2_s697366665
s697366665
s697366665
p02399
p02399
u782440722
u782440722
1,467,864,718
2016-07-07T04:11:58
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long a = scan.nextInt(); long b = scan.nextInt(); int d = a/b; int r = a%b; float f = (float)a/b; System.out.println(d+" "+r+" "+f); } }
Main.java:8: error: incompatible types: possible lossy conversion from long to int int d = a/b; ^ Main.java:9: error: incompatible types: possible lossy conversion from long to int int r = a%b; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u782440722|p02399|0
u782440722|p02399|0
codenet
Compile Error
285
v2_s238721167
s238721167
s238721167
p02399
p02399
u792486880
u792486880
1,468,648,357
2016-07-16T05:52:37
Main.java
import java.util.Scanner; public class Main{ public static void main(Sring[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; float f = (float) (a / b); System.out.println(d + " " + r + " " + f); } }
Main.java:4: error: cannot find symbol public static void main(Sring[] args){ ^ symbol: class Sring location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02399|0
u792486880|p02399|0
codenet
Compile Error
309
v2_s642539012
s642539012
s642539012
p02399
p02399
u792486880
u792486880
1,468,648,750
2016-07-16T05:59:10
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; float f = 1.0* a / b; System.out.println(d + " " + r + " " + f); } }
Main.java:11: error: incompatible types: possible lossy conversion from double to float float f = 1.0* a / b; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02399|0
u792486880|p02399|0
codenet
Compile Error
305
v2_s642406941
s642406941
s642406941
p02399
p02399
u792486880
u792486880
1,468,649,045
2016-07-16T06:04:05
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; if(r == 0){int f = a / b;} else { float f = (float) a / b; } System.out.pr...
Main.java:15: error: cannot find symbol System.out.println(d + " " + r + " " + f); ^ symbol: variable f location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02399|0
u792486880|p02399|0
codenet
Compile Error
355
v2_s772484670
s772484670
s772484670
p02399
p02399
u792486880
u792486880
1,468,650,644
2016-07-16T06:30:44
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; if(r == 0){int f = a / b; System.out.println(d + " " + r + " " + f);} else { float...
Main.java:13: error: incompatible types: possible lossy conversion from double to float float f = (double) a / b; System.out.println(d + " " + r + " " + f); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02399|0
u792486880|p02399|0
codenet
Compile Error
395
v2_s111416235
s111416235
s111416235
p02399
p02399
u792486880
u792486880
1,468,650,727
2016-07-16T06:32:07
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; if(r == 0){int f = a / b; System.out.println(d + " " + r + " " + f);} else { float...
Main.java:13: error: ';' expected float f = 1.00000 a / b; System.out.println(d + " " + r + " " + f); ^ Main.java:13: error: not a statement float f = 1.00000 a / b; System.out.println(d + " " + r + " " + f); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02399|0
u792486880|p02399|0
codenet
Compile Error
394
v2_s298399763
s298399763
s298399763
p02399
p02399
u792486880
u792486880
1,468,650,749
2016-07-16T06:32:29
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; if(r == 0){int f = a / b; System.out.println(d + " " + r + " " + f);} else { float...
Main.java:13: error: incompatible types: possible lossy conversion from double to float float f = 1.00000* a / b; System.out.println(d + " " + r + " " + f); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02399|0
u792486880|p02399|0
codenet
Compile Error
395
v2_s231144435
s231144435
s231144435
p02399
p02399
u792486880
u792486880
1,468,651,375
2016-07-16T06:42:55
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; float f = (float) a / b; System.out.print(d + " " + r + " "); System.out.printf(%.5f%n...
Main.java:12: error: illegal start of expression System.out.print(d + " " + r + " "); System.out.printf(%.5f%n,f); ^ Main.java:15: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02399|0
u792486880|p02399|0
codenet
Compile Error
336
v2_s969935889
s969935889
s969935889
p02399
p02399
u792486880
u792486880
1,468,651,418
2016-07-16T06:43:38
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; float f = (float) a / b; System.out.print(d + " " + r + " "); System.out.printf(%.5f,f...
Main.java:12: error: illegal start of expression System.out.print(d + " " + r + " "); System.out.printf(%.5f,f); ^ Main.java:15: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02399|0
u792486880|p02399|0
codenet
Compile Error
334
v2_s527113114
s527113114
s527113114
p02399
p02399
u792486880
u792486880
1,468,651,549
2016-07-16T06:45:49
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; float f = (float) a / b; System.out.printf(%d%s%d%s%.5,d,r,f); } }
Main.java:12: error: illegal start of expression System.out.printf(%d%s%d%s%.5,d,r,f); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02399|0
u792486880|p02399|0
codenet
Compile Error
302
v2_s800719699
s800719699
s800719699
p02399
p02399
u792486880
u792486880
1,468,651,643
2016-07-16T06:47:23
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; float f = (float) a / b; System.out.printf(%10d%s%10d%s%.5d,d,r,f); } }
Main.java:12: error: illegal start of expression System.out.printf(%10d%s%10d%s%.5d,d,r,f); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02399|0
u792486880|p02399|0
codenet
Compile Error
307
v2_s637934994
s637934994
s637934994
p02399
p02399
u792486880
u792486880
1,468,651,837
2016-07-16T06:50:37
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; float f = (float) a / b; System.out.printf(%10d %10d %10.5f,d,r,f); } }
Main.java:12: error: illegal start of expression System.out.printf(%10d %10d %10.5f,d,r,f); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u792486880|p02399|0
u792486880|p02399|0
codenet
Compile Error
307
v2_s571049754
s571049754
s571049754
p02399
p02399
u803228308
u803228308
1,477,980,696
2016-11-01T06:11:36
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int d; int r; double f; d = a / b; r = a % b; f = 1.0 * a / b; System.out.pri...
Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803228308|p02399|0
u803228308|p02399|0
codenet
Compile Error
487
v2_s720452674
s720452674
s720452674
p02399
p02399
u814408938
u814408938
1,540,263,868
2018-10-23T03:04:28
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 b = sc.nextInt();           System.out.printf("%d %d %.10f\n", a/b,a%b,(double)a/(double)b);     } }
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
u814408938|p02399|0
u814408938|p02399|0
codenet
Compile Error
332
v2_s281060866
s281060866
s281060866
p02399
p02399
u821119263
u821119263
1,496,727,162
2017-06-06T05:32:42
Main.java
mport java.math.BigDecimal; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a % b; double f = (double)a / b; System.out.println(d + " " + r + " " + BigDe...
Main.java:1: error: class, interface, enum, or record expected mport java.math.BigDecimal; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u821119263|p02399|1
u821119263|p02399|1
codenet
Compile Error
361
v2_s360868285
s360868285
s360868285
p02399
p02399
u827318431
u827318431
1,502,372,662
2017-08-10T13:44:22
Main.java
public class Main { public static void main(String[] args) { try (Scanner scanner = new Scanner(System.in)) { BigDecimal a = scanner.nextBigDecimal(); BigDecimal b = scanner.nextBigDecimal(); System.out.printf("%s %s %s\n", a.divide(b).toBigInteger().toString(), a.remain...
Main.java:4: error: cannot find symbol try (Scanner scanner = new Scanner(System.in)) { ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol try (Scanner scanner = new Scanner(System.in)) { ^ symbol: class Scanner ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u827318431|p02399|0
u827318431|p02399|0
codenet
Compile Error
396
v2_s151904341
s151904341
s151904341
p02399
p02399
u829397054
u829397054
1,495,518,306
2017-05-23T05:45:06
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args) { double inta = 0; double intb = 0; //?§£????????° double intd = 0; double intr = 0; double dbf = 0.0; try { Buffered...
Main.java:43: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u829397054|p02399|0
u829397054|p02399|0
codenet
Compile Error
983
v2_s144325098
s144325098
s144325098
p02399
p02399
u829397054
u829397054
1,495,518,389
2017-05-23T05:46:29
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args) { double inta = 0; double intb = 0; //?§£????????° double intd = 0; double intr = 0; double dbf = 0.0; try { Buffered...
Main.java:43: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u829397054|p02399|0
u829397054|p02399|0
codenet
Compile Error
983
v2_s520756601
s520756601
s520756601
p02399
p02399
u829397054
u829397054
1,495,518,653
2017-05-23T05:50:53
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args) { double inta = 0; double intb = 0; //?§£????????° double intd = 0; double intr = 0; double dbf = 0.0; try { Buffered...
Main.java:43: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u829397054|p02399|0
u829397054|p02399|0
codenet
Compile Error
983
v2_s099820431
s099820431
s099820431
p02399
p02399
u833039167
u833039167
1,491,466,893
2017-04-06T08:21:33
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int numA = scan.nextInt(); int numB = scan.nextInt(); int quo = numA / numB; int rem = numA % numB; double de = 1.0*quo; String dec = String.format("%.8f", de); System.out.plintln...
Main.java:6: error: cannot find symbol int numA = scan.nextInt(); ^ symbol: variable scan location: class Main Main.java:7: error: cannot find symbol int numB = scan.nextInt(); ^ symbol: variable scan location: class Main Main.java:12: error: cannot find symbol System.out.pli...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02399|0
u833039167|p02399|0
codenet
Compile Error
348
v2_s758464272
s758464272
s758464272
p02399
p02399
u833039167
u833039167
1,491,467,087
2017-04-06T08:24:47
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int numA = scan.nextInt(); int numB = scan.nextInt(); int quo = numA / numB; int rem = numA % numB; double de = 1.0*numA / numB; String dec = String.format("%.8f", de); System.out...
Main.java:6: error: cannot find symbol int numA = scan.nextInt(); ^ symbol: variable scan location: class Main Main.java:7: error: cannot find symbol int numB = scan.nextInt(); ^ symbol: variable scan location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02399|0
u833039167|p02399|0
codenet
Compile Error
356
v2_s873569565
s873569565
s873569565
p02399
p02399
u833039167
u833039167
1,491,467,102
2017-04-06T08:25:02
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int numA = scan.nextInt(); int numB = scan.nextInt(); int quo = numA / numB; int rem = numA % numB; double de = 1.0*numA / numB; String dec = String.format("%.8f", de); System.out...
Main.java:6: error: cannot find symbol int numA = scan.nextInt(); ^ symbol: variable scan location: class Main Main.java:7: error: cannot find symbol int numB = scan.nextInt(); ^ symbol: variable scan location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02399|0
u833039167|p02399|0
codenet
Compile Error
356
v2_s014808253
s014808253
s014808253
p02399
p02399
u833039167
u833039167
1,491,467,251
2017-04-06T08:27:31
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int quo = a / b; int rem = a % b; double de = 1.0 * a / b; String dec = String.format("%.8f", de); System.out.println(quo+" "+rem+"...
Main.java:6: error: cannot find symbol int a = scan.nextInt(); ^ symbol: variable scan location: class Main Main.java:7: error: cannot find symbol int b = scan.nextInt(); ^ symbol: variable scan location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u833039167|p02399|0
u833039167|p02399|0
codenet
Compile Error
334
v2_s073498079
s073498079
s073498079
p02399
p02399
u834356976
u834356976
1,525,849,859
2018-05-09T07:10:59
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(System.in); float a = sc.nextfloat(); float b = sc.nextfloat(); int one = (int)(a / b); int two = a % b; float three = (float)a / (float)b; System.out.println((int)(a / b) + " "...
Main.java:10: error: cannot find symbol float a = sc.nextfloat(); ^ symbol: method nextfloat() location: variable sc of type Scanner Main.java:11: error: cannot find symbol float b = sc.nextfloat(); ^ symbol: method nextfloat() location: variable sc of type Scanner Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
413
v2_s085673931
s085673931
s085673931
p02399
p02399
u834356976
u834356976
1,525,849,910
2018-05-09T07:11:50
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(System.in); float a = sc.nextfloat(); float b = sc.nextfloat(); int one = (int)(a / b); int two = a % b; float three = (float)a / (float)b; System.out.println((int)a / b + " " +...
Main.java:10: error: cannot find symbol float a = sc.nextfloat(); ^ symbol: method nextfloat() location: variable sc of type Scanner Main.java:11: error: cannot find symbol float b = sc.nextfloat(); ^ symbol: method nextfloat() location: variable sc of type Scanner Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
411
v2_s578717596
s578717596
s578717596
p02399
p02399
u834356976
u834356976
1,525,849,951
2018-05-09T07:12:31
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(System.in); double a = sc.nextdouble(); double b = sc.nextdouble(); System.out.println((int)a / b + " " + a % b + " " + (a/b)); //有効数字問題があるかもしれない } }
Main.java:10: error: cannot find symbol double a = sc.nextdouble(); ^ symbol: method nextdouble() location: variable sc of type Scanner Main.java:11: error: cannot find symbol double b = sc.nextdouble(); ^ symbol: method nextdouble() location: variable sc of type Scanner 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
330
v2_s226239806
s226239806
s226239806
p02399
p02399
u834356976
u834356976
1,525,849,986
2018-05-09T07:13:06
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(System.in); Double a = sc.nextDouble(); Double b = sc.nextDouble(); System.out.println((int)a / b + " " + a % b + " " + (a/b)); //有効数字問題があるかもしれない } }
Main.java:13: error: incompatible types: Double cannot be converted to int System.out.println((int)a / b + " " + a % b + " " + (a/b)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
330
v2_s914584649
s914584649
s914584649
p02399
p02399
u834356976
u834356976
1,525,850,002
2018-05-09T07:13:22
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(System.in); Double a = sc.nextDouble(); Double b = sc.nextDouble(); System.out.println((int)a / b + " " + (a % b) + " " + (a/b)); //有効数字問題があるかもしれない } }
Main.java:13: error: incompatible types: Double cannot be converted to int System.out.println((int)a / b + " " + (a % b) + " " + (a/b)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
332
v2_s845042886
s845042886
s845042886
p02399
p02399
u834356976
u834356976
1,525,850,231
2018-05-09T07:17:11
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 b = sc.nextInt(); int one = (int)(a / b); int two = a % b; Double three = (double)a / (double)b; System.out.println(one + " " + two + " " +...
Main.java:17: error: cannot find symbol System.out.println(one + " " + two + " " + threed); ^ symbol: variable threed location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
398
v2_s389078406
s389078406
s389078406
p02399
p02399
u834356976
u834356976
1,525,852,565
2018-05-09T07:56:05
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 b = sc.nextInt(); int one = a / b; int two = a % b;[ float x = a; float y = b; float three = x / y; System.out.println((int)(a / b) + " "...
Main.java:14: error: illegal start of expression int two = a % b;[ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
360
v2_s112011493
s112011493
s112011493
p02399
p02399
u834356976
u834356976
1,525,852,596
2018-05-09T07:56:36
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 b = sc.nextInt(); int one = a / b; int two = a % b;[ float x = a; float y = b; float three = x / y; System.out.println(one + " " + two + ...
Main.java:14: error: illegal start of expression int two = a % b;[ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
349
v2_s236560886
s236560886
s236560886
p02399
p02399
u834356976
u834356976
1,525,852,675
2018-05-09T07:57:55
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 b = sc.nextInt(); int long = a / b; int long = a % b; float x = a; float y = b; float three = x / y; System.out.println(one + " " + two +...
Main.java:13: error: not a statement int long = a / b; ^ Main.java:13: error: ';' expected int long = a / b; ^ Main.java:13: error: not a statement int long = a / b; ^ Main.java:13: error: ';' expected int long = a / b; ^ Main.java:13: error: not a statement int long = a / b; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
350
v2_s645750941
s645750941
s645750941
p02399
p02399
u834356976
u834356976
1,525,852,851
2018-05-09T08:00:51
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(System.in); long a = sc.nextlong(); long b = sc.nextlong(); long one = a / b; long two = a % b; float x = a; float y = b; float three = x / y; System.out.println(one + " " + t...
Main.java:10: error: cannot find symbol long a = sc.nextlong(); ^ symbol: method nextlong() location: variable sc of type Scanner Main.java:11: error: cannot find symbol long b = sc.nextlong(); ^ symbol: method nextlong() location: variable sc of type Scanner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
354
v2_s395984199
s395984199
s395984199
p02399
p02399
u834356976
u834356976
1,525,852,898
2018-05-09T08:01:38
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(System.in); long a = sc.nextlong(); long b = sc.nextlong(); long one = a / b; long two = a % b; double x = a; double y = b; double three = x / y; System.out.println(one + " " ...
Main.java:10: error: cannot find symbol long a = sc.nextlong(); ^ symbol: method nextlong() location: variable sc of type Scanner Main.java:11: error: cannot find symbol long b = sc.nextlong(); ^ symbol: method nextlong() location: variable sc of type Scanner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
357
v2_s635900246
s635900246
s635900246
p02399
p02399
u834356976
u834356976
1,525,853,221
2018-05-09T08:07:01
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(System.in); Long a = sc.nextLong(); Long b = sc.nextLong(); Long one = a / b; Long two = a % b; Double x = a; Double y = b; Double three = x / y; System.out.println(one + " " ...
Main.java:16: error: incompatible types: Long cannot be converted to Double Double x = a; ^ Main.java:17: error: incompatible types: Long cannot be converted to Double Double y = b; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
367
v2_s418333736
s418333736
s418333736
p02399
p02399
u834356976
u834356976
1,525,853,230
2018-05-09T08:07:10
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(System.in); Long a = sc.nextLong(); Long b = sc.nextLong(); Long one = a / b; Long two = a % b; Double x = a; Double y = b; Double three = x / y; System.out.println(one + " " ...
Main.java:16: error: incompatible types: Long cannot be converted to Double Double x = a; ^ Main.java:17: error: incompatible types: Long cannot be converted to Double Double y = b; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
357
v2_s358815172
s358815172
s358815172
p02399
p02399
u834356976
u834356976
1,525,853,249
2018-05-09T08:07:29
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(System.in); Long a = sc.nextLong(); Long b = sc.nextLong(); Long one = a / b; Long two = a % b; Double x = a; Double y = b; Double three = (Double)(x / y); System.out.println(...
Main.java:16: error: incompatible types: Long cannot be converted to Double Double x = a; ^ Main.java:17: error: incompatible types: Long cannot be converted to Double Double y = b; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|0
u834356976|p02399|0
codenet
Compile Error
367
v2_s241650473
s241650473
s241650473
p02399
p02399
u834356976
u834356976
1,525,944,508
2018-05-10T09:28:28
Main.java
import java.util.Scanner; public class Main { public static void main(String [] args) { Scanner sc = new Scanner(System.in); Long a = sc.nextLong(); Long b = sc.nextLong(); Long one = a / b; Long two = a % b; float x = a; float y = b; double three = new BigDecimal(String.valueOf(a / b)).setSc...
Main.java:19: error: cannot find symbol double three = new BigDecimal(String.valueOf(a / b)).setScale(10, BigDecimal.ROUND_HALF_UP).doubleValue(); ^ symbol: variable BigDecimal location: class Main Main.java:19: error: cannot find symbol doub...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834356976|p02399|1
u834356976|p02399|1
codenet
Compile Error
441
v2_s081257244
s081257244
s081257244
p02399
p02399
u843222791
u843222791
1,481,559,836
2016-12-12T16:23:56
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); System.out.printf("%d %d %.5f",(a/b),(a%b), a/(b*1.0) ); scanner.close(); } }
Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: 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
u843222791|p02399|0
u843222791|p02399|0
codenet
Compile Error
254
v2_s462850692
s462850692
s462850692
p02399
p02399
u843641610
u843641610
1,516,339,113
2018-01-19T05:18:33
Main.java
class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); double a = in.nextInt(); double b = in.nextInt(); System.out.println((int)(a/b)) + (int)(a%b) + (a/b)); } }
Main.java:8: error: not a statement System.out.println((int)(a/b)) + (int)(a%b) + (a/b)); ^ Main.java:8: error: ';' expected System.out.println((int)(a/b)) + (int)(a%b) + (a/b)); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02399|0
u843641610|p02399|0
codenet
Compile Error
213
v2_s628606000
s628606000
s628606000
p02399
p02399
u843641610
u843641610
1,516,339,145
2018-01-19T05:19:05
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); double a = in.nextInt(); double b = in.nextInt(); System.out.println((int)(a/b)) + (int)(a%b) + (a/b)); } }
Main.java:9: error: not a statement System.out.println((int)(a/b)) + (int)(a%b) + (a/b)); ^ Main.java:9: error: ';' expected System.out.println((int)(a/b)) + (int)(a%b) + (a/b)); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02399|0
u843641610|p02399|0
codenet
Compile Error
233
v2_s135297335
s135297335
s135297335
p02399
p02399
u843641610
u843641610
1,516,339,193
2018-01-19T05:19:53
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); double a = in.nextInt(); double b = in.nextInt(); System.out.println((int)(a/b)) + " " + (int)(a%b) + " " + (a/b)); } }
Main.java:9: error: not a statement System.out.println((int)(a/b)) + " " + (int)(a%b) + " " + (a/b)); ^ Main.java:9: error: ';' expected System.out.println((int)(a/b)) + " " + (int)(a%b) + " " + (a/b)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843641610|p02399|0
u843641610|p02399|0
codenet
Compile Error
246
v2_s719430905
s719430905
s719430905
p02399
p02399
u848559856
u848559856
1,393,250,660
2014-02-24T14:04:20
Main.java
import java.util.Scanner; class Main{ public static void main(String [] args){ Scanner scan = new Scanner(System.in); int a; int b; int d; int r; double f; a = scan.nextFloat(); b = scan.nextF...
Main.java:10: error: incompatible types: possible lossy conversion from float to int a = scan.nextFloat(); ^ Main.java:11: error: incompatible types: possible lossy conversion from float to int b = scan.nextFloat(); ^ 2 erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848559856|p02399|0
u848559856|p02399|0
codenet
Compile Error
479
v2_s293000624
s293000624
s293000624
p02399
p02399
u848559856
u848559856
1,393,250,704
2014-02-24T14:05:04
Main.java
import java.util.Scanner; class Main{ public static void main(String [] args){ Scanner scan = new Scanner(System.in); int a; int b; int d; int r; double f; a = scan.nextIny(); b = scan.nextInt...
Main.java:10: error: cannot find symbol a = scan.nextIny(); ^ symbol: method nextIny() location: variable scan of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848559856|p02399|0
u848559856|p02399|0
codenet
Compile Error
475
v2_s072636946
s072636946
s072636946
p02399
p02399
u869688911
u869688911
1,503,894,237
2017-08-28T04:23:57
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(); String[] arr=str.split(" "); int a=Integer.parseInt(arr[0]); int b=Integer.parseInt(arr[1]); int d=a/b; int r=a%b; float f=a/b; Syste...
Main.java:12: error: no suitable method found for println(String,float) System.out.println(d+" "+r+" "+"%.5f",f); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual and formal ar...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02399|0
u869688911|p02399|0
codenet
Compile Error
372
v2_s980476704
s980476704
s980476704
p02399
p02399
u869688911
u869688911
1,503,894,266
2017-08-28T04:24:26
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(); String[] arr=str.split(" "); int a=Integer.parseInt(arr[0]); int b=Integer.parseInt(arr[1]); int d=a/b; int r=a%b; float f=a/b; Syste...
Main.java:12: error: ')' expected System.out.println(d+" "+r+" "+("%.5f",f)); ^ Main.java:12: error: ';' expected System.out.println(d+" "+r+" "+("%.5f",f)); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02399|0
u869688911|p02399|0
codenet
Compile Error
374
v2_s927935065
s927935065
s927935065
p02399
p02399
u869688911
u869688911
1,503,894,399
2017-08-28T04:26:39
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(); String[] arr=str.split(" "); int a=Integer.parseInt(arr[0]); int b=Integer.parseInt(arr[1]); int d=a/b; int r=a%b; float f=a/b; Syste...
Main.java:13: error: no suitable method found for println(String,float) System.out.println("%.5f",f); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual and formal argument lists...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02399|0
u869688911|p02399|0
codenet
Compile Error
391
v2_s700787828
s700787828
s700787828
p02399
p02399
u869688911
u869688911
1,503,895,413
2017-08-28T04:43:33
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(); String[] arr=str.split(" "); int a=Integer.parseInt(arr[0]); int b=Integer.parseInt(arr[1]); int d=a/b; int r=a%b; float fa=Float.par...
Main.java:11: error: incompatible types: int cannot be converted to String float fa=Float.parseFloat(a); ^ Main.java:12: error: incompatible types: int cannot be converted to String float fb=Float.parseFloat(b); ^ Note: Some messages have been simplified; recompile wi...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869688911|p02399|0
u869688911|p02399|0
codenet
Compile Error
428
v2_s834900125
s834900125
s834900125
p02399
p02399
u895275311
u895275311
1,491,280,259
2017-04-04T04:30:59
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a/b; int r = a%b; double f = 1.0 * a / b; string keta =String.format("%.8...
Main.java:12: error: cannot find symbol string keta =String.format("%.8f", r); ^ symbol: class string location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02399|0
u895275311|p02399|0
codenet
Compile Error
372
v2_s804261846
s804261846
s804261846
p02399
p02399
u898063668
u898063668
1,495,691,704
2017-05-25T05:55:04
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String num1 = br.readLine(); String[] num2 = num1.split(" "); int a = Integer.parseInt(num2[0]); int b = Integer...
Main.java:16: error: variable f is already defined in method main(String[]) String f = String.format("%.6f", f); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u898063668|p02399|0
u898063668|p02399|0
codenet
Compile Error
516
v2_s947343581
s947343581
s947343581
p02399
p02399
u905053912
u905053912
1,466,075,301
2016-06-16T11:08:21
Main.java
public static Main { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); String data[] = reader.readLine().split(" "); int a = Integer.parseInt(data[0]); int b = Integer.parseInt(data[1]); int d; ...
Main.java:1: error: class, interface, enum, or record expected public static Main { ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. StringBuilder sb = new StringBuilder(); ^ (use --enable-preview to enable unnamed classes) Main.java:6: error: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u905053912|p02399|0
u905053912|p02399|0
codenet
Compile Error
667
v2_s033342730
s033342730
s033342730
p02399
p02399
u910872986
u910872986
1,490,838,346
2017-03-30T01:45:46
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int d = a/b; int r = (double)a%(double)b; double f = a/b; System.out.println(d+" "+r+" "+String.format("%....
Main.java:9: error: incompatible types: possible lossy conversion from double to int int r = (double)a%(double)b; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910872986|p02399|1
u910872986|p02399|1
codenet
Compile Error
334
v2_s133239111
s133239111
s133239111
p02399
p02399
u911244533
u911244533
1,494,053,759
2017-05-06T06:55:59
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a/b; int r = a%b; float f = ((float)a*10000/b)/10000; System,out,println(d +" "+ r +" "+ f); } }
Main.java:12: error: not a statement System,out,println(d +" "+ r +" "+ f); ^ Main.java:12: error: ';' expected System,out,println(d +" "+ r +" "+ f); ^ Main.java:12: error: not a statement System,out,println(d +" "+ r +" "+ f); ^ Main.java:12: error: ';' expected System,out,println(d +" "+ r...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u911244533|p02399|0
u911244533|p02399|0
codenet
Compile Error
295
v2_s423576016
s423576016
s423576016
p02399
p02399
u915135249
u915135249
1,460,030,792
2016-04-07T12:06:32
Main.java
/ ITP1_4 import java.util.Scanner; import java.io.*; class Main { public static void main ( String[] args ) { Scanner sc = new Scanner ( System.in ); double a = 0.0; double b = 0.0; int d = 0; int r = 0; double f = 0.0; a = sc.nextInt (); b = sc.nextInt (); d = ( int )a / ( int )b; r = ( int...
Main.java:1: error: class, interface, enum, or record expected / ITP1_4 ^ Main.java:4: error: class, interface, enum, or record expected import java.io.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u915135249|p02399|0
u915135249|p02399|0
codenet
Compile Error
427
v2_s408712501
s408712501
s408712501
p02399
p02399
u916477178
u916477178
1,526,014,356
2018-05-11T04:52:36
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 b = sc.nextInt(); int d,r; double f; d = a/b; r = a%b; f = (double)a/b; System.out.printf("%d %d %f\n" ,d,r,f); sc.close(); } }
Main.java:16: error: illegal escape character System.out.printf("%d %d %f\?" ,d,r,f); ^ Main.java:16: error: not a statement System.out.printf("%d %d %f\?" ,d,r,f); ^ Main.java:16: error: ';' expected System.out.printf("%d %d %f\?" ,d,r,f); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u916477178|p02399|0
u916477178|p02399|0
codenet
Compile Error
301
v2_s764669815
s764669815
s764669815
p02399
p02399
u916477178
u916477178
1,526,014,637
2018-05-11T04:57:17
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 b = sc.nextInt(); int d,r; double f; d = a/b; r = a%b; f = (double)a/b; System.out.printf("%d %d %f\n" ,d,r,f); sc.close(); } }
Main.java:16: error: illegal escape character System.out.printf("%d %d %f\?" ,d,r,f); ^ Main.java:16: error: not a statement System.out.printf("%d %d %f\?" ,d,r,f); ^ Main.java:16: error: ';' expected System.out.printf("%d %d %f\?" ,d,r,f); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u916477178|p02399|0
u916477178|p02399|0
codenet
Compile Error
300
v2_s503524222
s503524222
s503524222
p02399
p02399
u925778868
u925778868
1,546,246,228
2018-12-31T08:50:28
Main.java
package tanaka; import java.util.Scanner; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); System.out.println(a/b); System.out.println(a%b); System.out.println(float(a/b)); } }
Main.java:15: error: '.class' expected System.out.println(float(a/b)); ^ Main.java:15: error: not a statement System.out.println(float(a/b)); ^ Main.java:15: error: ';' expected System.out.println(float(a/b)); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
316
v2_s982336545
s982336545
s982336545
p02399
p02399
u925778868
u925778868
1,546,246,248
2018-12-31T08:50:48
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); System.out.println(a/b); System.out.println(a%b); System.out.println(float(a/b)); } }
Main.java:15: error: '.class' expected System.out.println(float(a/b)); ^ Main.java:15: error: not a statement System.out.println(float(a/b)); ^ Main.java:15: error: ';' expected System.out.println(float(a/b)); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
276
v2_s942343185
s942343185
s942343185
p02399
p02399
u925778868
u925778868
1,546,246,299
2018-12-31T08:51:39
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); float c= (float)a /b; System.out.println(a/b); System.out.println(a%b); System.out.println(c); } }
Main.java:10: error: cannot find symbol int a = sc.nextLine(); ^ symbol: variable sc location: class Main Main.java:11: error: cannot find symbol int b = sc.nextLine(); ^ symbol: variable sc location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
289
v2_s732798419
s732798419
s732798419
p02399
p02399
u925778868
u925778868
1,546,246,315
2018-12-31T08:51:55
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); float c= (float)a /b; System.out.println(a/b); System.out.println(a%b); System.out.println(c); } }
Main.java:10: error: cannot find symbol int a = sc.nextLine(); ^ symbol: variable sc location: class Main Main.java:11: error: cannot find symbol int b = sc.nextLine(); ^ symbol: variable sc location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
289
v2_s774087136
s774087136
s774087136
p02399
p02399
u925778868
u925778868
1,546,246,351
2018-12-31T08:52:31
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc= new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); float c= (float)a /b; System.out.println(a/b); System.out.println(a%b); System.out.println(c); } }
Main.java:10: error: incompatible types: String cannot be converted to int int a = sc.nextLine(); ^ Main.java:11: error: incompatible types: String cannot be converted to int int b = sc.nextLine(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
283
v2_s605734786
s605734786
s605734786
p02399
p02399
u925778868
u925778868
1,546,246,388
2018-12-31T08:53:08
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc= new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); float c= (float)a /b; System.out.println(a/b); System.out.println(a%b); System.out.println(c); } }
Main.java:10: error: incompatible types: String cannot be converted to int int a = sc.nextLine(); ^ Main.java:11: error: incompatible types: String cannot be converted to int int b = sc.nextLine(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
291
v2_s902184839
s902184839
s902184839
p02399
p02399
u925778868
u925778868
1,546,246,456
2018-12-31T08:54:16
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc= new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); float c= (float)(a /b); System.out.println(a/b); System.out.println(a%b); System.out.println(c); } }
Main.java:10: error: incompatible types: String cannot be converted to int int a = sc.nextLine(); ^ Main.java:11: error: incompatible types: String cannot be converted to int int b = sc.nextLine(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
293
v2_s672612448
s672612448
s672612448
p02399
p02399
u925778868
u925778868
1,546,246,498
2018-12-31T08:54:58
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc= new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); System.out.println(a/b); System.out.println(a%b); System.out.println((float)a /b); } }
Main.java:10: error: incompatible types: String cannot be converted to int int a = sc.nextLine(); ^ Main.java:11: error: incompatible types: String cannot be converted to int int b = sc.nextLine(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
279
v2_s091529455
s091529455
s091529455
p02399
p02399
u925778868
u925778868
1,546,246,549
2018-12-31T08:55:49
Main.java
import java.util.Scanner; javascript:void(0) public class Main { public static void main(String[] args) { Scanner sc= new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); System.out.println(a/b); System.out.println(a%b); System.out.println((float)a /b); } }
Main.java:5: error: class, interface, enum, or record expected javascript:void(0) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
297
v2_s169036519
s169036519
s169036519
p02399
p02399
u925778868
u925778868
1,546,246,648
2018-12-31T08:57:28
Main.java
public class Main { public static void main(String[] args) { int a = 58; int b = 39 ; System.out.print(a/b+" "); System.out.print(a%b+" "); System.out.print((float)a /b+" "); }
Main.java:12: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
188
v2_s379997000
s379997000
s379997000
p02399
p02399
u925778868
u925778868
1,546,246,714
2018-12-31T08:58:34
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); System.out.print(a/b+" "); System.out.print(a%b+" "); System.out.print((float)a /b+" "); }
Main.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
266
v2_s398000234
s398000234
s398000234
p02399
p02399
u925778868
u925778868
1,546,246,721
2018-12-31T08:58:41
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); System.out.print(a/b+" "); System.out.print(a%b+" "); System.out.print((float)a /b); }
Main.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
262
v2_s169832334
s169832334
s169832334
p02399
p02399
u925778868
u925778868
1,546,246,836
2018-12-31T09:00:36
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); int d =a/b; int r =a%b; float f = (float)a /b System.out.print(d+" "); System.out.print(r+" "); System.out.print(f); }
Main.java:11: error: ';' expected float f = (float)a /b ^ Main.java:17: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
295
v2_s681044940
s681044940
s681044940
p02399
p02399
u925778868
u925778868
1,546,246,859
2018-12-31T09:00:59
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); int d =a/b; int r =a%b; float f = (float)a /b; System.out.print(d+" "); System.out.print(r+" "); System.out.print(f); }
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
296
v2_s968187320
s968187320
s968187320
p02399
p02399
u925778868
u925778868
1,546,246,870
2018-12-31T09:01:10
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); int d =a/b; int r =a%b; float f = (float)a /b; System.out.print(d+" "); System.out.print(r+" "); System.out.print(f); } }
Main.java:6: error: incompatible types: String cannot be converted to int int a = sc.nextLine(); ^ Main.java:7: error: incompatible types: String cannot be converted to int int b = sc.nextLine(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
297
v2_s564181085
s564181085
s564181085
p02399
p02399
u925778868
u925778868
1,546,246,916
2018-12-31T09:01:56
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); int d =a/b; int r =a%b; System.out.print(d+" "); System.out.print(r+" "); } }
Main.java:6: error: incompatible types: String cannot be converted to int int a = sc.nextLine(); ^ Main.java:7: error: incompatible types: String cannot be converted to int int b = sc.nextLine(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
255
v2_s613318682
s613318682
s613318682
p02399
p02399
u925778868
u925778868
1,546,246,972
2018-12-31T09:02:52
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextLine(); int b = sc.nextLine(); int d =a/b; int r =a%b; System.out.print(d+" "); System.out.print(r+" "); } }
Main.java:6: error: incompatible types: String cannot be converted to int int a = sc.nextLine(); ^ Main.java:7: error: incompatible types: String cannot be converted to int int b = sc.nextLine(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
261
v2_s189378624
s189378624
s189378624
p02399
p02399
u925778868
u925778868
1,546,247,268
2018-12-31T09:07: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 b = sc.nextInt(); int d =a/b; int r =a%b; System.out.print(d+" "); System.out.print(r+" "); System.out.print(round((float)a/b)); } }
Main.java:15: error: cannot find symbol System.out.print(round((float)a/b)); ^ symbol: method round(float) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
295
v2_s559643973
s559643973
s559643973
p02399
p02399
u925778868
u925778868
1,546,250,908
2018-12-31T10:08:28
aaaa.java
import java.util.Scanner; public class aaaa { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = nextInt(); int b = nextInt(); int d=a/b; int r=a%b; float f=a/b; String str = String.format("%d %d %f6 ", a,b,c); System.out.println(str); } }
aaaa.java:5: error: cannot find symbol int a = nextInt(); ^ symbol: method nextInt() location: class aaaa aaaa.java:6: error: cannot find symbol int b = nextInt(); ^ symbol: method nextInt() location: class aaaa aaaa.java:11: error: cannot find symbol String str = String.form...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
294
v2_s776683023
s776683023
s776683023
p02399
p02399
u925778868
u925778868
1,546,251,504
2018-12-31T10:18:24
aaaa.java
import java.util.Scanner; public class aaaa { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = nextInt(); int b = nextInt(); int d=a/b; int r=a%b; double f =(double)a/ (double)b; System.out.println(d); System.out.println(a); System.out.println(f); } }
aaaa.java:5: error: cannot find symbol int a = nextInt(); ^ symbol: method nextInt() location: class aaaa aaaa.java:6: error: cannot find symbol int b = nextInt(); ^ symbol: method nextInt() location: class aaaa 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
306
v2_s810732214
s810732214
s810732214
p02399
p02399
u925778868
u925778868
1,546,251,538
2018-12-31T10:18:58
aaaa.java
import java.util.Scanner; public class aaaa { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int d=a/b; int r=a%b; double f =(double)a/ (double)b; System.out.println(d); System.out.println(a); System.out.println(f); } }
aaaa.java:5: error: cannot find symbol int a = sc.nextInt(); ^ symbol: variable sc location: class aaaa aaaa.java:6: error: cannot find symbol int b = sc.nextInt(); ^ symbol: variable sc location: class aaaa 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
312
v2_s680065274
s680065274
s680065274
p02399
p02399
u925778868
u925778868
1,546,251,548
2018-12-31T10:19:08
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int d=a/b; int r=a%b; double f =(double)a/ (double)b; System.out.println(d); System.out.println(a); System.out.println(f); } }
Main.java:5: error: cannot find symbol int a = sc.nextInt(); ^ symbol: variable sc location: class Main Main.java:6: error: cannot find symbol int b = sc.nextInt(); ^ symbol: variable sc location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
311
v2_s239737814
s239737814
s239737814
p02399
p02399
u925778868
u925778868
1,546,251,632
2018-12-31T10:20:32
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 b = sc.nextInt(); int d=a/b; int r=a%b; double f =(double)a/ (double)b; System.out.println(d); System.out.println(r); System.out.println("%.8",f); } }
Main.java:13: error: no suitable method found for println(String,double) System.out.println("%.8",f); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual and formal argument lists...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925778868|p02399|0
u925778868|p02399|0
codenet
Compile Error
314
v2_s052610675
s052610675
s052610675
p02399
p02399
u954258807
u954258807
1,469,107,699
2016-07-21T13:28:19
Main.java
import java.util.Scanner; import java.math.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int d = a / b; int r = a & b; float f = (float)a / (float)b; //String afterFloat = String.format("%.5f", f);...
Main.java:18: error: no suitable method found for println(String,float) System.out.println(d + " " + r + " " + "%.5f", f); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u954258807|p02399|0
u954258807|p02399|0
codenet
Compile Error
379