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_s119297497
s119297497
s119297497
p03047
p03047
u865793058
u865793058
1,557,625,901
2019-05-12T01:51:41
Main.java
public class Main { public static void main(String[] args) { Scanner teclado = new Scanner(System.in); int n, k; n = teclado.nextInt(); k = teclado.nextInt(); int count =0; int soma; if(k <= n && n <=50 && 1 <= k ) { for(int i=k-1; i <n ;i ++) { soma=i+i+1; count++; } } System.o...
Main.java:3: error: cannot find symbol Scanner teclado = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner teclado = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u865793058|p03047|0
u865793058|p03047|0
codenet
Compile Error
344
v2_s646190674
s646190674
s646190674
p03047
p03047
u927105328
u927105328
1,557,623,771
2019-05-12T01:16:11
Main.java
import java.util.*; //int[] idx = new int[1]; //int val = sc.nextInt(); public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int k = sc.nextInt(); int b=n-k+1; System.out.println(b); } } }
Main.java:16: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927105328|p03047|0
u927105328|p03047|0
codenet
Compile Error
315
v2_s238834703
s238834703
s238834703
p03047
p03047
u927105328
u927105328
1,557,623,776
2019-05-12T01:16:16
Main.java
import java.util.*; //int[] idx = new int[1]; //int val = sc.nextInt(); public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int k = sc.nextInt(); int b=n-k+1; System.out.println(b); } } }
Main.java:16: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927105328|p03047|0
u927105328|p03047|0
codenet
Compile Error
315
v2_s393526233
s393526233
s393526233
p03048
p03048
u013378977
u013378977
1,558,603,783
2019-05-23T09:29:43
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); int sum = sc.nextInt(); int count = 0; for(int i=0;i<=sum;i++){ for(int j=0;j<=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
u013378977|p03048|0
u013378977|p03048|0
codenet
Compile Error
517
v2_s221417895
s221417895
s221417895
p03048
p03048
u085517043
u085517043
1,557,627,870
2019-05-12T02:24:30
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); int n = sc.nextInt(); int result = 0; for(int ir = 0; ir <= n; ir+=r ) { if(ir <n) { ...
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
u085517043|p03048|0
u085517043|p03048|0
codenet
Compile Error
782
v2_s696081890
s696081890
s696081890
p03048
p03048
u092025199
u092025199
1,560,284,069
2019-06-11T20:14:29
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.In); int r=sc.nextInt(); int g=sc.nextInt(); int b=sc.nextInt(); int n=sc.nextInt(); int count=0; for(int i=0;i<=n/r;i++){ for(int j=0;j<=n/g;++j){ for(int k=0...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.In); ^ symbol: variable In location: class System 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u092025199|p03048|0
u092025199|p03048|0
codenet
Compile Error
456
v2_s378173543
s378173543
s378173543
p03048
p03048
u146205443
u146205443
1,557,624,754
2019-05-12T01:32:34
Main.java
public class Main { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); // String line = reader.readLine(); String[] str = reader.readLine().split(" "); int[] ab = new int[str.length]; for (int i = 0; i < str.length; i++) { ...
Main.java:3: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:3: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u146205443|p03048|0
u146205443|p03048|0
codenet
Compile Error
1,322
v2_s157830470
s157830470
s157830470
p03048
p03048
u390762553
u390762553
1,557,630,894
2019-05-12T03:14:54
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int r = stdIn.nextInt(); int g = stdIn.nextInt(); int b = stdIn.nextInt(); int n = stdIn.nextInt(); int count = 0; for(int i = 0;i<=3000;i++) { int u = r*i; if(u>n...
Main.java:20: error: ';' expected int u += b*k; ^ Main.java:20: error: not a statement int u += b*k; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u390762553|p03048|0
u390762553|p03048|0
codenet
Compile Error
625
v2_s543813970
s543813970
s543813970
p03048
p03048
u390762553
u390762553
1,557,631,024
2019-05-12T03:17:04
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int r = stdIn.nextInt(); int g = stdIn.nextInt(); int b = stdIn.nextInt(); int n = stdIn.nextInt(); int count = 0; for(int i = 0;i<=3000;i++) { int u = r*i; if(u>n...
Main.java:20: error: ';' expected int u += b*k; ^ Main.java:20: error: not a statement int u += b*k; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u390762553|p03048|0
u390762553|p03048|0
codenet
Compile Error
625
v2_s268927354
s268927354
s268927354
p03048
p03048
u521293705
u521293705
1,557,624,450
2019-05-12T01:27:30
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ // スキャナーの宣言 Scanner sc = new Scanner(System.in); // 整数の入力 int r = sc.nextInt(); // スペース区切りの整数の入力 int g = sc.nextInt(); int b = sc.nextInt(); int n = sc.nextInt(); int a...
Main.java:20: error: ';' expected if(i+j+k == n) ans++ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521293705|p03048|0
u521293705|p03048|0
codenet
Compile Error
661
v2_s059660179
s059660179
s059660179
p03048
p03048
u521293705
u521293705
1,598,410,032
2020-08-26T02:47:12
Main.java
java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); int n = sc.nextInt(); int ans = 0; for(int i = 0; i <= n; i++){ for(int j = 0; j <= n; j++){ if((...
Main.java:1: error: class, interface, enum, or record expected java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521293705|p03048|1
u521293705|p03048|1
codenet
Compile Error
417
v2_s157995287
s157995287
s157995287
p03048
p03048
u653981267
u653981267
1,557,624,088
2019-05-12T01:21:28
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); int n = sc.nextInt(); int ans = 0; for(int i = 0; i <= Max.min(r, n); i++) { for(int j = 0; j <= Ma...
Main.java:11: error: cannot find symbol for(int i = 0; i <= Max.min(r, n); i++) { ^ symbol: variable Max location: class Main Main.java:12: error: cannot find symbol for(int j = 0; j <= Max.min(g, n); j++) { ^ symbol: variable Max location: class M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03048|0
u653981267|p03048|0
codenet
Compile Error
424
v2_s152675240
s152675240
s152675240
p03048
p03048
u686175224
u686175224
1,558,661,311
2019-05-24T01:28:31
Main.java
public class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int R,G,B,N; R=sc.nextInt(); G=sc.nextInt(); B=sc.nextInt(); N=sc.nextInt(); int count=0; for(int a=0;a<=N;a++) { for(int b=0;b<=N-a*R;b++) { int c=N-a*R-b*G; if(c<0) { ...
Main.java:7: error: cannot find symbol Scanner sc=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: 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
u686175224|p03048|1
u686175224|p03048|1
codenet
Compile Error
448
v2_s826380347
s826380347
s826380347
p03048
p03048
u777283665
u777283665
1,574,796,757
2019-11-26T19:32:37
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int R = sc.nextInt(), G = sc.nextInt(), B = sc.nextInt(), N = sc.nextInt(); int ans = 0; for (int i = 0; i <= N/R; i++) for (int j = 0; j <= (N-i*R)/G; j...
Main.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777283665|p03048|0
u777283665|p03048|0
codenet
Compile Error
434
v2_s969712106
s969712106
s969712106
p03048
p03048
u863370423
u863370423
1,567,319,673
2019-09-01T06:34:33
RGBBoxes.java
public class RGBBoxes { static int count = 0; public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[] balls = new int[3]; for(int i=0;i<3;i++){ balls[i] = sc.nextInt(); } int n = sc.nextInt(); helper(balls,0,n,0); Sy...
RGBBoxes.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class RGBBoxes RGBBoxes.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class RGBBoxes 2...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03048|0
u863370423|p03048|0
codenet
Compile Error
695
v2_s235190260
s235190260
s235190260
p03048
p03048
u927105328
u927105328
1,557,625,093
2019-05-12T01:38:13
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); int n = sc.nextInt(); int a = n/r; int bb = n/g; int c = n/b ...
Main.java:13: error: ';' expected int c = n/b ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927105328|p03048|0
u927105328|p03048|0
codenet
Compile Error
664
v2_s494837020
s494837020
s494837020
p03048
p03048
u927105328
u927105328
1,557,626,007
2019-05-12T01:53:27
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); int n = sc.nextInt(); int a = n/r; int bb = n/g; int c = n/b; ...
Main.java:29: error: cannot find symbol if(goukei>n){ ^ symbol: variable goukei location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927105328|p03048|0
u927105328|p03048|0
codenet
Compile Error
927
v2_s076365049
s076365049
s076365049
p03049
p03049
u024824950
u024824950
1,557,630,160
2019-05-12T03:02:40
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int cnt = 0; int acnt = 0; int bcnt = 0; boolean flag = false; int m = 0; for(int i = 0; i<n; i++){ Strin...
Main.java:23: error: illegal start of type if(add==n) add--; ^ Main.java:23: error: <identifier> expected if(add==n) add--; ^ Main.java:23: error: <identifier> expected if(add==n) add--; ^ Main.java:23: error: <identifier> expected if(add==n) add--;...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03049|0
u024824950|p03049|0
codenet
Compile Error
739
v2_s419860739
s419860739
s419860739
p03049
p03049
u024824950
u024824950
1,557,637,751
2019-05-12T05:09:11
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int cnt=0; int c1=0,c2=0,c3=0; int ans = 0; for(int i=0; i<n; i++){ char[] s = sc.next().toCharArray(); for(i...
Main.java:16: error: incompatible types: char cannot be converted to boolean else if(s[s.length-1]) c3++; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03049|1
u024824950|p03049|0
codenet
Compile Error
815
v2_s232879450
s232879450
s232879450
p03049
p03049
u134856634
u134856634
1,557,630,851
2019-05-12T03:14:11
Main.java
import java.io.*; public class Main{ public static void main(String... args) throws IOException { BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in)); String line = stdin.readLine(); String[] in = line.split(" "); int n = Integer.parseInt(in[0]); System.err.println(n); ...
Main.java:15: error: array required, but String found if (line[0] == 'B') { ^ Main.java:18: error: cannot find symbol if (line[line.size()] == 'A') { ^ symbol: method size() location: variable line of type String Main.java:18: error: array required, but String foun...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u134856634|p03049|0
u134856634|p03049|0
codenet
Compile Error
755
v2_s310027587
s310027587
s310027587
p03049
p03049
u134856634
u134856634
1,557,684,797
2019-05-12T18:13:17
Main.java
import java.io.*; public class Main{ public static void main(String... args) throws IOException { BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in)); String line = stdin.readLine(); String[] in = line.split(" "); int n = Integer.parseInt(in[0]); System.err.println(n); ...
Main.java:18: error: cannot find symbol if (line.charAt(line.size()-1) == 'A') { ^ symbol: method size() location: variable line of type String Main.java:19: error: cannot find symbol endE++; ^ symbol: variable endE location: class Main Main.java:21: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u134856634|p03049|1
u134856634|p03049|1
codenet
Compile Error
771
v2_s580907533
s580907533
s580907533
p03049
p03049
u316432228
u316432228
1,557,625,207
2019-05-12T01:40:07
Main.java
import java.io.BufferedReader; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { ...
Main.java:44: error: cannot find symbol }else if(_B > 0){ ^ symbol: variable _B location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u316432228|p03049|0
u316432228|p03049|0
codenet
Compile Error
2,593
v2_s658982360
s658982360
s658982360
p03049
p03049
u527616458
u527616458
1,557,626,028
2019-05-12T01:53:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String[] a = new String[N]; int ans = 0; int aa = 0; int bb = 0; for(int i=0;i<N;i++){ a[i] = sc.next(); if(a[i].matches(".*AB.*")){ ...
Main.java:25: error: not a statement ans + bb; ^ Main.java:27: error: not a statement ans + aa; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u527616458|p03049|0
u527616458|p03049|0
codenet
Compile Error
565
v2_s466181546
s466181546
s466181546
p03049
p03049
u547167033
u547167033
1,570,672,755
2019-10-10T01:59:15
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] s = new String[n]; int start = 0; int last = 0; int both = 0; int cnt = 0; for(int i = 0;i < n;i++){ s[i]=sc.next(); if(s[i].co...
Main.java:18: error: cannot find symbol ccnt+=both+Math.min(start,last); ^ symbol: variable ccnt location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03049|0
u547167033|p03049|0
codenet
Compile Error
589
v2_s576334932
s576334932
s576334932
p03049
p03049
u547167033
u547167033
1,570,672,789
2019-10-10T01:59:49
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] s = new String[n]; int start = 0; int last = 0; int both = 0; int cnt = 0; for(int i = 0;i < n;i++){ s[i]=sc.next(); if(s[i].co...
Main.java:18: error: cannot find symbol ccnt+=both+Math.min(start,last); ^ symbol: variable ccnt location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03049|0
u547167033|p03049|0
codenet
Compile Error
589
v2_s192762819
s192762819
s192762819
p03049
p03049
u552730117
u552730117
1,557,630,152
2019-05-12T03:02:32
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int a = 0; int b = 0; int ab = 0; int l = 0; int flg = 0; int ans = 0; for (int i=0; i<n; i++) { String s = sc.next(); ...
Main.java:36: error: not a statement } (a == b && flg == 1) { ^ Main.java:36: error: ';' expected } (a == b && flg == 1) { ^ Main.java:38: error: 'else' without 'if' } else { ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u552730117|p03049|0
u552730117|p03049|0
codenet
Compile Error
969
v2_s151289671
s151289671
s151289671
p03049
p03049
u552730117
u552730117
1,557,637,416
2019-05-12T05:03:36
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int a = 0; int b = 0; int ab = 0; int l = 0; int flg = 0; int ans = 0; for (int i=0; i<n; i++) { String s = sc.next(); ...
Main.java:23: error: ')' expected if ( !((s.substring(0,1).equals("B") && (s.substring(l-1,l).equals("A")) ) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u552730117|p03049|0
u552730117|p03049|0
codenet
Compile Error
849
v2_s106679344
s106679344
s106679344
p03049
p03049
u653981267
u653981267
1,557,624,947
2019-05-12T01:35:47
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int ans = 0; int a = 0; int b = 0; for(int i = 0; i < n ;i++) { String s = sc.next(); for(int i = 0; i < s.length() - 1; i++) { if((s...
Main.java:12: error: variable i is already defined in method main(String[]) for(int i = 0; i < s.length() - 1; i++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p03049|0
u653981267|p03049|0
codenet
Compile Error
578
v2_s267522277
s267522277
s267522277
p03049
p03049
u803314854
u803314854
1,557,624,730
2019-05-12T01:32:10
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); String po[]=new String[n]; int a=0,b=0; int ab=0; int ans=0; for(int i=0;i<n;i++){po[i]=sc.next(); int leng=po[i].l...
Main.java:22: error: illegal start of expression System.out.println(if(a==b)?ans+a-1:ans+Math.min(a,b)); ^ Main.java:22: error: illegal start of expression System.out.println(if(a==b)?ans+a-1:ans+Math.min(a,b)); ^ Main.java:22: error: ';' exp...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u803314854|p03049|0
u803314854|p03049|0
codenet
Compile Error
748
v2_s006163443
s006163443
s006163443
p03050
p03050
u142032032
u142032032
1,557,626,345
2019-05-12T01:59:05
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Main start=new Main(); start.start(); } public Main(){ } public void start(){ Scanner sc = new Scanner(System.in); // 整数の入力 long N = sc.nextint(); long result=0; f...
Main.java:13: error: cannot find symbol long N = sc.nextint(); ^ symbol: method nextint() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u142032032|p03050|0
u142032032|p03050|0
codenet
Compile Error
656
v2_s315387337
s315387337
s315387337
p03050
p03050
u521293705
u521293705
1,557,630,807
2019-05-12T03:13:27
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ // スキャナーの宣言 Scanner sc = new Scanner(System.in); // 整数の入力 long n = sc.nextLong(); long ans = 0; //for文 for(long i = 1; i < n; i++){ if(n % i == 0 && n % i = > i){ ...
Main.java:14: error: illegal start of expression if(n % i == 0 && n % i = > i){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521293705|p03050|0
u521293705|p03050|0
codenet
Compile Error
453
v2_s282983366
s282983366
s282983366
p03050
p03050
u662852612
u662852612
1,557,630,895
2019-05-12T03:14:55
Main.java
import java.util.Scanner; import java.util.InputMismatchException; import java.io.*; public class Main { public static void main(String args[]) { try { Scanner scanner = new Scanner(System.in); int favorite = scanner.nextInt(); int sum; for(int i=favorite;0<i;i--){ i...
Main.java:15: error: variable sum might not have been initialized sum+=i; ^ Main.java:18: error: variable sum might not have been initialized System.out.println(sum); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u662852612|p03050|0
u662852612|p03050|0
codenet
Compile Error
562
v2_s283767801
s283767801
s283767801
p03050
p03050
u662852612
u662852612
1,557,630,900
2019-05-12T03:15:00
Main.java
import java.util.Scanner; import java.util.InputMismatchException; import java.io.*; public class Main { public static void main(String args[]) { try { Scanner scanner = new Scanner(System.in); int favorite = scanner.nextInt(); int sum; for(int i=favorite;0<i;i--){ i...
Main.java:15: error: variable sum might not have been initialized sum+=i; ^ Main.java:18: error: variable sum might not have been initialized System.out.println(sum); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u662852612|p03050|0
u662852612|p03050|0
codenet
Compile Error
562
v2_s075796057
s075796057
s075796057
p03050
p03050
u927105328
u927105328
1,557,627,534
2019-05-12T02:18:54
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long sum=0; for (long i = 1;i<=n;i++){ int sho = n/i; int amari =n%i; if(sho==amari) { s...
Main.java:10: error: incompatible types: possible lossy conversion from long to int int sho = n/i; ^ Main.java:11: error: incompatible types: possible lossy conversion from long to int int amari =n%i; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927105328|p03050|0
u927105328|p03050|0
codenet
Compile Error
399
v2_s230765825
s230765825
s230765825
p03050
p03050
u927105328
u927105328
1,557,628,014
2019-05-12T02:26:54
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long sum=0; int i=1; while (i<=n){ int sho = n/i; int amari =n%i; if(sho==amari) { ...
Main.java:11: error: incompatible types: possible lossy conversion from long to int int sho = n/i; ^ Main.java:12: error: incompatible types: possible lossy conversion from long to int int amari =n%i; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927105328|p03050|0
u927105328|p03050|0
codenet
Compile Error
447
v2_s046256265
s046256265
s046256265
p03051
p03051
u486454971
u486454971
1,557,627,019
2019-05-12T02:10:19
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.InputMismatchException; import java.io.IOException; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top * * @author Jeel Vaishnav */ public cl...
Main.java:40: error: array required, but long found return cans[pos]; ^ Main.java:55: error: array required, but long found freq[pos] += val; ^ Main.java:56: error: array required, but long found freq[pos] %= mod; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u486454971|p03051|0
u486454971|p03051|0
codenet
Compile Error
5,529
v2_s719170362
s719170362
s719170362
p03053
p03053
u024824950
u024824950
1,559,158,643
2019-05-29T19:37:23
Main.java
import java.util.*; import com.sun.javafx.scene.paint.GradientUtils.Point; import static java.lang.Math.*; import java.awt.SystemTray; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int dx[] = {0, 1, 0, -1}; int dy[] = {1, 0, -1, 0}; ...
Main.java:3: error: package com.sun.javafx.scene.paint.GradientUtils does not exist import com.sun.javafx.scene.paint.GradientUtils.Point; ^ Main.java:22: error: cannot find symbol Queue<Point> queue = new ArrayDeque<>(); ^ symbol: class Point l...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03053|3
u024824950|p03053|3
codenet
Compile Error
1,353
v2_s871007810
s871007810
s871007810
p03053
p03053
u057942294
u057942294
1,558,077,138
2019-05-17T07:12:18
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int height = Integer.parseInt(sc.next()); int width = Integer.parseInt(sc.next()); boolean[][] board = new boolean[height + 2][width + 2]; for (int i = 0; i < height; i++) { S...
Main.java:60: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u057942294|p03053|0
u057942294|p03053|0
codenet
Compile Error
1,164
v2_s381482310
s381482310
s381482310
p03053
p03053
u091010228
u091010228
1,557,114,415
2019-05-06T03:46:55
Main.java
import java.util.ArrayDeque; import java.util.Deque; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int H = sc.nextInt(), W = sc.nextInt(); int[][] A = new int[H][W]; Queue Q = new Queue(); for (int h = 0; h < H; h++) { String s...
Main.java:52: error: reached end of file while parsing understand ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u091010228|p03053|1
u091010228|p03053|1
codenet
Compile Error
1,342
v2_s026682865
s026682865
s026682865
p03053
p03053
u153556810
u153556810
1,557,026,894
2019-05-05T03:28:14
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { static int[][] masu; static int H, W; public static void main(String[] args) { Scanner sc = new Scanner(System.in); H = sc.nextInt(); W = sc.nextInt(); masu = new int[H][W]; for(int i = 0; i < H; i++) { ...
Main.java:43: error: illegal start of expression static void dik(int i, int j) { ^ Main.java:45: error: ';' expected list.add(new Pair(i,j)) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u153556810|p03053|0
u153556810|p03053|0
codenet
Compile Error
1,946
v2_s653871108
s653871108
s653871108
p03053
p03053
u288042356
u288042356
1,557,026,882
2019-05-05T03:28:02
Main.java
for(int i=0;i<W;i++){ for(int j=0;j<H;j++){ A[i][j]=sc.next(); counter[i][j]=0; } } for(int i=0;i<W;i++){ for(int j=0;j<H;j++){ while(i<W-1){ i++; counter[i][j]++; ...
Main.java:1: error: class, interface, enum, or record expected for(int i=0;i<W;i++){ ^ Main.java:1: error: class, interface, enum, or record expected for(int i=0;i<W;i++){ ^ Main.java:1: error: class, interface, enum, or record expected for(int i=0;i<W;i++){ ^ Main.java:2: error: class, inte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03053|0
u288042356|p03053|0
codenet
Compile Error
847
v2_s262329808
s262329808
s262329808
p03053
p03053
u288042356
u288042356
1,557,026,906
2019-05-05T03:28:26
A.java
public class A { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int H,W; H=sc.nextInt(); W=sc.nextInt(); String[][] A = new String[W][H]; int [][] counter = new int[W][H]; for(int i=0;i<W;i++){ for(int j=0;j<H;j++){ ...
A.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class A A.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class A 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288042356|p03053|0
u288042356|p03053|0
codenet
Compile Error
1,176
v2_s194597111
s194597111
s194597111
p03053
p03053
u288042356
u288042356
1,557,026,935
2019-05-05T03:28:55
Main.java
public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int H,W; H=sc.nextInt(); W=sc.nextInt(); String[][] A = new String[W][H]; int [][] counter = new int[W][H]; for(int i=0;i<W;i++){ for(int j=0;j<H;j++){...
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
u288042356|p03053|0
u288042356|p03053|0
codenet
Compile Error
1,179
v2_s239521645
s239521645
s239521645
p03053
p03053
u331757937
u331757937
1,557,043,981
2019-05-05T08:13:01
Main.java
public class Main implements Runnable { //Runnableを実装する public static void main(String[] args) { new Thread(null, new Main(), "", 16 * 1024 * 1024).start(); //16MBスタックを確保して実行 } public void run() { FastScanner sc = new FastScanner(System.in); int h = Integer.parseInt(sc.next()); int w = I...
Main.java:194: error: cannot find symbol private BufferedReader reader = null; ^ symbol: class BufferedReader location: class FastScanner Main.java:195: error: cannot find symbol private StringTokenizer tokenizer = null; ^ symbol: class StringTokenizer locatio...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u331757937|p03053|1
u331757937|p03053|0
codenet
Compile Error
4,791
v2_s331317864
s331317864
s331317864
p03053
p03053
u331757937
u331757937
1,557,115,589
2019-05-06T04:06:29
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.io.StringReader; import java.util.ArrayList; import java.util.StringTokenizer; public class Main implements Runnable { public static void main(String[]...
Main.java:17: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:17: 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
u331757937|p03053|2
u331757937|p03053|1
codenet
Compile Error
3,646
v2_s075076448
s075076448
s075076448
p03053
p03053
u444878520
u444878520
1,557,021,444
2019-05-05T01:57:24
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int H = Integer.parseInt(sc.next()); int W = Integer.parseInt(sc.next()); char[] testchars = new char[W]; List<int[]> blacks = new ArrayList<>(); List<int[]> whites = new ...
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 Main.java:7: erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u444878520|p03053|0
u444878520|p03053|0
codenet
Compile Error
1,419
v2_s448443682
s448443682
s448443682
p03053
p03053
u521389909
u521389909
1,557,088,632
2019-05-05T20:37:12
Main.java
#include <iostream> #include <string> #include <algorithm> #include <cmath> #include <cstdlib> #include <vector> #include <map> #include <queue> using namespace std; #define rep(i, s, e) for (int(i) = (s); (i) <= (e); ++(i)) int main() { int h, w, counter = 0; cin >> h >> w; vector<string> a(h); rep(i, 0, h - 1)...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <string> ^ Main.java:3: error: illegal character: '#' #include <algorithm> ^ Main.java:4: error: illegal character: '#' #include <cmath> ^ Main.java:5: error: illegal character: '#' #include <cstdlib> ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521389909|p03053|0
u521389909|p03053|0
codenet
Compile Error
1,143
v2_s584207759
s584207759
s584207759
p03053
p03053
u759661619
u759661619
1,571,632,973
2019-10-21T04:42:53
Main.java
l
Main.java:1: error: reached end of file while parsing l ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759661619|p03053|0
u759661619|p03053|0
codenet
Compile Error
1
v2_s516209880
s516209880
s516209880
p03053
p03053
u786981739
u786981739
1,557,028,552
2019-05-05T03:55:52
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; public class Main { static int H; static int W; public static void main(String[] args) { try (CustomReader in = new CustomReader()) { new AGC033A().execute(in); } c...
Main.java:13: error: cannot find symbol new AGC033A().execute(in); ^ symbol: class AGC033A location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u786981739|p03053|0
u786981739|p03053|0
codenet
Compile Error
3,917
v2_s188845281
s188845281
s188845281
p03054
p03054
u527616458
u527616458
1,557,023,670
2019-05-05T02:34:30
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int H = sc.nextInt(); int W = sc.nextInt(); int N = sc.nextInt(); int ay = sc.nextInt(); int ax = sc.nextInt(); String S = sc.next(); String T = sc.next(); for(...
Main.java:15: error: bad operand types for binary operator '==' if(S.charAt(i) == "L"){ ^ first type: char second type: String Main.java:17: error: bad operand types for binary operator '==' }else if(S.charAt(i)=="R"){ ^ first type: char second ty...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u527616458|p03054|0
u527616458|p03054|0
codenet
Compile Error
1,110
v2_s733441009
s733441009
s733441009
p03054
p03054
u527616458
u527616458
1,557,024,324
2019-05-05T02:45:24
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int H = sc.nextInt(); int W = sc.nextInt(); int N = sc.nextInt(); int ay = sc.nextInt(); int ax = sc.nextInt(); String S = sc.next(); String T = sc.next(); String[] ...
Main.java:16: error: incompatible types: char cannot be converted to String strArrayS[i] = S.charAt(i); ^ Main.java:17: error: incompatible types: char cannot be converted to String strArrayT[i] = T.charAt(i); ^ Main.java:37: error: bad operand types...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u527616458|p03054|0
u527616458|p03054|0
codenet
Compile Error
1,314
v2_s651849595
s651849595
s651849595
p03055
p03055
u964522424
u964522424
1,557,759,878
2019-05-13T15:04:38
Main.java
#include <bits/stdc++.h> using namespace std; #define ll long long #define mp make_pair #define pb push_back #define x first #define y second #define pii pair<int, int> #define p3i pair<pii, int> #define pll pair<ll, ll> #define p3l pair<pll, ll> #define vi vector<int> #define vpii vector<pii> #define vp3i vector<p3i> ...
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 ll long long ^ Main.java:3: error: class, interface, enum, or record expected #define ll long long ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964522424|p03055|0
u964522424|p03055|0
codenet
Compile Error
1,447
v2_s270118897
s270118897
s270118897
p03056
p03056
u964522424
u964522424
1,557,756,582
2019-05-13T14:09:42
Main.java
#include <bits/stdc++.h> using namespace std; #define ll long long #define mp make_pair #define pb push_back #define x first #define y second #define pii pair<int, int> #define p3i pair<pii, int> #define pll pair<ll, ll> #define p3l pair<pll, ll> #define vi vector<int> #define vpii vector<pii> #define vp3i vector<p3i> ...
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 ll long long ^ Main.java:3: error: class, interface, enum, or record expected #define ll long long ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964522424|p03056|0
u964522424|p03056|0
codenet
Compile Error
2,724
v2_s850869876
s850869876
s850869876
p03059
p03059
u005792248
u005792248
1,558,987,896
2019-05-27T20:11:36
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner seer = new Scanner(System.in); int n = seer.nextInt(); int[] arr = new int[n]; for(int i = 0; i < n; i++){ arr[i] = seer.nextInt(); } int tot = 0; for(int i = 0; i < n; i++){ int c = seer.nextInt(); if(arr...
Main.java:20: error: class, interface, enum, or record expected import java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u005792248|p03059|1
u005792248|p03059|1
codenet
Compile Error
766
v2_s955530746
s955530746
s955530746
p03059
p03059
u031775428
u031775428
1,557,722,744
2019-05-13T04:45:44
Scanner.java
import java.util.Scanner; public class Scanner{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); System.out.println((c / a) * b); sc.close(); } }
Scanner.java:1: error: Scanner is already defined in this compilation unit import java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u031775428|p03059|0
u031775428|p03059|0
codenet
Compile Error
267
v2_s319057205
s319057205
s319057205
p03059
p03059
u059011748
u059011748
1,559,832,149
2019-06-06T14:42:29
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(); int T=sc.NextInt(); int result; result=T/A*B; System.out.println(result); } }
Main.java:7: error: cannot find symbol int T=sc.NextInt(); ^ symbol: method NextInt() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u059011748|p03059|0
u059011748|p03059|0
codenet
Compile Error
231
v2_s100645208
s100645208
s100645208
p03059
p03059
u110681742
u110681742
1,556,414,838
2019-04-28T01:27:18
Resale.java
import java.util.Scanner; public class Resale { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int count = 0; int[] line = new int[2]; while(sc.hasNext()){ int i = sc.nextInt(); line[count] = i; count++; } for(int ) System.out.println(line[s]); } }
Resale.java:13: error: not a statement for(int ) ^ Resale.java:13: error: ';' expected for(int ) ^ Resale.java:13: error: illegal start of expression for(int ) ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u110681742|p03059|0
u110681742|p03059|0
codenet
Compile Error
302
v2_s336546628
s336546628
s336546628
p03059
p03059
u167206842
u167206842
1,573,350,468
2019-11-10T01:47:48
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(); int t = sc.nextInt(); int answer=0; answer = b*((t+0.5)/a); System.out.println(answer); } }
Main.java:9: error: incompatible types: possible lossy conversion from double to int answer = b*((t+0.5)/a); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167206842|p03059|0
u167206842|p03059|0
codenet
Compile Error
290
v2_s315346230
s315346230
s315346230
p03059
p03059
u167206842
u167206842
1,573,350,570
2019-11-10T01:49:30
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextDouble(); int b = sc.nextInt(); int t = sc.nextInt(); int answer=0; answer = b*((int)(t+0.5)/a); System.out.println(answer); } }
Main.java:5: error: incompatible types: possible lossy conversion from double to int int a = sc.nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167206842|p03059|0
u167206842|p03059|0
codenet
Compile Error
299
v2_s412011707
s412011707
s412011707
p03059
p03059
u172546930
u172546930
1,557,273,661
2019-05-08T00:01:01
Main.java
public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int A,B,T; A = sc.nextInt(); B = sc.nextInt(); T = sc.nextInt(); int result = (T / A) * B; System.out.println(result); } }
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
u172546930|p03059|0
u172546930|p03059|0
codenet
Compile Error
264
v2_s306046891
s306046891
s306046891
p03059
p03059
u188396343
u188396343
1,579,202,494
2020-01-16T19:21:34
Main.java
import java.util.Arrays; import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); float a = sc.nextFloat(); float b = sc.nextFloat(); float t = sc.nextFloat(); float time = t+0.5; int cou = Math.floor(t/a); System.out.p...
Main.java:9: error: incompatible types: possible lossy conversion from double to float float time = t+0.5; ^ Main.java:10: error: incompatible types: possible lossy conversion from double to int int cou = Math.floor(t/a); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u188396343|p03059|0
u188396343|p03059|0
codenet
Compile Error
343
v2_s706046374
s706046374
s706046374
p03059
p03059
u189130151
u189130151
1,556,415,762
2019-04-28T01:42:42
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double sec = sc.nextInt(); int num = sc.nextInt(); double maxSec = sc.nextInt(); sc.close(); maxSec += 0.5; double mult = maxSec / sec; System.out.println((int)mult * num); } }
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
u189130151|p03059|0
u189130151|p03059|0
codenet
Compile Error
314
v2_s492106783
s492106783
s492106783
p03059
p03059
u193866675
u193866675
1,584,769,333
2020-03-21T05:42:13
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int t = sc.nextInt(); int bisckets = (int)(t + 0.5) / a * b; System.out.println(bisckets); } }
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: 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
u193866675|p03059|0
u193866675|p03059|0
codenet
Compile Error
295
v2_s806901516
s806901516
s806901516
p03059
p03059
u193866675
u193866675
1,584,769,572
2020-03-21T05:46:12
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int t = sc.nextInt(); int bisckets = (int)(t + 0.5) / a * b; System.out.println(bisckets); } }
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: 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
u193866675|p03059|0
u193866675|p03059|0
codenet
Compile Error
295
v2_s311799948
s311799948
s311799948
p03059
p03059
u205892160
u205892160
1,556,558,107
2019-04-29T17:15:07
Main.java
class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int A = scanner.nextInt(); int B = scanner.nextInt(); int T = scanner.nextInt(); int countA = 1; int sumA = A; int sumB = 0; while(sumA <= T){ countA++; sumA += countA * ...
Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: 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
u205892160|p03059|0
u205892160|p03059|0
codenet
Compile Error
391
v2_s831268635
s831268635
s831268635
p03059
p03059
u251779460
u251779460
1,559,780,258
2019-06-06T00:17:38
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(); //A秒ごとに生成するビスケットの枚数 int T=sc.nextInt(); //T+0.5秒後のビスケットの枚数を求める int x=(T+0.5)/A; System.out.println(x*B); } }
Main.java:8: error: incompatible types: possible lossy conversion from double to int int x=(T+0.5)/A; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u251779460|p03059|0
u251779460|p03059|0
codenet
Compile Error
378
v2_s114743850
s114743850
s114743850
p03059
p03059
u251779460
u251779460
1,559,780,442
2019-06-06T00:20:42
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(); //A秒ごとに生成するビスケットの枚数 int T=sc.nextInt(); //T+0.5秒後のビスケットの枚数を求める double x=(double(T)+0.5)/A; System.out.println(int(x)*B); }...
Main.java:8: error: '.class' expected double x=(double(T)+0.5)/A; ^ Main.java:8: error: not a statement double x=(double(T)+0.5)/A; ^ Main.java:8: error: ';' expected double x=(double(T)+0.5)/A; ^ Main.java:8: error: not a statement double x...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u251779460|p03059|0
u251779460|p03059|0
codenet
Compile Error
384
v2_s083711350
s083711350
s083711350
p03059
p03059
u251779460
u251779460
1,559,780,499
2019-06-06T00:21:39
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(); //A秒ごとに生成するビスケットの枚数 int T=sc.nextInt(); //T+0.5秒後のビスケットの枚数を求める double x=(double(T)+0.5)/double(A); System.out.println(int(x)*B); ...
Main.java:8: error: '.class' expected double x=(double(T)+0.5)/double(A); ^ Main.java:8: error: not a statement double x=(double(T)+0.5)/double(A); ^ Main.java:8: error: ';' expected double x=(double(T)+0.5)/double(A); ^ Main.java:8: error: not ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u251779460|p03059|0
u251779460|p03059|0
codenet
Compile Error
392
v2_s836049653
s836049653
s836049653
p03059
p03059
u251779460
u251779460
1,559,780,643
2019-06-06T00:24:03
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc= new Scanner(System.in); int A=sc.nextInt(); int B=sc.nextInt(); //A秒ごとに生成するビスケットの枚数 int T=sc.nextInt(); //T+0.5秒後のビスケットの枚数を求める double x=(T+0.5)/A; System.out.println(int(x)*B); } }
Main.java:9: error: '.class' expected System.out.println(int(x)*B); ^ Main.java:9: error: not a statement System.out.println(int(x)*B); ^ Main.java:9: error: ';' expected System.out.println(int(x)*B); ^ Main.java:9: error: not ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u251779460|p03059|0
u251779460|p03059|0
codenet
Compile Error
376
v2_s190830734
s190830734
s190830734
p03059
p03059
u251779460
u251779460
1,559,780,763
2019-06-06T00:26:03
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc= new Scanner(System.in); int A=sc.nextInt(); int B=sc.nextInt(); //A秒ごとに生成するビスケットの枚数 int T=sc.nextInt(); //T+0.5秒後のビスケットの枚数を求める double x=(double(T)+0.5)/double(A); System.out.println(Math.floor(x)*B...
Main.java:8: error: '.class' expected double x=(double(T)+0.5)/double(A); ^ Main.java:8: error: not a statement double x=(double(T)+0.5)/double(A); ^ Main.java:8: error: ';' expected double x=(double(T)+0.5)/double(A); ^ Main.java:8: error: not ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u251779460|p03059|0
u251779460|p03059|0
codenet
Compile Error
399
v2_s023224713
s023224713
s023224713
p03059
p03059
u319039941
u319039941
1,559,517,928
2019-06-02T23:25: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(); int T = sc.nextInt(); int total = 0; int n = 1; while(A <= T) { A *= n; n++; total += B; } System.out.println(total); ...
Main.java:22: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u319039941|p03059|0
u319039941|p03059|0
codenet
Compile Error
322
v2_s028377850
s028377850
s028377850
p03059
p03059
u347452770
u347452770
1,564,871,624
2019-08-03T22:33:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner Scan = new Scanner(System.in); int A = Scan.nextInt(); int B = Scan.nextInt(); int T = Scan.nextInt(); int preans = (T + 0.5) / A; int ans = B * preans; System.out.print(ans); ...
Main.java:9: error: incompatible types: possible lossy conversion from double to int int preans = (T + 0.5) / A; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03059|0
u347452770|p03059|0
codenet
Compile Error
341
v2_s101681170
s101681170
s101681170
p03059
p03059
u347452770
u347452770
1,564,872,669
2019-08-03T22:51:09
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] spi = new String[n]; int list = 0; for(int i = 0; i < n; i ++){ String value = sc.next(); String cost = sc.next(); ...
Main.java:13: error: bad operand types for binary operator '-' list += value - cost; ^ first type: String second type: String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u347452770|p03059|0
u347452770|p03059|0
codenet
Compile Error
678
v2_s102175381
s102175381
s102175381
p03059
p03059
u358773595
u358773595
1,556,414,352
2019-04-28T01:19:12
Main.java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int T = sc.nextInt(); int cntBiscuit = 0; int time = 0; for(int i = 1 ; time < T ; i++) { time = A * i; cntBiscuit += B; ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358773595|p03059|0
u358773595|p03059|0
codenet
Compile Error
384
v2_s623085539
s623085539
s623085539
p03059
p03059
u369712616
u369712616
1,584,150,707
2020-03-14T01:51:47
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(); int m = sc.nextInt(); System.out.println(t/a*b); } }
Main.java:8: error: cannot find symbol System.out.println(t/a*b); ^ symbol: variable t location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369712616|p03059|0
u369712616|p03059|0
codenet
Compile Error
234
v2_s171641995
s171641995
s171641995
p03059
p03059
u393431864
u393431864
1,557,185,296
2019-05-06T23:28:16
Main.java
public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); final int NUM; final int DURATION; final int TIMELIMIT; String str = br.readLine(); DURATION = Integer.parseInt(str.split(" "...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:3: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u393431864|p03059|0
u393431864|p03059|0
codenet
Compile Error
683
v2_s400933059
s400933059
s400933059
p03059
p03059
u438586057
u438586057
1,556,413,889
2019-04-28T01:11:29
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int T = sc.nextInt(); int times = T/A; int ans = 0; for(int i = 1; i <= times; i++){ ans += B; } System.out.println(ans); } }
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
u438586057|p03059|0
u438586057|p03059|0
codenet
Compile Error
298
v2_s050739836
s050739836
s050739836
p03059
p03059
u448324500
u448324500
1,565,375,310
2019-08-09T18:28:30
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ans =0; for(int i =0; i<N ;i++){ int V [] = new int[N]; V[i] = sc.nextInt(); } for(int i =0; i<N ;i++){ int C [] = new int[N]; C[i] = sc.nextInt[N]; ...
Main.java:25: error: cannot find symbol C[i] = sc.nextInt[N]; ^ symbol: variable nextInt location: variable sc of type Scanner Main.java:31: error: cannot find symbol if(V[i]<C[i]){ ^ symbol: variable V location: class Main Main.java:31: error: cannot find symbol if(V[i]<C[i]){ ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u448324500|p03059|0
u448324500|p03059|0
codenet
Compile Error
437
v2_s202596186
s202596186
s202596186
p03059
p03059
u474492589
u474492589
1,570,494,448
2019-10-08T00:27:28
Main.java
#include <iostream> using namespace std; int main(){ int A, B, T; cin>>A>>B>>T; int t = A; int ans = 0; while(t < T+1){ ans += B; t += A; } cout<<ans<<endl; return 0; }
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:6: error: not a statement cin>>A>>B>>T; ^ Main.java:13: error: not a statement cout<<ans<<endl; ^ Main.java:4: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u474492589|p03059|0
u474492589|p03059|0
codenet
Compile Error
217
v2_s323460886
s323460886
s323460886
p03059
p03059
u519761526
u519761526
1,558,193,738
2019-05-18T15:35:38
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(); int T = sc.nextInt(); int s = T/A System.out.println( s*b); } }
Main.java:10: error: ';' expected int s = T/A ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u519761526|p03059|0
u519761526|p03059|0
codenet
Compile Error
304
v2_s126651795
s126651795
s126651795
p03059
p03059
u547167033
u547167033
1,561,220,999
2019-06-22T16:29:59
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.next(); int b = sc.next(); int t = sc.next(); int sum = ((t+0.5)/a)*b; System.out.println(sum) sc.close(); } }
Main.java:9: error: ';' expected System.out.println(sum) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03059|0
u547167033|p03059|0
codenet
Compile Error
283
v2_s006368247
s006368247
s006368247
p03059
p03059
u547167033
u547167033
1,561,221,022
2019-06-22T16:30:22
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.next(); int b = sc.next(); int t = sc.next(); int sum = ((t+0.5)/a)*b; System.out.println(sum); sc.close(); } }
Main.java:5: error: incompatible types: String cannot be converted to int int a = sc.next(); ^ Main.java:6: error: incompatible types: String cannot be converted to int int b = sc.next(); ^ Main.java:7: error: incompatible types: String cannot be converted to int ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03059|0
u547167033|p03059|0
codenet
Compile Error
285
v2_s221932954
s221932954
s221932954
p03059
p03059
u547671064
u547671064
1,584,752,610
2020-03-21T01:03:30
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(); int T =sc.nextInt(); int C=T/A; System.out.println(C*B); } }
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p03059|0
u547671064|p03059|0
codenet
Compile Error
243
v2_s471311522
s471311522
s471311522
p03059
p03059
u557792203
u557792203
1,558,075,453
2019-05-17T06:44:13
Main.java
public class Main{ public static void main(String args[]){ Scanner in = new Scanner(System.in); int n = in.nextInt(); int a[] = new int[n]; for (int i = 0; i < n; ++i){ a[i] = in.nextInt(); } Arrays.sort(a); int max = a[1]; // System.out.p...
Main.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:9: erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u557792203|p03059|0
u557792203|p03059|0
codenet
Compile Error
770
v2_s276316465
s276316465
s276316465
p03059
p03059
u593597427
u593597427
1,557,765,258
2019-05-13T16:34:18
Main.java
import java.io.*; import java.util.*; import java.lang.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(); int A = scan.nextInt(); int B = scan.nextInt(); int T = scan.nextInt(); int i = 0, count = 0;; while (i+A <= (T+0.5))System.out...
Main.java:8: error: no suitable constructor found for Scanner(no arguments) Scanner scan = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not applicable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u593597427|p03059|0
u593597427|p03059|0
codenet
Compile Error
429
v2_s247124829
s247124829
s247124829
p03059
p03059
u593597427
u593597427
1,557,765,371
2019-05-13T16:36:11
Main.java
import java.io.*; import java.util.*; import java.lang.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int A = scan.nextInt(); int B = scan.nextInt(); int T = scan.nextInt(); int i = 0, count = 0;; while (i+A <= (T+0.5))S...
Main.java:13: error: cannot find symbol while (i+A <= (T+0.5))System.out.printn(B*count); ^ symbol: method printn(int) location: variable out of type PrintStream Main.java:18: error: cannot find symbol System.out.printn(B*count); ^ symbol: meth...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u593597427|p03059|0
u593597427|p03059|0
codenet
Compile Error
438
v2_s822684064
s822684064
s822684064
p03059
p03059
u593597427
u593597427
1,557,765,396
2019-05-13T16:36:36
Main.java
import java.io.*; import java.util.*; import java.lang.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int A = scan.nextInt(); int B = scan.nextInt(); int T = scan.nextInt(); int i = 0, count = 0;; while (i+A <= (T+0.5))S...
Main.java:13: error: cannot find symbol while (i+A <= (T+0.5))System.out.printn(B*count); ^ symbol: method printn(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u593597427|p03059|0
u593597427|p03059|0
codenet
Compile Error
439
v2_s670171558
s670171558
s670171558
p03059
p03059
u617619153
u617619153
1,557,767,438
2019-05-13T17:10:38
Main.java
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int a, b, t; cin >> a >> b >> t; cout << t / a * b << '\n'; return 0; }
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:6: error: not a statement ios_base::sync_with_stdio(false); ^ Main.java:9: error: not a statement cin >> a >> b >> t; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u617619153|p03059|0
u617619153|p03059|0
codenet
Compile Error
209
v2_s742535049
s742535049
s742535049
p03059
p03059
u675751622
u675751622
1,559,830,144
2019-06-06T14:09:04
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int cycle, number_of_biscuits, time; cycle = Integer.parseInt(sc.next()); number_of_biscuits = Integer.parseInt(sc.next()); time = Integer.parseInt(sc.next()); System.out,prin...
Main.java:10: error: not a statement System.out,println(time / cycle * number_of_biscuits); ^ Main.java:10: error: ';' expected System.out,println(time / cycle * number_of_biscuits); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675751622|p03059|0
u675751622|p03059|0
codenet
Compile Error
366
v2_s515958686
s515958686
s515958686
p03059
p03059
u676496404
u676496404
1,557,295,467
2019-05-08T06:04:27
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scanner = new Scanner(System.in); int A = scanner.nextInt(); int B = scanner.nextInt(); int T = scanner.nextInt(); System.out.println(T/A * B) } }
Main.java:8: error: ';' expected System.out.println(T/A * B) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u676496404|p03059|0
u676496404|p03059|0
codenet
Compile Error
280
v2_s066786743
s066786743
s066786743
p03059
p03059
u684648590
u684648590
1,556,415,728
2019-04-28T01:42:08
Main.java
public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); String[] line = sc.nextLine().split(" "); int a = Integer.parseInt(line[0]); int b = Integer.parseInt(line[1]); int c = Integer.parseInt(line[2]); double time = c + 0.5; int ...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: 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
u684648590|p03059|0
u684648590|p03059|0
codenet
Compile Error
410
v2_s423017305
s423017305
s423017305
p03059
p03059
u684648590
u684648590
1,556,415,841
2019-04-28T01:44:01
Main.java
public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); String[] line = sc.nextLine().split(" "); int a = Integer.parseInt(line[0]); int b = Integer.parseInt(line[1]); int c = Integer.parseInt(line[2]); double time = c + 0.5; doub...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: 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
u684648590|p03059|0
u684648590|p03059|0
codenet
Compile Error
433
v2_s215572838
s215572838
s215572838
p03059
p03059
u689946852
u689946852
1,556,413,697
2019-04-28T01:08:17
Main.java
public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scanner = new Scanner(System.in); String inputS = scanner.nextLine(); scanner.close(); String[] split = inputS.split(" "); Integer inA = Integer.parseInt(split[0]); Integer inB = Integer.parseI...
Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u689946852|p03059|0
u689946852|p03059|0
codenet
Compile Error
587
v2_s081075211
s081075211
s081075211
p03059
p03059
u689946852
u689946852
1,556,413,824
2019-04-28T01:10:24
Main.java
public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scanner = new Scanner(System.in); String inputS = scanner.nextLine(); scanner.close(); String[] split = inputS.split(" "); Integer inA = Integer.parseInt(split[0]); Integer inB = Integer.parse...
Main.java:6: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: 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
u689946852|p03059|0
u689946852|p03059|0
codenet
Compile Error
589
v2_s156557493
s156557493
s156557493
p03059
p03059
u689946852
u689946852
1,556,427,686
2019-04-28T05:01:26
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; import java.util.stream.Collectors; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scanner = new Scanner(System.in); String inputN = scanner.nextLine...
Main.java:29: error: cannot find symbol acm = calc(acm, inA.get(i)); ^ symbol: method calc(int,Integer) location: class Main Main.java:37: error: cannot find symbol acm = calc(acm, inA.get(i)); ^ symbol: method calc(int,Integer) location: class Main Main.java:67: error: cannot find s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u689946852|p03059|1
u689946852|p03059|0
codenet
Compile Error
1,512
v2_s899632955
s899632955
s899632955
p03059
p03059
u748479137
u748479137
1,558,321,741
2019-05-20T03:09:01
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner stdle = new Scanner(System.in); int A = stdle.nextInt(); int B = stdle.nextInt(); int T = stdle.nextInt(); int AT = T/A; int ans = AT * B; system.out.println(ans); ...
Main.java:12: error: package system does not exist system.out.println(ans); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u748479137|p03059|0
u748479137|p03059|0
codenet
Compile Error
326
v2_s532220870
s532220870
s532220870
p03059
p03059
u769524580
u769524580
1,556,958,353
2019-05-04T08:25:53
Main.java
import java.util.*; public class Main { public static void main(String[] args){ int time = Integer.parseInt(arg[2]) / Integer.parseInt(arg[0]); return time * Integer.parseInt(arg[1]); } }
Main.java:4: error: cannot find symbol int time = Integer.parseInt(arg[2]) / Integer.parseInt(arg[0]); ^ symbol: variable arg location: class Main Main.java:4: error: cannot find symbol int time = Integer.parseInt(arg[2]) / Integer.parseInt(arg[0]); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769524580|p03059|0
u769524580|p03059|0
codenet
Compile Error
193
v2_s550107913
s550107913
s550107913
p03059
p03059
u769524580
u769524580
1,556,958,438
2019-05-04T08:27:18
Main.java
import java.util.*; public class Main { public static void main(String[] args){ int time = Integer.parseInt(args[2]) / Integer.parseInt(args[0]); return time * Integer.parseInt(args[1]); } }
Main.java:5: error: incompatible types: unexpected return value return time * Integer.parseInt(args[1]); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769524580|p03059|0
u769524580|p03059|0
codenet
Compile Error
196
v2_s696560828
s696560828
s696560828
p03059
p03059
u772563415
u772563415
1,562,614,430
2019-07-08T19:33:50
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A=sc.nextInt(),B=sc.nextInt(),T=sc.nextInt(); System.out.println(T/A*B); } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u772563415|p03059|0
u772563415|p03059|0
codenet
Compile Error
187
v2_s494289776
s494289776
s494289776
p03059
p03059
u786004828
u786004828
1,557,762,469
2019-05-13T15:47:49
Solution.java
import java.util.*; import java.io.*; public class Solution{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] ABT = br.readLine().split(" "); System.out.println((T/A)*B); } }
Solution.java:8: error: cannot find symbol System.out.println((T/A)*B); ^ symbol: variable T location: class Solution Solution.java:8: error: cannot find symbol System.out.println((T/A)*B); ^ symbol: variable A location: class Solution Solution.java:8: error: cannot...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u786004828|p03059|0
u786004828|p03059|0
codenet
Compile Error
267