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_s450450760
s450450760
s450450760
p02693
p02693
u079120594
u079120594
1,588,477,319
2020-05-03T03:41:59
Main.java
class Main{ public static void main(String[] args) { int K = K(K % 8 == 0); if (number(K){ System.out.println("OK"); } else { System.out.println("NG"); } public static boolean number(int K) { return number K > 600 && K < 700; } } }
Main.java:6: error: ')' expected if (number(K){ ^ Main.java:11: error: illegal start of expression public static boolean number(int K) { ^ Main.java:12: error: ';' expected return number K > 600 && K < 700; ^ Main.java:12: error: not a statement return number ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u079120594|p02693|0
u079120594|p02693|0
codenet
Compile Error
285
v2_s042977311
s042977311
s042977311
p02693
p02693
u079120594
u079120594
1,588,477,487
2020-05-03T03:44:47
Main.java
class Main{ public static void main(String[] args) { int K = K(600, 700); if (K & 8 == 0){ System.out.println("OK"); } else { System.out.println("NG"); } public static boolean number(int K) { return number K > 600 && K < 700; } } }
Main.java:11: error: illegal start of expression public static boolean number(int K) { ^ Main.java:12: error: ';' expected return number K > 600 && K < 700; ^ Main.java:12: error: not a statement return number K > 600 && K < 700; ^ Main.java:15: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u079120594|p02693|0
u079120594|p02693|0
codenet
Compile Error
285
v2_s181608731
s181608731
s181608731
p02693
p02693
u079120594
u079120594
1,588,477,902
2020-05-03T03:51:42
Main.java
class Main{ public static void main(String[] args) { int K = K(600, 700); if (number(K)){ System.out.println("OK"); } else { System.out.println("NG"); } public static int K (int 600, int 700){ return K > 600 && K < 700; } public static boolean number(int K) { ...
Main.java:11: error: illegal start of expression public static int K (int 600, int 700){ ^ Main.java:11: error: <identifier> expected public static int K (int 600, int 700){ ^ Main.java:11: error: <identifier> expected public static int K (int 600, int 700){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u079120594|p02693|0
u079120594|p02693|0
codenet
Compile Error
364
v2_s372836330
s372836330
s372836330
p02693
p02693
u079120594
u079120594
1,588,478,442
2020-05-03T04:00:42
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int N=scanner.nextInt(); int M=scanner.nextInt(); int K=scanner.nextInt(); System.out.println((K/N*N)>=M?"OK":"NG"); } }
Main.java:5: error: cannot find symbol int N=scanner.nextInt(); ^ symbol: variable scanner location: class Main Main.java:6: error: cannot find symbol int M=scanner.nextInt(); ^ symbol: variable scanner location: class Main Main.java:7: error: cannot find symbol int K=scanner.nextInt()...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u079120594|p02693|0
u079120594|p02693|0
codenet
Compile Error
235
v2_s583173907
s583173907
s583173907
p02693
p02693
u098892085
u098892085
1,588,469,658
2020-05-03T01:34:18
Main.java
class Test { public static void main(String[] args) { int number= K; if(number>=100){ System.out.println("数学は100以上です"); }else if(number>=0){ System.out.println("数学は100未満50以上です。"); }else{ System.out.println("数学は50未満です。"); } } }
Main.java:5: error: cannot find symbol int number= K; ^ symbol: variable K location: class Test 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u098892085|p02693|0
u098892085|p02693|0
codenet
Compile Error
364
v2_s428069679
s428069679
s428069679
p02693
p02693
u121141596
u121141596
1,588,471,528
2020-05-03T02:05:28
Main.java
public class Main { static int K; static int A; static int B; static int a; static int b; public static void main(String[]args) { Scanner sc=new Scanner(System.in); K=sc.nextInt(); A=sc.nextInt(); B=sc.nextInt(); a=A/K; b=B/K; System.out.println("OK"); } }
Main.java:8: error: cannot find symbol Scanner sc=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol Scanner sc=new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u121141596|p02693|0
u121141596|p02693|0
codenet
Compile Error
278
v2_s283642465
s283642465
s283642465
p02693
p02693
u121141596
u121141596
1,588,471,945
2020-05-03T02:12:25
Main.java
public class Main { static int K; static int A; static int B; static int a; static int b; public static void main(String[]args) { Scanner sc=new Scanner(System.in); K=sc.nextInt(); A=sc.nextInt(); B=sc.nextInt(); a=A/K; b=B/K; if(a!=b||a==b&&A/K==0||a==b&&B/K==0) { System.out.println("OK"); } ...
Main.java:8: error: cannot find symbol Scanner sc=new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol Scanner sc=new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u121141596|p02693|0
u121141596|p02693|0
codenet
Compile Error
365
v2_s062137277
s062137277
s062137277
p02693
p02693
u125155118
u125155118
1,588,471,532
2020-05-03T02:05:32
Main.java
public static void main(String[] args) { Scanner scan = new Scanner(System.in); int K = scan.nextInt(); int A = scan.nextInt(); int B = scan.nextInt(); if (2*K) <= A && (2*K) >= B { System.out.print("OK"); }else{ System.out.print("NG"); } }
Main.java:7: error: not a statement if (2*K) <= A && (2*K) >= B { ^ 1 error printing javac parameters to: /w/javac.20261019_235109.args
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u125155118|p02693|0
u125155118|p02693|0
codenet
Compile Error
256
v2_s208231383
s208231383
s208231383
p02693
p02693
u191105810
u191105810
1,588,473,037
2020-05-03T02:30:37
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int K = sc.nextInt(); // スペース区切りの整数の入力 int A = sc.nextInt(); int B = sc.nextInt(); boolean canSuccess; for (int i = A; i <= B; i++) { canSuccess =...
Main.java:20: error: variable canSuccess might not have been initialized System.out.println(canSuccess ? "OK" : "NG"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u191105810|p02693|0
u191105810|p02693|0
codenet
Compile Error
512
v2_s008268885
s008268885
s008268885
p02693
p02693
u191105810
u191105810
1,588,473,123
2020-05-03T02:32:03
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int k = sc.nextInt(); // スペース区切りの整数の入力 int a = sc.nextInt(); int b = sc.nextInt(); boolean canSuccess; for (int i = a; i <= b; i++) { canSuccess =...
Main.java:20: error: variable canSuccess might not have been initialized System.out.println(canSuccess ? "OK" : "NG"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u191105810|p02693|0
u191105810|p02693|0
codenet
Compile Error
512
v2_s676027725
s676027725
s676027725
p02693
p02693
u208733542
u208733542
1,589,690,631
2020-05-17T04:43:51
Main.java
import scala.io.StdIn object Main extends App { val k = StdIn.readInt() val (a, b) = readIntPair val res = (a to b).exists(_ % k == 0) println(if (res) "OK" else "NG") def readIntPair: (Int, Int) = { val Array(x, y) = StdIn.readLine().split(" ").map(_.toInt) (x, y) } }
Main.java:1: error: ';' expected import scala.io.StdIn ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u208733542|p02693|0
u208733542|p02693|0
codenet
Compile Error
291
v2_s350338367
s350338367
s350338367
p02693
p02693
u241752770
u241752770
1,588,475,029
2020-05-03T03:03:49
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); int k = s.nextInt(); int a = s.nextInt(); int b = s.nextInt(); boolean ok = false; for(int i = a; i < b; i++){ if(k % i == 0){ ok = true; break; ...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u241752770|p02693|0
u241752770|p02693|0
codenet
Compile Error
436
v2_s860198594
s860198594
s860198594
p02693
p02693
u245434492
u245434492
1,588,494,164
2020-05-03T08:22:44
q1.java
public class q1 { public static void main(String[] args) { FastReader s = new FastReader(); int n = s.nextInt(); int a = s.nextInt(); int b = s.nextInt(); if(b-a >= n-1) System.out.println("OK"); else { if(a%n==0 || ((a/n)+1)*n > a && ((a/n)+1)*n <= b) System.out.println("OK"); ...
q1.java:21: error: cannot find symbol BufferedReader br; ^ symbol: class BufferedReader location: class FastReader q1.java:22: error: cannot find symbol StringTokenizer st; ^ symbol: class StringTokenizer location: class FastReader q1.java:26: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u245434492|p02693|0
u245434492|p02693|0
codenet
Compile Error
1,546
v2_s209594889
s209594889
s209594889
p02693
p02693
u246907970
u246907970
1,588,468,701
2020-05-03T01:18:21
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); for (i=b;i<=b+a;i++){ if (i>c){ break; } if (i % a = 0){ System.out.println("O...
Main.java:8: error: cannot find symbol for (i=b;i<=b+a;i++){ ^ symbol: variable i location: class Main Main.java:8: error: cannot find symbol for (i=b;i<=b+a;i++){ ^ symbol: variable i location: class Main Main.java:8: error: cannot find symbol for (i=b;i<=b+a;i++){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u246907970|p02693|0
u246907970|p02693|0
codenet
Compile Error
407
v2_s152440560
s152440560
s152440560
p02693
p02693
u246907970
u246907970
1,588,468,761
2020-05-03T01:19:21
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); for (int i=b;i<=b+a;i++){ if (i>c){ break; } if (i % a = 0){ System.out.printl...
Main.java:12: error: unexpected type if (i % a = 0){ ^ required: variable found: value 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u246907970|p02693|0
u246907970|p02693|0
codenet
Compile Error
412
v2_s962050891
s962050891
s962050891
p02693
p02693
u246907970
u246907970
1,588,470,795
2020-05-03T01:53:15
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); double targ = scan.nextDouble(); double first = 100.0; double rate = 1.01; double goal = Math.log((targ*(rate-1)/first+1))/Math.log(rate); double goal = Math.ceil(goal); Sys...
Main.java:9: error: variable goal is already defined in method main(String[]) double goal = Math.ceil(goal); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u246907970|p02693|0
u246907970|p02693|0
codenet
Compile Error
349
v2_s435046859
s435046859
s435046859
p02693
p02693
u251033110
u251033110
1,588,468,498
2020-05-03T01:14:58
Main.java
import java.util.*; class main{ public static void main(String args[]) { Scanner sc=new Scanner(System.in); int k=sc.nextInt(); int n=sc.nextInt(); int m=sc.nextInt(); for(int i=n;i<=m,;i++) { if(i%k==0){ System.out.println("OK"); break; } } } } ...
Main.java:13: error: ';' expected for(int i=n;i<=m,;i++) ^ Main.java:13: error: illegal start of expression for(int i=n;i<=m,;i++) ^ Main.java:13: error: ';' expected for(int i=n;i<=m,;i++) ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u251033110|p02693|0
u251033110|p02693|0
codenet
Compile Error
350
v2_s752877670
s752877670
s752877670
p02693
p02693
u334615307
u334615307
1,588,468,363
2020-05-03T01:12:43
Main.java
import java.util.*; public class Main{ static long maxx(int[] arr,int ind,int k){ if(ind==arr.length-1){ return 0; } if(aa[ind]!=-1){return aa[ind];} long maxs=0; for(int j=1;j<=k;j++){ if(ind+j>=arr.length){break;} maxs=Math.max( maxs, maxx(arr,ind+j,k )+Math.abs(arr[ind]-arr[ind+...
Main.java:8: error: cannot find symbol if(aa[ind]!=-1){return aa[ind];} ^ symbol: variable aa location: class Main Main.java:8: error: cannot find symbol if(aa[ind]!=-1){return aa[ind];} ^ symbol: variable aa location: class Main Main.java:14: error: cannot find sym...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334615307|p02693|0
u334615307|p02693|0
codenet
Compile Error
632
v2_s071781934
s071781934
s071781934
p02693
p02693
u345351125
u345351125
1,589,774,977
2020-05-18T04:09:37
Main.java
ort java.util.Scanner; public class Main { //クラス名はMain public static void main(String[] args) { Scanner in = new Scanner(System.in); int K = in.nextInt(); int A = in.nextInt(); int B = in.nextInt(); if (B/K - A/K >= 1) System.out.println("OK"); else ...
Main.java:1: error: class, interface, enum, or record expected ort java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345351125|p02693|0
u345351125|p02693|0
codenet
Compile Error
365
v2_s863805715
s863805715
s863805715
p02693
p02693
u383217711
u383217711
1,589,267,370
2020-05-12T07:09:30
Main.java
import java.util.Scanner; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int k,a,b; k=sc.nextInt(); a=sc.nextInt(); b=sc.nextInt(); boolean flag; for(int i=a;i<=b;i++){ if(i%k==0){ System.out.println("OK"); flag=false; b...
Main.java:18: error: variable flag might not have been initialized if(flag) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u383217711|p02693|0
u383217711|p02693|0
codenet
Compile Error
391
v2_s718104634
s718104634
s718104634
p02693
p02693
u406588655
u406588655
1,588,468,726
2020-05-03T01:18:46
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); if(a/k<b/k){ System.out.println("OK"); }else if(a==b&&a%x==0){ System.out.println("OK")...
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406588655|p02693|0
u406588655|p02693|0
codenet
Compile Error
373
v2_s653491078
s653491078
s653491078
p02693
p02693
u406588655
u406588655
1,588,469,090
2020-05-03T01:24:50
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); int flag=0; for( int i=a;i<=b;i++){ if(i%k==0){ flag++; } } if(flag<0){ ...
Main.java:17: error: package SYstem does not exist SYstem.out.println("NG"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406588655|p02693|0
u406588655|p02693|0
codenet
Compile Error
405
v2_s246605228
s246605228
s246605228
p02693
p02693
u442402514
u442402514
1,590,911,163
2020-05-31T07:46:03
App.java
import java.util.Scanner; public class App { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); boolean TF = false; for (int i = A; i <= B...
App.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u442402514|p02693|1
u442402514|p02693|1
codenet
Compile Error
552
v2_s375704130
s375704130
s375704130
p02693
p02693
u442402514
u442402514
1,590,911,227
2020-05-31T07:47:07
App.java
import java.util.Scanner; public class App { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); boolean TF = false; for (int i = A; i <= B...
App.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u442402514|p02693|1
u442402514|p02693|1
codenet
Compile Error
560
v2_s616001753
s616001753
s616001753
p02693
p02693
u442402514
u442402514
1,590,911,346
2020-05-31T07:49:06
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); boolean TF = false; for (int i = A; i <= ...
Main.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u442402514|p02693|1
u442402514|p02693|1
codenet
Compile Error
561
v2_s626530175
s626530175
s626530175
p02693
p02693
u532252958
u532252958
1,592,630,179
2020-06-20T05:16:19
greateroftwo.java
package collection; import java.util.*; public class greateroftwo { public static void main(String[]args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number you want"); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); if(C%7==0 && C<B&& C>A ) { ...
greateroftwo.java:14: error: ';' expected System.out.println("OK") ^ greateroftwo.java:18: error: ';' expected System.out.println("NG") ^ greateroftwo.java:19: error: reached end of file while parsing } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532252958|p02693|0
u532252958|p02693|0
codenet
Compile Error
440
v2_s703837533
s703837533
s703837533
p02693
p02693
u532252958
u532252958
1,592,630,589
2020-06-20T05:23:09
greateroftwo.java
package collection; import java.util.*; public class greateroftwo { public static void main(String[]args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number you want"); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); System.out.println("The number of d...
greateroftwo.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532252958|p02693|0
u532252958|p02693|0
codenet
Compile Error
366
v2_s764602386
s764602386
s764602386
p02693
p02693
u532252958
u532252958
1,592,630,725
2020-06-20T05:25:25
Main.java
package collection; import java.util.*; private class greateroftwo { public static void main(String[]args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number you want"); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); System.out.println("The number of ...
Main.java:3: error: modifier private not allowed here private class greateroftwo { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532252958|p02693|0
u532252958|p02693|0
codenet
Compile Error
370
v2_s382596973
s382596973
s382596973
p02693
p02693
u532252958
u532252958
1,592,630,794
2020-06-20T05:26:34
A.java
package collection; import java.util.*; public class A-We Love Golf { public static void main(String[]args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number you want"); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); System.out.println("The number o...
A.java:3: error: '{' expected public class A-We Love Golf ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532252958|p02693|0
u532252958|p02693|0
codenet
Compile Error
371
v2_s954615062
s954615062
s954615062
p02693
p02693
u532252958
u532252958
1,592,630,840
2020-06-20T05:27:20
A.java
package collection; import java.util.*; public class A-We Love Golf { public static void main(String[]args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number you want"); int a = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); System.out.println("The number o...
A.java:3: error: '{' expected public class A-We Love Golf ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532252958|p02693|0
u532252958|p02693|0
codenet
Compile Error
371
v2_s894859159
s894859159
s894859159
p02693
p02693
u532252958
u532252958
1,592,630,894
2020-06-20T05:28:14
A.java
package collection; import java.util.*; public class A{-We Love Golf { public static void main(String[]args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number you want"); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); System.out.println("The number ...
A.java:3: error: illegal start of type public class A{-We Love Golf ^ A.java:3: error: ';' expected public class A{-We Love Golf ^ A.java:3: error: <identifier> expected public class A{-We Love Golf ^ A.java:6: error: illegal start of expression publ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532252958|p02693|0
u532252958|p02693|0
codenet
Compile Error
372
v2_s524200771
s524200771
s524200771
p02693
p02693
u532252958
u532252958
1,592,630,935
2020-06-20T05:28:55
Main.java
package collection; import java.util.*; public class Main.extension. { public static void main(String[]args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number you want"); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); System.out.println("The number o...
Main.java:3: error: '{' expected public class Main.extension. ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532252958|p02693|0
u532252958|p02693|0
codenet
Compile Error
371
v2_s890911623
s890911623
s890911623
p02693
p02693
u532252958
u532252958
1,592,630,991
2020-06-20T05:29:51
Main.java
package collection; import java.util.*; public class Main.extension. { public static void main(String[]args) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number you want"); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); System.out.println("The number o...
Main.java:3: error: '{' expected public class Main.extension. ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532252958|p02693|0
u532252958|p02693|0
codenet
Compile Error
371
v2_s702518991
s702518991
s702518991
p02693
p02693
u532667821
u532667821
1,591,848,903
2020-06-11T04:15:03
Main.java
#include<stdio.h> int main(void){ int K, A, B; scanf("%d", &K); scanf("%d", &A); scanf("%d", &B); for(int i = 0; K <= B; i++){ K = K * i; if(K >= A && K <= B){ printf("OK"); break; } } if(K > B){ printf("NG"); } return 0; }
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:6: error: class, interface, enum, or record expected scanf("%d", &K); ^ Main.java:7: error: class, interface, enum, or record expected scanf("%d...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532667821|p02693|1
u532667821|p02693|1
codenet
Compile Error
320
v2_s449732297
s449732297
s449732297
p02693
p02693
u534918612
u534918612
1,588,791,381
2020-05-06T18:56:21
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner scn = new Scanner(System.in); int k=scn.nextInt(); int a=scn.nextInt(); int b=scn.nextInt(); for(a;a<b;a++){ if(a%k==0){ System.out.printf("OK\n"); ...
Main.java:9: error: not a statement for(a;a<b;a++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534918612|p02693|0
u534918612|p02693|0
codenet
Compile Error
391
v2_s738201402
s738201402
s738201402
p02693
p02693
u534918612
u534918612
1,588,791,433
2020-05-06T18:57:13
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner scn = new Scanner(System.in); int k=scn.nextInt(); int a=scn.nextInt(); int b=scn.nextInt(); for(a<b;a++){ if(a%k==0){ System.out.printf("OK\n"); ...
Main.java:9: error: > or ',' expected for(a<b;a++){ ^ Main.java:9: error: not a statement for(a<b;a++){ ^ Main.java:9: error: ';' expected for(a<b;a++){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u534918612|p02693|0
u534918612|p02693|0
codenet
Compile Error
390
v2_s554091122
s554091122
s554091122
p02693
p02693
u549562937
u549562937
1,588,468,404
2020-05-03T01:13:24
Main.java
import java.util.*; import java.math.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int k = in.nextInt(); int a; for(i = a; i <= b; i++) { if(i % k == 0) { System.out.println('OK'); break; } } ...
Main.java:12: error: unclosed character literal System.out.println('OK'); ^ Main.java:12: error: unclosed character literal System.out.println('OK'); ^ Main.java:12: error: not a statement System.out.println('OK'); ^ Main.java:16: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u549562937|p02693|0
u549562937|p02693|0
codenet
Compile Error
364
v2_s563282286
s563282286
s563282286
p02693
p02693
u549562937
u549562937
1,588,468,470
2020-05-03T01:14:30
Main.java
import java.util.*; import java.math.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int k = in.nextInt(); int a = in.nextInt(); int b = in.nextInt(); int a; for(i = a; i <= b; i++) { if(i % k == 0) { System.out.println('OK'); break; } } ...
Main.java:12: error: unclosed character literal System.out.println('OK'); ^ Main.java:12: error: unclosed character literal System.out.println('OK'); ^ Main.java:12: error: not a statement System.out.println('OK'); ^ Main.java:16: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u549562937|p02693|0
u549562937|p02693|0
codenet
Compile Error
364
v2_s267912848
s267912848
s267912848
p02693
p02693
u578245611
u578245611
1,588,469,352
2020-05-03T01:29:12
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int interest = 100; int year = 0; while (interest <= n){ interest = interest * 1.01; year += 1; if (i...
Main.java:9: error: incompatible types: possible lossy conversion from double to int interest = interest * 1.01; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u578245611|p02693|0
u578245611|p02693|0
codenet
Compile Error
448
v2_s625378605
s625378605
s625378605
p02693
p02693
u582610525
u582610525
1,588,568,285
2020-05-04T04:58:05
Main.java
package project; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int k=stdIn.nextInt(); int a=stdIn.nextInt(); int b=stdIn.nextInt(); int x=0; for(int i = a;i<=b;i++) { if(i%k==0) { x=1; break; } } if...
Main.java:27: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u582610525|p02693|0
u582610525|p02693|0
codenet
Compile Error
410
v2_s314836719
s314836719
s314836719
p02693
p02693
u603660397
u603660397
1,588,469,617
2020-05-03T01:33:37
Main.java
#include<stdio.h> int main(){ int k=0; int a=0; int b=0; int ans=1; scanf("%d",&k); scanf("%d %d",&a,&b); while(a!=b){ ans=a%k; a++; if(ans==0){ printf("OK"); return 0; } } printf("NG"); return 0; }
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:5: error: unnamed classes are a preview feature and are disabled by default. int a=0; ^ (use --enable-preview to enable unnamed classes) Main.java:8: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u603660397|p02693|0
u603660397|p02693|0
codenet
Compile Error
247
v2_s018353243
s018353243
s018353243
p02693
p02693
u605414386
u605414386
1,588,519,545
2020-05-03T15:25:45
Main.java
import java.util.Scanner; class sample{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); int c=sc.nextInt(); int d=a; while(d<c) { d=a*n; n++; System.out.println(d); if(d>=b&&d<=c) { System.out.println("Ok")...
Main.java:10: error: cannot find symbol d=a*n; ^ symbol: variable n location: class sample Main.java:11: error: cannot find symbol n++; ^ symbol: variable n location: class sample 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605414386|p02693|0
u605414386|p02693|0
codenet
Compile Error
421
v2_s082348864
s082348864
s082348864
p02693
p02693
u611852620
u611852620
1,588,468,394
2020-05-03T01:13:14
Main.java
/* * Remember a 6.72 student can know more than a 10.0 student. * Grades don't determine intelligence, they test obedience. * I Never Give Up. * I will become Candidate Master. * I will defeat Saurabh Anand. * Skills are Cheap,Passion is Priceless. * Obsession is necessary. * Author : Sameer Raj */ import jav...
Main.java:79: error: cannot find symbol new Thread(null,new ContestMain(),"Accepted",1<<26).start(); ^ symbol: class ContestMain location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u611852620|p02693|0
u611852620|p02693|0
codenet
Compile Error
6,199
v2_s066829143
s066829143
s066829143
p02693
p02693
u611852620
u611852620
1,588,468,415
2020-05-03T01:13:35
Main.java
/* * Remember a 6.72 student can know more than a 10.0 student. * Grades don't determine intelligence, they test obedience. * I Never Give Up. * I will become Candidate Master. * I will defeat Saurabh Anand. * Skills are Cheap,Passion is Priceless. * Obsession is necessary. * Author : Sameer Raj */ import jav...
Main.java:79: error: cannot find symbol new Thread(null,new ContestMain(),"Accepted",1<<26).start(); ^ symbol: class ContestMain location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u611852620|p02693|0
u611852620|p02693|0
codenet
Compile Error
6,192
v2_s888542807
s888542807
s888542807
p02693
p02693
u645203108
u645203108
1,588,510,116
2020-05-03T12:48:36
Main.java
public final class Main { public static void main(String[] args) throws IOException { try (var istr = new InputStreamReader(System.in); var br = new BufferedReader(istr)) { int k = Integer.parseInt(br.readLine()); var st = new StringTokenizer(br.readLine()); int a = Integer.parseInt(st.nextToken()); ...
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 try (var istr = new InputStreamReader(System.in); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u645203108|p02693|0
u645203108|p02693|0
codenet
Compile Error
515
v2_s723661651
s723661651
s723661651
p02693
p02693
u669763196
u669763196
1,588,468,860
2020-05-03T01:21:00
Main.java
import java.lang.*; import java.util.*; import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); int k=Integer.parseInt(bf.readLine()); String[] s=bf.readLine().split(" "); int a=Integer.pa...
Main.java:18: error: > or ',' expected else if(a%k=<b%k){ ^ Main.java:19: error: ';' expected System.out.println("OK"): ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u669763196|p02693|0
u669763196|p02693|0
codenet
Compile Error
638
v2_s010684510
s010684510
s010684510
p02693
p02693
u669763196
u669763196
1,588,468,895
2020-05-03T01:21:35
Main.java
import java.lang.*; import java.util.*; import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); int k=Integer.parseInt(bf.readLine()); String[] s=bf.readLine().split(" "); int a=Integer.pa...
Main.java:18: error: > or ',' expected else if(a%k=<b%k){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u669763196|p02693|0
u669763196|p02693|0
codenet
Compile Error
639
v2_s251108986
s251108986
s251108986
p02693
p02693
u674879574
u674879574
1,588,474,224
2020-05-03T02:50:24
Main.java
import java.io.*; import java.util.*; public class Main { public static int check(int A,int B,int N) { Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int [] arr= ne int[N]; for(int i=0;i<N;i++) { arr[i]=sc.nextInt(); } for(int i=0;i<N;i++) ...
Main.java:11: error: ';' expected int [] arr= ne int[N]; ^ Main.java:11: error: ']' expected int [] arr= ne int[N]; ^ Main.java:11: error: ';' expected int [] arr= ne int[N]; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u674879574|p02693|0
u674879574|p02693|0
codenet
Compile Error
549
v2_s235276702
s235276702
s235276702
p02693
p02693
u674879574
u674879574
1,588,474,260
2020-05-03T02:51:00
Main.java
import java.io.*; import java.util.*; public class Main { public static int check(int A,int B,int N) { Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int [] arr= new int[N]; for(int i=0;i<N;i++) { arr[i]=sc.nextInt(); } for(int i=0;i<N;i++) ...
Main.java:10: error: variable N is already defined in method check(int,int,int) int N=sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u674879574|p02693|0
u674879574|p02693|0
codenet
Compile Error
550
v2_s546043687
s546043687
s546043687
p02693
p02693
u699628455
u699628455
1,588,468,333
2020-05-03T01:12:13
Main.java
import java.util.*; class Main{ static Scanner sc=new Scanner(System.in); public static void main(String[] args){ int N = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); if((B-A+1)>=K) System.out.println("OK"); else System.out.println("NG"); ...
Main.java:8: error: cannot find symbol if((B-A+1)>=K) ^ symbol: variable K location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699628455|p02693|0
u699628455|p02693|0
codenet
Compile Error
327
v2_s941806718
s941806718
s941806718
p02693
p02693
u707932716
u707932716
1,588,469,383
2020-05-03T01:29:43
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner scan1 = new Scanner(System.in); int str1 = scan1.nextInt(); Scanner scan2 = new Scanner(System.in); int str2 = scan2.nextInt(); int str3 = scan2.nextInt(); String re...
Main.java:15: error: ';' expected result="OK" ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707932716|p02693|0
u707932716|p02693|0
codenet
Compile Error
517
v2_s022170919
s022170919
s022170919
p02693
p02693
u707932716
u707932716
1,588,469,941
2020-05-03T01:39:01
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner scan1 = new Scanner(System.in); int str1 = scan1.nextInt(); Scanner scan2 = new Scanner(System.in); int str2 = scan2.nextInt(); int str3 = scan2.nextInt(); String re...
Main.java:15: error: ';' expected result="OK" ^ Main.java:27: error: class, interface, enum, or record expected import java.util.Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707932716|p02693|0
u707932716|p02693|0
codenet
Compile Error
1,049
v2_s465776236
s465776236
s465776236
p02693
p02693
u728468951
u728468951
1,588,468,838
2020-05-03T01:20:38
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { FastReader fs = new FastReader(); int k = fs.nextInt(); int A = fs.nextInt(); int B = fs.nextI...
Main.java:14: error: unexpected type if(B - A =1>= k){ ^ required: variable found: value 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u728468951|p02693|0
u728468951|p02693|0
codenet
Compile Error
1,644
v2_s008910101
s008910101
s008910101
p02693
p02693
u741792973
u741792973
1,588,469,827
2020-05-03T01:37:07
Main.java
import java.util.*; public class Main{ public static void main(String []args){ Scanner sc=new Scanner(System.in); int t=100; int sum=0; int k=sc.nextInt(); while(t<k){ t= t+floor(t*0.01); sum++; } System.out.println(sum); } }
Main.java:9: error: cannot find symbol t= t+floor(t*0.01); ^ symbol: method floor(double) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u741792973|p02693|0
u741792973|p02693|0
codenet
Compile Error
276
v2_s920525550
s920525550
s920525550
p02693
p02693
u767682383
u767682383
1,589,429,288
2020-05-14T04:08:08
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); if (b >=a) { System.out.println("OK"); }else { System.out.println("NG"); } sc.close();
Main.java:14: error: reached end of file while parsing sc.close(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u767682383|p02693|0
u767682383|p02693|0
codenet
Compile Error
301
v2_s598643188
s598643188
s598643188
p02693
p02693
u767682383
u767682383
1,589,429,304
2020-05-14T04:08:24
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); int maxb = (b/k)*k; if (maxb >=a) { System.out.println("OK"); }else { System.out.println("NG"); } sc.cl...
Main.java:15: error: reached end of file while parsing sc.close(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u767682383|p02693|0
u767682383|p02693|0
codenet
Compile Error
326
v2_s948425888
s948425888
s948425888
p02693
p02693
u769291367
u769291367
1,594,591,866
2020-07-12T22:11:06
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextint(); int y = sc.nextInt(); int z = sc.nextInt(); int result = y % 10; int result1 = z % 10; if(x == result) System.out.println("OK"); ...
Main.java:7: error: cannot find symbol int x = sc.nextint(); ^ symbol: method nextint() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02693|0
u769291367|p02693|0
codenet
Compile Error
469
v2_s054997156
s054997156
s054997156
p02693
p02693
u775532147
u775532147
1,588,468,705
2020-05-03T01:18:25
Solution.java
public class Solution{ public static void main(String[] args){ Scanner input = new Scanner(System.in); int k = input.nextInt(); int a = input.nextInt(); int b = input.nextInt(); input.close(); int mod = b % a; if(mode >= k) System.out.println("OK"); else System.out.println("NG"); ...
Solution.java:3: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Solution Solution.java:3: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Solution Solution...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u775532147|p02693|0
u775532147|p02693|0
codenet
Compile Error
325
v2_s424197691
s424197691
s424197691
p02693
p02693
u775532147
u775532147
1,588,468,753
2020-05-03T01:19:13
Main.java
class Solution{ public static void main(String[] args){ Scanner input = new Scanner(System.in); int k = input.nextInt(); int a = input.nextInt(); int b = input.nextInt(); input.close(); int mod = b % a; if(mod >= k) System.out.println("OK"); else System.out.println("NG"); } }
Main.java:3: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Solution Main.java:3: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Solution 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u775532147|p02693|0
u775532147|p02693|0
codenet
Compile Error
318
v2_s675649942
s675649942
s675649942
p02693
p02693
u793380652
u793380652
1,591,891,219
2020-06-11T16:00:19
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); final int k = sc.nextInt(), a = sc.nextInt(), b = sc.nextInt(); if(a % k == 0 || b % k == 0){ System.out.println("OK"); }else{ if(b/k - a/k == 0 System.ou...
Main.java:11: error: ')' expected if(b/k - a/k == 0 ^ Main.java:13: error: 'else' without 'if' }else{ ^ Main.java:18: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u793380652|p02693|0
u793380652|p02693|0
codenet
Compile Error
403
v2_s425967642
s425967642
s425967642
p02693
p02693
u799710027
u799710027
1,590,212,969
2020-05-23T05:49:29
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int k = Integer.parseInt(reader.readLine()); String[] s = reader.readLine().split(" "); int a = Inte...
Main.java:15: error: variable flag might not have been initialized boolean flag = flag; ^ Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown int k = Integer.parseInt(reader.readLine()); ^ Main.java:8: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u799710027|p02693|0
u799710027|p02693|0
codenet
Compile Error
781
v2_s919616038
s919616038
s919616038
p02693
p02693
u799710027
u799710027
1,590,213,036
2020-05-23T05:50:36
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int k = Integer.parseInt(reader.readLine()); String[] s = reader.readLine().split(" "); int a = Inte...
Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown int k = Integer.parseInt(reader.readLine()); ^ Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown String[] s = reader.readLine().split...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u799710027|p02693|0
u799710027|p02693|0
codenet
Compile Error
783
v2_s497995255
s497995255
s497995255
p02693
p02693
u799710027
u799710027
1,590,213,072
2020-05-23T05:51:12
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int k = Integer.parseInt(reader.readLine()); String[] s = reader.readLine().split(" ...
Main.java:5: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u799710027|p02693|0
u799710027|p02693|0
codenet
Compile Error
802
v2_s318061009
s318061009
s318061009
p02693
p02693
u848412537
u848412537
1,588,468,984
2020-05-03T01:23:04
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); int a = Integer.parseInt(sc.next()); int b = Integer.parseInt(sc.next()); int c = Integer.parseInt(sc.next()); Str...
Main.java:54: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u848412537|p02693|0
u848412537|p02693|0
codenet
Compile Error
1,599
v2_s158490101
s158490101
s158490101
p02693
p02693
u860874998
u860874998
1,588,968,848
2020-05-08T20:14:08
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int K = sc.nextInt(); // スペース区切りの整数の入力 int A = sc.nextInt(); int B = sc.nextInt(); int largest=(B/K)*K if(largest>A){ System.out.println("OK"); } el...
Main.java:10: error: ';' expected int largest=(B/K)*K ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02693|0
u860874998|p02693|0
codenet
Compile Error
410
v2_s269540994
s269540994
s269540994
p02693
p02693
u860874998
u860874998
1,588,968,928
2020-05-08T20:15:28
Main.java
mport java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int K = sc.nextInt(); // スペース区切りの整数の入力 int A = sc.nextInt(); int B = sc.nextInt(); int largest=(B/K)*K; if(largest>A){ System.out.println("OK"); } e...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02693|0
u860874998|p02693|0
codenet
Compile Error
410
v2_s441401470
s441401470
s441401470
p02693
p02693
u860874998
u860874998
1,589,084,288
2020-05-10T04:18:08
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int X = sc.nextInt(); int money=100; for(int i=0;i<100000;i++){ money=money*1.01; i=i+1; if(money>=X){ break; } } ...
Main.java:10: error: incompatible types: possible lossy conversion from double to int money=money*1.01; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02693|1
u860874998|p02693|1
codenet
Compile Error
340
v2_s093613656
s093613656
s093613656
p02693
p02693
u860874998
u860874998
1,589,085,369
2020-05-10T04:36:09
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int X = sc.nextInt(); double money=100;  int s=0; while(money<X){ money+=money/100; s++; } System.out.println{s}; ...
Main.java:8: error: illegal character: '\u3000' ?int s=0; ^ Main.java:15: error: not a statement System.out.println{s}; ^ Main.java:15: error: ';' expected System.out.println{s}; ^ Main.java:15: error: not a statement System.out.println{s}; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02693|1
u860874998|p02693|1
codenet
Compile Error
341
v2_s002406082
s002406082
s002406082
p02693
p02693
u860874998
u860874998
1,589,511,960
2020-05-15T03:06:00
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); int c=b%k; int d=b-k; if(x<=d){ System.out.println("Yes"); }else{ System.out.println("No"); } ...
Main.java:13: error: cannot find symbol if(x<=d){ ^ symbol: variable x location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02693|2
u860874998|p02693|2
codenet
Compile Error
325
v2_s154067215
s154067215
s154067215
p02693
p02693
u860874998
u860874998
1,589,512,340
2020-05-15T03:12:20
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); boolean flag=false; for(int i=a;i<=b;i++){ if(i%k==0){ flag=true; breal; } } if(flag){ ...
Main.java:14: error: not a statement breal; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02693|2
u860874998|p02693|2
codenet
Compile Error
412
v2_s556103790
s556103790
s556103790
p02693
p02693
u868996139
u868996139
1,588,474,922
2020-05-03T03:02:02
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int k = scan.nextInt(); int a = scan.nextInt(); int b = scan.nextInt(); for(int i = a; i <= b; i++){ if(i % k == 0){ System.out.println("OK"); break; ...
Main.java:16: error: cannot find symbol if(i == b) ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u868996139|p02693|0
u868996139|p02693|0
codenet
Compile Error
400
v2_s454491724
s454491724
s454491724
p02693
p02693
u868996139
u868996139
1,588,474,983
2020-05-03T03:03:03
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int k = scan.nextInt(); int a = scan.nextInt(); int b = scan.nextInt(); int c; for(int i = a; i <= b; i++){ if(i % k == 0){ System.out.println("OK"); ...
Main.java:15: error: ';' expected c = i ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u868996139|p02693|0
u868996139|p02693|0
codenet
Compile Error
419
v2_s820355385
s820355385
s820355385
p02693
p02693
u868996139
u868996139
1,588,475,023
2020-05-03T03:03:43
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int k = scan.nextInt(); int a = scan.nextInt(); int b = scan.nextInt(); int c; for(int i = a; i <= b; i++){ if(i % k == 0){ System.out.println("OK"); ...
Main.java:17: error: variable c might not have been initialized if(c == b) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u868996139|p02693|0
u868996139|p02693|0
codenet
Compile Error
420
v2_s157722862
s157722862
s157722862
p02693
p02693
u887962467
u887962467
1,588,470,426
2020-05-03T01:47:06
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); if(k > b){ System.out.prinln("NG"); System.exit(0); } ...
Main.java:9: error: cannot find symbol System.out.prinln("NG"); ^ symbol: method prinln(String) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u887962467|p02693|0
u887962467|p02693|0
codenet
Compile Error
740
v2_s518873200
s518873200
s518873200
p02693
p02693
u887962467
u887962467
1,588,553,905
2020-05-04T00:58:25
Main.java
import java.util.*/; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in) int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); if(b-b%k > a || b-b%k == a){ System.out.println("OK"); } else{ ...
Main.java:1: error: ';' expected import java.util.*/; ^ Main.java:4: error: ';' expected Scanner sc = new Scanner(System.in) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u887962467|p02693|1
u887962467|p02693|1
codenet
Compile Error
381
v2_s425959315
s425959315
s425959315
p02693
p02693
u887962467
u887962467
1,588,553,934
2020-05-04T00:58:54
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in) int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); if(b-b%k > a || b-b%k == a){ System.out.println("OK"); } else{ ...
Main.java:4: error: ';' expected Scanner sc = new Scanner(System.in) ^ Main.java:16: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u887962467|p02693|1
u887962467|p02693|1
codenet
Compile Error
381
v2_s240664394
s240664394
s240664394
p02693
p02693
u897436032
u897436032
1,588,468,480
2020-05-03T01:14:40
ABC_165_Solution.java
public class ABC_165_Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); for(int i = A; i <= B; i++) { if (i % k == 0) { Sy...
ABC_165_Solution.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class ABC_165_Solution ABC_165_Solution.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner lo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u897436032|p02693|0
u897436032|p02693|0
codenet
Compile Error
430
v2_s413208071
s413208071
s413208071
p02693
p02693
u897436032
u897436032
1,588,469,328
2020-05-03T01:28:48
Main.java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); for(int i = A; i <= B; i++) { if (i % k == 0) { System.out.print("OK"); ...
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
u897436032|p02693|0
u897436032|p02693|0
codenet
Compile Error
392
v2_s836818974
s836818974
s836818974
p02693
p02693
u897436032
u897436032
1,588,469,352
2020-05-03T01:29:12
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); for(int i = A; i <= B; i++) { if (i % k == 0) { System.out.pri...
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
u897436032|p02693|0
u897436032|p02693|0
codenet
Compile Error
418
v2_s559831669
s559831669
s559831669
p02693
p02693
u899530879
u899530879
1,588,468,739
2020-05-03T01:18:59
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int K = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); boolean f = false; for(i=A; i<B; i++) { if(i%K == 0) { f = true; ...
Main.java:10: error: cannot find symbol for(i=A; i<B; i++) { ^ symbol: variable i location: class Main Main.java:10: error: cannot find symbol for(i=A; i<B; i++) { ^ symbol: variable i location: class Main Main.java:10: error: cannot find symbol for(i=A; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u899530879|p02693|0
u899530879|p02693|0
codenet
Compile Error
450
v2_s166633801
s166633801
s166633801
p02693
p02693
u925103765
u925103765
1,588,468,291
2020-05-03T01:11:31
Main.java
import javafx.beans.binding.StringBinding; import java.io.*; import java.util.*; public class Main { static PrintWriter out = new PrintWriter(System.out); static Scanner sc = new Scanner(System.in); static BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); long[] res; Ar...
Main.java:1: error: package javafx.beans.binding does not exist import javafx.beans.binding.StringBinding; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925103765|p02693|0
u925103765|p02693|0
codenet
Compile Error
732
v2_s559536097
s559536097
s559536097
p02693
p02693
u946307989
u946307989
1,588,798,389
2020-05-06T20:53:09
Main.java
import java.util.*; public class Main(){ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int k = scanner.nextInt(); int a = scanner.nextInt(); int b = scanner.nextInt(); int mulValue = 1; while(k < b){ if(a <= k && k <== b){ System.out....
Main.java:2: error: '{' expected public class Main(){ ^ Main.java:12: error: illegal start of expression if(a <= k && k <== b){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u946307989|p02693|0
u946307989|p02693|0
codenet
Compile Error
424
v2_s141088650
s141088650
s141088650
p02693
p02693
u946307989
u946307989
1,588,798,422
2020-05-06T20:53:42
Main.java
import java.util.*; public class Main(){ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int k = scanner.nextInt(); int a = scanner.nextInt(); int b = scanner.nextInt(); int mulValue = 1; while(k < b){ if(a <= k && k <= b){ System.out.p...
Main.java:2: error: '{' expected public class Main(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u946307989|p02693|0
u946307989|p02693|0
codenet
Compile Error
423
v2_s948085183
s948085183
s948085183
p02693
p02693
u967508551
u967508551
1,588,468,414
2020-05-03T01:13:34
Main.java
import org.omg.CORBA.INTERNAL; import java.io.*; import java.math.*; import java.util.*; import java.lang.*; public class Main implements Runnable { static class InputReader { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar; private int numChars...
Main.java:1: error: package org.omg.CORBA does not exist import org.omg.CORBA.INTERNAL; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u967508551|p02693|0
u967508551|p02693|0
codenet
Compile Error
5,284
v2_s938933062
s938933062
s938933062
p02693
p02693
u980607863
u980607863
1,588,468,409
2020-05-03T01:13:29
Main.java
import java.util*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); String ans = (k <= b-a) ? "OK" : "NG"; System.out.println(ans); } }
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u980607863|p02693|0
u980607863|p02693|0
codenet
Compile Error
277
v2_s743514466
s743514466
s743514466
p02693
p02693
u986012965
u986012965
1,588,470,457
2020-05-03T01:47:37
Main.java
import java.util.Scanner; public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int K = scanner.nextInt(); int A = scanner.nextInt(); int B = scanner.nextInt(); for(; A <= B; A++) { if(K % A == 0) { System.out.println("OK"); System.exit(0); } } System.out.println(...
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) Main.java:20: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u986012965|p02693|0
u986012965|p02693|0
codenet
Compile Error
339
v2_s268006896
s268006896
s268006896
p02693
p02693
u987637902
u987637902
1,596,905,348
2020-08-08T16:49:08
Main.java
# ABC165 # We Love Golf K = int(input()) A, B = map(int, input().split()) for x in range(A,B+1): if x % K == 0: if x >= A: if x <= B: print('OK') exit() print('NG')
Main.java:1: error: illegal character: '#' # ABC165 ^ Main.java:2: error: illegal character: '#' # We Love Golf ^ Main.java:2: error: class, interface, enum, or record expected # We Love Golf ^ Main.java:9: error: unclosed character literal print('OK') ^ Main.java:9: error: un...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u987637902|p02693|0
u987637902|p02693|0
codenet
Compile Error
221
v2_s269582728
s269582728
s269582728
p02693
p02693
u988842764
u988842764
1,588,469,283
2020-05-03T01:28:03
Main.java
public static void main(String[] args) { try(Scanner scanner = new Scanner(System.in)){ Integer K = scanner.nextInt(); Integer A = scanner.nextInt(); Integer B = scanner.nextInt(); int a = A / K; if (B > (a+1) * K || A == B) { System.out.println("OK"); } else { System.out.println("NG"); ...
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
u988842764|p02693|0
u988842764|p02693|0
codenet
Compile Error
357
v2_s110612030
s110612030
s110612030
p02693
p02693
u988842764
u988842764
1,588,469,306
2020-05-03T01:28:26
Main.java
try(Scanner scanner = new Scanner(System.in)){ Integer K = scanner.nextInt(); Integer A = scanner.nextInt(); Integer B = scanner.nextInt(); int a = A / K; if (B > (a+1) * K || A == B) { System.out.println("OK"); } else { System.out.println("NG"); } } catch(Exception e) { }
Main.java:1: error: class, interface, enum, or record expected try(Scanner scanner = new Scanner(System.in)){ ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. Integer A = scanner.nextInt(); ^ (use --enable-preview to enable unnamed classes) Main.java:8: error: class, ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u988842764|p02693|0
u988842764|p02693|0
codenet
Compile Error
311
v2_s775072450
s775072450
s775072450
p02693
p02693
u990035912
u990035912
1,588,483,839
2020-05-03T05:30:39
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); if(n%2==0) { int a = n / 2-1; int b = a + 1; for (int i = 0; i < m; i++) { ...
Main.java:34: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u990035912|p02693|1
u990035912|p02693|0
codenet
Compile Error
681
v2_s009776370
s009776370
s009776370
p02694
p02694
u004932113
u004932113
1,588,473,243
2020-05-03T02:34:03
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); //X入力 int X = stdIn.nextInt(); int money = 100; int num = 0; for (int i =0 ; i < X; i++){ money = (money / 100) * 101; num = num + 1; if(money >= x ) break; } ...
Main.java:17: error: cannot find symbol if(money >= x ) ^ symbol: variable x location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u004932113|p02694|0
u004932113|p02694|0
codenet
Compile Error
357
v2_s821933873
s821933873
s821933873
p02694
p02694
u016768375
u016768375
1,588,468,459
2020-05-03T01:14:19
Main.java
#include<bits/stdc++.h> using namespace std; #define ll long long int #define ld long double int main() { ld n; cin>>n; ld x=100.0; ll count=0; while(x<n){ x=(x+(0.01*x)); ll p=x; x=p; count++; } cout<<count<<endl; }
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 int ^ 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
u016768375|p02694|0
u016768375|p02694|0
codenet
Compile Error
216
v2_s997598280
s997598280
s997598280
p02694
p02694
u033621652
u033621652
1,590,535,034
2020-05-26T23:17:14
Main.java
public class Main { public static void main(String[] args) { Scanner yomi = new Scanner(System.in); int a = yomi.nextInt(); int b=100; for(int i=1;b<a;i++){ b=(int)(b*0.01); if (a<=b) System.out.println(i); } } }
Main.java:4: error: cannot find symbol Scanner yomi = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner yomi = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u033621652|p02694|0
u033621652|p02694|0
codenet
Compile Error
287
v2_s658579806
s658579806
s658579806
p02694
p02694
u044982943
u044982943
1,589,230,137
2020-05-11T20:48:57
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(new File(System.in); long X = scan.nextLong(); int year= 0; long money=100; System.out.println(X); while(money<X){ money= (long) (money*1.01...
Main.java:5: error: ')' or ',' expected Scanner scan = new Scanner(new File(System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u044982943|p02694|0
u044982943|p02694|0
codenet
Compile Error
396
v2_s362552927
s362552927
s362552927
p02694
p02694
u121141596
u121141596
1,588,473,061
2020-05-03T02:31:01
Main.java
import java.util.Scanner; public class Main { static long X; static int m=0; static long a=100; static boolean n=true; public static void main(String[]args) { Scanner sc=new Scanner(System.in); X=sc.nextLong(); while(X>=a) { m=m+1; a=a/100+a; } System.out.println(m); }
Main.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u121141596|p02694|0
u121141596|p02694|0
codenet
Compile Error
292
v2_s944628446
s944628446
s944628446
p02694
p02694
u141303274
u141303274
1,589,795,280
2020-05-18T09:48:00
Main.java
/** * 1%. */ public class Main { public static void main(String[] args) { var scanner = new Scanner(System.in); var x = Long.parseLong(scanner.next()); var deposit = 100L; var year = 0; while (deposit < x) { deposit += deposit * 0.01; year++; ...
Main.java:6: error: cannot find symbol var scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u141303274|p02694|0
u141303274|p02694|0
codenet
Compile Error
366
v2_s655308895
s655308895
s655308895
p02694
p02694
u166727624
u166727624
1,588,474,938
2020-05-03T03:02:18
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long X = sc.nextLong(); long a = 100; for(long i = 0; i < X;i++){ a = a * 1.01; if(a >= X){ System.out.print(i +...
Main.java:9: error: incompatible types: possible lossy conversion from double to long a = a * 1.01; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u166727624|p02694|0
u166727624|p02694|0
codenet
Compile Error
384
v2_s930056715
s930056715
s930056715
p02694
p02694
u191105810
u191105810
1,588,473,594
2020-05-03T02:39:54
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int X = sc.nextInt(); int year = 0; int money = 100; while(i < X) { money = money * 1.1; i++; } // 出力 System.ou...
Main.java:10: error: cannot find symbol while(i < X) { ^ symbol: variable i location: class Main Main.java:11: error: incompatible types: possible lossy conversion from double to int money = money * 1.1; ^ Main.java:12: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u191105810|p02694|0
u191105810|p02694|0
codenet
Compile Error
355
v2_s568735676
s568735676
s568735676
p02694
p02694
u191105810
u191105810
1,588,473,636
2020-05-03T02:40: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(); int year = 0; int money = 100; while(money < X) { money = money * 1.1; i++; } // 出力 Syste...
Main.java:11: error: incompatible types: possible lossy conversion from double to int money = money * 1.1; ^ Main.java:12: error: cannot find symbol i++; ^ symbol: variable i location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u191105810|p02694|0
u191105810|p02694|0
codenet
Compile Error
359
v2_s959869618
s959869618
s959869618
p02694
p02694
u191105810
u191105810
1,588,473,665
2020-05-03T02:41:05
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int X = sc.nextInt(); int year = 0; int money = 100; while(money < X) { money = money * 1.1; money++; } // 出力 S...
Main.java:11: error: incompatible types: possible lossy conversion from double to int money = money * 1.1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u191105810|p02694|0
u191105810|p02694|0
codenet
Compile Error
363