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_s650703795
s650703795
s650703795
p02711
p02711
u699628455
u699628455
1,587,573,150
2020-04-22T16:32:30
Main.java
import java.util.*; class Main{ static Scanner sc=new Scanner(System.in); public static void main(String[] args){ int N = sc.nextInt(); String ans = "No"; for(int i = 0;i<3;i++ ){ if((N%10)==7) { ans = "Yes"; break; else N = N/10; } ...
Main.java:11: error: 'else' without 'if' else ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699628455|p02711|1
u699628455|p02711|1
codenet
Compile Error
363
v2_s629781305
s629781305
s629781305
p02711
p02711
u706790394
u706790394
1,586,741,775
2020-04-13T01:36:15
Main.java
/* package codechef; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ public class Main { public static void main (String[] args) throws java.lang.Exception { boolean found = false; Scanner input = ...
Main.java:16: error: incompatible types: possible lossy conversion from long to int if(s.charAt(i)=='7'){ ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u706790394|p02711|0
u706790394|p02711|0
codenet
Compile Error
561
v2_s487905565
s487905565
s487905565
p02711
p02711
u707562002
u707562002
1,586,740,947
2020-04-13T01:22:27
Main.java
input java.util.Scanner; public static Main{ public static vid main(String args[]){ Scanner scn = new Scanner (System.in); int N = scn.nextint(); scn.close(); for(int i = 0;i<3;i++){ if(N.charAt(i) == 7){ System.out.println("Yes"); } } System.out.println("No"); }
Main.java:1: error: class, interface, enum, or record expected input java.util.Scanner; ^ Main.java:2: error: class, interface, enum, or record expected public static Main{ ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static vid main(String args[]){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02711|0
u707562002|p02711|0
codenet
Compile Error
309
v2_s061822539
s061822539
s061822539
p02711
p02711
u707562002
u707562002
1,586,742,027
2020-04-13T01:40:27
Main.java
input java.util.Scanner; public static Main{ public static vid main(String args[]){ Scanner scn = new Scanner (System.in); int N = scn.nextint(); scn.close(); int s; for(int i = 0 ; i<3 ; i++){ switch (N.charAt(i)) case 7 -> s += 1; default -> s += 0; }; if(s>=...
Main.java:1: error: class, interface, enum, or record expected input java.util.Scanner; ^ Main.java:2: error: class, interface, enum, or record expected public static Main{ ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static vid main(String args[]){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02711|0
u707562002|p02711|0
codenet
Compile Error
418
v2_s367049479
s367049479
s367049479
p02711
p02711
u707562002
u707562002
1,586,742,085
2020-04-13T01:41:25
Main.java
Input java.util.Scanner; public static Main{ public static void main(String args[]){ Scanner scn = new Scanner (System.in); int N = scn.nextint(); scn.close(); int s; for(int i = 0 ; i<3 ; i++){ switch (N.charAt(i)) case 7 -> s += 1; default -> s += 0; }; if(s>...
Main.java:1: error: class, interface, enum, or record expected Input java.util.Scanner; ^ Main.java:2: error: class, interface, enum, or record expected public static Main{ ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String args[]){ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02711|0
u707562002|p02711|0
codenet
Compile Error
420
v2_s413493209
s413493209
s413493209
p02711
p02711
u707562002
u707562002
1,586,742,151
2020-04-13T01:42:31
Main.java
import java.util.Scanner; public static Main{ public static void main(String[] args){ Scanner scn = new Scanner (System.in); int N = scn.nextint(); scn.close(); int s; for(int i = 0 ; i<3 ; i++){ switch (N.charAt(i)) case 7 -> s += 1; default -> s += 0; }; if(s...
Main.java:2: error: class, interface, enum, or record expected public static Main{ ^ Main.java:3: 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:9: error: '{' e...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02711|0
u707562002|p02711|0
codenet
Compile Error
421
v2_s555707228
s555707228
s555707228
p02711
p02711
u707562002
u707562002
1,586,742,189
2020-04-13T01:43:09
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner (System.in); int N = scn.nextint(); scn.close(); int s; for(int i = 0 ; i<3 ; i++){ switch (N.charAt(i)) case 7 -> s += 1; default -> s += 0; }; if(s>...
Main.java:9: error: '{' expected switch (N.charAt(i)) ^ Main.java:19: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02711|0
u707562002|p02711|0
codenet
Compile Error
420
v2_s076582063
s076582063
s076582063
p02711
p02711
u707562002
u707562002
1,586,742,527
2020-04-13T01:48:47
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int N = scn.nextInt(); scn.close(); int s; for(int i = 0; i<3 ; i++){ if(N.charAt(i) == 7){ s +=1; } } if(s>0){ System.out.println("Yes")...
Main.java:9: error: int cannot be dereferenced if(N.charAt(i) == 7){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02711|0
u707562002|p02711|0
codenet
Compile Error
376
v2_s892490767
s892490767
s892490767
p02711
p02711
u707562002
u707562002
1,586,742,662
2020-04-13T01:51:02
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int N = scn.nextInt(); scn.close(); int s; for(int i = 0; i<3 ; i++){ if(N.charAt(i) == '7'){ s +=1; } } if(s>0){ System.out.println("Yes...
Main.java:9: error: int cannot be dereferenced if(N.charAt(i) == '7'){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02711|0
u707562002|p02711|0
codenet
Compile Error
379
v2_s731786857
s731786857
s731786857
p02711
p02711
u707562002
u707562002
1,586,742,882
2020-04-13T01:54:42
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); String N = scn.next(); scn.close(); int s; for(int i = 0; i<3 ; i++){ if(N.charAt(i) == '7'){ s +=1; } } if(s>0){ System.out.println("Yes...
Main.java:10: error: variable s might not have been initialized s +=1; ^ Main.java:13: error: variable s might not have been initialized if(s>0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707562002|p02711|0
u707562002|p02711|0
codenet
Compile Error
379
v2_s723424132
s723424132
s723424132
p02711
p02711
u754835736
u754835736
1,586,891,377
2020-04-14T19:09:37
Main.java
import java.util.Scanner; class test{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); sc.close(); int N100 = N/100;//100のけた int N10 = (N/10)%10;// int N1 = N%10;//1のけた if(N1 == 7 || N10 == 7 || N100 == 7){ ...
Main.java:11: error: cannot find symbol System.out.printlm("Yes"); ^ symbol: method printlm(String) location: variable out of type PrintStream Main.java:13: error: cannot find symbol System.out.printlm("No"); ^ symbol: method printlm(String) locati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u754835736|p02711|0
u754835736|p02711|0
codenet
Compile Error
430
v2_s953569363
s953569363
s953569363
p02711
p02711
u764902390
u764902390
1,586,740,013
2020-04-13T01:06:53
Main.java
import java.util.*; import java.lang.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String N = scan.next(); for (int i = 0; i <= 2; i++){ char N = str.charAt(i); if(N=='7'){ System.out.println("Yes"); System.exit(0); } } System.ou...
Main.java:11: error: variable N is already defined in method main(String[]) char N = str.charAt(i); ^ Main.java:11: error: cannot find symbol char N = str.charAt(i); ^ symbol: variable str location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764902390|p02711|0
u764902390|p02711|0
codenet
Compile Error
341
v2_s776709701
s776709701
s776709701
p02711
p02711
u764902390
u764902390
1,586,740,295
2020-04-13T01:11:35
Main.java
import java.util.*; import java.lang.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String N = scan.next(); for (int i = 0; i <= 2; i++){ char N = str.charAt(i); if(N=='7'){ System.out.println("Yes"); System.exit(0); } } System.ou...
Main.java:11: error: variable N is already defined in method main(String[]) char N = str.charAt(i); ^ Main.java:11: error: cannot find symbol char N = str.charAt(i); ^ symbol: variable str location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764902390|p02711|0
u764902390|p02711|0
codenet
Compile Error
341
v2_s849162684
s849162684
s849162684
p02711
p02711
u766178458
u766178458
1,586,740,204
2020-04-13T01:10:04
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scannner sc = new Scanner(System.in); String s = sc.next(); if(s.charAt(0)=='7' || s.charAt(1) =='7' || s.charAt(2) == '7') System.out.println("Yes"); else System.out.println("No"); } }
Main.java:4: error: cannot find symbol Scannner sc = new Scanner(System.in); ^ symbol: class Scannner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u766178458|p02711|0
u766178458|p02711|0
codenet
Compile Error
297
v2_s154964095
s154964095
s154964095
p02711
p02711
u788489345
u788489345
1,586,739,849
2020-04-13T01:04:09
Main.java
public class Main { public static void main(String[] args) { // 3桁の整数 Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if (x % 10 == 7) { System.out.println("Yes"); return; } x = x / 10; if (x % 10 == 7) { System.out.println("Yes"); return; } x = x / 10; if (x == 7) { ...
Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u788489345|p02711|0
u788489345|p02711|0
codenet
Compile Error
407
v2_s268301296
s268301296
s268301296
p02711
p02711
u797718453
u797718453
1,587,122,807
2020-04-17T11:26:47
Lucky7.java
import java.util.*; public class Lucky7{ public static void main(String args[]) { Scanner in = new Scanner(System.in); String n = in.nextLine(); if(n.indexOf("7") < 0) { System.out.println("No"); } else { System.out.println("Yes"); } }
Lucky7.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u797718453|p02711|0
u797718453|p02711|0
codenet
Compile Error
285
v2_s470536495
s470536495
s470536495
p02711
p02711
u806756878
u806756878
1,587,025,666
2020-04-16T08:27:46
First.java
public class First{ public static void main(String []args){ Scanner s = new Scanner(System.in); int n = s.nextInt(); int rem = 0; while( n != 0){ rem = n % 10; `` if(rem == 7){ System.out.println("Yes"); ...
First.java:10: error: illegal character: '`' `` ^ First.java:10: error: illegal character: '`' `` ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u806756878|p02711|0
u806756878|p02711|0
codenet
Compile Error
416
v2_s650162843
s650162843
s650162843
p02711
p02711
u816631826
u816631826
1,595,126,218
2020-07-19T02:36:58
Main.java
//package com.company; import java.io.*; import java.util.*; //public class Giveaway { public class Main { // public static boolean getSum(int n) { int sum = 0; while (n != 0) { sum = n % 10; n = n/10; if(sum==7) return true; ...
Main.java:12: error: cannot find symbol while (n != 0) ^ symbol: variable n location: class Main Main.java:14: error: cannot find symbol sum = n % 10; ^ symbol: variable n location: class Main Main.java:15: error: cannot find symbol n = n/10; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p02711|2
u816631826|p02711|1
codenet
Compile Error
1,865
v2_s159353115
s159353115
s159353115
p02711
p02711
u825528219
u825528219
1,586,925,552
2020-04-15T04:39:12
Main.java
class Main{ public static void main(String[] args){ int N = Integer.parseInt(args[0]); boolean res = false; while(N){ int x = N%10; if(x==7){ res = true; break; } N/=10; } if(res) System.out.print("Yes"); ...
Main.java:5: error: incompatible types: int cannot be converted to boolean while(N){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825528219|p02711|0
u825528219|p02711|0
codenet
Compile Error
356
v2_s985153226
s985153226
s985153226
p02711
p02711
u825528219
u825528219
1,586,925,613
2020-04-15T04:40:13
Main.java
class Main{ public static void main(String[] args){ int N = Integer.parseInt(args[0]); boolean res = false; while(N>0){ int x = N%10; if(x==7){ res = true; break; } N/=10; } if(res) System.out.print("Yes"); ...
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825528219|p02711|0
u825528219|p02711|0
codenet
Compile Error
356
v2_s037938252
s037938252
s037938252
p02711
p02711
u825528219
u825528219
1,586,925,650
2020-04-15T04:40:50
Main.java
class Main{ public static void main(String[] args){ int N = Integer.parseInt(args[0]); boolean res = false; while(N){ int x = N%10; if(x==7){ res = true; break; } N/=10; } if(res) System.out.print("Yes"); ...
Main.java:5: error: incompatible types: int cannot be converted to boolean while(N){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u825528219|p02711|0
u825528219|p02711|0
codenet
Compile Error
356
v2_s723136283
s723136283
s723136283
p02711
p02711
u842525627
u842525627
1,587,323,434
2020-04-19T19:10:34
Main.java
public class Main { public static void main(String args[]) { Sacanner Sc=new Scanner(System.in); String s= Sc.next(); if(s.contains("7")) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:5: error: cannot find symbol Sacanner Sc=new Scanner(System.in); ^ symbol: class Sacanner location: class Main Main.java:5: error: cannot find symbol Sacanner Sc=new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u842525627|p02711|0
u842525627|p02711|0
codenet
Compile Error
233
v2_s113813514
s113813514
s113813514
p02711
p02711
u842525627
u842525627
1,587,323,619
2020-04-19T19:13:39
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Sacanner Sc=new Scanner(System.in); String s= Sc.next(); if(s.contains("7")) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:6: error: cannot find symbol Sacanner Sc=new Scanner(System.in); ^ symbol: class Sacanner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u842525627|p02711|0
u842525627|p02711|0
codenet
Compile Error
254
v2_s351464434
s351464434
s351464434
p02711
p02711
u849474742
u849474742
1,587,313,667
2020-04-19T16:27:47
Main.java
Scanner scan = new Scanner(System.in); int n = scna.nextInt(); if(n.indexOf("7") != -1){ System.out.println("YES"); } else { System.out.println("NO"); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner scan = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:3: error: class, interface, enum, or record expected if(n.indexOf("7") != -1){ ^ Main.java:5: error: class, interface, enum, or rec...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u849474742|p02711|0
u849474742|p02711|0
codenet
Compile Error
154
v2_s991673704
s991673704
s991673704
p02711
p02711
u849474742
u849474742
1,587,313,801
2020-04-19T16:30:01
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException{ Scanner scan = new Scanner(System.in); String str = scan.readLine(); if(str.contains("7")){ out.println("Yes"); }else{ out.println("No"); ...
Main.java:14: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u849474742|p02711|0
u849474742|p02711|0
codenet
Compile Error
354
v2_s926434380
s926434380
s926434380
p02711
p02711
u849474742
u849474742
1,587,313,848
2020-04-19T16:30:48
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException{ Scanner scan = new Scanner(System.in); String str = scan.readLine(); if(str.contains("7")){ out.println("Yes"); }...
Main.java:7: error: cannot find symbol String str = scan.readLine(); ^ symbol: method readLine() location: variable scan of type Scanner Main.java:9: error: cannot find symbol out.println("Yes"); ^ symbol: variable out location: class ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u849474742|p02711|0
u849474742|p02711|0
codenet
Compile Error
416
v2_s552906178
s552906178
s552906178
p02711
p02711
u860874998
u860874998
1,588,971,877
2020-05-08T21:04:37
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String N = sc.next(); int hundred=N/100; int ten=(N-hundred)/10; int one=(N-hundred-ten); if(one=7||ten=7||hundred=7){ System.out.println("YES");...
Main.java:8: error: bad operand types for binary operator '/' int hundred=N/100; ^ first type: String second type: int Main.java:9: error: bad operand types for binary operator '-' int ten=(N-hundred)/10; ^ first type: String second type: int Main.java:10: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02711|0
u860874998|p02711|0
codenet
Compile Error
374
v2_s959234622
s959234622
s959234622
p02711
p02711
u860874998
u860874998
1,588,971,934
2020-05-08T21:05:34
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 hundred=N/100; int ten=(N-hundred)/10; int one=(N-hundred-ten); if(one=7||ten=7||hundred=7){ System.out.println("YES");...
Main.java:12: error: bad operand types for binary operator '||' if(one=7||ten=7||hundred=7){ ^ first type: int second type: int Main.java:12: error: bad operand types for binary operator '||' if(one=7||ten=7||hundred=7){ ^ first type: int second type: int Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02711|0
u860874998|p02711|0
codenet
Compile Error
374
v2_s039190753
s039190753
s039190753
p02711
p02711
u860874998
u860874998
1,588,973,592
2020-05-08T21:33:12
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); Sring N[] = sc.next(); if(N[0]=='7' || N[1]=='7' || N[2]=='7'){ System.out.println("Yes");} else{ System.out.println("No");} } }
Main.java:6: error: cannot find symbol Sring N[] = sc.next(); ^ symbol: class Sring location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02711|0
u860874998|p02711|0
codenet
Compile Error
304
v2_s307470128
s307470128
s307470128
p02711
p02711
u860874998
u860874998
1,588,973,621
2020-05-08T21:33:41
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String N[] = sc.next(); if(N[0]=='7' || N[1]=='7' || N[2]=='7'){ System.out.println("Yes");} else{ System.out.println("No");} } }
Main.java:6: error: incompatible types: String cannot be converted to String[] String N[] = sc.next(); ^ Main.java:10: error: bad operand types for binary operator '==' if(N[0]=='7' || N[1]=='7' || N[2]=='7'){ ^ first type: String second type: char Main.java:10: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02711|0
u860874998|p02711|0
codenet
Compile Error
305
v2_s117840180
s117840180
s117840180
p02711
p02711
u860874998
u860874998
1,588,973,652
2020-05-08T21:34:12
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String N[] = sc.next(); if(N[0]='7' || N[1]='7' || N[2]='7'){ System.out.println("Yes");} else{ System.out.println("No");} } }
Main.java:6: error: incompatible types: String cannot be converted to String[] String N[] = sc.next(); ^ Main.java:10: error: bad operand types for binary operator '||' if(N[0]='7' || N[1]='7' || N[2]='7'){ ^ first type: char second type: String Main.java:10: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02711|0
u860874998|p02711|0
codenet
Compile Error
302
v2_s125329605
s125329605
s125329605
p02711
p02711
u860874998
u860874998
1,588,973,849
2020-05-08T21:37:29
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String []N = sc.next(); N=new String[3]; if(N[0]='7' || N[1]='7' || N[2]='7'){ System.out.println("Yes");} else{ System.out.println("No");...
Main.java:6: error: incompatible types: String cannot be converted to String[] String []N = sc.next(); ^ Main.java:11: error: bad operand types for binary operator '||' if(N[0]='7' || N[1]='7' || N[2]='7'){ ^ first type: char second type: String Main.java:11: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02711|0
u860874998|p02711|0
codenet
Compile Error
326
v2_s303782756
s303782756
s303782756
p02711
p02711
u860874998
u860874998
1,589,684,319
2020-05-17T02:58: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(); if(N.charAt(0)==7||N.charAt(1)==7||N.charAt(2)==7){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
Main.java:8: error: int cannot be dereferenced if(N.charAt(0)==7||N.charAt(1)==7||N.charAt(2)==7){ ^ Main.java:8: error: int cannot be dereferenced if(N.charAt(0)==7||N.charAt(1)==7||N.charAt(2)==7){ ^ Main.java:8: error: int cannot be dereferenced if(N.charAt(0)==7||N.charAt(1)==...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02711|1
u860874998|p02711|1
codenet
Compile Error
285
v2_s039784337
s039784337
s039784337
p02711
p02711
u860874998
u860874998
1,589,684,416
2020-05-17T03:00:16
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); if(N.charAt(0)=7||N.charAt(1)=7||N.charAt(2)=7){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
Main.java:8: error: int cannot be dereferenced if(N.charAt(0)=7||N.charAt(1)=7||N.charAt(2)=7){ ^ Main.java:8: error: int cannot be dereferenced if(N.charAt(0)=7||N.charAt(1)=7||N.charAt(2)=7){ ^ Main.java:8: error: int cannot be dereferenced if(N.charAt(0)=7||N.charAt(1)=7||N.char...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02711|1
u860874998|p02711|1
codenet
Compile Error
283
v2_s521336352
s521336352
s521336352
p02711
p02711
u860874998
u860874998
1,589,684,644
2020-05-17T03:04:04
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Integer oi = new Integer(N); String str = oi.toString(); if(str.charAt(0)=="7"||str.charAt(1)=="7"||str.charAt(2)=="7"){ System.out.println("Yes"); }else{ ...
Main.java:7: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal Integer oi = new Integer(N); ^ Main.java:10: error: bad operand types for binary operator '==' if(str.charAt(0)=="7"||str.charAt(1)=="7"||str.charAt(2)=="7"){ ^ first type: char...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02711|1
u860874998|p02711|1
codenet
Compile Error
359
v2_s435000919
s435000919
s435000919
p02711
p02711
u860874998
u860874998
1,589,684,679
2020-05-17T03:04: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(); Integer oi = new Integer(N); String str = oi.toString(); if(str.charAt(0)="7"||str.charAt(1)="7"||str.charAt(2)="7"){ System.out.println("Yes"); }else{ Sy...
Main.java:7: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal Integer oi = new Integer(N); ^ Main.java:10: error: unexpected type if(str.charAt(0)="7"||str.charAt(1)="7"||str.charAt(2)="7"){ ^ required: variable found: value Main.java:10:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02711|1
u860874998|p02711|1
codenet
Compile Error
356
v2_s276222271
s276222271
s276222271
p02711
p02711
u860874998
u860874998
1,589,684,824
2020-05-17T03:07:04
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Integer oi = new Integer(N); String str = oi.toString(); if((str.contains("7")){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
Main.java:10: error: ')' expected if((str.contains("7")){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02711|1
u860874998|p02711|1
codenet
Compile Error
319
v2_s280810003
s280810003
s280810003
p02711
p02711
u881848290
u881848290
1,587,095,115
2020-04-17T03:45:15
Main.java
import java.util.*; public class Main { //クラス名はMain public static void main(String[] args) { //整数の入力 Scanner sc = new Scanner(System.in); long n = Integer.parseint(sc.next()); long total = 0; for(long i=0; i<n; i++){ if(n / 3 == 0 || n / 5== 0 ){ }else{ tota...
Main.java:7: error: cannot find symbol long n = Integer.parseint(sc.next()); ^ symbol: method parseint(String) location: class Integer 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u881848290|p02711|0
u881848290|p02711|0
codenet
Compile Error
415
v2_s068409645
s068409645
s068409645
p02711
p02711
u897187629
u897187629
1,586,783,520
2020-04-13T13:12:00
Main.java
import java.util.Scanner; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); if(Integer.toString(n).contains("7")) { System.out.print("Yes"); return; } System.out.print("No"); }
Main.java:3: 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
u897187629|p02711|0
u897187629|p02711|0
codenet
Compile Error
293
v2_s715599917
s715599917
s715599917
p02711
p02711
u904497069
u904497069
1,586,741,240
2020-04-13T01:27:20
Main.java
import java.utils.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); long sum = 0; for(int i = 1; i <= N; i++){ if(i%3 == 0) continue; if(i%5 == 0) continue; sum += i; } System.o...
Main.java:1: error: package java.utils does not exist import java.utils.*; ^ 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); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u904497069|p02711|0
u904497069|p02711|0
codenet
Compile Error
342
v2_s324650972
s324650972
s324650972
p02711
p02711
u912953341
u912953341
1,586,739,866
2020-04-13T01:04:26
Main.java
#include<stdio.h> void main(){ int n; scanf("%d",&n); int flag = 0,rem = 0; while(n!=0){ rem = n%10; if(rem == 7){ printf("YES"); flag = 1; } n /=10; } if(flag == 0){ printf("NO"); } }
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:4: error: class, interface, enum, or record expected scanf("%d",&n); ^ Main.java:5: error: unnamed classes are a preview feature and are disabled by...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u912953341|p02711|0
u912953341|p02711|0
codenet
Compile Error
246
v2_s335585509
s335585509
s335585509
p02711
p02711
u913893102
u913893102
1,587,063,859
2020-04-16T19:04:19
Main.java
import java.io.util*; class Main { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int k=0; while(n>0) { int d=n%10; if(d==7){ k=1; System.out.println("Yes"); break; } else n/=10; } if...
Main.java:1: error: ';' expected import java.io.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u913893102|p02711|0
u913893102|p02711|0
codenet
Compile Error
364
v2_s306170412
s306170412
s306170412
p02711
p02711
u913893102
u913893102
1,587,063,919
2020-04-16T19:05:19
Main.java
import java.util*; class Main { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int k=0; while(n>0) { int d=n%10; if(d==7){ k=1; System.out.println("Yes"); break; } else n/=10; } if(k=...
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u913893102|p02711|0
u913893102|p02711|0
codenet
Compile Error
362
v2_s797435005
s797435005
s797435005
p02711
p02711
u915981080
u915981080
1,586,742,098
2020-04-13T01:41:38
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); while (N > 0) { if (N % 10 == 7) { System.out.println("Yes"); return; } N /= 10; } System.out.println("No"); } }
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
u915981080|p02711|0
u915981080|p02711|0
codenet
Compile Error
291
v2_s960640972
s960640972
s960640972
p02711
p02711
u944472700
u944472700
1,586,740,715
2020-04-13T01:18:35
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); if(str.contains("7")){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
Main.java:7: error: cannot find symbol if(str.contains("7")){ ^ symbol: variable str location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u944472700|p02711|0
u944472700|p02711|0
codenet
Compile Error
285
v2_s934594364
s934594364
s934594364
p02711
p02711
u944472700
u944472700
1,586,741,335
2020-04-13T01:28:55
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); if(sc.contains("7")){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
Main.java:7: error: cannot find symbol if(sc.contains("7")){ ^ symbol: method contains(String) location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u944472700|p02711|0
u944472700|p02711|0
codenet
Compile Error
284
v2_s400551489
s400551489
s400551489
p02711
p02711
u956440423
u956440423
1,586,740,224
2020-04-13T01:10:24
Main.java
public class Main { public static String solve(int in) { while (in > 0) { if(in % 10 == 7) return "YES"; in = in / 10; } return "NO"; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int in = sc.nextInt(); sc.close(); System.out.printl...
Main.java:11: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:11: 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
u956440423|p02711|0
u956440423|p02711|0
codenet
Compile Error
339
v2_s431734077
s431734077
s431734077
p02711
p02711
u964095451
u964095451
1,587,090,997
2020-04-17T02:36:37
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String N = sc.next(); if (N.contains("7")) { System.out.println("YES"); }else { System.out.println("NO"); } } } }
Main.java:16: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964095451|p02711|0
u964095451|p02711|0
codenet
Compile Error
294
v2_s315519102
s315519102
s315519102
p02711
p02711
u964095451
u964095451
1,587,091,557
2020-04-17T02:45:57
Main.java
import java.util.*; import static java.lang.System.*; public class Main { Scanner sc = new Scanner(System.in); public static void main(String[] args) { String N = sc.next(); if (N.contains("7")) { System.out.println("YES"); }else { System.out.println("NO"); } ...
Main.java:8: error: non-static variable sc cannot be referenced from a static context String N = sc.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964095451|p02711|0
u964095451|p02711|0
codenet
Compile Error
331
v2_s682375422
s682375422
s682375422
p02711
p02711
u964095451
u964095451
1,587,092,144
2020-04-17T02:55:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ int num =sc.nextInt(); boolean ans=false; for(int i=1;i<=3;i++){ if(num%10==7) ans=true; num=num/10; } if(ans){ System.out.print("Yes"); }else{ System.out.print("No"); } } ...
Main.java:5: error: cannot find symbol int num =sc.nextInt(); ^ symbol: variable sc location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964095451|p02711|0
u964095451|p02711|0
codenet
Compile Error
321
v2_s977964820
s977964820
s977964820
p02711
p02711
u973786052
u973786052
1,587,109,133
2020-04-17T07:38:53
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // write your code here Scanner scanner = new Scanner(System.in); int b = scanner.nextInt(); while(b > 0){ int c = b % 10; if(c == 7) { ...
Main.java:16: error: cannot find symbol ans = true; ^ symbol: variable ans location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u973786052|p02711|0
u973786052|p02711|0
codenet
Compile Error
541
v2_s168699635
s168699635
s168699635
p02712
p02712
u001317235
u001317235
1,586,926,845
2020-04-15T05:00:45
Main.java
import java.util.*; import java.lang.*; public class Main { public static void main(String[] args) { //コード Scanner scanner = new Scanner(System.in); int n = Integer.parseInt(scanner.next()); // 合計値 List<Integer> total = new ArrayList<Integer>(); for (int i =0; i <...
Main.java:21: error: cannot find symbol sum += i; ^ symbol: variable sum location: class Main Main.java:26: error: cannot find symbol System.out.println(sum); ^ symbol: variable sum location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u001317235|p02712|0
u001317235|p02712|0
codenet
Compile Error
594
v2_s523925012
s523925012
s523925012
p02712
p02712
u010987137
u010987137
1,587,842,858
2020-04-25T19:27:38
Main.java
package aBC162_2; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(Sysout.in); int N = sc.nextInt(); int[] a = new int[N]; int sum = 0; for (int i = 0; i < a.length; i++) { a[i] = i; } for (int i = 0; i < a.length; i++) { if (a[i] % ...
Main.java:8: error: cannot find symbol Scanner sc = new Scanner(Sysout.in); ^ symbol: variable Sysout location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u010987137|p02712|0
u010987137|p02712|0
codenet
Compile Error
407
v2_s861139701
s861139701
s861139701
p02712
p02712
u012999123
u012999123
1,586,740,836
2020-04-13T01:20:36
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n=sc.nextInt(); long s=0; for(int=1;i<n+1;i++){ if(i%3=!0&&i%5=!0){ s+=i; } } System.out.println(s); } }
Main.java:8: error: not a statement for(int=1;i<n+1;i++){ ^ Main.java:8: error: ';' expected for(int=1;i<n+1;i++){ ^ Main.java:8: error: not a statement for(int=1;i<n+1;i++){ ^ Main.java:8: error: ')' expected for(int=1;i<n+1;i++){ ^ Main.java:8: error: ';' expected ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u012999123|p02712|0
u012999123|p02712|0
codenet
Compile Error
250
v2_s015947888
s015947888
s015947888
p02712
p02712
u052509991
u052509991
1,586,878,684
2020-04-14T15:38:04
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { int n = in.nextInt(); int sum = 0; for (int i = 1; i <= n; i++) { if (i % 3 == 0 || i % 5 == 0) continue; sum += i; } ...
Main.java:7: error: cannot find symbol int n = in.nextInt(); ^ symbol: variable in location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u052509991|p02712|0
u052509991|p02712|0
codenet
Compile Error
354
v2_s897683103
s897683103
s897683103
p02712
p02712
u057671932
u057671932
1,595,856,031
2020-07-27T13:20:31
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); int N= keyboard.nextInt(); int ans = 0; for(int i = 1; i<N+1; i++){ if(i%15 !=0 || i%3 !=0 || i%5 !=0){ ans += i; } System.out.println(ans); keyboard.close(); } ...
Main.java:19: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u057671932|p02712|0
u057671932|p02712|0
codenet
Compile Error
322
v2_s169508233
s169508233
s169508233
p02712
p02712
u069651839
u069651839
1,586,740,745
2020-04-13T01:19:05
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; for (int i=1; i <= n; i++) { if (i%3 != 0 && i%5 != 0) { ans += i } } System.out.println(ans); } }
Main.java:9: error: ';' expected ans += i ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u069651839|p02712|0
u069651839|p02712|0
codenet
Compile Error
315
v2_s385578785
s385578785
s385578785
p02712
p02712
u073606136
u073606136
1,588,991,399
2020-05-09T02:29:59
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++){ if(i % 3 != 0 || i % 5 !=0 || i % 15 != 0){ sum += ...
Main.java:13: error: cannot find symbol System.out.prinlnt(sum); ^ symbol: method prinlnt(long) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p02712|0
u073606136|p02712|0
codenet
Compile Error
403
v2_s933055356
s933055356
s933055356
p02712
p02712
u129755525
u129755525
1,588,044,734
2020-04-28T03:32:14
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int N = in.nextInt(); BigInteger sum = new BigInteger("0"); for(int i = 1; i <= N; i++){ if((i%3!=0)&&(i%5!=0)){ BigInteger t = new...
Main.java:7: error: cannot find symbol BigInteger sum = new BigInteger("0"); ^ symbol: class BigInteger location: class Main Main.java:7: error: cannot find symbol BigInteger sum = new BigInteger("0"); ^ symbol: class BigInteger location: class Main Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u129755525|p02712|0
u129755525|p02712|0
codenet
Compile Error
450
v2_s059341265
s059341265
s059341265
p02712
p02712
u153302617
u153302617
1,586,740,346
2020-04-13T01:12:26
Main.java
public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { long N = sc.nextLong(); long sum = 0; for (long i = 1; i <= N; i++) { if(i%15 != 0 && i%3 != 0 && i%5 !=0){ sum += i; } } System...
Main.java:2: error: cannot find symbol static Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:2: error: cannot find symbol static Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u153302617|p02712|0
u153302617|p02712|0
codenet
Compile Error
348
v2_s979004375
s979004375
s979004375
p02712
p02712
u176982046
u176982046
1,586,746,786
2020-04-13T02:59:46
Main.java
class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long n = sc.nextInt(); long c = 0; for(long i=1;i<=n;i++){ if(0!=i%3 && 0!=i%5){ c = c + i; } } System.out.println(c); } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176982046|p02712|0
u176982046|p02712|0
codenet
Compile Error
314
v2_s466118157
s466118157
s466118157
p02712
p02712
u176982046
u176982046
1,586,747,238
2020-04-13T03:07:18
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(http://System.in); long n = sc.nextInt(); long c = 0; for(int i=1;i<=n;i++){ if(0!=i%3 && 0!=i%5){ c = c + i; } } System.out.pr...
Main.java:4: error: ')' or ',' expected Scanner sc = new Scanner(http://System.in); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u176982046|p02712|0
u176982046|p02712|0
codenet
Compile Error
340
v2_s223191862
s223191862
s223191862
p02712
p02712
u200587248
u200587248
1,586,745,205
2020-04-13T02:33:25
Main.java
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int N = scan.nextInt(); int total = 0; for(int i = 0; N == 0; N--){ if(N%3 == 0||N%5 == 0){ total += N; } System.out.print(total); } }
Main.java:9: error: illegal character: '\u3000' for(int i = 0;?N == 0; N--){ ^ Main.java:9: error: not a statement for(int i = 0;?N == 0; N--){ ^ Main.java:9: error: ';' expected for(int i = 0;?N == 0; N--){ ^ Main.java:15: error: reached ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u200587248|p02712|0
u200587248|p02712|0
codenet
Compile Error
314
v2_s302777258
s302777258
s302777258
p02712
p02712
u207845630
u207845630
1,586,741,734
2020-04-13T01:35:34
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(int i = 1;i < N+1;i++){ if(N % 3 != 0 && N % 5 != 0){ ans++; } } System.out.println(ans); } }
Main.java:6: error: incompatible types: int cannot be converted to Long Long ans = 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02712|0
u207845630|p02712|0
codenet
Compile Error
275
v2_s203319248
s203319248
s203319248
p02712
p02712
u217878966
u217878966
1,586,740,532
2020-04-13T01:15:32
atc2.java
import java.util.Scanner; public class atc2 { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int A = stdIn.nextInt() ; long ans = 0; for (int i = 0; i < A; i++) { if(i%3 ==0 || i%5 == 0); else ans += i ; } S...
atc2.java:16: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u217878966|p02712|0
u217878966|p02712|0
codenet
Compile Error
350
v2_s310878505
s310878505
s310878505
p02712
p02712
u236027776
u236027776
1,587,100,645
2020-04-17T05:17:25
test.java
import java.util.*; public class test { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int sum,i; for(i=1;i<=a;i++) if(i%3!=0&&i%5!=0) { sum+=i; } System.out.println(sum); }
test.java:12: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u236027776|p02712|0
u236027776|p02712|0
codenet
Compile Error
253
v2_s366576844
s366576844
s366576844
p02712
p02712
u236027776
u236027776
1,587,100,709
2020-04-17T05:18:29
test.java
import java.util.*; public class test { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int sum,i; for(i=1;i<=a;i++){ if(i%3!=0&&i%5!=0) { sum+=i; } } System.out.println(sum); } }
test.java:9: error: variable sum might not have been initialized sum+=i; ^ test.java:12: 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
u236027776|p02712|0
u236027776|p02712|0
codenet
Compile Error
269
v2_s751295680
s751295680
s751295680
p02712
p02712
u236027776
u236027776
1,587,100,738
2020-04-17T05:18:58
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 sum,i; for(i=1;i<=a;i++){ if(i%3!=0&&i%5!=0) { sum+=i; } } System.out.println(sum); } }
Main.java:9: error: variable sum might not have been initialized sum+=i; ^ Main.java:12: 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
u236027776|p02712|0
u236027776|p02712|0
codenet
Compile Error
269
v2_s402162199
s402162199
s402162199
p02712
p02712
u288718943
u288718943
1,586,745,605
2020-04-13T02:40:05
Main.java
import java.io.*; class FizzBuzz { public static void main(String[] args) throws IOException { InputStreamReader in = new InputStreamReader(System.in); BufferedReader reader = new BufferedReader(in); String line = reader.readLine(); int i = int.parseInt(line); for(int k = 1; k <= i; kk){
Main.java:8: error: class expected int i = int.parseInt(line); ^ Main.java:8: error: ';' expected int i = int.parseInt(line); ^ Main.java:8: error: not a statement int i = int.parseInt(line); ^ Main.java:8: error: ';' expected int i = int....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288718943|p02712|0
u288718943|p02712|0
codenet
Compile Error
320
v2_s402334091
s402334091
s402334091
p02712
p02712
u374018235
u374018235
1,586,826,070
2020-04-14T01:01:10
Main.java
import java.io.*; class Main { public static void main(String args[]) { String buf; int num; int ans; try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); buf = br.readLine(); num = Integer.parseInt(buf); ...
Main.java:14: error: illegal start of expression for(int i = 1; i < =num; i++){ ^ Main.java:21: error: 'catch' without 'try' } catch(Exception e) {} ^ Main.java:10: error: 'try' without 'catch', 'finally' or resource declarations try { ^ Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u374018235|p02712|0
u374018235|p02712|0
codenet
Compile Error
576
v2_s907621273
s907621273
s907621273
p02712
p02712
u374018235
u374018235
1,586,826,181
2020-04-14T01:03:01
Main.java
import java.io.*; class Main { public static void main(String args[]) { String buf; int num; int ans; try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); buf = br.readLine(); num = Integer.parseInt(buf); ...
Main.java:18: error: variable ans might not have been initialized ans += i; ^ Main.java:21: error: variable ans might not have been initialized System.out.println(Integer.toString(ans)); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u374018235|p02712|0
u374018235|p02712|0
codenet
Compile Error
610
v2_s237552272
s237552272
s237552272
p02712
p02712
u463844166
u463844166
1,587,162,591
2020-04-17T22:29:51
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N = sc.nextInt(); long data1[] = new int[N]; long total = 0; for (int i = 0 ; i < 15 ; i++ ) { data1[i] = i+1 ; } for (long i = 0 ; i < N ; i++ ) { if...
Main.java:9: error: incompatible types: possible lossy conversion from long to int long data1[] = new int[N]; ^ Main.java:9: error: incompatible types: int[] cannot be converted to long[] long data1[] = new int[N]; ^ Main.java:17: error: incompatible types: possible...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u463844166|p02712|0
u463844166|p02712|0
codenet
Compile Error
448
v2_s990813656
s990813656
s990813656
p02712
p02712
u497359350
u497359350
1,586,999,586
2020-04-16T01:13:06
Main.java
public static void main(String[] args) { // TODO Auto-generated method stub int sum=0; int N = new java.util.Scanner(System.in).nextInt(); for(int i = 0;i<N;i++){ if(i%3!=0&&i%5!=0)sum +=i; } System.out.println(sum); }
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
u497359350|p02712|0
u497359350|p02712|0
codenet
Compile Error
246
v2_s462409985
s462409985
s462409985
p02712
p02712
u527464150
u527464150
1,586,742,950
2020-04-13T01:55:50
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double a = sc.nextInt(); //int b = sc.nextInt(); double temp = 0; for(double i=1; i <= a ; i++) { if( !(i%3 == 0 || i%5 == 0 || i%15 == 0)){ ...
Main.java:14: error: cannot find symbol System.out.println(ceil(temp)); ^ symbol: method ceil(double) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u527464150|p02712|0
u527464150|p02712|0
codenet
Compile Error
414
v2_s079825841
s079825841
s079825841
p02712
p02712
u556589653
u556589653
1,597,356,847
2020-08-13T22:14:07
Main.java
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; long long int ans = 0; for (int i = 1; i <= n; i++){ if (i%3 == 0 || i%5 == 0){ ans = ans + i; } } cout << ans << 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:5: error: not a statement cin >> n; ^ Main.java:6: error: not a statement long long int ans = 0; ^ Main.java:6: error: not a stateme...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556589653|p02712|0
u556589653|p02712|0
codenet
Compile Error
221
v2_s593016994
s593016994
s593016994
p02712
p02712
u580835178
u580835178
1,586,743,525
2020-04-13T02:05:25
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long res = 0; for(int i = 1;i i<=n; i++){ if(i % 3 != 0 && i % 5 != 0){ res+= i; } } System.out.println(res); } }
Main.java:8: error: ';' expected for(int i = 1;i i<=n; i++){ ^ Main.java:8: error: not a statement for(int i = 1;i i<=n; i++){ ^ Main.java:8: error: ')' expected for(int i = 1;i i<=n; i++){ ^ Main.java:8: error: ';' expected f...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u580835178|p02712|0
u580835178|p02712|0
codenet
Compile Error
318
v2_s411152780
s411152780
s411152780
p02712
p02712
u588081069
u588081069
1,588,790,459
2020-05-06T18:40:59
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int result = 0; for (int i = 1; i < N + 1; i++) { if ((i % 15 == 0 || i % 3 == 0 || i % 5 == 0) { ...
Main.java:10: error: ')' expected if ((i % 15 == 0 || i % 3 == 0 || i % 5 == 0) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u588081069|p02712|0
u588081069|p02712|0
codenet
Compile Error
422
v2_s291425753
s291425753
s291425753
p02712
p02712
u595317536
u595317536
1,587,336,175
2020-04-19T22:42:55
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int sum = 0; for(int i = 1; i <= N; i++) { if(i % 3 == 0 || i % 5 == 0) { continue; } else { sum += i; } } System.out.println(sum); } }
Main.java:7: error: cannot find symbol for(int i = 1; i <= N; i++) { ^ symbol: variable N location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u595317536|p02712|0
u595317536|p02712|0
codenet
Compile Error
311
v2_s100377716
s100377716
s100377716
p02712
p02712
u641393644
u641393644
1,586,806,843
2020-04-13T19:40:43
Solution.java
public class Solution { public static void main(String[] args) { String line = StdIn.readLine(); int N = String.parseInt(line); int sum = 0; for (int i = 0; i <= N; i++){ if (! i%3 == 0) & (! i%5 == 0){ sum += i; } } System.out.println(sum) } }
Solution.java:8: error: illegal start of expression if (! i%3 == 0) & (! i%5 == 0){ ^ Solution.java:8: error: ';' expected if (! i%3 == 0) & (! i%5 == 0){ ^ Solution.java:12: error: ';' expected System.out.println(sum) ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u641393644|p02712|0
u641393644|p02712|0
codenet
Compile Error
318
v2_s118371674
s118371674
s118371674
p02712
p02712
u641393644
u641393644
1,586,806,872
2020-04-13T19:41:12
Solution.java
public class Solution { public static void main(String[] args) { String line = StdIn.readLine(); int N = String.parseInt(line); int sum = 0; for (int i = 0; i <= N; i++){ if (! i%3 == 0) & (! i%5 == 0){ sum += i; } } System.out.println(sum); } }
Solution.java:8: error: illegal start of expression if (! i%3 == 0) & (! i%5 == 0){ ^ Solution.java:8: error: ';' expected if (! i%3 == 0) & (! i%5 == 0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u641393644|p02712|0
u641393644|p02712|0
codenet
Compile Error
319
v2_s975141754
s975141754
s975141754
p02712
p02712
u641393644
u641393644
1,586,807,086
2020-04-13T19:44:46
Main.java
public static void main(String[] args) { String line = StdIn.readLine(); int N = String.parseInt(line); int sum = 0; for (int i = 0; i <= N; i++){ if ((i%3 != 0) & (i%5 != 0)){ sum += i; } } System.out.println(sum); }
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
u641393644|p02712|0
u641393644|p02712|0
codenet
Compile Error
292
v2_s331206358
s331206358
s331206358
p02712
p02712
u641393644
u641393644
1,586,807,202
2020-04-13T19:46:42
Main.java
public class Main { public static void main(String[] args) { String line = StdIn.readLine(); int N = String.parseInt(line); int sum = 0; for (int i = 0; i <= N; i++){ if (! i%3 == 0) & (! i%5 == 0){ sum += i; } } System.out.println(sum); } }
Main.java:9: error: illegal start of expression if (! i%3 == 0) & (! i%5 == 0){ ^ Main.java:9: error: ';' expected if (! i%3 == 0) & (! i%5 == 0){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u641393644|p02712|0
u641393644|p02712|0
codenet
Compile Error
316
v2_s989393946
s989393946
s989393946
p02712
p02712
u684494388
u684494388
1,598,068,559
2020-08-22T03:55:59
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner reader = new Scanner(System.in); int N = reader.nextInt(); int temp = 1; long jumlah = 0; while(temp<angka){ if(temp % 5 > 0 && temp % 3> 0){ jumlah = jumlah +...
Main.java:9: error: cannot find symbol while(temp<angka){ ^ symbol: variable angka location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u684494388|p02712|0
u684494388|p02712|0
codenet
Compile Error
431
v2_s271740384
s271740384
s271740384
p02712
p02712
u699628455
u699628455
1,586,743,365
2020-04-13T02:02:45
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long N = n; long m = 0 ; for(long i = 1;i=<N;i++){ if ((i%3)==0){} else if ((i%5)==0){} else{ m = m+i; } } System.out.println(m); } ...
Main.java:8: error: > or ',' expected for(long i = 1;i=<N;i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699628455|p02712|0
u699628455|p02712|0
codenet
Compile Error
324
v2_s886444187
s886444187
s886444187
p02712
p02712
u699628455
u699628455
1,587,573,444
2020-04-22T16:37:24
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 ans = 0; for(i=1;i<=n;i++){ if(((i%3)!=0)&&((i%5)!=0)) ans= ans+i; } System.out.println(ans); } }
Main.java:7: error: cannot find symbol for(i=1;i<=n;i++){ ^ symbol: variable i location: class Main Main.java:7: error: cannot find symbol for(i=1;i<=n;i++){ ^ symbol: variable i location: class Main Main.java:7: error: cannot find symbol for(i=1;i<=n;i++)...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699628455|p02712|1
u699628455|p02712|1
codenet
Compile Error
305
v2_s262155672
s262155672
s262155672
p02712
p02712
u699628455
u699628455
1,587,573,467
2020-04-22T16:37:47
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 ans = 0; for(int i=1;i<=n;i++){ if(((i%3)!=0)&&((i%5)!=0)) ans= ans+i; } System.out.println(ans); } }
Main.java:7: error: cannot find symbol for(int i=1;i<=n;i++){ ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699628455|p02712|1
u699628455|p02712|1
codenet
Compile Error
309
v2_s806788521
s806788521
s806788521
p02712
p02712
u729617972
u729617972
1,586,740,738
2020-04-13T01:18:58
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // write your code here Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long sum = 0; for(int i = 1 ; i <= n ; i++){ if((i % 3) != 0 && (i % 5) != 0){ sum...
Main.java:15: error: ';' expected System.out.println(sum)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u729617972|p02712|0
u729617972|p02712|0
codenet
Compile Error
393
v2_s505755637
s505755637
s505755637
p02712
p02712
u809407598
u809407598
1,586,740,086
2020-04-13T01:08:06
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); long cnt =0; for (long i = 1; i < N+1; i++) { if (i%3==0||i%5==0) { cnt += i; } System.out.println(cnt); sc.close(); } }
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p02712|0
u809407598|p02712|0
codenet
Compile Error
303
v2_s332973805
s332973805
s332973805
p02712
p02712
u860874998
u860874998
1,589,144,923
2020-05-10T21:08:43
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[] a=new int[N]; long sum=0; for(int i=0;i<N;i++){ if(a[i]%3==0){ a[i]="Fizz"; } else if(a[i]%5==0){ ...
Main.java:12: error: incompatible types: String cannot be converted to int a[i]="Fizz"; ^ Main.java:15: error: incompatible types: String cannot be converted to int a[i]="Buzz"; ^ Main.java:18: error: incompatible types: String cannot be converted to int a[i]="F...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02712|0
u860874998|p02712|0
codenet
Compile Error
575
v2_s804102906
s804102906
s804102906
p02712
p02712
u860874998
u860874998
1,589,685,382
2020-05-17T03:16:22
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 sum=0; for(int i=1;i<=N;i++){ if(!((i%3=0&&i%5=0)||(i%3=0)||(i%5=0))){ sum=sum+i; } } System.out.println(sum); } }
Main.java:10: error: unexpected type if(!((i%3=0&&i%5=0)||(i%3=0)||(i%5=0))){ ^ required: variable found: value Main.java:10: error: bad operand types for binary operator '&&' if(!((i%3=0&&i%5=0)||(i%3=0)||(i%5=0))){ ^ first type: int second type: int Main.java:10: error: unexp...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u860874998|p02712|1
u860874998|p02712|1
codenet
Compile Error
298
v2_s684466325
s684466325
s684466325
p02712
p02712
u881848290
u881848290
1,587,095,026
2020-04-17T03:43:46
Main.java
import java.util.*; public class Main { //クラス名はMain public static void main(String[] args) { //整数の入力 Scanner sc = new Scanner(System.in); long n = Integer.parseint(sc.next()); long total = 0; for(long i=0; i<n; i++){ if(n / 3 == 0 || n / 5 ){ }else{ total +=...
Main.java:18: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u881848290|p02712|0
u881848290|p02712|0
codenet
Compile Error
412
v2_s091182945
s091182945
s091182945
p02712
p02712
u881848290
u881848290
1,587,095,092
2020-04-17T03:44:52
Main.java
import java.util.*; public class Main { //クラス名はMain public static void main(String[] args) { //整数の入力 Scanner sc = new Scanner(System.in); long n = Integer.parseint(sc.next()); long total = 0; for(long i=0; i<n; i++){ if(n / 3 == 0 || n / 5 ){ }else{ total +=...
Main.java:7: error: cannot find symbol long n = Integer.parseint(sc.next()); ^ symbol: method parseint(String) location: class Integer Main.java:10: error: bad operand types for binary operator '||' if(n / 3 == 0 || n / 5 ){ ^ first type: boolean seco...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u881848290|p02712|0
u881848290|p02712|0
codenet
Compile Error
411
v2_s952714845
s952714845
s952714845
p02712
p02712
u909719760
u909719760
1,586,844,952
2020-04-14T06:15:52
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long s = 0; for (int i = 1;i <= n;i ++){ if (i % 3 != 0 && i # 5 != 0) s += i; } System.out.p...
Main.java:11: error: illegal character: '#' if (i % 3 != 0 && i # 5 != 0) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u909719760|p02712|0
u909719760|p02712|0
codenet
Compile Error
336
v2_s037480220
s037480220
s037480220
p02712
p02712
u911912079
u911912079
1,586,741,976
2020-04-13T01:39:36
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { FastScanner fs = new FastScanner(); int N = fs.nextInt(); String a[]= new String[N]; int ans=0; for(int i=0; i<N; i++){ if((i%3==0&&i%5==0)||(i%3==0)||(i%5==0)){ continue; }else{ ans +=a[i]; ...
Main.java:15: error: incompatible types: String cannot be converted to int ans +=a[i]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u911912079|p02712|0
u911912079|p02712|0
codenet
Compile Error
1,057
v2_s149727195
s149727195
s149727195
p02712
p02712
u911912079
u911912079
1,586,742,041
2020-04-13T01:40:41
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { FastScanner fs = new FastScanner(); int N = fs.nextInt(); String a[]= new String[N]; int ans=0; for(int i=0; i<N; i++){ if((i%3==0&&i%5==0)||(i%3==0)||(i%5==0)){ continue; }else{ ans +=int(a[i...
Main.java:15: error: '.class' expected ans +=int(a[i]); ^ Main.java:15: error: not a statement ans +=int(a[i]); ^ Main.java:15: error: ';' expected ans +=int(a[i]); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u911912079|p02712|0
u911912079|p02712|0
codenet
Compile Error
1,062
v2_s609276799
s609276799
s609276799
p02712
p02712
u944472700
u944472700
1,586,741,199
2020-04-13T01:26:39
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Long num = sc.nextInt(); Long sum = 0; for(int i = 0; i < num; i++){ if(i % 3 == 0){ }else if(i % 5 == 0){ }else{ sum = sum + i; } ...
Main.java:18: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u944472700|p02712|0
u944472700|p02712|0
codenet
Compile Error
373
v2_s285953174
s285953174
s285953174
p02712
p02712
u944472700
u944472700
1,586,743,224
2020-04-13T02:00:24
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Long num = sc.nextLong(); Long sum = 0L; for(Long i = 0L; i < num; i++){ if(i % 3 == 0){ }else{ if(i % 5 == 0){ }else{ sum = sum ...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u944472700|p02712|0
u944472700|p02712|0
codenet
Compile Error
391
v2_s628595255
s628595255
s628595255
p02713
p02713
u001317235
u001317235
1,590,190,659
2020-05-22T23:37:39
Main.java
mport java.util.*; public class Main { public static int gcd(int a, int b) { if(a < b) gcd(b, a); if(b == 0) return a; return gcd(b,a%b); } public static void main(String[] args) { //コード Scanner scanner = new Scanner(System.in); Integer K = Integer.parseInt(...
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
u001317235|p02713|1
u001317235|p02713|1
codenet
Compile Error
632
v2_s689446442
s689446442
s689446442
p02713
p02713
u003552316
u003552316
1,586,749,389
2020-04-13T03:43:09
Main.java
#include "bits/stdc++.h" using namespace std; typedef long long ll; // const ll INF = 1e18; # define rep(i, n) for(ll i=0, i##_len=(n); i<i##_len; ++i) # define reps(i, n) for(ll i=1, i##_len=(n); i<=i##_len; ++i) # define rrep(i, n) for(ll i=((int)(n)-1); i>=0; --i) # define rreps(i, n) for(ll i=((int)(n)); i>0; --i) ...
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: class, interface, enum, or record expected typedef long long ll; ^ Main.java:5: error: illegal character: '#' # define rep(i, n) fo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u003552316|p02713|0
u003552316|p02713|0
codenet
Compile Error
654
v2_s196576284
s196576284
s196576284
p02713
p02713
u016768375
u016768375
1,586,740,143
2020-04-13T01:09:03
Main.java
} } System.out.println(total); } static long gcd(long a, long b) { if (b == 0) return a; return gcd(b, a % b); } /*public static class comp implements Comparator<pair>{ public int compare(pair o1, pair o2){ return Long.valueOf(o1.diff).compareTo(Long.valueOf(o2.d...
Main.java:2: error: class, interface, enum, or record expected } ^ Main.java:5: error: class, interface, enum, or record expected } ^ Main.java:11: error: class, interface, enum, or record expected return gcd(b, a % b); ^ Main.java:12: error: class, interface, enum, or record expected } ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u016768375|p02713|0
u016768375|p02713|0
codenet
Compile Error
2,713