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_s967875798
s967875798
s967875798
p02629
p02629
u327827520
u327827520
1,592,849,390
2020-06-22T18:09:50
Main.java
import java.util.Scanner; import java.util.Stack; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N = sc.nextInt(); int N_copy = N; String[] alphabet = {"a","b","c","d","e","f","g","h","i","j","k","l", "m","n","o","p"...
Main.java:9: error: incompatible types: possible lossy conversion from long to int int N_copy = N; ^ Main.java:15: error: incompatible types: possible lossy conversion from long to int int remain = N%26; ^ Main.java:23: error: incompatible types: possib...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u327827520|p02629|0
u327827520|p02629|0
codenet
Compile Error
872
v2_s402432728
s402432728
s402432728
p02629
p02629
u367937268
u367937268
1,592,793,591
2020-06-22T02:39:51
Main.java
/*package whatever //do not write package name here */ import java.util.*; import java.lang.*; import java.io.*; class Main { public static void main (String[] args) { // System.out.println("GfG!"); Scanner input=new Scanner(System.in); long n=input.nextLong(); long[] a=new long[n]; long...
Main.java:11: error: incompatible types: possible lossy conversion from long to int long[] a=new long[n]; ^ Main.java:15: error: incompatible types: possible lossy conversion from long to int a[i]=input.nextLong(); ^ Main.java:16: error: incompatible types: poss...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367937268|p02629|0
u367937268|p02629|0
codenet
Compile Error
1,447
v2_s965004642
s965004642
s965004642
p02629
p02629
u367937268
u367937268
1,592,793,632
2020-06-22T02:40:32
Main.java
/*package whatever //do not write package name here */ import java.util.*; import java.lang.*; import java.io.*; class Main { public static void main (String[] args) { // System.out.println("GfG!"); Scanner input=new Scanner(System.in); long n=input.nextLong(); long[] a=new long[n]; long...
Main.java:11: error: incompatible types: possible lossy conversion from long to int long[] a=new long[n]; ^ Main.java:15: error: incompatible types: possible lossy conversion from long to int a[i]=input.nextLong(); ^ Main.java:16: error: incompatible types: poss...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u367937268|p02629|0
u367937268|p02629|0
codenet
Compile Error
1,447
v2_s504621894
s504621894
s504621894
p02629
p02629
u369841816
u369841816
1,593,236,411
2020-06-27T05:40:11
Main.java
import java.util.*; class Main { static Scanner scan = new Scanner(System.in); public static void main(String[] args) { long N = scan.long(); System.out.println(dogName(N)); } private static String dogName(long N) { String ans = ""; long temp = N; while(temp > 0) { tem...
Main.java:5: error: <identifier> expected long N = scan.long(); ^ Main.java:5: error: ';' expected long N = scan.long(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369841816|p02629|0
u369841816|p02629|0
codenet
Compile Error
478
v2_s077433975
s077433975
s077433975
p02629
p02629
u369841816
u369841816
1,593,236,490
2020-06-27T05:41:30
Main.java
import java.util.*; class Main { static Scanner scan = new Scanner(System.in); public static void main(String[] args) { long N = scan.nextlong(); System.out.println(dogName(N)); } private static String dogName(long N) { String ans = ""; long temp = N; while(temp > 0) { ...
Main.java:5: error: cannot find symbol long N = scan.nextlong(); ^ symbol: method nextlong() location: variable scan of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369841816|p02629|0
u369841816|p02629|0
codenet
Compile Error
482
v2_s428050379
s428050379
s428050379
p02629
p02629
u381518904
u381518904
1,592,889,974
2020-06-23T05:26:14
Main.java
import java.util.*; import java.util.Collections; public class Main { public static void main(String[] args){ Scanner sc = null; sc = new Scanner(System.in); long N = sc.nextLong(); String ans = ""; while(N > 0){ ans = (char)('a' + (N%26-1) + ans; N /= 26; } ...
Main.java:11: error: ')' expected ans = (char)('a' + (N%26-1) + ans; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u381518904|p02629|0
u381518904|p02629|0
codenet
Compile Error
357
v2_s326221045
s326221045
s326221045
p02629
p02629
u406588655
u406588655
1,592,792,811
2020-06-22T02:26:51
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); int i = 0,j; int tmp = n; while(true){ i++; if(tmp<=(int)Math.pow(26,i)){ break; }else{ tmp-=(int)Math...
Main.java:7: error: incompatible types: possible lossy conversion from long to int int tmp = n; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406588655|p02629|0
u406588655|p02629|0
codenet
Compile Error
689
v2_s402993879
s402993879
s402993879
p02629
p02629
u406588655
u406588655
1,592,793,229
2020-06-22T02:33:49
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); int i = 0,j; long tmp = n; while(true){ i++; if(tmp<=(int)Math.pow(26,i)){ break; }else{ tmp-=(int)Mat...
Main.java:14: error: not a statement tmp/26; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406588655|p02629|0
u406588655|p02629|0
codenet
Compile Error
697
v2_s789457858
s789457858
s789457858
p02629
p02629
u417506212
u417506212
1,592,789,752
2020-06-22T01:35:52
Main.java
public class Main { public static void main(String[] args) { // 読み込み Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long div = N; int mod = 0; List<Integer> list = new ArrayList<>(); while(true) { mod = (int) (div % 26); div = div / 26; list.add(mod); if(div =...
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 Main.java:12: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u417506212|p02629|0
u417506212|p02629|0
codenet
Compile Error
1,767
v2_s051018363
s051018363
s051018363
p02629
p02629
u418991820
u418991820
1,592,788,767
2020-06-22T01:19:27
AC_171_C.java
public class AC_171_C { public static void main(String args[]) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); long n=Long.parseLong(br.readLine()); char a[]=new char[27]; for(int i=1;i<=26;++i) a[i]=(char)(i-1+'a'); ...
AC_171_C.java:2: error: cannot find symbol public static void main(String args[]) throws IOException { ^ symbol: class IOException location: class AC_171_C AC_171_C.java:3: error: cannot find symbol BufferedReader br=new BufferedReader(new InputStreamR...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u418991820|p02629|0
u418991820|p02629|0
codenet
Compile Error
532
v2_s194837799
s194837799
s194837799
p02629
p02629
u462253630
u462253630
1,592,793,539
2020-06-22T02:38: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(); result(n); } public static void result(long n) { if (n <= 26) { print(n); } else if (n < 702) { print(n/26); ...
Main.java:31: error: 'else' without 'if' } else if (n == 12356630){ ^ Main.java:36: error: 'else' without 'if' } else if (n == 321272406){ ^ Main.java:41: error: integer number too large } else if (n == 8353082582){ ^ Main.java:41: error: 'else' without 'if' ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u462253630|p02629|0
u462253630|p02629|0
codenet
Compile Error
1,412
v2_s555661727
s555661727
s555661727
p02629
p02629
u462253630
u462253630
1,592,793,572
2020-06-22T02:39:32
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); result(n); } public static void result(long n) { if (n <= 26) { print(n); } else if (n < 702) { print(n/26); ...
Main.java:31: error: 'else' without 'if' } else if (n == 12356630){ ^ Main.java:36: error: 'else' without 'if' } else if (n == 321272406){ ^ Main.java:41: error: integer number too large } else if (n == 8353082582){ ^ Main.java:41: error: 'else' without 'if' ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u462253630|p02629|0
u462253630|p02629|0
codenet
Compile Error
1,412
v2_s659490059
s659490059
s659490059
p02629
p02629
u476466364
u476466364
1,592,822,044
2020-06-22T10:34:04
cf.java
import javafx.util.Pair; import java.util.*; /* NOTES: -more than 10 digits (10^10), use long -prefix sum of 1's and -1's to control flow of highlighting a region -log(a)/log(b) = log base b of a -create a position array if trying to see if elements show up next to each other sequentially i.e. elements 1,2,3 are with...
cf.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u476466364|p02629|0
u476466364|p02629|0
codenet
Compile Error
3,045
v2_s002386232
s002386232
s002386232
p02629
p02629
u476466364
u476466364
1,592,822,125
2020-06-22T10:35:25
cf.java
import javafx.util.Pair; import java.util.*; /* NOTES: -more than 10 digits (10^10), use long -prefix sum of 1's and -1's to control flow of highlighting a region -log(a)/log(b) = log base b of a -create a position array if trying to see if elements show up next to each other sequentially i.e. elements 1,2,3 are with...
cf.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u476466364|p02629|0
u476466364|p02629|0
codenet
Compile Error
3,045
v2_s070372675
s070372675
s070372675
p02629
p02629
u476466364
u476466364
1,592,822,186
2020-06-22T10:36:26
Main.java
import javafx.util.Pair; import java.util.*; /* NOTES: -more than 10 digits (10^10), use long -prefix sum of 1's and -1's to control flow of highlighting a region -log(a)/log(b) = log base b of a -create a position array if trying to see if elements show up next to each other sequentially i.e. elements 1,2,3 are with...
Main.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u476466364|p02629|0
u476466364|p02629|0
codenet
Compile Error
3,047
v2_s423722037
s423722037
s423722037
p02629
p02629
u499381410
u499381410
1,593,543,720
2020-06-30T19:02:00
Main.java
import org.omg.PortableInterceptor.SYSTEM_EXCEPTION; import java.lang.reflect.Array; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ArrayList<Character> arr = new ArrayList<Character>(); long x = sc.nextLong(); ...
Main.java:1: error: package org.omg.PortableInterceptor does not exist import org.omg.PortableInterceptor.SYSTEM_EXCEPTION; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u499381410|p02629|0
u499381410|p02629|0
codenet
Compile Error
573
v2_s300374339
s300374339
s300374339
p02629
p02629
u580126681
u580126681
1,592,792,548
2020-06-22T02:22:28
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long n = sc.nextLong(); String alpa = Arrays.asList("","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"); ...
Main.java:9: error: incompatible types: no instance(s) of type variable(s) T exist so that List<T> conforms to String String alpa = Arrays.asList("","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"); ^ where T is a type-va...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u580126681|p02629|0
u580126681|p02629|0
codenet
Compile Error
581
v2_s563692386
s563692386
s563692386
p02629
p02629
u580126681
u580126681
1,592,792,620
2020-06-22T02:23:40
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long n = sc.nextLong(); List<String> alpa = Arrays.asList("","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z");...
Main.java:15: error: incompatible types: possible lossy conversion from long to int r = n/26; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u580126681|p02629|0
u580126681|p02629|0
codenet
Compile Error
587
v2_s058563863
s058563863
s058563863
p02629
p02629
u580126681
u580126681
1,592,792,678
2020-06-22T02:24:38
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long n = sc.nextLong(); List<String> alpa = Arrays.asList("","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z");...
Main.java:18: error: incompatible types: possible lossy conversion from long to int result += alpa.get(r); ^ Main.java:21: error: incompatible types: possible lossy conversion from long to int result += alpa.get(r); ^ Note: Some messages ha...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u580126681|p02629|0
u580126681|p02629|0
codenet
Compile Error
591
v2_s772611375
s772611375
s772611375
p02629
p02629
u580126681
u580126681
1,592,792,724
2020-06-22T02:25:24
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long n = sc.nextLong(); List<String> alpa = Arrays.asList("","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z");...
Main.java:18: error: cannot find symbol result += alpa.get(Integer.parse(r)); ^ symbol: method parse(long) location: class Integer Main.java:21: error: cannot find symbol result += alpa.get(Integer.parse(r)); ^ symbol:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u580126681|p02629|0
u580126681|p02629|0
codenet
Compile Error
621
v2_s789789460
s789789460
s789789460
p02629
p02629
u580126681
u580126681
1,592,792,750
2020-06-22T02:25:50
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); long n = sc.nextLong(); List<String> alpa = Arrays.asList("","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z");...
Main.java:18: error: incompatible types: long cannot be converted to String result += alpa.get(Integer.parseInt(r)); ^ Main.java:21: error: incompatible types: long cannot be converted to String result += alpa.get(Integer.parseInt(r)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u580126681|p02629|0
u580126681|p02629|0
codenet
Compile Error
627
v2_s834536790
s834536790
s834536790
p02629
p02629
u614233094
u614233094
1,592,796,196
2020-06-22T03:23:16
Main.java
long n = in.nextLong(); StringBuilder answer = new StringBuilder(); while (n > 0) { n--; answer.append((char) ('a' + n % 26)); n /= 26; } out.println(answer.reverse());
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. long n = in.nextLong(); ^ (use --enable-preview to enable unnamed classes) Main.java:4: error: class, interface, enum, or record expected while (n > 0) { ^ Main.java:6: error: class, interface, enum, or record expected answer.a...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u614233094|p02629|0
u614233094|p02629|0
codenet
Compile Error
182
v2_s333823939
s333823939
s333823939
p02629
p02629
u690813501
u690813501
1,598,380,295
2020-08-25T18:31:35
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long N = scan.nextLong(); String S = judge(N % 26); N /= 26; while (N != 0) { S = judge(N % 26) + S; N /= 26; } System.out.println(S); } public static String judge(long x) { String str = nu...
Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u690813501|p02629|0
u690813501|p02629|0
codenet
Compile Error
1,320
v2_s952888403
s952888403
s952888403
p02629
p02629
u690813501
u690813501
1,598,380,339
2020-08-25T18:32:19
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long N = scan.nextLong(); String S = judge(N % 26); N /= 26; while (N != 0) { S = judge(N % 26) + S; N /= 26; } System.out.println(S); } public static String judge(...
Main.java:79: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u690813501|p02629|0
u690813501|p02629|0
codenet
Compile Error
1,346
v2_s557203611
s557203611
s557203611
p02629
p02629
u699658874
u699658874
1,592,794,619
2020-06-22T02:56:59
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; public class Main { private static Scanner sc; public static void main(Str...
Main.java:30: error: ';' expected list.add(amr) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699658874|p02629|0
u699658874|p02629|0
codenet
Compile Error
2,510
v2_s003045462
s003045462
s003045462
p02629
p02629
u709185545
u709185545
1,592,792,869
2020-06-22T02:27:49
Main.java
import java.util.*; public class Main { public static void main(String[] args)throws Exception { Scanner sc=new Scanner(System.in); long n=sc.nextLong(); long begin[]=new long[10]; long end[]=new long[10]; begin[0]=1; end[0]=26; for(int i=1;i<10;i++) { begin[i]=end[i-1]+1; ...
Main.java:28: error: '.class' expected int r=int(n%begin[i]); ^ Main.java:28: error: not a statement int r=int(n%begin[i]); ^ Main.java:28: error: ';' expected int r=int(n%begin[i]); ^ Main.java:30: error: '.class' expected ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u709185545|p02629|0
u709185545|p02629|0
codenet
Compile Error
713
v2_s934050395
s934050395
s934050395
p02629
p02629
u720165412
u720165412
1,592,789,446
2020-06-22T01:30:46
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner obj=new Scanner(System.in); long n=obj.nextLong(); Strinng s=""; while(n>0){ if(n%26!=0) s=s+(char)(96+n%26); else s=(char)(122)+s; n=n/26; } System.out.println(s); } }
Main.java:6: error: cannot find symbol Strinng s=""; ^ symbol: class Strinng location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u720165412|p02629|0
u720165412|p02629|0
codenet
Compile Error
308
v2_s775372039
s775372039
s775372039
p02629
p02629
u768246830
u768246830
1,593,065,560
2020-06-25T06:12:40
Main.java
public class Main { public static void main(String args[]) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); long num = Long.parseLong(br.readLine()); List<Long> longArray = new ArrayList<Long>(); while (num > 1) { longArray.add(num % 26); num /= 26; } f...
Main.java:2: error: cannot find symbol public static void main(String args[]) throws IOException { ^ symbol: class IOException location: class Main Main.java:4: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in))...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u768246830|p02629|0
u768246830|p02629|0
codenet
Compile Error
563
v2_s494056554
s494056554
s494056554
p02629
p02629
u811629303
u811629303
1,592,793,609
2020-06-22T02:40:09
Main.java
import java. util.Scanner; public class { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scan = new Scanner(System.in); long n = scan.nextLong(); char[] c = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}; if(n<=26) { ...
Main.java:2: error: <identifier> expected public class { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u811629303|p02629|0
u811629303|p02629|0
codenet
Compile Error
770
v2_s996528172
s996528172
s996528172
p02629
p02629
u830501843
u830501843
1,592,788,995
2020-06-22T01:23:15
Main.java
public class Main { public static void main(String[] args) { var sc = new java.util.Scanner(System.in); var n = sc.nextBigInteger(); var output = ""; for(;n.compareTo(BigInteger.valueOf(26))>0;) { var mod = (n.intValue()-1)%26; output = Character.toString(mod + 'a') + output; n = n.subtract(BigInteger...
Main.java:6: error: cannot find symbol for(;n.compareTo(BigInteger.valueOf(26))>0;) { ^ symbol: variable BigInteger location: class Main Main.java:9: error: cannot find symbol n = n.subtract(BigInteger.ONE).divide(BigInteger.valueOf(26)); ^ symbol: variable BigInteger...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u830501843|p02629|0
u830501843|p02629|0
codenet
Compile Error
461
v2_s736498161
s736498161
s736498161
p02629
p02629
u839277937
u839277937
1,592,793,024
2020-06-22T02:30:24
Main.java
#include <bits/stdc++.h> using namespace std; void solve(){ long long int n; cin>>n; int category = 0; long long int temp = n; while(temp>=1){ category++; temp/=26; } std::vector<char> v(category); char a[27] = {' ','a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', '...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:6: error: not a statement long long int n; cin>>n; ^ Main.java:6: error: not a statement long long int n; cin>>n; ^ Main.java:6: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u839277937|p02629|0
u839277937|p02629|0
codenet
Compile Error
702
v2_s020320646
s020320646
s020320646
p02629
p02629
u863370423
u863370423
1,597,186,651
2020-08-11T22:57:31
Main.java
N = int(input()) ans = '' for i in range(1, 99): if N <= 26 ** i: N -= 1 for j in range(i): ans += chr(ord('a') + N % 26) N //= 26 break else: N -= 26 ** i print(ans[::-1])
Main.java:1: error: class, interface, enum, or record expected N = int(input()) ^ Main.java:2: error: empty character literal ans = '' ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p02629|3
u863370423|p02629|1
codenet
Compile Error
247
v2_s726659347
s726659347
s726659347
p02629
p02629
u863544548
u863544548
1,592,793,580
2020-06-22T02:39:40
Main.java
import java.io.*; import java.util.Scanner; import java.util.Arrays; import java.util.ArrayList; import java.math.BigDecimal; public class Main{ public static void main(String[] args){ //START Scanner sc=new Scanner(System.in); long n=sc.nextLong(); long N=n-1; long[] na...
Main.java:36: error: ']' expected }else if(N>name[9){ ^ Main.java:38: error: ']' expected }else if(N>name[8){ ^ Main.java:40: error: ']' expected }else if(N>name[7){ ^ Main.java:42: error: ']' expected }else if(N>...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863544548|p02629|0
u863544548|p02629|0
codenet
Compile Error
5,330
v2_s605165444
s605165444
s605165444
p02629
p02629
u869760604
u869760604
1,592,789,308
2020-06-22T01:28:28
Main.java
// Java program to find Excel // column name from a given // column number public class Main { private static void printString(long columnNumber) { StringBuilder columnName = new StringBuilder(); while (columnNumber > 0) { int rem = columnNumber % 26; if (rem == 0) { columnName.append("...
Main.java:13: error: incompatible types: possible lossy conversion from long to int int rem = columnNumber % 26; ^ Main.java:31: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:31: error: cannot find symbol S...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869760604|p02629|0
u869760604|p02629|0
codenet
Compile Error
735
v2_s279737234
s279737234
s279737234
p02629
p02629
u869760604
u869760604
1,592,789,374
2020-06-22T01:29:34
Main.java
import java.util.*; public class Main { private static void printString(int columnNumber) { StringBuilder columnName = new StringBuilder(); while (columnNumber > 0) { int rem = columnNumber % 26; if (rem == 0) { columnName.append("Z"); columnNumber = (columnNumber / 26) - 1; } ...
Main.java:30: error: incompatible types: possible lossy conversion from long to int int num = sc.nextLong(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869760604|p02629|0
u869760604|p02629|0
codenet
Compile Error
675
v2_s036193962
s036193962
s036193962
p02629
p02629
u869760604
u869760604
1,592,789,771
2020-06-22T01:36:11
Main.java
import java.util.*; public class Main { // Driver program to test above function public static void main(String[] args) { Scanner sc = new Scanner(System.in); long num = sc.nextLong(); StringBuilder columnName = new StringBuilder(); while (num > 0) { long rem = num % 26; if (rem =...
Main.java:24: error: cannot find symbol columnName.toLowerCase(); ^ symbol: method toLowerCase() location: variable columnName of type StringBuilder 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869760604|p02629|0
u869760604|p02629|0
codenet
Compile Error
575
v2_s998656906
s998656906
s998656906
p02629
p02629
u869760604
u869760604
1,592,790,018
2020-06-22T01:40:18
Main.java
import java.util.*; public class Main { // Driver program to test above function public static void main(String[] args) { Scanner sc = new Scanner(System.in); long num = sc.nextLong(); StringBuilder columnName = new StringBuilder(); while (num > 0) { long rem = num % 26; if (rem =...
Main.java:25: error: cannot find symbol System.out.println(lowerCase.reverse()); ^ symbol: method reverse() location: variable lowerCase of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u869760604|p02629|0
u869760604|p02629|0
codenet
Compile Error
604
v2_s909833719
s909833719
s909833719
p02629
p02629
u899530879
u899530879
1,592,792,895
2020-06-22T02:28:15
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); n--; long i = 0; ArrayList<Integer> name = new ArrayList<Integer>(); //String base26 = Integer.toString(n-1, 26); while(n > 0) { long tmp = n % 26; ...
Main.java:20: error: incompatible types: long cannot be converted to Integer name.add(tmp); ^ 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
u899530879|p02629|0
u899530879|p02629|0
codenet
Compile Error
997
v2_s539351302
s539351302
s539351302
p02629
p02629
u899828212
u899828212
1,594,234,672
2020-07-08T18:57:52
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String name = ""; while(N>0){ String x = String.valueOf(Character.toChars(N%27+96)) name = x.concat(name); if(N/26 >...
Main.java:11: error: ';' expected String x = String.valueOf(Character.toChars(N%27+96)) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u899828212|p02629|0
u899828212|p02629|0
codenet
Compile Error
426
v2_s381961260
s381961260
s381961260
p02629
p02629
u924711195
u924711195
1,595,467,710
2020-07-23T01:28:30
Main.java
public class Main { public static void main(String[] args){ long n=new java.util.Scanner(System.in).nextLong(); String ans=""; String alp="abcdefghijklmnopqrstuvwxyz"; for(;;){ long x=(int)Math.floor(n/26); if(n%26==0)x=n/26-1; int y=n-x*26; ...
Main.java:9: error: incompatible types: possible lossy conversion from long to int int y=n-x*26; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u924711195|p02629|0
u924711195|p02629|0
codenet
Compile Error
445
v2_s685008837
s685008837
s685008837
p02629
p02629
u924711195
u924711195
1,595,467,744
2020-07-23T01:29:04
Main.java
public class Main { public static void main(String[] args){ long n=new java.util.Scanner(System.in).nextLong(); String ans=""; String alp="abcdefghijklmnopqrstuvwxyz"; for(;;){ long x=(int)Math.floor(n/26); if(n%26==0)x=n/26-1; long y=n-x*26; ...
Main.java:11: error: incompatible types: possible lossy conversion from long to int ans=alp.charAt(y-1)+ans; ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u924711195|p02629|0
u924711195|p02629|0
codenet
Compile Error
446
v2_s753473265
s753473265
s753473265
p02629
p02629
u956593923
u956593923
1,592,793,423
2020-06-22T02:37:03
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String ans; String[] a ={"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"}; for(int i = 1; i < 27; i+...
Main.java:17: error: variable i is already defined in method main(String[]) for(int i = 1; i < 27; i++){ ^ Main.java:25: error: variable i is already defined in method main(String[]) for(int i = 1; i < 27; i++){ ^ Main.java:27: error: variable i is...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u956593923|p02629|0
u956593923|p02629|0
codenet
Compile Error
2,077
v2_s352727949
s352727949
s352727949
p02629
p02629
u956593923
u956593923
1,592,793,590
2020-06-22T02:39:50
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String ans; String[] a ={"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"}; for(int i = 1; i < 27; i+...
Main.java:66: error: class, interface, enum, or record expected import java.util.Scanner; ^ Main.java:131: error: reached end of file while parsing ???? ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u956593923|p02629|0
u956593923|p02629|0
codenet
Compile Error
4,166
v2_s384988724
s384988724
s384988724
p02629
p02629
u964299793
u964299793
1,594,796,306
2020-07-15T06:58:26
Main.java
//package com.company; import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); StringBuilder ans=new StringBuilder(); int n=sc.nextLong(); while(n>0){ n--; ans.append((char) ((n % 26) + 'a')...
Main.java:11: error: incompatible types: possible lossy conversion from long to int int n=sc.nextLong(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964299793|p02629|0
u964299793|p02629|0
codenet
Compile Error
414
v2_s092104996
s092104996
s092104996
p02630
p02630
u017045239
u017045239
1,592,795,914
2020-06-22T03:18:34
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner in = new Scanner(System.in); long n = in.nextLong(); long sum = 0; long i = 0; HashMap<Long , Long> map = new HashMap<>(); for(i = 0; i < n ; i++){ long ai = in.nextLon...
Main.java:16: error: incompatible types: int cannot be converted to Long map.put(ai , 1); ^ 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
u017045239|p02630|0
u017045239|p02630|0
codenet
Compile Error
1,119
v2_s633499418
s633499418
s633499418
p02630
p02630
u033629980
u033629980
1,592,793,454
2020-06-22T02:37:34
Main.java
//package atcoder.beginner_171; import java.io.*; import java.util.HashMap; import java.util.StringTokenizer; public class Main { public static void main (String[] args) throws Exception { String s = "2\n" + "1 2\n" + "3\n" + "1 100\n" + "2...
Main.java:33: error: incompatible types: int cannot be converted to Long map.put(v,1); ^ 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
u033629980|p02630|0
u033629980|p02630|0
codenet
Compile Error
2,073
v2_s946030076
s946030076
s946030076
p02630
p02630
u063409552
u063409552
1,592,791,787
2020-06-22T02:09:47
Main.java
/****************************************************************************** Online Java Compiler. Code, Compile, Run and Debug java program online. Write your code in this editor and press "Run" button to execute it. *****************************************************...
Main.java:29: error: cannot find symbol Collections.replaceAll(ls,b,maxVal); ^ symbol: variable maxVal location: class Main Main.java:30: error: cannot find symbol Collections.replaceAll(ls,c,maxVal); ^ symbol: variabl...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u063409552|p02630|0
u063409552|p02630|0
codenet
Compile Error
1,029
v2_s750941579
s750941579
s750941579
p02630
p02630
u080183144
u080183144
1,592,799,092
2020-06-22T04:11:32
Main.java
import java.util.*; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Map<Integer,Integer> m = HashMap<>(); long sum = 0; for(int i = 0; i < N; i++){ int A = sc.nextInt(); m.put(A, m.getOrDefault(A,0)+1); sum += A; ...
Main.java:6: error: illegal start of expression Map<Integer,Integer> m = HashMap<>(); ^ Main.java:6: error: -> expected Map<Integer,Integer> m = HashMap<>(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u080183144|p02630|0
u080183144|p02630|0
codenet
Compile Error
790
v2_s363597873
s363597873
s363597873
p02630
p02630
u122794997
u122794997
1,594,686,630
2020-07-14T00:30:30
Main.java
mport 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]; for(int i=0;i<n;i++){ a[i]=sc.nextInt(); } int k=sc.nextInt(); int b[]=new int[k]; i...
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
u122794997|p02630|1
u122794997|p02630|1
codenet
Compile Error
714
v2_s704190054
s704190054
s704190054
p02630
p02630
u129611040
u129611040
1,593,226,332
2020-06-27T02:52:12
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int length = Integer.parseInt(scanner.nextLine()); String numbers = scanner.nextLine(); int quantity = Integer.parseInt(scan...
Main.java:34: error: class SumSum is public, should be declared in a file named SumSum.java public class SumSum { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u129611040|p02630|2
u129611040|p02630|2
codenet
Compile Error
1,896
v2_s423211022
s423211022
s423211022
p02630
p02630
u196769779
u196769779
1,595,810,775
2020-07-27T00:46:15
Main.java
import java.util.*; import java.io.*; import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] arr = new int[n]; int sum = 0; HashMap<Integer, Integer> = new HashMap<>(); for(int i=0;i<n;i++) { arr[i] = sc....
Main.java:12: error: not a statement HashMap<Integer, Integer> = new HashMap<>(); ^ Main.java:12: error: ';' expected HashMap<Integer, Integer> = new HashMap<>(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u196769779|p02630|0
u196769779|p02630|0
codenet
Compile Error
906
v2_s782132924
s782132924
s782132924
p02630
p02630
u212063753
u212063753
1,592,924,399
2020-06-23T14:59:59
Main.java
#include <bits/stdc++.h> using namespace std; #define rep(i,n) for(int i=0;i<(int)(n);i++) int main() { int n, q, b, c, af; int sum=0; cin>>n; vector<int> a(n); vector<int> num(100010); rep(i,n){ cin>>a.at(i); af=a.at(i); sum+=a.at(i); num.at(af-1)=num.at(af-1)+1; } cin>>q; rep(i,q){ ...
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 rep(i,n) for(int i=0;i<(int)(n);i++) ^ Main.java:3: error: class, interface, enum, or record expecte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212063753|p02630|1
u212063753|p02630|1
codenet
Compile Error
440
v2_s268536021
s268536021
s268536021
p02630
p02630
u254462853
u254462853
1,593,386,480
2020-06-28T23:21:20
Main.java
import java.util.*; public class Main{ public static void main(String []args){ int n; HashMap<Integer,Integer> map=new HashMap<Integer,Integer>(); Scanner in = new Scanner(System.in); n = in.nextInt(); int arr[]= new int[n]; ...
Main.java:36: error: 'else' without 'if' else ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u254462853|p02630|2
u254462853|p02630|1
codenet
Compile Error
953
v2_s050787321
s050787321
s050787321
p02630
p02630
u254462853
u254462853
1,593,386,565
2020-06-28T23:22:45
Main.java
import java.util.*; public class Main{ public static void main(String []args){ int n; HashMap<Integer,Integer> map=new HashMap<Integer,Integer>(); Scanner in = new Scanner(System.in); n = in.nextInt(); int arr[]= new int[n]; ...
Main.java:22: error: cannot find symbol map.put(A[i],map.getOrDefault(A[i],0) + 1); ^ symbol: variable A location: class Main Main.java:22: error: cannot find symbol map.put(A[i],map.getOrDefault(A[i],0) + 1); ^ symbol: vari...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u254462853|p02630|2
u254462853|p02630|1
codenet
Compile Error
978
v2_s266601586
s266601586
s266601586
p02630
p02630
u325545467
u325545467
1,592,794,173
2020-06-22T02:49:33
Main.java
import java.util.HashMap; import java.util.Scanner; /** * * @author HP */ public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); HashMap<Integer,Integer> map = new HashMap<>(); int temp; long sum=0; for(int ...
Main.java:25: error: illegal start of type while(q-->0) { ^ Main.java:25: error: <identifier> expected while(q-->0) { ^ Main.java:41: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u325545467|p02630|0
u325545467|p02630|0
codenet
Compile Error
995
v2_s079174062
s079174062
s079174062
p02630
p02630
u325545467
u325545467
1,592,794,242
2020-06-22T02:50:42
Main.java
import java.util.HashMap; import java.util.Scanner; /** * * @author HP */ public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); HashMap<Integer,Integer> map = new HashMap<>(); int temp; long sum=0; for(int i...
Main.java:24: error: illegal start of type while(q>0) { ^ Main.java:24: error: <identifier> expected while(q>0) { ^ Main.java:40: error: class, interface, enum, or record expected } ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u325545467|p02630|0
u325545467|p02630|0
codenet
Compile Error
996
v2_s202671964
s202671964
s202671964
p02630
p02630
u325545467
u325545467
1,592,795,030
2020-06-22T03:03:50
Main.java
import java.util.*; import java.lang.*; class Main { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); HashMap<Integer,Integer> m=new HashMap<Integer,Integer>(); long sum=0; for(int i=0;i<n;i++) { int val=sc.nextInt(); m.put(val,m.get...
Main.java:28: error: variable m is already defined in method main(String[]) long m=(num*c); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u325545467|p02630|0
u325545467|p02630|0
codenet
Compile Error
743
v2_s530834437
s530834437
s530834437
p02630
p02630
u337015142
u337015142
1,592,793,517
2020-06-22T02:38:37
Main.java
class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] arr = new int[n]; int sum =0; for(int i =0 ;i<n ;i++) { arr[i] = sc.nextInt(); sum = sum+arr[i]; } Map<Integer,Integer> m = new HashMap(); int q = sc.nextInt(); whi...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:14: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u337015142|p02630|0
u337015142|p02630|0
codenet
Compile Error
762
v2_s995800582
s995800582
s995800582
p02630
p02630
u358894498
u358894498
1,592,799,971
2020-06-22T04:26:11
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); long sum=0; Map<Long,Long> m=new HashMap<>(); for(int i=0;i<n;i++){ long c=sc.nextLong(); sum+=c; if(!m.containsKey(c)) { m.put(c,1); ...
Main.java:12: error: incompatible types: int cannot be converted to Long m.put(c,1); ^ 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
u358894498|p02630|0
u358894498|p02630|0
codenet
Compile Error
871
v2_s098084613
s098084613
s098084613
p02630
p02630
u380806353
u380806353
1,592,792,080
2020-06-22T02:14:40
Main.java
public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[100001]; long sum=0; int in; for(int i=0; i<n; i++) { in = sc.nextInt(); a[in]++; sum += in; } int q = sc.nextInt(); ...
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
u380806353|p02630|0
u380806353|p02630|0
codenet
Compile Error
530
v2_s958326940
s958326940
s958326940
p02630
p02630
u392769697
u392769697
1,593,062,288
2020-06-25T05:18:08
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(); int[] a = new int[n+1]; A[0] = 0; for (int i = 1; i < n+1; i++) { a[i] = sc.next...
Main.java:8: error: cannot find symbol A[0] = 0; ^ symbol: variable A location: class Main Main.java:24: error: cannot find symbol S[0] = S[0] + a[i]; ^ symbol: variable S location: class Main Main.java:24: error: cannot find symbol S[0...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u392769697|p02630|0
u392769697|p02630|0
codenet
Compile Error
1,261
v2_s521113081
s521113081
s521113081
p02630
p02630
u392769697
u392769697
1,593,062,357
2020-06-25T05:19:17
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(); int[] a = new int[n+1]; A[0] = 0; for (int i = 1; i < n+1; i++) { a[i] = sc.next...
Main.java:8: error: cannot find symbol A[0] = 0; ^ symbol: variable A location: class Main Main.java:24: error: cannot find symbol S[0] = S[0] + a[i]; ^ symbol: variable S location: class Main Main.java:24: error: cannot find symbol S[0...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u392769697|p02630|0
u392769697|p02630|0
codenet
Compile Error
1,255
v2_s126030590
s126030590
s126030590
p02630
p02630
u392769697
u392769697
1,593,062,448
2020-06-25T05:20:48
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(); int[] a = new int[n+1]; a[0] = 0; for (int i = 1; i < n+1; i++) { a[i] = sc.next...
Main.java:26: error: variable n is already defined in method main(String[]) int[] n = new int[100000+1]; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u392769697|p02630|0
u392769697|p02630|0
codenet
Compile Error
1,246
v2_s991752901
s991752901
s991752901
p02630
p02630
u392769697
u392769697
1,593,062,538
2020-06-25T05:22:18
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(); int[] a = new int[n+1]; A[0] = 0; for (int i = 1; i < n+1; i++) { a[i] = sc.next...
Main.java:8: error: cannot find symbol A[0] = 0; ^ symbol: variable A location: class Main Main.java:24: error: cannot find symbol S[0] = S[0] + a[i]; ^ symbol: variable S location: class Main Main.java:24: error: cannot find symbol S[0...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u392769697|p02630|0
u392769697|p02630|0
codenet
Compile Error
1,268
v2_s979177109
s979177109
s979177109
p02630
p02630
u413794248
u413794248
1,592,811,504
2020-06-22T07:38:24
Main.java
import java.util.Scanner; class Main{ public static void main(String []args){ Scanner input=new Scanner(System.in); long result=0; int N=input.nextInt(); int sum[]=new int[100001]; for(int i=0;i<N;++i){ int temp=input.nextInt(); ++sum[temp]; result+=temp; }int operati...
Main.java:16: error: cannot find symbol if( arr[num] != 0 ){ ^ symbol: variable arr location: class Main Main.java:16: error: cannot find symbol if( arr[num] != 0 ){ ^ symbol: variable num location: class Main Main.java:17: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u413794248|p02630|0
u413794248|p02630|0
codenet
Compile Error
668
v2_s186910184
s186910184
s186910184
p02630
p02630
u438395101
u438395101
1,592,797,223
2020-06-22T03:40:23
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; for(int i=0;i<n;i++) { a[i]=sc.nextInt(); } int t = sc.nextInt(); while(t-- >0) { int b[0]=sc.nextInt(); ...
Main.java:18: error: ']' expected int b[0]=sc.nextInt(); ^ Main.java:19: error: ']' expected int b[1]=sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u438395101|p02630|0
u438395101|p02630|0
codenet
Compile Error
566
v2_s552841066
s552841066
s552841066
p02630
p02630
u497277272
u497277272
1,593,088,799
2020-06-25T12:39:59
Main.java
import collections def main(): n = int(input()) a = list(map(int, input().split())) cnt = collections.defaultdict(int) for var in a: cnt[var] += 1 sum_a = sum[a] q = int(input()) for _ in range(q): b, c = list(map(int, input().split())) diff = (c-b) * ...
Main.java:1: error: '.' expected import collections ^ Main.java:3: error: ';' expected def main(): ^ Main.java:24: error: unclosed character literal if __name__ == '__main__': ^ Main.java:24: error: unclosed character literal if __name__ == '__main__': ^ 4 err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497277272|p02630|1
u497277272|p02630|1
codenet
Compile Error
460
v2_s704337536
s704337536
s704337536
p02630
p02630
u547407782
u547407782
1,592,791,331
2020-06-22T02:02:11
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int a[] = new int[n]; for(int i=0;i<n;i++){ a[i]=sc.nextInt(); } int k = sc.nextInt(); while(k-->0){ int sum=0; int x1 = sc.nextInt(); i...
Main.java:19: error: ')' expected if(a[i]==x1 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547407782|p02630|0
u547407782|p02630|0
codenet
Compile Error
506
v2_s000238925
s000238925
s000238925
p02630
p02630
u547407782
u547407782
1,592,791,361
2020-06-22T02:02:41
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int a[] = new int[n]; for(int i=0;i<n;i++){ a[i]=sc.nextInt(); } int k = sc.nextInt(); while(k-->0){ int sum=0; int x1 = sc.nextInt(); i...
Main.java:19: error: ')' expected if(a[i]==x1; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547407782|p02630|0
u547407782|p02630|0
codenet
Compile Error
507
v2_s517005573
s517005573
s517005573
p02630
p02630
u547407782
u547407782
1,592,791,839
2020-06-22T02:10:39
Main.java
import java.util.*; class Main{ public static void main(String[] args){ BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(bf.readLine()); int a[] = new int[n]; StringTokenizer st; st = new StringTokenizer(bf.readLine()); for(int i=0;i<n;i++){ a[...
Main.java:4: error: cannot find symbol BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:4: error: cannot find symbol BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547407782|p02630|0
u547407782|p02630|0
codenet
Compile Error
754
v2_s411932692
s411932692
s411932692
p02630
p02630
u547407782
u547407782
1,592,791,873
2020-06-22T02:11:13
Main.java
import java.util.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(bf.readLine()); int a[] = new int[n]; StringTokenizer st; st = new StringTokenizer(bf.readLine()); for(int i...
Main.java:3: error: cannot find symbol public static void main(String[] args) throws IOException{ ^ symbol: class IOException location: class Main Main.java:4: error: cannot find symbol BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547407782|p02630|0
u547407782|p02630|0
codenet
Compile Error
773
v2_s931042276
s931042276
s931042276
p02630
p02630
u553057904
u553057904
1,592,793,801
2020-06-22T02:43:21
Main.java
import java.lang.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int num = scan.nextInt(); int[] arr = new int[num]; for (int i = 0; i < num; i++) { arr[i] = scan.nextInt(); } ...
Main.java:21: error: variable i is already defined in method main(String[]) for (int i = 0; i < num; i++) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u553057904|p02630|0
u553057904|p02630|0
codenet
Compile Error
755
v2_s751599081
s751599081
s751599081
p02630
p02630
u616038992
u616038992
1,592,791,283
2020-06-22T02:01:23
Main.java
import java.math.*; import java.util.Scanner; import java.util.*; public class Main { public static void main(String[] args) { Scanner scn = new Scanner(System.in); ArrayList<Integer> arr=new ArrayList<Integer>(); int n = scn.nextInt(); for(int i=0;i<n;i++) { int a=scn.nextInt(); arr.add(a); }int sum=0...
Main.java:22: error: ';' expected arr.set(j, y) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616038992|p02630|0
u616038992|p02630|0
codenet
Compile Error
615
v2_s294090648
s294090648
s294090648
p02630
p02630
u653981267
u653981267
1,593,215,368
2020-06-26T23:49:28
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 ans = 0; HashMap<Long, Long> map = new HashMap<Long, Long>(); for(int i = 0; i < n; i++) { long a = sc.nextLong(); ans += a; if(map.co...
Main.java:15: error: incompatible types: int cannot be converted to Long map.put(a, 1); ^ Main.java:25: error: incompatible types: int cannot be converted to Long map.put(b, 0); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full o...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02630|0
u653981267|p02630|0
codenet
Compile Error
845
v2_s925773924
s925773924
s925773924
p02630
p02630
u655325849
u655325849
1,592,795,525
2020-06-22T03:12:05
Main.java
import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); long S = 0; long A[] = new long[N]; Map<Long, Long> p = new HashMap(); ...
Main.java:40: error: incompatible types: int cannot be converted to Long p.put(B[i],0); ^ Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full ou...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u655325849|p02630|0
u655325849|p02630|0
codenet
Compile Error
1,151
v2_s463970799
s463970799
s463970799
p02630
p02630
u664527705
u664527705
1,592,795,335
2020-06-22T03:08:55
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); List<Integer> list = new ArrayList<>(); List<Long> sumList = new ArrayList<>(); long sum =0; for (int i = 0; i < n; i+...
Main.java:57: error: illegal start of type for(long i: sumList) { ^ Main.java:57: error: ';' expected for(long i: sumList) { ^ Main.java:57: error: <identifier> expected for(long i: sumList) { ^ Main.java:62: error: class, interface, enum, or ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u664527705|p02630|0
u664527705|p02630|0
codenet
Compile Error
1,671
v2_s035809827
s035809827
s035809827
p02630
p02630
u690844139
u690844139
1,592,791,721
2020-06-22T02:08:41
Main.java
import java.util.*; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int []a = new int [n]; for(int i=0;i<n;i++){ a[i] = sc.nextInt(); } int sum =0; int q = sc.nextInt(); ...
Main.java:33: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u690844139|p02630|0
u690844139|p02630|0
codenet
Compile Error
697
v2_s351707178
s351707178
s351707178
p02630
p02630
u690844139
u690844139
1,592,791,753
2020-06-22T02:09:13
Main.java
import java.util.*; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int []a = new int [n]; for(int i=0;i<n;i++){ a[i] = sc.nextInt(); } int sum =0; int q = sc.nextInt(); ...
Main.java:33: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u690844139|p02630|0
u690844139|p02630|0
codenet
Compile Error
697
v2_s357058623
s357058623
s357058623
p02630
p02630
u709185545
u709185545
1,592,796,123
2020-06-22T03:22:03
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]; int sum=0; for(int i=0;i<n;i++) {a[i]=sc.nextInt();sum+=a[i];} Arrays.sort(a); int q=sc.nextInt(); while(q-->0) { int b=...
Main.java:2: error: '{' expected public class 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:27: error: class, interface, enum, or record ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u709185545|p02630|0
u709185545|p02630|0
codenet
Compile Error
533
v2_s676195961
s676195961
s676195961
p02630
p02630
u795978684
u795978684
1,592,789,210
2020-06-22T01:26:50
Main.java
class Main { static int mod = (int) (Math.pow(10,9)+7); // static int mod = (int) 998244353; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] a = new int[N]; int[] m = new int[1000000]; long sum=0; ...
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
u795978684|p02630|0
u795978684|p02630|0
codenet
Compile Error
821
v2_s616985376
s616985376
s616985376
p02630
p02630
u839277937
u839277937
1,592,793,191
2020-06-22T02:33:11
Main.java
#include <iostream> #include <bits/stdc++.h> using namespace std; void solve(){ int n; cin>>n; unordered_map<int, int> mp; long long int s = 0; for(int i = 0; i < n; i++){ int a; cin>>a; mp[a]++; s+=a; } int q; cin>>q; while(q--){ int b, c; cin>>b>>c; if(mp.find(b) != mp.end() && mp[b]){ s = (s - ...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:7: error: not a statement int n; cin>>n; ^ Main.java:9: error: not a statement long long int s = 0; ^ Main.java:9: error: not a statement long long int s = 0; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u839277937|p02630|0
u839277937|p02630|0
codenet
Compile Error
644
v2_s610888233
s610888233
s610888233
p02630
p02630
u841847008
u841847008
1,592,802,282
2020-06-22T05:04:42
Main.java
import java.util.Scanner; class Main{ public static void main(String []args){ Scanner input=new Scanner(System.in); int result=0; int N=input.next(); int sum[]=new int[100001]; for(int i=0;i<N;++i){ int temp=input.next() ++sum[temp]; result+=temp; }int operation=new i...
Main.java:10: error: ';' expected ++sum[temp]; ^ Main.java:10: error: not a statement ++sum[temp]; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841847008|p02630|0
u841847008|p02630|0
codenet
Compile Error
620
v2_s289110156
s289110156
s289110156
p02630
p02630
u841847008
u841847008
1,592,802,446
2020-06-22T05:07:26
Main.java
import java.util.Scanner; class Main{ public static void main(String []args){ Scanner input=new Scanner(System.in); int result=0; int N=input.next(); int sum[]=new int[100001]; for(int i=0;i<N;++i){ int temp=input.next(); ++sum[temp]; result+=temp; }int operation=new ...
Main.java:6: error: incompatible types: String cannot be converted to int int N=input.next(); ^ Main.java:9: error: incompatible types: String cannot be converted to int int temp=input.next(); ^ Main.java:12: error: package input does not exist }int operati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841847008|p02630|0
u841847008|p02630|0
codenet
Compile Error
622
v2_s628214918
s628214918
s628214918
p02630
p02630
u841847008
u841847008
1,592,802,675
2020-06-22T05:11:15
Main.java
import java.util.Scanner; class Main{ public static void main(String []args){ Scanner input=new Scanner(System.in); int result=0; int N=input.nextInt(); int sum[]=new int[100001]; for(int i=0;i<N;++i){ int temp=input.next(); ++sum[temp]; result+=temp; }int operation=i...
Main.java:9: error: incompatible types: String cannot be converted to int int temp=input.next(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841847008|p02630|0
u841847008|p02630|0
codenet
Compile Error
621
v2_s065746880
s065746880
s065746880
p02631
p02631
u082512804
u082512804
1,592,791,853
2020-06-22T02:10:53
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.*; public class Main { void solve() throws IOException { int N = ni(); int[] a = new int[N]; for (int i = 0; i < N; i++) { a[i] = ni(); ...
Main.java:21: error: ';' expected out.print(" ") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u082512804|p02631|0
u082512804|p02631|0
codenet
Compile Error
1,923
v2_s850796829
s850796829
s850796829
p02632
p02632
u218740431
u218740431
1,592,793,598
2020-06-22T02:39:58
Main.java
import java.util.*; public class Main { public static long gcd(long x,long y){ if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } public static long lcm(long x,long y){ return x*y/gcd(x,y); ...
Main.java:28: error: cannot find symbol for(int i=0;i<k;i++){ans+=Math.pow(26,a)%mod; ^ symbol: variable a location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02632|0
u218740431|p02632|0
codenet
Compile Error
1,126
v2_s238552095
s238552095
s238552095
p02632
p02632
u263333739
u263333739
1,592,796,542
2020-06-22T03:29:02
Main.java
nx
Main.java:1: error: reached end of file while parsing nx ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u263333739|p02632|0
u263333739|p02632|0
codenet
Compile Error
2
v2_s204389519
s204389519
s204389519
p02632
p02632
u451080461
u451080461
1,592,889,074
2020-06-23T05:11:14
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Comparator; import java.util.Scanner; import java.util.TreeMap; public class Main { private long fac[]; private long finv[]; private long inv[]; private static int MAX_LEN = 2100000; private static long MOD = 10000000...
Main.java:62: error: incompatible types: possible lossy conversion from long to int inv[i] = MOD - inv[MOD%i] * (MOD / i) % MOD; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u451080461|p02632|0
u451080461|p02632|0
codenet
Compile Error
2,106
v2_s618761006
s618761006
s618761006
p02632
p02632
u653981267
u653981267
1,595,473,148
2020-07-23T02:59:08
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long k = sc.nextLong(); String s = sc.next(); long n = s.length(); long MOD = (long)Math.pow(10, 9) + 7; long[] rui26 = new long[1000001]; long[] rui25 = new long[1000001]...
Main.java:42: error: cannot find symbol return (t * t) % MOD; ^ symbol: variable MOD location: class Main Main.java:44: error: cannot find symbol return (a * func(a, x - 1)) % MOD; ^ symbol: variable MOD location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02632|0
u653981267|p02632|0
codenet
Compile Error
1,311
v2_s651242015
s651242015
s651242015
p02633
p02633
u018679195
u018679195
1,600,024,121
2020-09-13T19:08:41
Main.java
public static int classes(int X, int K ,int D){ int start = X; int least = K; int end = D; int ans = 0; for(i = 0;i<start-end;i++) { if(process(start,least,end,start,i)==true) { ans= i; break; } } return ans;...
Main.java:5: error: illegal character: '\uff1b' int ans = 0? ^ Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static int classes(int X, int K ,int D){ ^ (use --enable-preview to enable unnamed classes) Main.java:21: error: class, inte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p02633|0
u018679195|p02633|0
codenet
Compile Error
618
v2_s059511248
s059511248
s059511248
p02633
p02633
u018679195
u018679195
1,600,029,361
2020-09-13T20:36:01
Main.java
import java.io.*; class Main{ public static void main (String[] args) throws java.lang.Exception{ Scanner scan = new Scanner(System.in); int x = scan.nextInt(); System.out.println(360/x); } }
Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p02633|0
u018679195|p02633|0
codenet
Compile Error
219
v2_s814683488
s814683488
s814683488
p02633
p02633
u061996193
u061996193
1,592,701,862
2020-06-21T01:11:02
Main.java
mport java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int X = sc.nextInt(); for(int i=1; i<=360; i++) { if((X*i)%360==0) { System.out.println(i); break; } } sc.close(); } }
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
u061996193|p02633|0
u061996193|p02633|0
codenet
Compile Error
269
v2_s818158031
s818158031
s818158031
p02633
p02633
u089230684
u089230684
1,600,027,215
2020-09-13T20:00:15
Main.java
import java.io.*; class Main{ public static void main (String[] args) throws java.lang.Exception { Scanner scan = new Scanner(); int x = scan.nextInt(); return 360/x; } }
Main.java:5: error: cannot find symbol Scanner scan = new Scanner(); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan = new Scanner(); ^ symbol: class Scanner location: class Main Main.java:7: error: incompatible types: u...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089230684|p02633|0
u089230684|p02633|0
codenet
Compile Error
202
v2_s310794779
s310794779
s310794779
p02633
p02633
u153350126
u153350126
1,596,655,133
2020-08-05T19:18:53
Main.java
import java.util.Scanner; class test{ public static void main(String args[]){ Scanner int =new Scanner(System.in); int n=in.nextInt(); System.out.println(""+(360/n));
Main.java:5: error: not a statement Scanner int =new Scanner(System.in); ^ Main.java:5: error: ';' expected Scanner int =new Scanner(System.in); ^ Main.java:5: error: not a statement Scanner int =new Scanner(System.in); ^ Main.java:5: error: ';' expected Scanner int =new Scann...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u153350126|p02633|0
u153350126|p02633|0
codenet
Compile Error
197
v2_s574040728
s574040728
s574040728
p02633
p02633
u181294920
u181294920
1,592,945,923
2020-06-23T20:58:43
Main.java
#include<iostream> #include<vector> #include<algorithm> #include<set> #include<deque> #include<string> using namespace std; #define ll long long #define pb push_back #define end "\n" #define lar 1000000007; int main() { ll i,cnt=1; cin>>i; while(1){ if((i*cnt)%360==0)break; cnt+=1; } ...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include<vector> ^ Main.java:3: error: illegal character: '#' #include<algorithm> ^ Main.java:4: error: illegal character: '#' #include<set> ^ Main.java:5: error: illegal character: '#' #include<deque> ^ Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u181294920|p02633|0
u181294920|p02633|0
codenet
Compile Error
333
v2_s292585669
s292585669
s292585669
p02633
p02633
u220334827
u220334827
1,592,703,554
2020-06-21T01:39:14
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = Integer.parseInt(sc.next()); if (Number.isInteger(360/x)=true){ int k =360/x; } else{ int k =360/x+1; } System.out.println(k); } }
Main.java:9: error: cannot find symbol if (Number.isInteger(360/x)=true){ ^ symbol: method isInteger(int) location: class Number Main.java:15: error: cannot find symbol System.out.println(k); ^ symbol: variable k location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u220334827|p02633|0
u220334827|p02633|0
codenet
Compile Error
319
v2_s944571489
s944571489
s944571489
p02633
p02633
u282667018
u282667018
1,595,554,269
2020-07-24T01:31:09
Main.java
public class Main { public static void main(String[] args) { int i; int k = 360; int j; Scanner sc = new Scanner(System.in); if (!sc.hasNextInt()) { System.err.println("整数を入力してください"); } i = Integer.parseInt(sc.nextLine()); if (1 <= i ...
Main.java:9: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:9: 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
u282667018|p02633|0
u282667018|p02633|0
codenet
Compile Error
657
v2_s200417565
s200417565
s200417565
p02633
p02633
u331360010
u331360010
1,592,701,368
2020-06-21T01:02:48
Main.java
#line 2 "lib/template.cpp" #include <algorithm> #include <bitset> #include <cassert> #include <cmath> #include <functional> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> using namespace std; using ll = long long; using ull = unsigned long long; using VI = vector...
Main.java:1: error: illegal character: '#' #line 2 "lib/template.cpp" ^ Main.java:1: error: class, interface, enum, or record expected #line 2 "lib/template.cpp" ^ Main.java:3: error: illegal character: '#' #include <algorithm> ^ Main.java:4: error: illegal character: '#' #include <bitset> ^ Main.java:5: error: i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u331360010|p02633|0
u331360010|p02633|0
codenet
Compile Error
4,121
v2_s878044013
s878044013
s878044013
p02633
p02633
u353919145
u353919145
1,600,026,917
2020-09-13T19:55:17
Main.java
import java.io.*; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(); int x = scan.nextInt(); return 360/x; } }
Main.java:5: error: cannot find symbol Scanner scan = new Scanner(); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner scan = new Scanner(); ^ symbol: class Scanner location: class Main Main.java:8: error: incompati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p02633|0
u353919145|p02633|0
codenet
Compile Error
193
v2_s937491471
s937491471
s937491471
p02633
p02633
u353919145
u353919145
1,600,028,609
2020-09-13T20:23:29
Main.java
import java.io.*; class Main{ public static void main (String[] args) throws java.lang.Exception{ Scanner scan = new Scanner(System.in); x = scan.nextInt(); System.out.println(360/x);} } }
Main.java:11: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p02633|0
u353919145|p02633|0
codenet
Compile Error
214