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_s868902288
s868902288
s868902288
p02658
p02658
u991757033
u991757033
1,592,101,431
2020-06-14T02:23:51
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner st = new Scanner(System.in); long sum=1L; int num= st.nextInt(); for(int i=0;i<num;i++){ sum *= st.nextInt(); if(sum >=1000000000000000000) { sum=-1; brake; } } System.out....
Main.java:10: error: integer number too large if(sum >=1000000000000000000) { ^ Main.java:12: error: not a statement brake; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u991757033|p02658|0
u991757033|p02658|0
codenet
Compile Error
347
v2_s691943667
s691943667
s691943667
p02658
p02658
u991757033
u991757033
1,592,101,528
2020-06-14T02:25:28
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner st = new Scanner(System.in); long sum=1L; int num= st.nextInt(); for(int i=0;i<num;i++){ sum *= (long)st.nextInt(); if(sum >=1000000000000000000) { sum=-1; break; } } Syst...
Main.java:10: error: integer number too large if(sum >=1000000000000000000) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u991757033|p02658|0
u991757033|p02658|0
codenet
Compile Error
346
v2_s861125565
s861125565
s861125565
p02658
p02658
u991757033
u991757033
1,592,101,764
2020-06-14T02:29:24
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner st = new Scanner(System.in); long sum=1L; int num= st.nextInt(); for(int i=0;i<num;i++){ sum *= (long)st.nextInt(); if(sum > 1000000000000000000) { sum=-1; break; } } Syst...
Main.java:10: error: integer number too large if(sum > 1000000000000000000) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u991757033|p02658|0
u991757033|p02658|0
codenet
Compile Error
346
v2_s189880985
s189880985
s189880985
p02658
p02658
u991757033
u991757033
1,592,101,837
2020-06-14T02:30:37
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner st = new Scanner(System.in); long sum=1L; int num= st.nextInt(); for(int i=0;i<num;i++){ sum *= st.nextLong(); if(sum > 1000000000000000000) { sum=-1; break; } } System.ou...
Main.java:10: error: integer number too large if(sum > 1000000000000000000) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u991757033|p02658|0
u991757033|p02658|0
codenet
Compile Error
341
v2_s130565954
s130565954
s130565954
p02658
p02658
u991757033
u991757033
1,592,101,987
2020-06-14T02:33:07
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner st = new Scanner(System.in); long sum=1L; int num= st.nextInt(); for(int i=0;i<num;i++){ sum *= st.nextLong(); if(sum > 1000000000000000000L) { sum=-1; goto End; } } End: ...
Main.java:12: error: illegal start of expression goto End; ^ Main.java:12: error: not a statement goto End; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u991757033|p02658|0
u991757033|p02658|0
codenet
Compile Error
354
v2_s838429036
s838429036
s838429036
p02659
p02659
u056977516
u056977516
1,590,978,620
2020-06-01T02:30:20
Main.java
# ANSHUL GAUTAM # IIIT-D from math import * from copy import * # ll = deepcopy(l) from heapq import * # heappush(hp,x) from string import * # alpha = ascii_lowercase from random import * # l.sort(key=lambda l1:l1[0]-l1[1]) => ex: sort on the basis dif...
Main.java:1: error: illegal character: '#' # ANSHUL GAUTAM ^ Main.java:2: error: illegal character: '#' # IIIT-D ^ Main.java:5: error: illegal character: '#' from copy import * # ll = deepcopy(l) ^ Main.java:6: error: illegal character: '#' from heapq import * ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056977516|p02659|0
u056977516|p02659|0
codenet
Compile Error
1,066
v2_s084208605
s084208605
s084208605
p02659
p02659
u059745692
u059745692
1,593,683,931
2020-07-02T09:58:51
Main.java
import java.io.*; import java.lang.Math; import java.util.*; public class Main { public static void main (String[]args) throws IOException{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String line = in.readLine(); // to read multiple integers line String...
Main.java:13: error: incompatible types: possible lossy conversion from double to long long xp = q*100; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059745692|p02659|1
u059745692|p02659|0
codenet
Compile Error
555
v2_s089059713
s089059713
s089059713
p02659
p02659
u073396193
u073396193
1,590,979,261
2020-06-01T02:41:01
Main.java
import java.io.BufferedReader; import java.io.*; import java.util.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Collections; public class Main { public static void main(final String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); ...
Main.java:15: error: package Sysstem does not exist Sysstem.out.println(Math.floor(a*n)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073396193|p02659|0
u073396193|p02659|0
codenet
Compile Error
453
v2_s923232198
s923232198
s923232198
p02659
p02659
u073396193
u073396193
1,595,310,933
2020-07-21T05:55:33
Main.java
import java.io.BufferedReader; import java.io.*; import java.util.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Collections; import java.util.Arrays; public class Main { public static void main(final String[] args){ final Scanner sc = new Scanner(System.in)...
Main.java:19: error: incompatible types: possible lossy conversion from double to int int c = b * 100; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073396193|p02659|1
u073396193|p02659|1
codenet
Compile Error
610
v2_s536340150
s536340150
s536340150
p02659
p02659
u081242737
u081242737
1,591,036,040
2020-06-01T18:27:20
Solution.java
import java.util.*; public class Solution { public static void main(String args[]) { Scanner ob=new Scanner(System.in); long a =ob.nextDouble(); long b=(long)(ob.nextDouble()*100); System.out.println(a*b/100); } }
Solution.java:7: error: incompatible types: possible lossy conversion from double to long long a =ob.nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u081242737|p02659|0
u081242737|p02659|0
codenet
Compile Error
239
v2_s605782366
s605782366
s605782366
p02659
p02659
u081242737
u081242737
1,591,036,066
2020-06-01T18:27:46
Main.java
import java.util.*; class Solution { public static void main(String args[]) { Scanner ob=new Scanner(System.in); long a =ob.nextDouble(); long b=(long)(ob.nextDouble()*100); System.out.println(a*b/100); } }
Main.java:7: error: incompatible types: possible lossy conversion from double to long long a =ob.nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u081242737|p02659|0
u081242737|p02659|0
codenet
Compile Error
232
v2_s599726022
s599726022
s599726022
p02659
p02659
u081242737
u081242737
1,591,036,091
2020-06-01T18:28:11
Main.java
import java.util.*; class Main { public static void main(String args[]) { Scanner ob=new Scanner(System.in); long a =ob.nextDouble(); long b=(long)(ob.nextDouble()*100); System.out.println(a*b/100); } }
Main.java:7: error: incompatible types: possible lossy conversion from double to long long a =ob.nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u081242737|p02659|0
u081242737|p02659|0
codenet
Compile Error
229
v2_s374729907
s374729907
s374729907
p02659
p02659
u089230684
u089230684
1,591,747,254
2020-06-10T00:00:54
Main.java
#include<iostream> #include<cmath> #include<stack> #include<vector> #include<cstring> #include<algorithm> #include<set> #include<queue> #include <vector> #include <list> #include <map> #include <set> #include <deque> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #inclu...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<cmath> ^ Main.java:3: error: illegal character: '#' #include<stack> ^ Main.java:4: error: illegal character: '#' #include<vector> ^ Main.java:5: error: illegal character: '#' #include<cstring> ^ Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089230684|p02659|0
u089230684|p02659|0
codenet
Compile Error
1,747
v2_s591541386
s591541386
s591541386
p02659
p02659
u089960279
u089960279
1,592,042,215
2020-06-13T09:56:55
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); double b=sc.nextDouble(); long ans=(long)(a*(b*100))/100; System.out.println(ans); } }
Main.java:11: error: cannot find symbol long ans=(long)(a*(b*100))/100; ^ symbol: variable a location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089960279|p02659|0
u089960279|p02659|0
codenet
Compile Error
280
v2_s273199793
s273199793
s273199793
p02659
p02659
u093104443
u093104443
1,591,482,007
2020-06-06T22:20:07
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); //scanner long a = sc.nextLong(); // A double b = sc.nextDouble(); // B // 精度を補うため,long型で計算を行う long a = a * ((long)b*100) / 100; // (A x (Bx100)) / 1...
Main.java:9: error: variable a is already defined in method main(String[]) long a = a * ((long)b*100) / 100; // (A x (Bx100)) / 100 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u093104443|p02659|0
u093104443|p02659|0
codenet
Compile Error
404
v2_s067494829
s067494829
s067494829
p02659
p02659
u112098210
u112098210
1,590,977,039
2020-06-01T02:03:59
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double num1 = sc.nextInt(); double num2 = sc.nextInt(); int result = 0; result = num1 * num2; System.out.println(result); } }
Main.java:10: error: incompatible types: possible lossy conversion from double to int result = num1 * num2; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u112098210|p02659|0
u112098210|p02659|0
codenet
Compile Error
310
v2_s066266452
s066266452
s066266452
p02659
p02659
u124208943
u124208943
1,590,981,881
2020-06-01T03:24:41
Main.java
import java.util.*; import java.math.BigDecimal; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); BigDecimal A = sc.nextBigInteger(); BigDecimal B = new BigDecimal(sc.nextDouble()); System.out.print(A.multiply(B)); } }
Main.java:7: error: incompatible types: BigInteger cannot be converted to BigDecimal BigDecimal A = sc.nextBigInteger(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u124208943|p02659|0
u124208943|p02659|0
codenet
Compile Error
270
v2_s711827077
s711827077
s711827077
p02659
p02659
u170449890
u170449890
1,592,183,931
2020-06-15T01:18:51
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanne sc = new Scanner(System.in); double a , b; a = nextDouble(); b = nextDouble(); System.out.println((int)(a * b)); } }
Main.java:5: error: cannot find symbol Scanne sc = new Scanner(System.in); ^ symbol: class Scanne location: class Main Main.java:8: error: cannot find symbol a = nextDouble(); ^ symbol: method nextDouble() location: class Main Main.java:9: error: cannot find symbol b = nextDouble(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u170449890|p02659|0
u170449890|p02659|0
codenet
Compile Error
225
v2_s598832693
s598832693
s598832693
p02659
p02659
u170449890
u170449890
1,592,184,135
2020-06-15T01:22:15
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); double a , b; a = nextDouble(); b = nextDouble(); System.out.println((int)(a * b)); } }
Main.java:9: error: cannot find symbol a = nextDouble(); ^ symbol: method nextDouble() location: class Main Main.java:10: error: cannot find symbol b = nextDouble(); ^ symbol: method nextDouble() location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u170449890|p02659|0
u170449890|p02659|0
codenet
Compile Error
232
v2_s909622630
s909622630
s909622630
p02659
p02659
u170449890
u170449890
1,592,184,172
2020-06-15T01:22:52
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); double a , b; a = sc.nextDouble(); b = ac.nextDouble(); System.out.println((int)(a * b)); } }
Main.java:10: error: cannot find symbol b = ac.nextDouble(); ^ symbol: variable ac location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u170449890|p02659|0
u170449890|p02659|0
codenet
Compile Error
238
v2_s372962136
s372962136
s372962136
p02659
p02659
u170449890
u170449890
1,592,184,420
2020-06-15T01:27:00
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = nextLong(); double b = nextDoouble(); long num = (long)(a*b); System.out.print(num); } }
Main.java:7: error: cannot find symbol long a = nextLong(); ^ symbol: method nextLong() location: class Main Main.java:8: error: cannot find symbol double b = nextDoouble(); ^ symbol: method nextDoouble() location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u170449890|p02659|0
u170449890|p02659|0
codenet
Compile Error
241
v2_s279632948
s279632948
s279632948
p02659
p02659
u170449890
u170449890
1,592,184,448
2020-06-15T01:27:28
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); double b = sc.nextDoouble(); long num = (long)(a*b); System.out.print(num); } }
Main.java:8: error: cannot find symbol double b = sc.nextDoouble(); ^ symbol: method nextDoouble() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u170449890|p02659|0
u170449890|p02659|0
codenet
Compile Error
247
v2_s895288461
s895288461
s895288461
p02659
p02659
u182708119
u182708119
1,590,974,903
2020-06-01T01:28:23
Main.java
import java.util.*; public class Main{ public static void main(String [] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); float b = sc.nextFloat(); long res = (long)a*b; System.out.println(res); } }
Main.java:7: error: incompatible types: possible lossy conversion from float to long long res = (long)a*b; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u182708119|p02659|0
u182708119|p02659|0
codenet
Compile Error
241
v2_s321031192
s321031192
s321031192
p02659
p02659
u182708119
u182708119
1,590,974,967
2020-06-01T01:29:27
Main.java
import java.util.*; public class Main{ public static void main(String [] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); float b = sc.nextFloat(); long res = long(a*b); System.out.println(res); } }
Main.java:7: error: '.class' expected long res = long(a*b); ^ Main.java:7: error: not a statement long res = long(a*b); ^ Main.java:7: error: ';' expected long res = long(a*b); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u182708119|p02659|0
u182708119|p02659|0
codenet
Compile Error
241
v2_s241193248
s241193248
s241193248
p02659
p02659
u182708119
u182708119
1,590,975,639
2020-06-01T01:40:39
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); double b = sc.nextDouble(); long x = b.longValue(); long res = a*x; System.out.println(res); } }
Main.java:7: error: double cannot be dereferenced long x = b.longValue(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u182708119|p02659|0
u182708119|p02659|0
codenet
Compile Error
264
v2_s165281947
s165281947
s165281947
p02659
p02659
u190778545
u190778545
1,590,978,998
2020-06-01T02:36:38
Main.java
import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Main { public static void main (String[] args) throws java.lang.Exception { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String s[]=br.readLine()...
Main.java:14: error: no suitable method found for println(String,float) System.out.println("%.0f",a*b); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual and forma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u190778545|p02659|0
u190778545|p02659|0
codenet
Compile Error
451
v2_s533635897
s533635897
s533635897
p02659
p02659
u212063753
u212063753
1,591,062,067
2020-06-02T01:41:07
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int a=sc.nextInt(); double b=sc.nextDouble(); int x=(int)a*b; System.out.println(x); } }
Main.java:7: error: incompatible types: possible lossy conversion from double to int int x=(int)a*b; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212063753|p02659|0
u212063753|p02659|0
codenet
Compile Error
233
v2_s534225852
s534225852
s534225852
p02659
p02659
u218740431
u218740431
1,591,490,594
2020-06-07T00:43:14
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); String b = sc.next(); String s = s.substring(0,1)+s.substring(2,4); int c = (int)s; long d = a*c; System.out.println(d/100); } }
Main.java:8: error: incompatible types: String cannot be converted to int int c = (int)s; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02659|1
u218740431|p02659|1
codenet
Compile Error
303
v2_s221115914
s221115914
s221115914
p02659
p02659
u218740431
u218740431
1,591,490,645
2020-06-07T00:44:05
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); String b = sc.next(); String s = s.substring(0,1)+s.substring(2,4); int c = String.ValueOf(s); long d = a*c; System.out.println(d/100); } }
Main.java:8: error: cannot find symbol int c = String.ValueOf(s); ^ symbol: method ValueOf(String) location: class String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02659|1
u218740431|p02659|1
codenet
Compile Error
315
v2_s373329570
s373329570
s373329570
p02659
p02659
u218740431
u218740431
1,591,490,712
2020-06-07T00:45:12
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); String b = sc.next(); String s = s.substring(0,1)+s.substring(2,4); int c = String.valueOf(s); long d = a*c; System.out.println(d/100); } }
Main.java:8: error: incompatible types: String cannot be converted to int int c = String.valueOf(s); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02659|1
u218740431|p02659|1
codenet
Compile Error
315
v2_s725664593
s725664593
s725664593
p02659
p02659
u218740431
u218740431
1,591,490,918
2020-06-07T00:48:38
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); String b = sc.next(); String s = s.substring(0,1)+s.substring(2,4); int c = Integer.parseInt(s); long d = a*c; System.out.println(d/100); } }
Main.java:7: error: variable s might not have been initialized String s = s.substring(0,1)+s.substring(2,4); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02659|1
u218740431|p02659|1
codenet
Compile Error
317
v2_s878579444
s878579444
s878579444
p02659
p02659
u223917764
u223917764
1,591,736,957
2020-06-09T21:09:17
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner in = new Scanner(System.in); double a = in.nextDouble(); double b = in.nextDouble(); return (int)(a*b); } }
Main.java:8: error: incompatible types: unexpected return value return (int)(a*b); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u223917764|p02659|0
u223917764|p02659|0
codenet
Compile Error
220
v2_s816201029
s816201029
s816201029
p02659
p02659
u226313404
u226313404
1,590,973,439
2020-06-01T01:03:59
Main.java
import java.util.*; import java.util.function.Function; import java.util.stream.Collectors; import java.io.*; import java.math.*; public class Main{ static public void main(String args[])throws IOException{ int tt=1; StringBuilder sb=new StringBuilder(); for(int ttt=1;ttt<=tt;ttt++){ long a=l(); double b...
Main.java:14: error: incompatible types: long cannot be converted to String pln((long)ans); ^ 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
u226313404|p02659|0
u226313404|p02659|0
codenet
Compile Error
4,583
v2_s254556440
s254556440
s254556440
p02659
p02659
u244357164
u244357164
1,590,976,310
2020-06-01T01:51:50
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); double b = sc.nextDouble(); BigDecimal bd1 = new BigDecimal(a); BigDecimal bd2 = new BigDecimal(b); BigDecimal total = bd1.multiply(bd...
Main.java:11: error: cannot find symbol BigDecimal bd1 = new BigDecimal(a); ^ symbol: class BigDecimal location: class Main Main.java:11: error: cannot find symbol BigDecimal bd1 = new BigDecimal(a); ^ symbol: class BigDecimal location: class Main Main.java:12: error: cannot fin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u244357164|p02659|0
u244357164|p02659|0
codenet
Compile Error
451
v2_s359796456
s359796456
s359796456
p02659
p02659
u244357164
u244357164
1,590,980,260
2020-06-01T02:57:40
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = Long.parseLong(sc.next()); double b = Double.parseDouble(sc.next()); long c = (long)Math.round(b*100); a = a * c; a /= 100; System.out.println(a); }
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u244357164|p02659|0
u244357164|p02659|0
codenet
Compile Error
306
v2_s381895102
s381895102
s381895102
p02659
p02659
u244953572
u244953572
1,590,974,112
2020-06-01T01:15:12
Main.java
import java.util.*; import java.io.*; class Main { public static void main(String[] args) throws IOException { Scanner read = new Scanner(System.in); long a = read.nextLong(); double b = read.nextDouble(); System.out.println((long)(a * b); } }
Main.java:10: error: ')' or ',' expected System.out.println((long)(a * b); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u244953572|p02659|0
u244953572|p02659|0
codenet
Compile Error
255
v2_s690452255
s690452255
s690452255
p02659
p02659
u244953572
u244953572
1,590,974,175
2020-06-01T01:16:15
Main.java
import java.util.*; import java.io.*; class Main { public static void main(String[] args) throws IOException { Scanner read = new Scanner(System.in); double a = read.nextDouble(); double b = read.nextDouble(); System.out.println((long)(a * b); } }
Main.java:10: error: ')' or ',' expected System.out.println((long)(a * b); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u244953572|p02659|0
u244953572|p02659|0
codenet
Compile Error
260
v2_s083715533
s083715533
s083715533
p02659
p02659
u249374736
u249374736
1,590,974,805
2020-06-01T01:26:45
Main.java
// "static void main" must be defined in a public class. public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a; double b; a = sc.nextLong(); b = sc.nextDouble(); double ans = a*b; long x = (long)ans; S...
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u249374736|p02659|0
u249374736|p02659|0
codenet
Compile Error
349
v2_s716780003
s716780003
s716780003
p02659
p02659
u268467094
u268467094
1,590,980,837
2020-06-01T03:07:17
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long a[n] = new long[n]; long sum = 1; for(int i = 0; i < n; i++){ a[i] = sc.nextLong(); sum *= a[i]; } if(sum > 1000000000000000...
Main.java:8: error: ']' expected long a[n] = new long[n]; ^ Main.java:8: error: ';' expected long a[n] = new long[n]; ^ Main.java:8: error: not a statement long a[n] = new long[n]; ^ Main.java:15: error: integer number too large if(sum > 1000000000000000000){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u268467094|p02659|0
u268467094|p02659|0
codenet
Compile Error
409
v2_s560078977
s560078977
s560078977
p02659
p02659
u287107526
u287107526
1,591,038,610
2020-06-01T19:10:10
Main.java
import java.math.*; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long A = sc.nextLong(); double B = sc.nextDouble(); BigDecimal a = new BigDecimal(A); BigDecimal b = new BigDecimal(b); ...
Main.java:13: error: no suitable constructor found for BigDecimal(BigDecimal) BigDecimal b = new BigDecimal(b); ^ constructor BigDecimal.BigDecimal(char[]) is not applicable (argument mismatch; BigDecimal cannot be converted to char[]) constructor BigDecimal.BigDecimal(Strin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u287107526|p02659|1
u287107526|p02659|1
codenet
Compile Error
378
v2_s860192228
s860192228
s860192228
p02659
p02659
u305746037
u305746037
1,596,040,975
2020-07-29T16:42:55
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); BigDecimal aActual = new BigDecimal(sc.next()); BigDecimal bActual = new BigDecimal(sc.next()); BigDecimal ansActual = aActual.multiply(bActual); System.out.println(ansActual.longV...
Main.java:5: error: cannot find symbol BigDecimal aActual = new BigDecimal(sc.next()); ^ symbol: class BigDecimal location: class Main Main.java:5: error: cannot find symbol BigDecimal aActual = new BigDecimal(sc.next()); ^ symbol: class BigDecimal location: class Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305746037|p02659|0
u305746037|p02659|0
codenet
Compile Error
340
v2_s447266989
s447266989
s447266989
p02659
p02659
u330907398
u330907398
1,598,132,805
2020-08-22T21:46:45
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long A = sc.nextLong(); double B = sc.nextdouble(); long C = (long)A * B; System.out.println(C); } }
Main.java:7: error: cannot find symbol double B = sc.nextdouble(); ^ symbol: method nextdouble() location: variable sc of type Scanner Main.java:8: error: incompatible types: possible lossy conversion from double to long long C = (long)A * B; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330907398|p02659|0
u330907398|p02659|0
codenet
Compile Error
243
v2_s224099271
s224099271
s224099271
p02659
p02659
u330907398
u330907398
1,598,133,070
2020-08-22T21:51:10
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long A = sc.nextLong(); double B = sc.nextdouble(); long C = (long)(A * B); System.out.println(C); } }
Main.java:7: error: cannot find symbol double B = sc.nextdouble(); ^ symbol: method nextdouble() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330907398|p02659|0
u330907398|p02659|0
codenet
Compile Error
246
v2_s094662628
s094662628
s094662628
p02659
p02659
u330907398
u330907398
1,598,134,465
2020-08-22T22:14:25
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long A = sc.nextLong(); double B = sc.nextDouble(); long C = A * (B * 100 + 0.5); System.out.println(C / 100); } }
Main.java:8: error: incompatible types: possible lossy conversion from double to long long C = A * (B * 100 + 0.5); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330907398|p02659|0
u330907398|p02659|0
codenet
Compile Error
258
v2_s386247322
s386247322
s386247322
p02659
p02659
u397604928
u397604928
1,590,979,004
2020-06-01T02:36:44
Main.java
public class Main { public static void main(String[] args) throws FileNotFoundException { // File file = new File("src/in.txt"); //コード // Scanner sc = new Scanner(file); Scanner sc = new Scanner(System.in); double A = sc.nextDouble(); double B = sc.nextDouble(); long times2 =...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws FileNotFoundException { ^ symbol: class FileNotFoundException location: class Main Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u397604928|p02659|0
u397604928|p02659|0
codenet
Compile Error
429
v2_s050143026
s050143026
s050143026
p02659
p02659
u397604928
u397604928
1,590,984,095
2020-06-01T04:01:35
Main.java
public class Main { public static void main(String[] args) throws FileNotFoundException { // File file = new File("src/in.txt"); //コード // Scanner sc = new Scanner(file); Scanner sc = new Scanner(System.in); double A = sc.nextDouble(); double B = sc.nextDouble(); double times ...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws FileNotFoundException { ^ symbol: class FileNotFoundException location: class Main Main.java:8: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u397604928|p02659|0
u397604928|p02659|0
codenet
Compile Error
428
v2_s029347158
s029347158
s029347158
p02659
p02659
u406121417
u406121417
1,591,082,959
2020-06-02T07:29:19
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); if(a > 1000000000000000L) System.exit(1); double b = sc.nextDouble(); if(b > 10000000000) System.exit(1); sc.close(); double c = a * b; System...
Main.java:11: error: integer number too large if(b > 10000000000) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406121417|p02659|0
u406121417|p02659|0
codenet
Compile Error
351
v2_s440268504
s440268504
s440268504
p02659
p02659
u455957070
u455957070
1,591,009,226
2020-06-01T11:00:26
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); BigDecimal a = sc.nextBigDecimal(); BigDecimal b = sc.nextBigDecimal(); BigDecimal c = a*b; System.out.println(c); } }
Main.java:6: error: cannot find symbol BigDecimal a = sc.nextBigDecimal(); ^ symbol: class BigDecimal location: class Main Main.java:8: error: cannot find symbol BigDecimal b = sc.nextBigDecimal(); ^ symbol: class BigDecimal location: class Main Main.java:9: error: cannot fin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455957070|p02659|1
u455957070|p02659|1
codenet
Compile Error
299
v2_s166475989
s166475989
s166475989
p02659
p02659
u455957070
u455957070
1,591,009,293
2020-06-01T11:01:33
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); BigDecimal c = BigDecimal(a*b); System.out.println(c); } }
Main.java:9: error: cannot find symbol BigDecimal c = BigDecimal(a*b); ^ symbol: class BigDecimal location: class Main Main.java:9: error: cannot find symbol BigDecimal c = BigDecimal(a*b); ^ symbol: method BigDecimal(int) location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455957070|p02659|1
u455957070|p02659|1
codenet
Compile Error
283
v2_s977579596
s977579596
s977579596
p02659
p02659
u455957070
u455957070
1,591,009,371
2020-06-01T11:02:51
Main.java
import java.util.*; import java.math.BigDecimal; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); BigDecimal c = BigDecimal(a*b); System.out.println(c); } }
Main.java:10: error: cannot find symbol BigDecimal c = BigDecimal(a*b); ^ symbol: method BigDecimal(int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455957070|p02659|1
u455957070|p02659|1
codenet
Compile Error
312
v2_s051542418
s051542418
s051542418
p02659
p02659
u455957070
u455957070
1,591,009,421
2020-06-01T11:03:41
Main.java
import java.util.*; import java.math.BigDecimal; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); BigDecimal c = (BigDecimal)(a*b); System.out.println(c); } }
Main.java:10: error: incompatible types: int cannot be converted to BigDecimal BigDecimal c = (BigDecimal)(a*b); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455957070|p02659|1
u455957070|p02659|1
codenet
Compile Error
314
v2_s172965512
s172965512
s172965512
p02659
p02659
u455957070
u455957070
1,591,009,864
2020-06-01T11:11:04
Main.java
import java.util.*; import java.math.BigDecimal; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); BigDecimal b1 = new BigDecimal(a); BigDecimal b2 = new BigDecimal(b); BigDecimal c = b1....
Main.java:11: error: '.class' expected System.out.println(int(c)); ^ Main.java:11: error: not a statement System.out.println(int(c)); ^ Main.java:11: error: ';' expected System.out.println(int(c)); ^ 3 e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455957070|p02659|1
u455957070|p02659|1
codenet
Compile Error
378
v2_s692892325
s692892325
s692892325
p02659
p02659
u455957070
u455957070
1,591,009,902
2020-06-01T11:11:42
Main.java
import java.util.*; import java.math.BigDecimal; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); BigDecimal b1 = new BigDecimal(a); BigDecimal b2 = new BigDecimal(b); BigDecimal c = b1....
Main.java:11: error: '.class' expected int d = int(c) ^ Main.java:11: error: not a statement int d = int(c) ^ Main.java:11: error: ';' expected int d = int(c) ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455957070|p02659|1
u455957070|p02659|1
codenet
Compile Error
394
v2_s662036653
s662036653
s662036653
p02659
p02659
u455957070
u455957070
1,591,009,927
2020-06-01T11:12:07
Main.java
import java.util.*; import java.math.BigDecimal; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); BigDecimal b1 = new BigDecimal(a); BigDecimal b2 = new BigDecimal(b); BigDecimal c = b1....
Main.java:11: error: cannot find symbol int d = (int)(c) ^ symbol: class c location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455957070|p02659|1
u455957070|p02659|1
codenet
Compile Error
396
v2_s259996429
s259996429
s259996429
p02659
p02659
u455957070
u455957070
1,591,009,958
2020-06-01T11:12:38
Main.java
import java.util.*; import java.math.BigDecimal; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); BigDecimal b1 = new BigDecimal(a); BigDecimal b2 = new BigDecimal(b); BigDecimal c = b1....
Main.java:11: error: incompatible types: BigDecimal cannot be converted to int int d = (int)c; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455957070|p02659|1
u455957070|p02659|1
codenet
Compile Error
395
v2_s502107009
s502107009
s502107009
p02659
p02659
u455957070
u455957070
1,591,010,090
2020-06-01T11:14:50
Main.java
import java.util.*; import java.math.BigDecimal; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); BigDecimal b1 = new BigDecimal(a); BigDecimal b2 = new BigDecimal(b); BigDecimal c = b1....
Main.java:12: error: incompatible types: String cannot be converted to int int d = (int)d1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455957070|p02659|1
u455957070|p02659|1
codenet
Compile Error
429
v2_s469281457
s469281457
s469281457
p02659
p02659
u458268106
u458268106
1,593,210,976
2020-06-26T22:36:16
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); long a=sc.nextInt(); int b=(int)(sc.nextDouble()*100+0.5) System.out.println(a*b); } }
Main.java:7: error: ';' expected int b=(int)(sc.nextDouble()*100+0.5) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458268106|p02659|1
u458268106|p02659|1
codenet
Compile Error
216
v2_s431568357
s431568357
s431568357
p02659
p02659
u516693153
u516693153
1,590,978,895
2020-06-01T02:34:55
Main.java
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args){ float a = sc.nextInt(); float b = sc.nextInt(); int c=int(a*b); System.out.println(c); } }
Main.java:8: error: '.class' expected int c=int(a*b); ^ Main.java:8: error: not a statement int c=int(a*b); ^ Main.java:8: error: ';' expected int c=int(a*b); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516693153|p02659|0
u516693153|p02659|0
codenet
Compile Error
241
v2_s714934499
s714934499
s714934499
p02659
p02659
u516693153
u516693153
1,590,978,987
2020-06-01T02:36:27
Main.java
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args){ float a = sc.nextInt(); float b = sc.nextInt(); int c=(int)a*b; System.out.println(c); } }
Main.java:8: error: incompatible types: possible lossy conversion from float to int int c=(int)a*b; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516693153|p02659|0
u516693153|p02659|0
codenet
Compile Error
241
v2_s318896765
s318896765
s318896765
p02659
p02659
u516693153
u516693153
1,590,979,044
2020-06-01T02:37:24
Main.java
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args){ float a = sc.nextInt(); float b = sc.nextInt(); int c=a*b; System.out.println(c); } }
Main.java:8: error: incompatible types: possible lossy conversion from float to int int c=a*b; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516693153|p02659|0
u516693153|p02659|0
codenet
Compile Error
236
v2_s625103406
s625103406
s625103406
p02659
p02659
u523115706
u523115706
1,595,263,871
2020-07-20T16:51:11
Main.java
import java.util.*; public static Main { public class void main(String[] args) { Scanner scan = new Scanner; float A = scan.nextFloat(); float B = scan.nextFloat(); float C = Math.floor(A*B); System.out.println(C); } }
Main.java:3: error: class, interface, enum, or record expected public static Main { ^ Main.java:5: error: <identifier> expected public class void main(String[] args) { ^ Main.java:8: error: unnamed classes are a preview feature and are disabled by default. float A = scan.nextFloat(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u523115706|p02659|1
u523115706|p02659|1
codenet
Compile Error
261
v2_s766744187
s766744187
s766744187
p02659
p02659
u523115706
u523115706
1,595,263,929
2020-07-20T16:52:09
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); float A = scan.nextFloat(); float B = scan.nextFloat(); float C = Math.floor(A*B); System.out.println(C); } }
Main.java:11: error: incompatible types: possible lossy conversion from double to float float C = Math.floor(A*B); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u523115706|p02659|1
u523115706|p02659|1
codenet
Compile Error
273
v2_s507089721
s507089721
s507089721
p02659
p02659
u523115706
u523115706
1,595,264,022
2020-07-20T16:53:42
Main.java
import java.util.*; public static Main { public class void main(String[] args) { Scanner scan = new Scanner; float A = scan.nextFloat(); float B = scan.nextFloat(); float C = A*B; int D = (int) Cf; System.out.println(D); } }
Main.java:3: error: class, interface, enum, or record expected public static Main { ^ Main.java:5: error: <identifier> expected public class void main(String[] args) { ^ Main.java:8: error: unnamed classes are a preview feature and are disabled by default. float A = scan.nextFloat(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u523115706|p02659|1
u523115706|p02659|1
codenet
Compile Error
272
v2_s273261170
s273261170
s273261170
p02659
p02659
u523115706
u523115706
1,595,264,068
2020-07-20T16:54:28
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); float A = scan.nextFloat(); float B = scan.nextFloat(); float C = A*B; int D = (int) Cf; System.out.println(D); } }
Main.java:12: error: cannot find symbol int D = (int) Cf; ^ symbol: variable Cf location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u523115706|p02659|1
u523115706|p02659|1
codenet
Compile Error
283
v2_s284661418
s284661418
s284661418
p02659
p02659
u532252958
u532252958
1,592,627,374
2020-06-20T04:29:34
Main.java
import java.util.Scanner; Scanner sc = new Scanner(System.in); int a = sc.nextInt(); float b = sc.nextInt(); Mul= a*b; System.out.println(Mul)
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. Scanner sc = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:5: error: class, interface, enum, or record expected Mul= a*b; ^ Main.java:6: error: class, interface, enum, or record expected Syste...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532252958|p02659|0
u532252958|p02659|0
codenet
Compile Error
142
v2_s554555206
s554555206
s554555206
p02659
p02659
u548976218
u548976218
1,590,978,369
2020-06-01T02:26:09
Main.java
import java.util.Scanner; import java.io.InputStream; import java.math.BigDecimal; public class Main { public static void main(String[] args) { new Main().excute(System.in); } public void excute(InputStream in) { Scanner sc = new Scanner(in); int a = sc.nextInt(); doub...
Main.java:18: error: incompatible types: BigDecimal cannot be converted to int int c = (int)ans; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u548976218|p02659|0
u548976218|p02659|0
codenet
Compile Error
557
v2_s557534919
s557534919
s557534919
p02659
p02659
u587100042
u587100042
1,590,978,656
2020-06-01T02:30:56
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a=sc.nextLong(); float b=sc.nextFloat(); System.out.println((long)((float)a*b); } }
Main.java:9: error: ')' or ',' expected System.out.println((long)((float)a*b); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p02659|0
u587100042|p02659|0
codenet
Compile Error
233
v2_s528891699
s528891699
s528891699
p02659
p02659
u628609705
u628609705
1,590,977,538
2020-06-01T02:12:18
Main.java
#include <bits/stdc++.h> typedef long long ll; #define mod 1000000009 #define mk make_pair #define f first #define s second using namespace std; int main(int argc, char const *argv[]) { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); long double a; double b; cin>>a>>b; long double ans = a*b; co...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:3: error: illegal character: '#' #define mod 1000000009 ^ Main.java:3: error: class, interface, enum, or record expected #define mod 10000000...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u628609705|p02659|0
u628609705|p02659|0
codenet
Compile Error
359
v2_s126559272
s126559272
s126559272
p02659
p02659
u655325849
u655325849
1,590,977,142
2020-06-01T02:05:42
Main.java
mport java.util.Scanner; public class Main { public static void main(String[] args) { // write your code here Scanner scan = new Scanner(System.in); long N= scan.nextLong(); double M= scan.nextDouble(); long MM=(long)M*100; long i=N*MM; long p=i/100; System.out.p...
Main.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655325849|p02659|0
u655325849|p02659|0
codenet
Compile Error
341
v2_s421463563
s421463563
s421463563
p02659
p02659
u676749446
u676749446
1,590,984,264
2020-06-01T04:04:24
Main.java
import java.io.*; import java.util.*; import java.math.BigDecimal; class Main{ static final long MOD = 1_000_000_007; // 10^9+7 static final int MAX = 2_147_483_646; // intMax static final int INF = 1_000_000_000; // 10^9 public static void main(String[] args) throws Exception{ Scanner sc = new Scanner(System....
Main.java:13: error: cannot find symbol saori.close(); ^ symbol: variable saori location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u676749446|p02659|0
u676749446|p02659|0
codenet
Compile Error
2,527
v2_s206790308
s206790308
s206790308
p02659
p02659
u680008698
u680008698
1,590,974,335
2020-06-01T01:18:55
Main.java
Scanner s = new Scanner(System.in); final long A = s.nextLong(); final double B = s.nextDouble(); BigDecimal bdResult = new BigDecimal(String.valueOf(A * B)); System.out.println(bdResult.setScale(0, RoundingMode.DOWN));
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner s = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:7: error: class, interface, enum, or record expected System.out.println(bdResult.setScale(0, RoundingMode.DOWN)); ^ 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u680008698|p02659|0
u680008698|p02659|0
codenet
Compile Error
253
v2_s939089855
s939089855
s939089855
p02659
p02659
u703828724
u703828724
1,590,974,991
2020-06-01T01:29:51
Main.java
package CodeForce; import javafx.util.Pair; import java.math.BigInteger; import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); long m; double n; m=in.nextLong(); n=in.nextDouble(); System.out.println...
Main.java:4: error: package javafx.util does not exist import javafx.util.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u703828724|p02659|0
u703828724|p02659|0
codenet
Compile Error
354
v2_s673131000
s673131000
s673131000
p02659
p02659
u703828724
u703828724
1,590,975,026
2020-06-01T01:30:26
Main.java
import javafx.util.Pair; import java.math.BigInteger; import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); long m; double n; m=in.nextLong(); n=in.nextDouble(); System.out.println((long)(m*n)); }...
Main.java:2: error: package javafx.util does not exist import javafx.util.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u703828724|p02659|0
u703828724|p02659|0
codenet
Compile Error
334
v2_s267482946
s267482946
s267482946
p02659
p02659
u767682383
u767682383
1,590,977,474
2020-06-01T02:11:14
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long A = sc.nextLong(); double B = sc.nextDouble(); long result = Math.floor(A * B); // 結果の出力 System.out.println(result); } }
Main.java:9: error: incompatible types: possible lossy conversion from double to long long result = Math.floor(A * B); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u767682383|p02659|0
u767682383|p02659|0
codenet
Compile Error
299
v2_s947185656
s947185656
s947185656
p02659
p02659
u767682383
u767682383
1,590,979,889
2020-06-01T02:51:29
ABC169C.java
import java.util.Scanner; public class ABC169C { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long A = sc.nextLong(); double B = sc.nextDouble(); long result = Math.floor((long)A * B); System.out.println(result); } }
ABC169C.java:9: error: incompatible types: possible lossy conversion from double to long long result = Math.floor((long)A * B); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u767682383|p02659|0
u767682383|p02659|0
codenet
Compile Error
280
v2_s692713652
s692713652
s692713652
p02659
p02659
u767682383
u767682383
1,590,979,989
2020-06-01T02:53:09
ABC169C.java
import java.util.Scanner; public class ABC169C { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long A = sc.nextLong(); double B = sc.nextDouble(); int b = B * 100; long result =(long) Math.floor(A * b); System.out.println(result/100); } }
ABC169C.java:9: error: incompatible types: possible lossy conversion from double to int int b = B * 100; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u767682383|p02659|0
u767682383|p02659|0
codenet
Compile Error
319
v2_s256821838
s256821838
s256821838
p02659
p02659
u791317953
u791317953
1,600,475,460
2020-09-19T00:31:00
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long A = sc.nextLong(); long B = (long)(sc.nextDouble()*100 +0.9); long res = A*B/100; System.out.println(res); } }
Main.java:7: error: illegal character: '\u3000' long B = (long)(sc.nextDouble()*100?+0.9); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u791317953|p02659|0
u791317953|p02659|0
codenet
Compile Error
303
v2_s678052684
s678052684
s678052684
p02659
p02659
u797088742
u797088742
1,590,979,299
2020-06-01T02:41:39
Main.java
import java.math.BigDecimal; import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Scanner; pubic class Main{ public static void main(String args[]) { Scanner sc = new Scanner(System.in); BigInteger myBI = new BigInteger(sc.next()); double ...
Main.java:8: error: class, interface, enum, or record expected pubic class Main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u797088742|p02659|0
u797088742|p02659|0
codenet
Compile Error
553
v2_s402975234
s402975234
s402975234
p02659
p02659
u803314854
u803314854
1,590,979,650
2020-06-01T02:47:30
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); long a=sc.nextLong(); long aa=a/1000; long aaa=aa*(d*1000); int aaaa=(int)(a%1000)*d; double d=sc.nextDouble(); System.out.println(aaa+aaaa); } }
Main.java:7: error: cannot find symbol long aaa=aa*(d*1000); ^ symbol: variable d location: class Main Main.java:8: error: cannot find symbol int aaaa=(int)(a%1000)*d; ^ symbol: variable d location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p02659|0
u803314854|p02659|0
codenet
Compile Error
263
v2_s762067029
s762067029
s762067029
p02659
p02659
u803314854
u803314854
1,590,979,684
2020-06-01T02:48:04
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); long a=sc.nextLong(); long aa=a/1000; double d=sc.nextDouble(); long aaa=aa*(d*1000); int aaaa=(int)(a%1000)*d; System.out.println(aaa+aaaa); } }
Main.java:8: error: incompatible types: possible lossy conversion from double to long long aaa=aa*(d*1000); ^ Main.java:9: error: incompatible types: possible lossy conversion from double to int int aaaa=(int)(a%1000)*d; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p02659|0
u803314854|p02659|0
codenet
Compile Error
264
v2_s354335586
s354335586
s354335586
p02659
p02659
u808160425
u808160425
1,594,949,110
2020-07-17T01:25:10
Main.java
import java.util.*; import java.util.stream.*; import java.math.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); BigDecimal A = BigDecimal.valueOf(sc.next()); BigDecimal B = BigDecimal.valueOf(sc.next()); System.out.println(A.multiply(B).setScale(0, Roundin...
Main.java:7: error: no suitable method found for valueOf(String) BigDecimal A = BigDecimal.valueOf(sc.next()); ^ method BigDecimal.valueOf(long) is not applicable (argument mismatch; String cannot be converted to long) method BigDecimal.valueOf(double) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u808160425|p02659|0
u808160425|p02659|0
codenet
Compile Error
339
v2_s954792821
s954792821
s954792821
p02659
p02659
u860874998
u860874998
1,591,148,385
2020-06-03T01:39:45
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); double B = sc.nextDouble(); long b = (double) B*100; System.out.println(A*b/100); } }
Main.java:9: error: incompatible types: possible lossy conversion from double to long long b = (double) B*100; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02659|0
u860874998|p02659|0
codenet
Compile Error
246
v2_s599787629
s599787629
s599787629
p02659
p02659
u863343123
u863343123
1,591,477,714
2020-06-06T21:08:34
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); long a = scanner.nextLong(); double b = scanner.nextDouble(); double b *=100; double result = a*b/100; System.out.print((long)result...
Main.java:12: error: ';' expected double b *=100; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863343123|p02659|0
u863343123|p02659|0
codenet
Compile Error
332
v2_s693679429
s693679429
s693679429
p02659
p02659
u863343123
u863343123
1,591,478,213
2020-06-06T21:16:53
Main.java
package atcoder; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); long a = scanner.nextLong(); double b = scanner.nextDouble(); b *= 100; long result = a*(long)b/100; System.out.prin...
Main.java:16: error: ')' or ',' expected System.out.print((result); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863343123|p02659|0
u863343123|p02659|0
codenet
Compile Error
340
v2_s799832485
s799832485
s799832485
p02659
p02659
u867011040
u867011040
1,591,928,027
2020-06-12T02:13:47
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); int b = (sc.nextDouble() * 100); long c = (long)(a * b / 100); System.out.println(c); } }
Main.java:6: error: incompatible types: possible lossy conversion from double to int int b = (sc.nextDouble() * 100); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u867011040|p02659|0
u867011040|p02659|0
codenet
Compile Error
250
v2_s825958659
s825958659
s825958659
p02659
p02659
u872271866
u872271866
1,599,305,233
2020-09-05T11:27:13
Main.java
import Scanner; class Main{ public static void main(String args[]){ Scanner stdin = new Scanner(System.in); long a = stdin.nextLong(); double b = stdin.nextDouble(); System.out.println((a*(b*100))/100);
Main.java:1: error: '.' expected import Scanner; ^ Main.java:7: error: reached end of file while parsing System.out.println((a*(b*100))/100); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u872271866|p02659|0
u872271866|p02659|0
codenet
Compile Error
220
v2_s145184022
s145184022
s145184022
p02659
p02659
u872271866
u872271866
1,599,305,253
2020-09-05T11:27:33
Main.java
import Scanner; class Main{ public static void main(String args[]){ Scanner stdin = new Scanner(System.in); long a = stdin.nextLong(); double b = stdin.nextDouble(); System.out.println((a*(b*100))/100); } }
Main.java:1: error: '.' expected import Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u872271866|p02659|0
u872271866|p02659|0
codenet
Compile Error
226
v2_s615595834
s615595834
s615595834
p02659
p02659
u872271866
u872271866
1,599,309,663
2020-09-05T12:41:03
Main.java
from decimal import Decimal def main(): a, b = input().split(" ") a = int(a) b = Decimal(b) print(a*b) if __name__ == "__main__": main()
Main.java:1: error: class, interface, enum, or record expected from decimal import Decimal ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u872271866|p02659|0
u872271866|p02659|0
codenet
Compile Error
161
v2_s943463554
s943463554
s943463554
p02659
p02659
u921681484
u921681484
1,591,073,257
2020-06-02T04:47:37
Main.java
import java.io.InputStream; import java.io.PrintStream; import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { solve(System.in, System.out); } static void solve(InputStream is, PrintStream os) { // Your code here! Scanner scan = new Scanner(is); ...
Main.java:18: error: ')' or ',' expected os.println((temp/100); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u921681484|p02659|0
u921681484|p02659|0
codenet
Compile Error
447
v2_s437105662
s437105662
s437105662
p02659
p02659
u921747261
u921747261
1,590,974,769
2020-06-01T01:26:09
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); double b = sc.nextInt(); long sum = 0; sum = (long)a*b; System.out.println(sum); } }
Main.java:10: error: incompatible types: possible lossy conversion from double to long sum = (long)a*b; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u921747261|p02659|0
u921747261|p02659|0
codenet
Compile Error
274
v2_s543852136
s543852136
s543852136
p02659
p02659
u926632269
u926632269
1,594,029,735
2020-07-06T10:02:15
Main.java
import java.util.*; import java.io.*; public class Main{ public static void main(String[] main) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); PrintWriter out = new PrintWriter(System.out); l...
Main.java:11: error: ')' or ',' expected out.println((int)(ans); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u926632269|p02659|0
u926632269|p02659|0
codenet
Compile Error
491
v2_s485622910
s485622910
s485622910
p02659
p02659
u965745233
u965745233
1,590,996,163
2020-06-01T07:22:43
Main.java
public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); float b = sc.nextFloat(); if(0<=a && a<= Math.pow(10,15)){ float c =a*b; System.out.println((long)c); } } }
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
u965745233|p02659|0
u965745233|p02659|0
codenet
Compile Error
291
v2_s563069449
s563069449
s563069449
p02659
p02659
u979182891
u979182891
1,590,979,966
2020-06-01T02:52:46
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); BigIntegre A = new BigInteger(scanner.next()); float B = Float.parseFloat(scanner.next()); scanner.close(); BigInteger B2 = new BigInteger(String.valueOf(B*100)); System.o...
Main.java:6: error: cannot find symbol BigIntegre A = new BigInteger(scanner.next()); ^ symbol: class BigIntegre location: class Main Main.java:6: error: cannot find symbol BigIntegre A = new BigInteger(scanner.next()); ^ symbol: class BigInteger location: class Main Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u979182891|p02659|0
u979182891|p02659|0
codenet
Compile Error
396
v2_s217676615
s217676615
s217676615
p02659
p02659
u991757033
u991757033
1,592,106,756
2020-06-14T03:52:36
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt() * sc.nextDouble(); System.out.println(x); } }
Main.java:6: error: incompatible types: possible lossy conversion from double to int int x = sc.nextInt() * sc.nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u991757033|p02659|0
u991757033|p02659|0
codenet
Compile Error
199
v2_s433218518
s433218518
s433218518
p02659
p02659
u991757033
u991757033
1,592,106,810
2020-06-14T03:53:30
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt() x *=sc.nextDouble(); System.out.println(x); } }
Main.java:6: error: ';' expected int x = sc.nextInt() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u991757033|p02659|0
u991757033|p02659|0
codenet
Compile Error
206
v2_s475750990
s475750990
s475750990
p02659
p02659
u991757033
u991757033
1,592,107,391
2020-06-14T04:03:11
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long x = sc.nextLong(); x *=sc.nextDouble()*100; sc.close; System.out.println(x/100L); } }
Main.java:8: error: not a statement sc.close; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u991757033|p02659|0
u991757033|p02659|0
codenet
Compile Error
233
v2_s424032057
s424032057
s424032057
p02660
p02660
u186052266
u186052266
1,591,013,807
2020-06-01T12:16:47
Main.java
import java.util.Map.Entry; import java.util.*; import java.math.*; import org.w3c.dom.css.Counter; public class Main{ public static void main(final String[] args){ final Scanner sc = new Scanner(System.in); long N = sc.nextLong(); int ans=0; long q =2; if(N==1){ ...
Main.java:20: error: not a statement while(q*q<=N){72 ^ Main.java:20: error: ';' expected while(q*q<=N){72 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u186052266|p02660|1
u186052266|p02660|1
codenet
Compile Error
595
v2_s203044271
s203044271
s203044271
p02660
p02660
u186052266
u186052266
1,591,013,823
2020-06-01T12:17:03
Main.java
import java.util.Map.Entry; import java.util.*; import java.math.*; import org.w3c.dom.css.Counter; public class Main{ public static void main(final String[] args){ final Scanner sc = new Scanner(System.in); long N = sc.nextLong(); int ans=0; long q =2; if(N==1){ ...
Main.java:19: error: not a statement while(q*q<=N){72 ^ Main.java:19: error: ';' expected while(q*q<=N){72 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u186052266|p02660|1
u186052266|p02660|1
codenet
Compile Error
594
v2_s722646462
s722646462
s722646462
p02660
p02660
u186052266
u186052266
1,591,013,845
2020-06-01T12:17:25
Main.java
import java.util.Map.Entry; import java.util.*; import java.math.*; import org.w3c.dom.css.Counter; public class Main{ public static void main(final String[] args){ final Scanner sc = new Scanner(System.in); long N = sc.nextLong(); int ans=0; long q =2; if(N==1){ ...
Main.java:19: error: not a statement while(q*q<=N){72 ^ Main.java:19: error: ';' expected while(q*q<=N){72 ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u186052266|p02660|1
u186052266|p02660|1
codenet
Compile Error
594
v2_s375754909
s375754909
s375754909
p02660
p02660
u186052266
u186052266
1,591,022,720
2020-06-01T14:45:20
Main.java
import java.util.Map.Entry; import java.util.*; import java.math.*; import org.w3c.dom.css.Counter; public class Main{ public static void main(final String[] args){ final Scanner sc = new Scanner(System.in); long N = sc.nextLong(); int ans=0; long q =2; long keep =N; ...
Main.java:24: error: illegal character: '\uff08' if?N%q==0&&N%(q*q)!=0?{ ^ Main.java:24: error: illegal character: '\uff09' if?N%q==0&&N%(q*q)!=0?{ ^ Main.java:24: error: not a statement if?N%q==0&&N%(q*q)!=0?{ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u186052266|p02660|2
u186052266|p02660|1
codenet
Compile Error
697