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_s061619205
s061619205
s061619205
p03555
p03555
u018679195
u018679195
1,584,760,953
2020-03-21T03:22:33
A.java
public class A { public static void main(String args[]) { Scanner sc = new Scanner(System.in); String s1,s2; s1=sc.next(); char ch1[]=s1.toCharArray(); s2=sc.next(); char ch2[]=s2.toCharArray(); if(ch1[0]==ch2[2] && ch1[1]==ch2[1] && ch1[2]==ch2[0]) { System.out.println("YES"); } } }
A.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class A A.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class A 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03555|0
u018679195|p03555|0
codenet
Compile Error
284
v2_s958989527
s958989527
s958989527
p03555
p03555
u024824950
u024824950
1,556,283,361
2019-04-26T12:56:01
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s1 = sc.next(); String s2 = sc.next(); for(int i = 0; i<2; i++){ if(!s1.charAt((i+2)%3).equals(s2.charAt(i))){ System.out.println("NO"); r...
Main.java:8: error: char cannot be dereferenced if(!s1.charAt((i+2)%3).equals(s2.charAt(i))){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03555|0
u024824950|p03555|0
codenet
Compile Error
390
v2_s951071103
s951071103
s951071103
p03555
p03555
u073606136
u073606136
1,588,606,784
2020-05-04T15:39:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); String str2 = sc.next(); String[] str1a = str.split(""); String[] str2a = str.split(""); if(str1a[0]...
Main.java:10: error: array required, but String found if(str1a[0].equals(str2[2]) && str1a[1].equals(str2a[1]) && str1a[2].equals(str2a[0])){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p03555|0
u073606136|p03555|0
codenet
Compile Error
526
v2_s739200129
s739200129
s739200129
p03555
p03555
u089230684
u089230684
1,584,767,438
2020-03-21T05:10:38
Main.java
class Solution{ public static void main(String []a) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number N"); int N = sc.nextInt(); int num=0; for(int i=0;i<=N/2;i++) { if(i*i<=N) num=i*i; } System.out.println("The maximun square is "+num); } }
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Solution Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Solution 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089230684|p03555|0
u089230684|p03555|0
codenet
Compile Error
268
v2_s045214671
s045214671
s045214671
p03555
p03555
u172203805
u172203805
1,510,259,687
2017-11-09T20:34:47
Main.java
class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int intInput = sc.nextInt(); int count = 1; while (multi(count-1,2) < intInput){ count ++; } count --; System.out.println(count); } public stati...
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
u172203805|p03555|1
u172203805|p03555|1
codenet
Compile Error
477
v2_s077819317
s077819317
s077819317
p03555
p03555
u242455652
u242455652
1,553,080,924
2019-03-20T11:22:04
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); char word1[]=sc.next(split("")); char word2[]=sc.next(split("")); if(word1[0]==word2[2] && word1[1]==word2[1] && word1[2]==word2[0]){ println("YES"); } else { println("NO"); ...
Main.java:4: error: cannot find symbol char word1[]=sc.next(split("")); ^ symbol: method split(String) location: class Main Main.java:5: error: cannot find symbol char word2[]=sc.next(split("")); ^ symbol: method split(String) location: class Main 2 errors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u242455652|p03555|0
u242455652|p03555|0
codenet
Compile Error
3,915
v2_s560929182
s560929182
s560929182
p03555
p03555
u251779460
u251779460
1,568,386,440
2019-09-13T14:54:00
Main.java
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); String c1=sc.next(); String c2=sc.next(); String s1[]=c1.split(""); String s2[]=c2.split(""); boolean ans=true; for(int i=0;i<3;i++){ if(s1[i].equals(s2[2-i])){ }else{...
Main.java:28: error: package SYstem does not exist SYstem.out.println("NO"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u251779460|p03555|0
u251779460|p03555|0
codenet
Compile Error
444
v2_s105308962
s105308962
s105308962
p03555
p03555
u274962354
u274962354
1,554,223,397
2019-04-02T16:43:17
Main.java
#include<iostream> #include <algorithm> #include <string> #include<math.h> #define rep(i,n)for(int i=0;i<n;i++) using namespace std; int main() { string a, b; cin >> a >> b; if (a[0] == b[2] && a[1] == b[1] && a[2] == b[0]) { cout << "YES" << endl; } else { cout << "NO" << endl; ...
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include <algorithm> ^ Main.java:3: error: illegal character: '#' #include <string> ^ Main.java:4: error: illegal character: '#' #include<math.h> ^ Main.java:5: error: illegal character: '#' #define rep(i,n)for(in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274962354|p03555|2
u274962354|p03555|2
codenet
Compile Error
337
v2_s954745578
s954745578
s954745578
p03555
p03555
u286955577
u286955577
1,552,541,272
2019-03-14T05:27:52
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); int X = sc.next(); int Y = sc.next(); println(X[0] == Y[2] && X[1] == Y[1] && X[2] == Y[0] ? 'YES' : 'NO'); } /* 以下、標準出力用関数 */ static public void print(byte what) { System.out.print(wh...
Main.java:6: error: unclosed character literal println(X[0] == Y[2] && X[1] == Y[1] && X[2] == Y[0] ? 'YES' : 'NO'); ^ Main.java:6: error: unclosed character literal println(X[0] == Y[2] && X[1] == Y[1] && X[2] == Y[0] ? 'YES' : 'NO'); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u286955577|p03555|0
u286955577|p03555|0
codenet
Compile Error
3,821
v2_s765609158
s765609158
s765609158
p03555
p03555
u286955577
u286955577
1,552,541,294
2019-03-14T05:28:14
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String X = sc.next(); String Y = sc.next(); println(X[0] == Y[2] && X[1] == Y[1] && X[2] == Y[0] ? 'YES' : 'NO'); } /* 以下、標準出力用関数 */ static public void print(byte what) { System.out.pr...
Main.java:6: error: unclosed character literal println(X[0] == Y[2] && X[1] == Y[1] && X[2] == Y[0] ? 'YES' : 'NO'); ^ Main.java:6: error: unclosed character literal println(X[0] == Y[2] && X[1] == Y[1] && X[2] == Y[0] ? 'YES' : 'NO'); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u286955577|p03555|0
u286955577|p03555|0
codenet
Compile Error
3,827
v2_s945394478
s945394478
s945394478
p03555
p03555
u334656323
u334656323
1,519,532,192
2018-02-25T04:16:32
Main.java
import java.util.*; public class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); String[][]C=new String[2][3]; String N=sc.next(); String X=sc.next(); for(int j=0;j<3;j++){ C[0][j]=N.charAt(j); C[1][j]=X.charAt(j); } String[][]D=new Strin...
Main.java:9: error: incompatible types: char cannot be converted to String C[0][j]=N.charAt(j); ^ Main.java:10: error: incompatible types: char cannot be converted to String C[1][j]=X.charAt(j); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u334656323|p03555|0
u334656323|p03555|0
codenet
Compile Error
577
v2_s542711600
s542711600
s542711600
p03555
p03555
u353919145
u353919145
1,584,761,226
2020-03-21T03:27:06
Main.java
public static void main(String args[]) { Scanner sc = new Scanner(System.in); String st1 = sc.nextLine(); String st2 = sc.nextLine(); if(st1.charAt(0)==st2.charAt(2) && st1.charAt(1)==st2.charAt(1) && st1.charAt(2)==st2.charAt(0)) { System.out.println("YES"); } else { System.out.printl...
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
u353919145|p03555|0
u353919145|p03555|0
codenet
Compile Error
339
v2_s019933788
s019933788
s019933788
p03555
p03555
u353919145
u353919145
1,584,761,604
2020-03-21T03:33:24
Main.java
import java.util.Scanner; private class Solution { public static void main(String args[]) { Scanner sc = new Scanner(System.in); String st1 = sc.nextLine(); String st2 = sc.nextLine(); if(st1.charAt(0)==st2.charAt(2) && st1.charAt(1)==st2.charAt(1) && st1.charAt(2)==st2.charAt(0)) { System.out....
Main.java:3: error: modifier private not allowed here private class Solution { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u353919145|p03555|0
u353919145|p03555|0
codenet
Compile Error
396
v2_s745962610
s745962610
s745962610
p03555
p03555
u431125128
u431125128
1,573,556,871
2019-11-12T11:07:51
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String s1=sc.next(); char[] c1=s1.toCharArray(); String s2=sc.next(); char[] c2=s2.toCharArray(); bool flg; if(c1[0]==c2[2]){ if(c1[1]==c2[1]){ if(c1[2]==c2[0]){...
Main.java:10: error: cannot find symbol bool flg; ^ symbol: class bool location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u431125128|p03555|0
u431125128|p03555|0
codenet
Compile Error
465
v2_s221726157
s221726157
s221726157
p03555
p03555
u440949328
u440949328
1,518,788,383
2018-02-16T13:39:43
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String first = scan.next(); String second = scan.next(); char[] f = first.toCharArray(); char[] s = second.toCharArray(); if(f[1]==s[1]){ ...
Main.java:19: error: illegal start of type }else{ ^ Main.java:25: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u440949328|p03555|1
u440949328|p03555|1
codenet
Compile Error
556
v2_s138599842
s138599842
s138599842
p03555
p03555
u440949328
u440949328
1,518,788,651
2018-02-16T13:44:11
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String first = scan.next(); String second = scan.next(); char[] f = first.toCharArray(); char[] s = second.toCharArray(); if(f[1]==s[1]){ if(f[0] == s[2] && f[2] == s[0]){ ...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u440949328|p03555|1
u440949328|p03555|1
codenet
Compile Error
438
v2_s359464869
s359464869
s359464869
p03555
p03555
u458268106
u458268106
1,566,169,123
2019-08-18T22:58:43
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); if( s.charAt(0)==t.charAt(2)&& s.charAt(1)==t.charAt(1) s.charAt(2)==t.charAt(0) ){ System.out.println("YES"); }else...
Main.java:10: error: ')' expected s.charAt(1)==t.charAt(1) ^ Main.java:11: error: not a statement s.charAt(2)==t.charAt(0) ^ Main.java:11: error: ';' expected s.charAt(2)==t.charAt(0) ^ Main.java:14: error: 'else' without 'if...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458268106|p03555|0
u458268106|p03555|0
codenet
Compile Error
365
v2_s457278727
s457278727
s457278727
p03555
p03555
u471391301
u471391301
1,509,843,728
2017-11-05T01:02:08
Main.java
import core.bitop; import std.algorithm; import std.array; import std.ascii; import std.container; import std.conv; import std.format; import std.math; import std.random; import std.range; import std.stdio; import std.string; import std.typecons; void main() { string f = readln.chomp; string s = readln.chomp; au...
Main.java:21: error: not a statement foreach (i; 0..n) { ^ Main.java:15: error: unnamed classes are a preview feature and are disabled by default. void main() ^ (use --enable-preview to enable unnamed classes) Main.java:21: error: ')' or ',' expected foreach (i; 0..n) { ^ Main.java:21:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u471391301|p03555|0
u471391301|p03555|0
codenet
Compile Error
452
v2_s789520448
s789520448
s789520448
p03555
p03555
u516044245
u516044245
1,511,213,283
2017-11-20T21:28:03
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); String line1 = sc.nextLine(); String line2 = sc.nextLine(); String ret = "No"; if(line1.charAt(0)==line2.charAt(2)){ if(line1.charAt(2)==line2.charAt...
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516044245|p03555|0
u516044245|p03555|0
codenet
Compile Error
420
v2_s612332055
s612332055
s612332055
p03555
p03555
u516170499
u516170499
1,533,227,840
2018-08-02T16:37:20
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { // Atcoder用のサンプルプログラム public static void main(String[] args) throws Exception { String line = readLine(); StringTokenizer st = new StringTokenizer(line, " "); String c1 =...
Main.java:26: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516170499|p03555|0
u516170499|p03555|0
codenet
Compile Error
890
v2_s549666766
s549666766
s549666766
p03555
p03555
u516170499
u516170499
1,533,227,902
2018-08-02T16:38:22
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { // Atcoder用のサンプルプログラム public static void main(String[] args) throws Exception { String line = readLine(); StringTokenizer st = new StringTokenizer(line, " "); String c1 =...
Main.java:9: error: cannot find symbol String line = readLine(); ^ symbol: method readLine() location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516170499|p03555|0
u516170499|p03555|0
codenet
Compile Error
892
v2_s252560783
s252560783
s252560783
p03555
p03555
u547167033
u547167033
1,566,269,588
2019-08-20T02:53:08
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String[][] c = new String[2][3] for(int i = 0;i < 2;i++){ for(int j = 0;j < 3;j++){ c[i][j] = sc.next(); } } if( c[0][0].equals(c[1][2])&&c[0][1].equa...
Main.java:5: error: ';' expected String[][] c = new String[2][3] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03555|0
u547167033|p03555|0
codenet
Compile Error
455
v2_s765970562
s765970562
s765970562
p03555
p03555
u632953742
u632953742
1,513,782,195
2017-12-20T15:03:15
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); int count = 0; int ans = 0; if(a.charAt(0) == b.charAt(2)){ count++; } if(a.charAt(1) == b.charAt(1)){ count++; } if...
Main.java:31: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u632953742|p03555|0
u632953742|p03555|0
codenet
Compile Error
453
v2_s517140347
s517140347
s517140347
p03555
p03555
u653013798
u653013798
1,558,565,463
2019-05-22T22:51:03
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String[][] c = new String[2][3]; String[] str = new String[2]; for(int i=0; i++; i<2){ str[i] = sc.next(); for(int j=0; j++; j<3){ c[i][j] = str[i].charAt(j); ...
Main.java:10: error: not a statement for(int i=0; i++; i<2){ ^ Main.java:12: error: not a statement for(int j=0; j++; j<3){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653013798|p03555|0
u653013798|p03555|0
codenet
Compile Error
509
v2_s527394132
s527394132
s527394132
p03555
p03555
u653013798
u653013798
1,558,565,566
2019-05-22T22:52:46
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String[][] c = new String[2][3]; String[] str = new String[2]; for(int i=0; i<2; i++){ str[i] = sc.next(); for(int j=0; j<3; j++){ c[i][j] = str[i].charAt(j); ...
Main.java:13: error: incompatible types: char cannot be converted to String c[i][j] = str[i].charAt(j); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653013798|p03555|0
u653013798|p03555|0
codenet
Compile Error
510
v2_s036621988
s036621988
s036621988
p03555
p03555
u659156129
u659156129
1,598,532,705
2020-08-27T12:51:45
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner scn = new Scanner(System.in); int[] c = new int[6]; for(int i=0; i<n; i++){ c[i] = scn.nextInt(); } String ans = "NO"; if(c[0]==c[5] && c[1]==c[4] && c[2]==c[3]) ans = "YES"; System...
Main.java:7: error: cannot find symbol for(int i=0; i<n; i++){ ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u659156129|p03555|0
u659156129|p03555|0
codenet
Compile Error
343
v2_s049701330
s049701330
s049701330
p03555
p03555
u682395093
u682395093
1,562,425,808
2019-07-06T15:10:08
Main.java
#include <bits/stdc++.h> using namespace std; int main() { string s, t; cin >> s >> t; if(s[0] == t[2] && s[2] == t[0] && s[1] == t[1]) cout << "YES" << endl; else cout << "NO" << endl; return 0; }
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:6: error: not a statement cin >> s >> t; ^ Main.java:7: error: not a statement if(s[0] == t[2] && s[2] == t[0] ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u682395093|p03555|0
u682395093|p03555|0
codenet
Compile Error
233
v2_s056480562
s056480562
s056480562
p03555
p03555
u712165693
u712165693
1,509,843,834
2017-11-05T01:03:54
Main.java
public class Main { static Scanner sc = new Scanner(System.in); static int res = 0; static List<int[]> l = new ArrayList<int[]>(); public static void main(String[] args) throws Exception { // setOut(); String str1=sc.nextLine(); String str2=sc.nextLine(); System.out.println(helper(str1,str2)); } pri...
Main.java:3: error: cannot find symbol static Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol static List<int[]> l = new ArrayList<int[]>(); ^ symbol: class List location: class Main Main.java:3: error: cannot find sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u712165693|p03555|0
u712165693|p03555|0
codenet
Compile Error
545
v2_s856640318
s856640318
s856640318
p03555
p03555
u747725336
u747725336
1,553,090,515
2019-03-20T14:01:55
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String C1 =sc.next(); String C2 =sc.next(); String [] A = C1.split(""); String [] B = C2.split(""); if((A[1] == B[3]) && (A[2] == B[2] && (A[3] == B[1])){ println("YES"); }e...
Main.java:8: error: ')' expected if((A[1] == B[3]) && (A[2] == B[2] && (A[3] == B[1])){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u747725336|p03555|0
u747725336|p03555|0
codenet
Compile Error
3,936
v2_s020014995
s020014995
s020014995
p03555
p03555
u747725336
u747725336
1,553,090,873
2019-03-20T14:07:53
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String A =sc.next(); String B =sc.next(); String C11 = A.charAt(0); String C12 = A.charAt(1); String C13 = A.charAt(2); String C21 = A.charAt(0); String C22 = A.charAt(1); ...
Main.java:6: error: incompatible types: char cannot be converted to String String C11 = A.charAt(0); ^ Main.java:7: error: incompatible types: char cannot be converted to String String C12 = A.charAt(1); ^ Main.java:8: error: incompatible types: char cannot be c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u747725336|p03555|0
u747725336|p03555|0
codenet
Compile Error
4,045
v2_s724495139
s724495139
s724495139
p03555
p03555
u747725336
u747725336
1,553,090,933
2019-03-20T14:08:53
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String A =sc.next(); String B =sc.next(); String C11 = A.charAt(0); String C12 = A.charAt(1); String C13 = A.charAt(2); String C21 = B.charAt(0); String C22 = B.charAt(1); ...
Main.java:6: error: incompatible types: char cannot be converted to String String C11 = A.charAt(0); ^ Main.java:7: error: incompatible types: char cannot be converted to String String C12 = A.charAt(1); ^ Main.java:8: error: incompatible types: char cannot be c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u747725336|p03555|0
u747725336|p03555|0
codenet
Compile Error
4,045
v2_s634465918
s634465918
s634465918
p03555
p03555
u747725336
u747725336
1,553,092,483
2019-03-20T14:34:43
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String A =sc.next(); String B =sc.next(); String C11 = String.valueOF(A.charAt(0)); String C12 = String.valueOf(A.charAt(1)); String C13 = String.valueOf(A.charAt(2)); String C21 ...
Main.java:6: error: cannot find symbol String C11 = String.valueOF(A.charAt(0)); ^ symbol: method valueOF(char) location: class String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u747725336|p03555|0
u747725336|p03555|0
codenet
Compile Error
4,156
v2_s199256401
s199256401
s199256401
p03555
p03555
u800258616
u800258616
1,553,090,988
2019-03-20T14:09:48
Main.java
class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); String str1 = sc.next(); String str2 = sc.next(); StringBuffer sb = new StringBuffer(str2); name = sb.reverse().toString(); if(str2.equals(name) == true){ println("YES"); ...
Main.java:7: error: cannot find symbol name = sb.reverse().toString(); ^ symbol: variable name location: class Main Main.java:9: error: cannot find symbol if(str2.equals(name) == true){ ^ symbol: variable name location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u800258616|p03555|1
u800258616|p03555|1
codenet
Compile Error
3,942
v2_s234657315
s234657315
s234657315
p03555
p03555
u809407598
u809407598
1,552,274,100
2019-03-11T03:15:00
Main.java
import java.util.*; public class Main { public static void main(String[] args){ //データ取り込み Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); if(a.charAt[0]==b.charAt[2]&& a.charAt[1]==b.charAt[1]&&a.charAt[2]==b.charAt[0]){ System.out.println("YES"); ...
Main.java:8: error: cannot find symbol if(a.charAt[0]==b.charAt[2]&& a.charAt[1]==b.charAt[1]&&a.charAt[2]==b.charAt[0]){ ^ symbol: variable charAt location: variable a of type String Main.java:8: error: cannot find symbol if(a.charAt[0]==b.charAt[2]&& a.charAt[1]==b.charAt[1]&&a.charAt[2]==...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u809407598|p03555|0
u809407598|p03555|0
codenet
Compile Error
393
v2_s942697525
s942697525
s942697525
p03555
p03555
u863370423
u863370423
1,584,761,051
2020-03-21T03:24:11
A.java
import java.util.Scanner; public class A-Rotate { public static void main(String args[]) { Scanner sc = new Scanner(System.in); String st1 = sc.nextLine(); String st2 = sc.nextLine(); if(st1.charAt(0)==st2.charAt(2) && st1.charAt(1)==st2.charAt(1) && st1.charAt(2)==st2.charAt(0)) { System.out.p...
A.java:3: error: '{' expected public class A-Rotate { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03555|0
u863370423|p03555|0
codenet
Compile Error
395
v2_s526206608
s526206608
s526206608
p03555
p03555
u863370423
u863370423
1,584,761,786
2020-03-21T03:36:26
Main.java
Scanner sc = new Scanner(System.in); String st1 = sc.nextLine(); String st2 = sc.nextLine(); if(st1.charAt(0)==st2.charAt(2) && st1.charAt(1)==st2.charAt(1) && st1.charAt(2)==st2.charAt(0)) { System.out.println("YES"); } else { System.out.println("NO"); }
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. Scanner sc = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:5: error: class, interface, enum, or record expected if(st1.charAt(0)==st2.charAt(2) && st1.charAt(1)==st2.charAt(1) && s...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03555|0
u863370423|p03555|0
codenet
Compile Error
295
v2_s494473051
s494473051
s494473051
p03555
p03555
u918923596
u918923596
1,601,244,710
2020-09-27T22:11:50
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); String s1 = sc.nextLine(); String s2 = sc.nextLine(); String list1[] = s.split(""); String list2[] = s.split(""); String ans = ""; ...
Main.java:8: error: cannot find symbol String list1[] = s.split(""); ^ symbol: variable s location: class Main Main.java:9: error: cannot find symbol String list2[] = s.split(""); ^ symbol: variable s location: class Main Main.java:11: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918923596|p03555|0
u918923596|p03555|0
codenet
Compile Error
595
v2_s756822304
s756822304
s756822304
p03555
p03555
u925103765
u925103765
1,532,618,450
2018-07-26T15:20:50
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); String ans = "Yes"; if(a.charAt(0)!=b.charAt(2)||a.charAt(1)!=b.charAt(1)||a.charAt(2)!=b.charAt(0)){ ans = "N...
Main.java:13: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925103765|p03555|0
u925103765|p03555|0
codenet
Compile Error
372
v2_s457097586
s457097586
s457097586
p03556
p03556
u018679195
u018679195
1,584,766,579
2020-03-21T04:56:19
Solution.java
public class Solution{ public static void main(String []a) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number N"); int N = sc.nextInt(); int num=0; for(int i=0;i<=N/2;i++) { if(i*i<=N) num=i*i; } System.out.println("The maximun square is "+num); } }
Solution.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Solution Solution.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Solution 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018679195|p03556|0
u018679195|p03556|0
codenet
Compile Error
275
v2_s064095363
s064095363
s064095363
p03556
p03556
u024824950
u024824950
1,556,284,181
2019-04-26T13:09:41
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); if(int i=n; i>=0; i--){ if(Math.sqrt(i)==(int)Math.sqrt(i)){ System.out.println(i); break; } } ...
Main.java:6: error: '.class' expected if(int i=n; i>=0; i--){ ^ Main.java:6: error: not a statement if(int i=n; i>=0; i--){ ^ Main.java:6: error: ';' expected if(int i=n; i>=0; i--){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03556|0
u024824950|p03556|0
codenet
Compile Error
323
v2_s772408309
s772408309
s772408309
p03556
p03556
u089230684
u089230684
1,584,766,553
2020-03-21T04:55:53
Main.java
Public class Solution{ public static void main(String []a) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number N"); int N = sc.nextInt(); int num=0; for(int i=0;i<=N/2;i++) { if(i*i<=N) num=i*i; } System.out.println("The maximun square is "+num); } }
Main.java:1: error: class, interface, enum, or record expected Public class Solution{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u089230684|p03556|0
u089230684|p03556|0
codenet
Compile Error
275
v2_s421529189
s421529189
s421529189
p03556
p03556
u154975175
u154975175
1,514,145,138
2017-12-24T19:52: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 answer = 0; for (int i = 0; i <= n; i++) { if (Math.pow(i, 2) <= n && Math.pow(i, 2) > answer) { answer = Math.pow(i, 2); } } System.out.println(...
Main.java:11: error: incompatible types: possible lossy conversion from double to int answer = Math.pow(i, 2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u154975175|p03556|0
u154975175|p03556|0
codenet
Compile Error
349
v2_s280409143
s280409143
s280409143
p03556
p03556
u172203805
u172203805
1,510,259,731
2017-11-09T20:35:31
Main.java
class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int intInput = sc.nextInt(); int count = 1; while (multi(count-1,2) < intInput){ count ++; } count --; System.out.println(count); } public stati...
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
u172203805|p03556|0
u172203805|p03556|0
codenet
Compile Error
477
v2_s255927397
s255927397
s255927397
p03556
p03556
u547167033
u547167033
1,566,270,956
2019-08-20T03:15:56
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 sn = Math.sqrt(n); if(n == sn*sn){ System.out.println(n); }else{ System.out.println(sn*sn); } } }
Main.java:6: error: incompatible types: possible lossy conversion from double to int int sn = Math.sqrt(n); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03556|0
u547167033|p03556|0
codenet
Compile Error
293
v2_s121069890
s121069890
s121069890
p03556
p03556
u698760125
u698760125
1,510,260,244
2017-11-09T20:44:04
Main.java
import java.*; public class Main(){ public static void main(String[] args) { int N; int i=0; Scanner s=new Scanner; while (++i*i<N); i--; System.out.println(i*i); } }
Main.java:3: error: '{' expected public class Main(){ ^ Main.java:8: error: '(' or '[' expected Scanner s=new Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u698760125|p03556|0
u698760125|p03556|0
codenet
Compile Error
224
v2_s661142652
s661142652
s661142652
p03556
p03556
u816631826
u816631826
1,584,766,359
2020-03-21T04:52:39
Main.java
Public class Solution{ public static void main(String []a) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number N); int N = sc.nextInt(); int num=0; for(int i=0;i<=N/2;i++) { if(i*i<=N) num=i*i; } System.out.println("The maximun square is "+num); } }
Main.java:1: error: class, interface, enum, or record expected Public class Solution{ ^ Main.java:6: error: unclosed string literal System.out.println("Enter the number N); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p03556|0
u816631826|p03556|0
codenet
Compile Error
274
v2_s947661793
s947661793
s947661793
p03556
p03556
u816631826
u816631826
1,584,766,495
2020-03-21T04:54:55
Solution.java
import java.util.*; public class Solution{ public static void main(String []arg) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number N); int N = sc.nextInt(); int num=0; for(int i=0;i<=N/2;i++) { if(i*i<=N) num=i*i; } System.out.println("The maximun square is "+num); } }
Solution.java:7: error: unclosed string literal System.out.println("Enter the number N); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u816631826|p03556|0
u816631826|p03556|0
codenet
Compile Error
296
v2_s182537001
s182537001
s182537001
p03556
p03556
u863370423
u863370423
1,584,767,049
2020-03-21T05:04:09
Main.java
int num=0; for(int i=0;i<=N/2;i++) { if(i*i<=N) num=i*i; } System.out.println("The maximun square is "+num);
Main.java:2: error: unnamed classes are a preview feature and are disabled by default. int num=0; ^ (use --enable-preview to enable unnamed classes) Main.java:3: error: class, interface, enum, or record expected for(int i=0;i<=N/2;i++) ^ Main.java:3: error: class, interface, enum, or record expected for(int i=0;i<=N/...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03556|0
u863370423|p03556|0
codenet
Compile Error
111
v2_s338758642
s338758642
s338758642
p03556
p03556
u863370423
u863370423
1,584,767,101
2020-03-21T05:05:01
Main.java
public static void main(String []a) { Scanner sc = new Scanner(System.in); System.out.println("Enter the number N); int N = sc.nextInt(); int num=0; for(int i=0;i<=N/2;i++) { if(i*i<=N) num=i*i; } System.out.println("The maximun square is "+num); }
Main.java:5: error: unclosed string literal System.out.println("Enter the number N); ^ Main.java:2: error: unnamed classes are a preview feature and are disabled by default. public static void main(String []a) ^ (use --enable-preview to enable unnamed classes) 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863370423|p03556|0
u863370423|p03556|0
codenet
Compile Error
250
v2_s861632697
s861632697
s861632697
p03557
p03557
u001648655
u001648655
1,511,124,534
2017-11-19T20:48:54
Main.java
import java.util.Arrays; 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]; int[] b = new int[n]; int[] c = new int[n]; for(int i = 0; i < n; i++) { a[i] = sc.nextInt(); } ...
Main.java:40: error: cannot find symbol x = a[i]; ^ symbol: variable x location: class Main Main.java:41: error: cannot find symbol y = b[j]; ^ symbol: variable y location: class Main Main.java:42: error: cannot find symbol z = c[k]; ^ symbol: variable z locat...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u001648655|p03557|0
u001648655|p03557|0
codenet
Compile Error
876
v2_s351826872
s351826872
s351826872
p03557
p03557
u024824950
u024824950
1,556,285,979
2019-04-26T13:39:39
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[] b = new int[n]; int[] c = new int[n]; int cnt = 0; int tmp = n-1; for(int i=0; i<n; i++){ ...
Main.java:38: error: cannot find symbol if(b[j]>=c[k]) break; ^ symbol: variable k location: class Main Main.java:40: error: cannot find symbol if(b[j]>=c[k]) break; ^ symbol: variable j location: class Main Main.java:40: error: cannot ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03557|0
u024824950|p03557|0
codenet
Compile Error
1,144
v2_s354325832
s354325832
s354325832
p03557
p03557
u024824950
u024824950
1,556,286,051
2019-04-26T13:40:51
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[] b = new int[n]; int[] c = new int[n]; int cnt = 0; int tmp = n-1; for(int i=0; i<n; i++){ ...
Main.java:39: error: cannot find symbol if(b[j]>=c[k]) break; ^ symbol: variable k location: class Main Main.java:41: error: cannot find symbol if(b[j]>=c[tmp]) break; ^ symbol: variable j location: class Main Main.java:42: error: canno...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03557|0
u024824950|p03557|0
codenet
Compile Error
1,179
v2_s824818974
s824818974
s824818974
p03557
p03557
u024824950
u024824950
1,556,286,158
2019-04-26T13:42:38
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[] b = new int[n]; int[] c = new int[n]; int cnt = 0; int tmp = n-1; int temp = n-1; for(int i=0...
Main.java:31: error: ';' expected temp = j ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03557|0
u024824950|p03557|0
codenet
Compile Error
1,299
v2_s483014347
s483014347
s483014347
p03557
p03557
u024824950
u024824950
1,556,286,184
2019-04-26T13:43:04
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[] b = new int[n]; int[] c = new int[n]; int cnt = 0; int tmp = n-1; int temp = n-1; for(int i=0...
Main.java:44: error: cannot find symbol if(b[j]>=c[k]) break; ^ symbol: variable k location: class Main Main.java:46: error: cannot find symbol if(b[j]>=c[tmp]) break; ^ symbol: variable j location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03557|0
u024824950|p03557|0
codenet
Compile Error
1,300
v2_s467441022
s467441022
s467441022
p03557
p03557
u114722370
u114722370
1,595,939,779
2020-07-28T12:36:19
Main.java
from bisect import bisect_left, bisect_right n = int(input()) an = list(map(int, input().split())) bn = list(map(int, input().split())) cn = list(map(int, input().split())) an.sort() bn.sort() cn.sort() cnt = 0 for b in bn: a = bisect_left(an,b) c = bisect_right(cn,b) cnt += a * (n-c) print(cnt)
Main.java:1: error: class, interface, enum, or record expected from bisect import bisect_left, bisect_right ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u114722370|p03557|0
u114722370|p03557|0
codenet
Compile Error
312
v2_s431370303
s431370303
s431370303
p03557
p03557
u149419355
u149419355
1,555,965,042
2019-04-22T20:30:42
Main.java
import java.util.*; public class Main { void run() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] aArr = new int[n]; int[] bArr = new int[n]; int[] cArr = new int[n]; for (int i = 0; i < n; i++) { aArr[i] = sc.nextInt(); } ...
Main.java:32: error: cannot find symbol long aCount = BinarySearch.lowerBound(aArr, target); ^ symbol: variable BinarySearch location: class Main Main.java:33: error: cannot find symbol long cCount = n - BinarySearch.upperBound(cArr, target); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u149419355|p03557|0
u149419355|p03557|0
codenet
Compile Error
1,061
v2_s861449486
s861449486
s861449486
p03557
p03557
u149419355
u149419355
1,555,965,071
2019-04-22T20:31:11
Main.java
import java.util.*; public class Main { void run() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] aArr = new int[n]; int[] bArr = new int[n]; int[] cArr = new int[n]; for (int i = 0; i < n; i++) { aArr[i] = sc.nextInt(); } ...
Main.java:32: error: cannot find symbol long aCount = BinarySearch.lowerBound(aArr, target); ^ symbol: variable BinarySearch location: class Main Main.java:33: error: cannot find symbol long cCount = n - BinarySearch.upperBound(cArr, target); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u149419355|p03557|0
u149419355|p03557|0
codenet
Compile Error
1,057
v2_s590582606
s590582606
s590582606
p03557
p03557
u149419355
u149419355
1,555,965,142
2019-04-22T20:32:22
Main.java
import java.util.*; public class Main { void run() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] aArr = new int[n]; int[] bArr = new int[n]; int[] cArr = new int[n]; for (int i = 0; i < n; i++) { aArr[i] = sc.nextInt(); } ...
Main.java:32: error: cannot find symbol long aCount = BinarySearch.lowerBound(aArr, target); ^ symbol: variable BinarySearch location: class Main Main.java:33: error: cannot find symbol long cCount = n - BinarySearch.upperBound(cArr, target); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u149419355|p03557|0
u149419355|p03557|0
codenet
Compile Error
1,057
v2_s212380405
s212380405
s212380405
p03557
p03557
u265065462
u265065462
1,564,978,994
2019-08-05T04:23:14
Main.java
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); ++i) #define rrep(i,n) for (int i=(int)(n)-1; i>=0; --i) #define debug(x) cerr << #x << " = " << x << "\n" #define debugv(x) rep(i, x.size()) cerr << x[i] << (i == x.size() - 1 ? "\n" : " ") #define all(x) x.begin(),x.end() #define int long long u...
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:2: error: illegal character: '#' #define rep(i, n) for (int i = 0; i < (int)(n); ++i) ^ Main.java:2: error: class, interface, enum, or record...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u265065462|p03557|0
u265065462|p03557|0
codenet
Compile Error
886
v2_s862981902
s862981902
s862981902
p03557
p03557
u310790595
u310790595
1,509,911,377
2017-11-05T19:49:37
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { static long n; public static void main(String[] args) { Scanner sc = new Scanner(System.in); n = sc.nextInt(); int[] a = new int[n]; int[] b = new int[n]; int[] c = new int[n]; for(int i = 0 ; i < n ; i++) { a[i] = sc.nextInt(...
Main.java:11: error: incompatible types: possible lossy conversion from long to int int[] a = new int[n]; ^ Main.java:12: error: incompatible types: possible lossy conversion from long to int int[] b = new int[n]; ^ Main.java:13: error: incompatible types: possible lossy conv...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u310790595|p03557|0
u310790595|p03557|0
codenet
Compile Error
823
v2_s322089858
s322089858
s322089858
p03557
p03557
u310790595
u310790595
1,509,912,591
2017-11-05T20:09:51
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { static int n; public static void main(String[] args) { Scanner sc = new Scanner(System.in); n = sc.nextInt(); int[] a = new int[n]; int[] b = new int[n]; int[] c = new int[n]; for(int i = 0 ; i < n ; i++) { a[i] = sc.nextInt()...
Main.java:27: error: cannot find symbol ans += 0L + binary_search(a, b[i]) *(n - binary_search2(c, b[i] + 1)); ^ symbol: method binary_search2(int[],int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u310790595|p03557|0
u310790595|p03557|0
codenet
Compile Error
833
v2_s779379344
s779379344
s779379344
p03557
p03557
u369190981
u369190981
1,586,443,045
2020-04-09T14:37:25
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; class FastScanner { private final InputStream in = System.in; private final byte[] buf...
Main.java:241: error: cannot find symbol return upperbound(a, key) - lowerbound(a, key); ^ symbol: method upperbound(int[],int) location: class Main Main.java:241: error: cannot find symbol return upperbound(a, key) - lowerbound(a, key); ^ symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369190981|p03557|0
u369190981|p03557|0
codenet
Compile Error
7,786
v2_s843220841
s843220841
s843220841
p03557
p03557
u369190981
u369190981
1,586,443,341
2020-04-09T14:42:21
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; class FastScanner { private final InputStream in = System.in; private final byte[] buf...
Main.java:241: error: cannot find symbol return upperbound(a, key) - lowerbound(a, key); ^ symbol: method upperbound(int[],int) location: class Main Main.java:241: error: cannot find symbol return upperbound(a, key) - lowerbound(a, key); ^ symbo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u369190981|p03557|0
u369190981|p03557|0
codenet
Compile Error
7,767
v2_s501605088
s501605088
s501605088
p03557
p03557
u434746933
u434746933
1,564,623,893
2019-08-01T01:44:53
Main.java
import java.util.Scanner; import java.util.*; public class Main { public static int lower(int A[],int key) { int left=-1; int right = A.length; int mid=0; while(right-left>1) { mid = (right + left)/2; if(A[mid]>key){ right = mid; }else if(A[mid]<key){ left = mid; }else { return ...
Main.java:67: error: incompatible types: double[] cannot be converted to int[] foundA = lower(A,B[i]); ^ Main.java:68: error: incompatible types: double[] cannot be converted to int[] foundB = upper(C,B[i]); ^ Note: Some messages have been simplified...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u434746933|p03557|3
u434746933|p03557|3
codenet
Compile Error
1,368
v2_s878602704
s878602704
s878602704
p03557
p03557
u434746933
u434746933
1,564,628,602
2019-08-01T03:03:22
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); double[] a = new double[n]; for (int i = 0; i < n; i++) { a[i] = sc.nextInt(); } int[] b = new int[n]; for (int ...
Main.java:36: error: class, interface, enum, or record expected import java.util.Arrays; ^ Main.java:37: error: class, interface, enum, or record expected import java.util.Scanner; ^ Main.java:71: error: reached end of file while parsing ???? ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u434746933|p03557|3
u434746933|p03557|3
codenet
Compile Error
1,568
v2_s325657388
s325657388
s325657388
p03557
p03557
u504228740
u504228740
1,567,471,139
2019-09-03T00:38:59
Main.java
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n=sc.nextInt(); long[] a=new long[n]; long[] b=new long[n]; long[] c=new long[n]; for(int i=0; i<n; i++){ a[i]=sc.nextLong(); } for(int i=0; i<n; i++...
Main.java:29: error: ';' expected idxc=n+idxc+1); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u504228740|p03557|0
u504228740|p03557|0
codenet
Compile Error
725
v2_s547596619
s547596619
s547596619
p03557
p03557
u632953742
u632953742
1,513,786,248
2017-12-20T16:10:48
Main.java
import java.util.Scanner; public class Main { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int A[] = new int[a]; int B[] = new int[a]; int C[] = new int[a]; int X[] = new int[a]; public static void main(String[] args){ for(int i = 0;i < a;i++){ A[i] = sc.nextInt(); } sort(A); for(in...
Main.java:14: error: non-static variable a cannot be referenced from a static context for(int i = 0;i < a;i++){ ^ Main.java:15: error: non-static variable A cannot be referenced from a static context A[i] = sc.nextInt(); ^ Main.java:15: error: non-static variable sc cannot be referenced from...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u632953742|p03557|0
u632953742|p03557|0
codenet
Compile Error
883
v2_s531177505
s531177505
s531177505
p03557
p03557
u632953742
u632953742
1,513,786,440
2017-12-20T16:14:00
Main.java
import java.util.Scanner; public class Main{ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int A[] = new int[a]; int B[] = new int[a]; int C[] = new int[a]; int X[] = new int[a]; public static void main(String[] args){ for(int i = 0;i < a;i++){ A[i] = sc.nextInt(); } sort(A); for(int...
Main.java:14: error: non-static variable a cannot be referenced from a static context for(int i = 0;i < a;i++){ ^ Main.java:15: error: non-static variable A cannot be referenced from a static context A[i] = sc.nextInt(); ^ Main.java:15: error: non-static variable sc cannot be referenced from...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u632953742|p03557|0
u632953742|p03557|0
codenet
Compile Error
881
v2_s002085136
s002085136
s002085136
p03557
p03557
u886708442
u886708442
1,585,878,846
2020-04-03T01:54:06
Main.java
public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int n = getInt(); int[] A = new int[n]; int[] B = new int[n]; int[] C = new int[n]; long ans = 0; for(int i = 0; i < n; i++) A[i] = getInt(); for(int i...
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 Main....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u886708442|p03557|0
u886708442|p03557|0
codenet
Compile Error
1,529
v2_s771733815
s771733815
s771733815
p03557
p03557
u891161439
u891161439
1,522,215,107
2018-03-28T05:31:47
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[] a = new long[N]; long[] b = new long[N]; long[] c = new long[N]; for(int i = 0;i < N;i++){ a[i] = sc.nextLong(); } for(int i = 0;i < N;i++){ b[i] ...
Main.java:41: error: reached end of file while parsing }} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u891161439|p03557|0
u891161439|p03557|0
codenet
Compile Error
891
v2_s167720165
s167720165
s167720165
p03557
p03557
u925940521
u925940521
1,554,563,351
2019-04-06T15:09:11
Main.java
.util.*; import static java.lang.System.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); long[] A = new long[N]; long[] B = new long[N]; long[] C = new long[N]; for (int i = 0; i < N; i++) { ...
Main.java:1: error: class, interface, enum, or record expected .util.*; ^ Main.java:3: error: class, interface, enum, or record expected import static java.lang.System.*; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u925940521|p03557|0
u925940521|p03557|0
codenet
Compile Error
1,073
v2_s265015125
s265015125
s265015125
p03558
p03558
u941274418
u941274418
1,583,640,995
2020-03-08T04:16:35
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); Set<Integer> digitS = new HashSet<>(); int i = 1; while(true) { long mul = k * i; long ...
Main.java:12: error: cannot find symbol long ds = digitSum(num); ^ symbol: variable num location: class Main Main.java:14: error: incompatible types: long cannot be converted to Integer digitS.add(ds); ^ Note: Some messages have been simpli...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u941274418|p03558|0
u941274418|p03558|0
codenet
Compile Error
727
v2_s427485087
s427485087
s427485087
p03559
p03559
u450832845
u450832845
1,509,844,679
2017-11-05T01:17:59
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { new Main().compute(); } void compute() { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] A = new int[N + 1]; int[] B = new int[N + 1]; int[] C = new int[...
Main.java:27: error: cannot find symbol Arrays.sort(A); ^ symbol: variable Arrays location: class Main Main.java:28: error: cannot find symbol Arrays.sort(B); ^ symbol: variable Arrays location: class Main Main.java:29: error: cannot find symbol Arrays.sort(C); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u450832845|p03559|0
u450832845|p03559|0
codenet
Compile Error
1,466
v2_s801843621
s801843621
s801843621
p03560
p03560
u450832845
u450832845
1,509,901,025
2017-11-05T16:57:05
Main.java
import java.util.Deque; import java.util.List; import java.util.PriorityQueue; import java.util.Queue; import java.util.Scanner; public class Main { public static void main(String[] args) { new Main().compute(); } void compute() { Scanner sc = new Scanner(System.in); int K = sc.ne...
Main.java:22: error: cannot find symbol Deque<Integer> que = new ArrayDeque<>(); ^ symbol: class ArrayDeque location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u450832845|p03560|1
u450832845|p03560|1
codenet
Compile Error
1,141
v2_s892701041
s892701041
s892701041
p03563
p03563
u024824950
u024824950
1,556,238,851
2019-04-26T00:34:11
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); System.out.println(2g - r); } }
Main.java:7: error: ')' or ',' expected System.out.println(2g - r); ^ Main.java:7: error: not a statement System.out.println(2g - r); ^ Main.java:7: error: ';' expected System.out.println(2g - r); ^ 3 erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024824950|p03563|0
u024824950|p03563|0
codenet
Compile Error
233
v2_s642144439
s642144439
s642144439
p03563
p03563
u105096556
u105096556
1,509,806,849
2017-11-04T14:47:29
Main.java
public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); // 整数の入力 int a = sc.nextInt(); // スペース区切りの整数の入力 int b = sc.nextInt(); int c = 2*b -a; // 出力 System.out.println(c); } }
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u105096556|p03563|0
u105096556|p03563|0
codenet
Compile Error
303
v2_s782311824
s782311824
s782311824
p03563
p03563
u137544649
u137544649
1,518,290,993
2018-02-10T19:29:53
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // 標準入力 Scanner sc = new Scanner(System.in); String line1 = sc.nextLine(); String line2 = sc.nextLine(); int result = 0; int R =Integer.parseInt(line1); int G = Integer.parseInt(line2); result = G*2 -R; System...
Main.java:18: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u137544649|p03563|0
u137544649|p03563|0
codenet
Compile Error
352
v2_s876235974
s876235974
s876235974
p03563
p03563
u140306344
u140306344
1,509,240,001
2017-10-29T01:20:01
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; import java.math.*; public class Main { public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new Strin...
Main.java:13: error: ')' or ',' expected System.out.println(2G - R); ^ Main.java:13: error: not a statement System.out.println(2G - R); ^ Main.java:13: error: ';' expected System.out.println(2G - R); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u140306344|p03563|0
u140306344|p03563|0
codenet
Compile Error
452
v2_s275528915
s275528915
s275528915
p03563
p03563
u140306344
u140306344
1,509,240,256
2017-10-29T01:24:16
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; import java.math.*; public class Main { public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new Strin...
Main.java:21: error: class, interface, enum, or record expected import java.io.BufferedReader; ^ Main.java:22: error: class, interface, enum, or record expected import java.io.IOException; ^ Main.java:23: error: class, interface, enum, or record expected import java.io.InputStreamReader; ^ Main.java:24: error: class, i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u140306344|p03563|0
u140306344|p03563|0
codenet
Compile Error
985
v2_s458189333
s458189333
s458189333
p03563
p03563
u216070723
u216070723
1,509,683,599
2017-11-03T04:33:19
Rating.java
public class Rating { import java.util.Scanner; public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); float R = stdIn.nextFloat(); float G = stdIn.nextFloat(); float answer = 2 * G - R; System.out.println(answer); } }
Rating.java:2: error: illegal start of type import java.util.Scanner; ^ Rating.java:2: error: <identifier> expected import java.util.Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u216070723|p03563|0
u216070723|p03563|0
codenet
Compile Error
276
v2_s832034156
s832034156
s832034156
p03563
p03563
u216070723
u216070723
1,509,683,673
2017-11-03T04:34:33
Main.java
public class Main { import java.util.Scanner; public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); float R = stdIn.nextFloat(); float G = stdIn.nextFloat(); float answer = 2 * G - R; System.out.println(answer); } }
Main.java:2: error: illegal start of type import java.util.Scanner; ^ Main.java:2: error: <identifier> expected import java.util.Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u216070723|p03563|0
u216070723|p03563|0
codenet
Compile Error
272
v2_s762333492
s762333492
s762333492
p03563
p03563
u274962354
u274962354
1,554,223,340
2019-04-02T16:42:20
Main.java
#include<iostream> #include <algorithm> #include <string> #include<math.h> #define rep(i,n)for(int i=0;i<n;i++) using namespace std; int main() { int a, b; cin >> a >> b; cout << b * 2 - a << endl; return 0; }
Main.java:1: error: illegal character: '#' #include<iostream> ^ Main.java:2: error: illegal character: '#' #include <algorithm> ^ Main.java:3: error: illegal character: '#' #include <string> ^ Main.java:4: error: illegal character: '#' #include<math.h> ^ Main.java:5: error: illegal character: '#' #define rep(i,n)for(in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u274962354|p03563|1
u274962354|p03563|1
codenet
Compile Error
225
v2_s274631155
s274631155
s274631155
p03563
p03563
u288684239
u288684239
1,594,481,706
2020-07-11T15:35:06
solution.java
import java.util.*; public class solution{ public static void main(String [] args){ Scanner sc=new Scanner(Syster.in); int x=sc.nextInt(); int y=sc.nextInt(); double res=(x+y)/2; System.out.println(res); } }
solution.java:4: error: cannot find symbol Scanner sc=new Scanner(Syster.in); ^ symbol: variable Syster location: class solution 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u288684239|p03563|0
u288684239|p03563|0
codenet
Compile Error
232
v2_s406948105
s406948105
s406948105
p03563
p03563
u410793639
u410793639
1,559,759,831
2019-06-05T18:37:11
Nnn.java
import java.util.Scanner; public class Nnn { public static void main(String[] args){ Nnn obj = new Nnn(); obj.doIt(); } void doIt() { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); sc.close(); if ((a + b) % 2 == g); else if (b =2* g - a); System.out.print...
Nnn.java:18: error: cannot find symbol if ((a + b) % 2 == g); ^ symbol: variable g location: class Nnn Nnn.java:19: error: cannot find symbol else if (b =2* g - a); ^ symbol: variable g location: class Nnn Nnn.java:19: error: incompatible types: int cannot be conver...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u410793639|p03563|0
u410793639|p03563|0
codenet
Compile Error
337
v2_s390937940
s390937940
s390937940
p03563
p03563
u424568485
u424568485
1,594,992,064
2020-07-17T13:21:04
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextDouble(); int g = sc.nextInt(); int s = 2 * g - r; System.out.println(s); ; } }
Main.java:7: error: incompatible types: possible lossy conversion from double to int int r = sc.nextDouble(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u424568485|p03563|0
u424568485|p03563|0
codenet
Compile Error
236
v2_s972681051
s972681051
s972681051
p03563
p03563
u480442172
u480442172
1,509,249,871
2017-10-29T04:04:31
Main.java
import java.util.Scanner; public class Main{ static Scanner s=new Scanner(System.in); static int gInt(){return Integer.parseInt(s.next());} public static void main(String[] $){ String a=s.next().replaceAll("\\?","."),b=s.next(); for(int i=a.length()-b.length();i>=0;--i) { String regex=a.substr...
Main.java:18: error: method main(String[]) is already defined in class Main } public static void main(String[] $){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u480442172|p03563|0
u480442172|p03563|0
codenet
Compile Error
1,064
v2_s053093170
s053093170
s053093170
p03563
p03563
u511853544
u511853544
1,509,398,748
2017-10-30T21:25:48
Main.java
import java.util.*; class Main{ int n; int t[102]; int v[101]; int a[20100]; int b[20100]; int s; double ans; public static void main(String args[]){ Scanner in = new Scanner (System.in); n = Integer.parseInt(in.next()); for(int i=1; i<=n; ++i){ t[i]=Integer.parseInt(in.next()); s += t[i]; t[i] += t[i-1]; ...
Main.java:5: error: ']' expected int t[102]; ^ Main.java:6: error: ']' expected int v[101]; ^ Main.java:7: error: ']' expected int a[20100]; ^ Main.java:8: error: ']' expected int b[20100]; ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u511853544|p03563|1
u511853544|p03563|1
codenet
Compile Error
1,204
v2_s721966253
s721966253
s721966253
p03563
p03563
u526188124
u526188124
1,585,544,629
2020-03-30T05:03:49
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double R = sc.nextInt(), G = sc.nextInt(); System.out.println(2G - R); } }
Main.java:7: error: ')' or ',' expected System.out.println(2G - R); ^ Main.java:7: error: not a statement System.out.println(2G - R); ^ Main.java:7: error: ';' expected System.out.println(2G - R); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u526188124|p03563|0
u526188124|p03563|0
codenet
Compile Error
203
v2_s694099170
s694099170
s694099170
p03563
p03563
u547167033
u547167033
1,566,271,880
2019-08-20T03:31:20
Main.java
import java.util.* public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); System.out.println(2*g-r); } }
Main.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03563|0
u547167033|p03563|0
codenet
Compile Error
223
v2_s181434903
s181434903
s181434903
p03563
p03563
u558367863
u558367863
1,586,743,763
2020-04-13T02:09:23
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner stdIn=new Scanner(System.in); int R=stdIn.nextInt(); int G=stdIn.nextInt(); int A=2*G-A; System.out.println(A); } }
Main.java:7: error: variable A might not have been initialized int A=2*G-A; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u558367863|p03563|0
u558367863|p03563|0
codenet
Compile Error
219
v2_s416331596
s416331596
s416331596
p03563
p03563
u595579032
u595579032
1,509,676,593
2017-11-03T02:36:33
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int first = scan.nextInt(); int heikin = scan.nextInt(); int plus = heikin-first; System.out.println((heikin+plus)); }
Main.java:10: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u595579032|p03563|0
u595579032|p03563|0
codenet
Compile Error
277
v2_s508619025
s508619025
s508619025
p03563
p03563
u661610403
u661610403
1,563,884,873
2019-07-23T12:27:53
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); float now = sc.nextFloat(); float will = sc.nextFloat(); will = will * 2; float res = will - now; System.out.println(res); } }
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u661610403|p03563|0
u661610403|p03563|0
codenet
Compile Error
240
v2_s225471159
s225471159
s225471159
p03563
p03563
u661610403
u661610403
1,563,884,967
2019-07-23T12:29:27
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); float now = sc.nextFloat(); float will = sc.nextFloat(); will = will * 2; float res = will - now; System.out.println((int)res); } }
Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u661610403|p03563|0
u661610403|p03563|0
codenet
Compile Error
245
v2_s116128391
s116128391
s116128391
p03563
p03563
u781719273
u781719273
1,509,239,131
2017-10-29T01:05:31
Main.java
import java.awt.List; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.InputMismatchException; import java.util.Linked...
Main.java:44: error: cannot find symbol { new Tester().run(); } ^ symbol: class Tester location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u781719273|p03563|0
u781719273|p03563|0
codenet
Compile Error
3,077
v2_s677932169
s677932169
s677932169
p03564
p03564
u218740431
u218740431
1,586,250,104
2020-04-07T09:01:44
Main.java
import java.io.*; import java.util.ArrayList; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int K = sc.nextInt(); int ans = 1; for(int i=0;i<N;i++){ans = Math.min(2*ans,ans+K);} System.out.println(ans); } }...
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
u218740431|p03564|0
u218740431|p03564|0
codenet
Compile Error
321
v2_s894991695
s894991695
s894991695
p03564
p03564
u222822036
u222822036
1,598,558,227
2020-08-27T19:57:07
Main.java
import java.util.*; import java.io.*; import java.math.*; public class Main{ //Don't have to see. start------------------------------------------ static class InputIterator{ ArrayList<String> inputLine = new ArrayList<String>(1024); int index = 0; int max; String read; InputIterator(){ BufferedReader br = ne...
Main.java:75: error: not a statement for(int = 0; i < N; i++){ ^ Main.java:75: error: ';' expected for(int = 0; i < N; i++){ ^ Main.java:75: error: illegal start of expression for(int = 0; i < N; i++){ ^ Main.java:75: error: not a statement for(int = 0; i < N...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222822036|p03564|0
u222822036|p03564|0
codenet
Compile Error
3,059
v2_s106627026
s106627026
s106627026
p03564
p03564
u313111801
u313111801
1,509,247,795
2017-10-29T03:29:55
Main.java
#include <string> #include <cmath> #include <cstdio> #include <vector> #include <algorithm> #include <iostream> #include <queue> #include <tuple> #include <functional> #include <set> using namespace std; int main() { int n; int k; cin >> n >> k; int x = 1; for (int i = 0; i < n; ++i) { x = min(2 * x, x + k); ...
Main.java:1: error: illegal character: '#' #include <string> ^ Main.java:2: error: illegal character: '#' #include <cmath> ^ Main.java:3: error: illegal character: '#' #include <cstdio> ^ Main.java:4: error: illegal character: '#' #include <vector> ^ Main.java:5: error: illegal character: '#' #include <algorithm> ^ Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u313111801|p03564|0
u313111801|p03564|0
codenet
Compile Error
344
v2_s437169732
s437169732
s437169732
p03564
p03564
u417414025
u417414025
1,566,308,223
2019-08-20T13:37:03
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); int K = Integer.parseInt(sc.next()); sc.close(); int ans = 0; if (K == 1) { System.out.println(1+N); } else ...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u417414025|p03564|0
u417414025|p03564|0
codenet
Compile Error
924
v2_s981977933
s981977933
s981977933
p03564
p03564
u843125357
u843125357
1,569,345,223
2019-09-24T17:13:43
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(); int K = sc.nextInt(); int num = 1; for(int i = 0; i < N; i++){ num = num < K ? num *= 2 : num += ...
Main.java:11: error: unexpected type num = num < K ? num *= 2 : num += K; ^ required: variable found: value 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843125357|p03564|0
u843125357|p03564|0
codenet
Compile Error
383
v2_s091646972
s091646972
s091646972
p03564
p03564
u879664909
u879664909
1,509,239,340
2017-10-29T01:09:00
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.InputMismatchException; import java.io.IOException; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top * * @author Sanket Makani */ public cl...
Main.java:104: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u879664909|p03564|0
u879664909|p03564|0
codenet
Compile Error
2,668