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_s194965861
s194965861
s194965861
p02761
p02761
u062736195
u062736195
1,583,119,704
2020-03-02T03:28:24
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 M = sc.nextInt(); int[] s = new int[M]; int[] c = new int[M]; for(int i=0; i<M; i++){ s[i] = sc.nextInt(); c[i] = sc.nextInt(); } ...
Main.java:39: error: not a statement } else (N == 2){ ^ Main.java:39: error: ';' expected } else (N == 2){ ^ Main.java:41: error: 'else' without 'if' } else ans = num[0]; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p02761|0
u062736195|p02761|0
codenet
Compile Error
1,123
v2_s793733077
s793733077
s793733077
p02761
p02761
u109314200
u109314200
1,583,119,936
2020-03-02T03:32:16
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(), m = sc.nextInt(); int[] s = new int[m]; int[] t= new int[m]; for (int i = 0; i< m; i++){ s[i] = sc.nextInt(); t[i] = sc.nextInt(); ...
Main.java:23: error: '(' expected else if ss.charAt(1) == '0') ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u109314200|p02761|0
u109314200|p02761|0
codenet
Compile Error
928
v2_s805692081
s805692081
s805692081
p02761
p02761
u144577080
u144577080
1,583,119,681
2020-03-02T03:28:01
Main.java
import java.util.Scanner; /** * TITLE : Guess The Number * URL : https://atcoder.jp/contests/abc157/tasks/abc157_c */ public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] number = new int[N]; for (int i = 0;...
Main.java:49: error: reached end of file while parsing }? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u144577080|p02761|0
u144577080|p02761|0
codenet
Compile Error
1,270
v2_s218648570
s218648570
s218648570
p02761
p02761
u145042337
u145042337
1,583,118,618
2020-03-02T03:10:18
Main.java
Beta paiza.IO Java Split Button! Main.java Success 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 result[0] = -1; break; }else{ if(result[s[i] - 1] != 0 && result[s[i] - 1] != c[i]){ result[0...
Main.java:2: error: class, interface, enum, or record expected Beta ^ Main.java:39: error: class, interface, enum, or record expected break; ^ Main.java:40: error: class, interface, enum, or record expected }else{ ^ Main.java:43: error: class, interface, enum, or ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u145042337|p02761|0
u145042337|p02761|0
codenet
Compile Error
1,061
v2_s435209579
s435209579
s435209579
p02761
p02761
u207845630
u207845630
1,583,275,993
2020-03-03T22:53:13
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 M = sc.nextInt(); int[] c = new int[N]; int[] flg = new int[N]; int[] bufn = new int[N]; int i,s,j,dust; int buf; int ans = -1; int flg2 = 0; for(i = 0;i <...
Main.java:23: error: not a statement flg == 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02761|1
u207845630|p02761|1
codenet
Compile Error
790
v2_s949858286
s949858286
s949858286
p02761
p02761
u207845630
u207845630
1,583,276,031
2020-03-03T22:53: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 M = sc.nextInt(); int[] c = new int[N]; int[] flg = new int[N]; int[] bufn = new int[N]; int i,s,j,dust; int buf; int ans = -1; int flg2 = 0; for(i = 0;i <...
Main.java:23: error: incompatible types: int cannot be converted to int[] flg = 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02761|1
u207845630|p02761|1
codenet
Compile Error
789
v2_s648851724
s648851724
s648851724
p02761
p02761
u207845630
u207845630
1,583,276,993
2020-03-03T23:09:53
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 M = sc.nextInt(); if(N > 3 || M > 5){ flg2 = 1; }else if(N < 1 || M < 0){ flg2 = 1; } int[] c = new int[N]; int[] flg = new int[N]; int[] bufn = new int[...
Main.java:8: error: cannot find symbol flg2 = 1; ^ symbol: variable flg2 location: class Main Main.java:10: error: cannot find symbol flg2 = 1; ^ symbol: variable flg2 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207845630|p02761|1
u207845630|p02761|1
codenet
Compile Error
869
v2_s969027003
s969027003
s969027003
p02761
p02761
u229120147
u229120147
1,583,474,430
2020-03-06T06:00:30
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 M = sc.nextInt(); int flg = 0; if(N == 1 && M == 0){ System.out.println("0"); flg = 1; } int[] n = new int[N]; int[] flg = new i...
Main.java:13: error: variable flg is already defined in method main(String[]) int[] flg = new int[N]; ^ Main.java:19: error: incompatible types: int cannot be converted to int[] flg = 1; ^ Main.java:23: error: incompatible types: int cannot be converted to int[] flg = 1; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u229120147|p02761|2
u229120147|p02761|2
codenet
Compile Error
971
v2_s516515338
s516515338
s516515338
p02761
p02761
u229120147
u229120147
1,583,474,522
2020-03-06T06:02:02
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 M = sc.nextInt(); int flg = 0; if(N == 1 && M == 0){ System.out.println("0"); flg = 1; } int[] n = new int[N]; int[] flg = new i...
Main.java:44: error: class, interface, enum, or record expected import java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u229120147|p02761|2
u229120147|p02761|2
codenet
Compile Error
1,945
v2_s530249566
s530249566
s530249566
p02761
p02761
u276152693
u276152693
1,597,199,698
2020-08-12T02:34:58
Main.java
import java.io.*; import static java.lang.Math.*; public class Main { private static final int MOD = (int)1e9 + 7; //998244353; private static final long INF = (long)1e15; public Main(FastScanner in, PrintWriter out) { int N = in.nextInt(); int M = in.nextInt(); int[] x = new int[...
Main.java:13: error: cannot find symbol Arrays.fill(x, -1); ^ symbol: variable Arrays location: class Main Main.java:118: error: cannot find symbol throw new InputMismatchException(); ^ symbol: class InputMismatchException location: class FastScanner Main.ja...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u276152693|p02761|0
u276152693|p02761|0
codenet
Compile Error
4,330
v2_s072905214
s072905214
s072905214
p02761
p02761
u418807893
u418807893
1,586,334,040
2020-04-08T08:20:40
Main.java
#include <bits/stdc++.h> using namespace std; int main(){ int n, m; cin >> n >> m; vector<int> ass(n, 0); int x, y; for(int i = 0; i<m; i++){ cin >> x >> y; ass[x-1] = y; } if(ass[0] == 0) ass[0] = 1; a = ass.size(); for(int i = 0; i<a; i++){ ...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:7: error: not a statement cin >> n >> m; ^ Main.java:8: error: not a statement vector<int> ass(n, 0); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u418807893|p02761|0
u418807893|p02761|0
codenet
Compile Error
345
v2_s502224490
s502224490
s502224490
p02761
p02761
u486466217
u486466217
1,583,116,336
2020-03-02T02:32:16
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int kekka=-1; int hantei=0; int n=sc.nextInt(); int m=sc.nextInt(); int[] a=new int[n]; for(int i=0;i<n;i++){ a[i]=-1; } for(int i=0;i<m;i++){ ...
Main.java:26: error: '.class' expected kekka+=a[n-i-1]*int(Math.pow(10,n-1-i)); ^ Main.java:26: error: ';' expected kekka+=a[n-i-1]*int(Math.pow(10,n-1-i)); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u486466217|p02761|0
u486466217|p02761|0
codenet
Compile Error
744
v2_s274714573
s274714573
s274714573
p02761
p02761
u541235354
u541235354
1,583,606,722
2020-03-07T18:45:22
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int m = scanner.nextInt(); String[] s = new String[m]; String[] c = new String[m]; for(int i=0; i<m; i++){ ...
Main.java:39: error: bad operand types for binary operator '&&' if(result[0].equals("") && n=1){ ^ first type: boolean second type: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u541235354|p02761|0
u541235354|p02761|0
codenet
Compile Error
1,467
v2_s612429423
s612429423
s612429423
p02761
p02761
u579583524
u579583524
1,583,117,780
2020-03-02T02:56:20
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int ketasu = sc.nextInt(); int m = sc.nextInt(); HashMap<Integer, Integer> map = new HashMap<>(); boolean judge = true; int maxKetasu = 0; fo...
Main.java:30: error: cannot find symbol for(int i = 1; i <= Ketasu; i++){ ^ symbol: variable Ketasu location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u579583524|p02761|0
u579583524|p02761|0
codenet
Compile Error
1,077
v2_s007451776
s007451776
s007451776
p02761
p02761
u626353997
u626353997
1,585,173,458
2020-03-25T21:57:38
Main.java
import java.util.*; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt();//ヒント int[] s = new int[m]; int[] c = new int[m]; int[] ans = new int[n]; Arrays.fill(ans,-1); int...
Main.java:12: error: incompatible types: possible lossy conversion from double to int int range = Math.pow(10,n); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u626353997|p02761|0
u626353997|p02761|0
codenet
Compile Error
927
v2_s797761473
s797761473
s797761473
p02761
p02761
u631934736
u631934736
1,583,120,424
2020-03-02T03:40:24
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.jar.Attributes.Name; import java.util.stream.Collector; import java.util.strea...
Main.java:29: error: ';' expected String ans = "" ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u631934736|p02761|0
u631934736|p02761|0
codenet
Compile Error
3,073
v2_s871844858
s871844858
s871844858
p02761
p02761
u653981267
u653981267
1,595,695,428
2020-07-25T16:43:48
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[] s = new int[m]; char[] c = new char[m]; for(int i = 0; i < m; i++) { s[i] = sc.nextInt() - 1; c[i] = (sc.next())....
Main.java:16: error: incompatible types: String cannot be converted to int int d = String.valueOf(i); ^ Main.java:19: error: int cannot be dereferenced if(d.charAt(s[j]) != c[j]) p++; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02761|0
u653981267|p02761|0
codenet
Compile Error
663
v2_s242356000
s242356000
s242356000
p02761
p02761
u653981267
u653981267
1,595,696,110
2020-07-25T16:55:10
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[] s = new int[m]; char[] c = new char[m]; for(int i = 0; i < m; i++) { s[i] = sc.nextInt() - 1; c[i] = (sc.next())....
Main.java:29: error: cannot find symbol if(d.charAt(s[j]) != c[j]) p++; ^ symbol: variable p location: class Main Main.java:31: error: cannot find symbol if(p == 0) ans = 0; ^ symbol: variable p location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653981267|p02761|0
u653981267|p02761|0
codenet
Compile Error
834
v2_s845808162
s845808162
s845808162
p02761
p02761
u699628455
u699628455
1,590,114,407
2020-05-22T02:26:47
Main.java
import java.util.*; class Main{ static Scanner sc=new Scanner(System.in); public static void main(String[] args){ int N = sc.nextInt(); int M = sc.nextInt(); int ans = 0; int[] c = new int[10]; for(int i=0;i<10;i++) c[i]=100; for(int i=0;i<M;i++){ int ...
Main.java:20: error: variable declaration not allowed here else int j = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699628455|p02761|0
u699628455|p02761|0
codenet
Compile Error
676
v2_s916993591
s916993591
s916993591
p02761
p02761
u699628455
u699628455
1,590,114,450
2020-05-22T02:27:30
Main.java
import java.util.*; class Main{ static Scanner sc=new Scanner(System.in); public static void main(String[] args){ int N = sc.nextInt(); int M = sc.nextInt(); int ans = 0; int[] c = new int[10]; for(int i=0;i<10;i++) c[i]=100; for(int i=0;i<M;i++){ int ...
Main.java:21: error: variable declaration not allowed here int j = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u699628455|p02761|0
u699628455|p02761|0
codenet
Compile Error
690
v2_s095932147
s095932147
s095932147
p02761
p02761
u761516097
u761516097
1,583,119,579
2020-03-02T03:26:19
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] lines = sc.nextLine().split(" "); int N = Integer.parseInt(lines[0]); int M = Integer.parseInt(lines[1]); boolean oo = false; Strin...
Main.java:42: error: not a statement sample[0] == "1"; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u761516097|p02761|0
u761516097|p02761|0
codenet
Compile Error
1,285
v2_s675945712
s675945712
s675945712
p02761
p02761
u766178458
u766178458
1,583,116,703
2020-03-02T02:38:23
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 M = sc.nextInt(); int[] s = new int[M]; int[] c = new int[M]; for(int i=0;i<M;i++){ s[i] = sc.nextInt(); c[i] = sc.nestInt()...
Main.java:13: error: cannot find symbol c[i] = sc.nestInt(); ^ symbol: method nestInt() location: variable sc of type Scanner Main.java:26: error: cannot find symbol print(-1); ^ symbol: method print(int) location: class Main Main.java:31: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u766178458|p02761|0
u766178458|p02761|0
codenet
Compile Error
790
v2_s083537481
s083537481
s083537481
p02761
p02761
u841299958
u841299958
1,591,111,709
2020-06-02T15:28:29
Main.java
import java.util.*; class Main { public static void main(String[] args) { new Solver().run(); } } class Solver { public void run() { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[] s = new int[N]; int[] c = new int[N];...
Main.java:56: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u841299958|p02761|0
u841299958|p02761|0
codenet
Compile Error
1,526
v2_s475756940
s475756940
s475756940
p02761
p02761
u846370851
u846370851
1,583,115,898
2020-03-02T02:24:58
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int m = scanner.nextInt(); Integer[] digits = new Integer[n]; for (int i = 0; i < m; i++) { int s = scanner.nextInt()-1; i...
Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u846370851|p02761|0
u846370851|p02761|0
codenet
Compile Error
1,025
v2_s050028066
s050028066
s050028066
p02761
p02761
u866891215
u866891215
1,583,116,881
2020-03-02T02:41:21
Main.java
import java.util.*; class Main{ public static void main(String[] args ){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int M=sc.nextInt(); int[] num=new int[3]; for(int i=0;i<3;i++){ num[i]=-1; } for(int j=0;j<M;j++){ int k=sc.nextInt(); int l=sc.nextInt(); if(num[k-1]!=-1&&num[k-1]!=l){ System.out.print(...
Main.java:24: error: illegal character: '\u2014' for(int j=3;j>=0;j?){ ^ Main.java:24: error: not a statement for(int j=3;j>=0;j?){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u866891215|p02761|0
u866891215|p02761|0
codenet
Compile Error
465
v2_s009509394
s009509394
s009509394
p02761
p02761
u866891215
u866891215
1,583,119,915
2020-03-02T03:31:55
Main.java
import java.util.*; class Main{ public static void main(String[] args ){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int M=sc.nextInt(); int[] num=new int[3]; for(int i=0;i<3;i++){ num[i]=-1; } for(int j=0;j<M;j++){ int k=sc.nextInt(); int l=sc.nextInt(); if(l==0&&k==1){ System.out.print(-1); return; ...
Main.java:28: error: ')' expected for(int j=0;j<3;j++ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u866891215|p02761|0
u866891215|p02761|0
codenet
Compile Error
539
v2_s242687988
s242687988
s242687988
p02761
p02761
u927325204
u927325204
1,583,118,770
2020-03-02T03:12:50
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int N = in.nextInt(); int M = in.nextInt(); int s[] = new int[M]; int c[] = new int[M]; for(int i=0; i<M; i++){ s[i] = in.nextInt(); ...
Main.java:47: error: ';' expected else System.out.printf("%d", num[i]) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u927325204|p02761|0
u927325204|p02761|0
codenet
Compile Error
1,390
v2_s541621149
s541621149
s541621149
p02761
p02761
u957377447
u957377447
1,583,861,485
2020-03-10T17:31:25
Main.java
import java.util.*; import java.lang.Math; public class Main{ public static void main(String args[]){ call(); } public static void call(){ Scanner sc = new Scanner(System.in); int keta = sc.nextInt(); int numOfData = sc.nextInt(); if(keta == 1){ int M = sc.nextInt(); int key = sc.next...
Main.java:60: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u957377447|p02761|1
u957377447|p02761|1
codenet
Compile Error
1,615
v2_s927719611
s927719611
s927719611
p02761
p02761
u999522053
u999522053
1,584,595,163
2020-03-19T05:19:23
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); String[] temp = new String[N]; for (int i = 0; i < M; i++) { int s = sc.nextInt(); int c = sc.nextInt(); if(temp[s-1] != null && Integer.parseInt(temp[s...
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
u999522053|p02761|0
u999522053|p02761|0
codenet
Compile Error
1,240
v2_s952144265
s952144265
s952144265
p02762
p02762
u052212445
u052212445
1,583,118,775
2020-03-02T03:12:55
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.util.Arrays; import java.io.BufferedWriter; import java.io.Writer; import java.io.OutputStreamWriter; import java.util.InputMismatchException; import java.io.IOExcept...
Main.java:46: error: array required, but int found int b = uf.size[a]; ^ Main.java:70: error: incompatible types: int[] cannot be converted to int ar = new int[n + 1]; ^ Main.java:72: error: array required, but int found ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u052212445|p02762|0
u052212445|p02762|0
codenet
Compile Error
5,505
v2_s963587670
s963587670
s963587670
p02762
p02762
u052212445
u052212445
1,583,119,245
2020-03-02T03:20:45
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.util.Arrays; import java.io.BufferedWriter; import java.io.Writer; import java.io.OutputStreamWriter; import java.util.InputMismatchException; import java.io.IOExcept...
Main.java:46: error: array required, but int found int b = uf.size[a]; ^ Main.java:70: error: incompatible types: int[] cannot be converted to int ar = new int[n + 1]; ^ Main.java:72: error: array required, but int found ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u052212445|p02762|0
u052212445|p02762|0
codenet
Compile Error
5,734
v2_s727651509
s727651509
s727651509
p02762
p02762
u127030911
u127030911
1,584,328,571
2020-03-16T03:16:11
Main.java
import java.util.*; public class Main { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int k = sc.nextInt(); public static void main(String[] args) { new FriendSuggestions().run(); } void run() { int[] friendNum = new int[n]; in...
Main.java:12: error: cannot find symbol new FriendSuggestions().run(); ^ symbol: class FriendSuggestions location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u127030911|p02762|0
u127030911|p02762|0
codenet
Compile Error
1,985
v2_s393835226
s393835226
s393835226
p02762
p02762
u178586376
u178586376
1,583,507,595
2020-03-06T15:13:15
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.List; import java.util.Scanner; import java.util.LinkedList; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[]...
Main.java:35: error: incompatible types: int[] cannot be converted to int ans = new int[n]; ^ Main.java:49: error: array required, but int found ans[i] = (int) uf.getSize(i) - 1; ^ Main.java:52: error: array required, but int found ans[lik...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u178586376|p02762|0
u178586376|p02762|0
codenet
Compile Error
3,977
v2_s333923851
s333923851
s333923851
p02762
p02762
u207294148
u207294148
1,587,929,646
2020-04-26T19:34:06
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); int n = sc.nextInt(); int m = sc.nextInt(); int k = sc.nextInt(); UnionFind uf = new UnionFind(n); int[] fb = new int[n+1]; ...
Main.java:28: error: cannot find symbol System.out.print(uf.size(i)-1-fb(i)); ^ symbol: method fb(int) location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207294148|p02762|0
u207294148|p02762|0
codenet
Compile Error
3,821
v2_s319712239
s319712239
s319712239
p02762
p02762
u245815044
u245815044
1,586,539,232
2020-04-10T17:20:32
Main.java
public class Main { static int n, m, k; static int[] par; static int[] rank; static int[] size; static void union(int x, int y) { int rx = root(x); int ry = root(y); if(rank[rx] >= rank[ry]) { par[ry] = rx; if(rank[rx] == rank[ry]) rank[rx]++; } else par[rx] = ry; } static int root...
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 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
u245815044|p02762|0
u245815044|p02762|0
codenet
Compile Error
1,425
v2_s625229528
s625229528
s625229528
p02762
p02762
u264547643
u264547643
1,584,092,449
2020-03-13T09:40:49
Main.java
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.HashSet; import java.util.StringTokenizer; import java.util.HashMap; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; ...
Main.java:58: error: array required, but int found int ans = d.csize[d.find(i)] - a[i].size() - b[i] - 1; ^ Main.java:99: error: incompatible types: int[] cannot be converted to int parent = new int[n + 1]; ^ Main.java:100: error: incompa...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u264547643|p02762|0
u264547643|p02762|0
codenet
Compile Error
4,247
v2_s314716750
s314716750
s314716750
p02762
p02762
u345932819
u345932819
1,583,454,600
2020-03-06T00:30:00
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.lang.reflect.Array; import java.math.BigInteger; import java.util.*; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.stream.Stream; public class Main { public static void main(S...
Main.java:15: error: package jp.co.szk.abc.abc157 does not exist new jp.co.szk.abc.abc157.Main().solve(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345932819|p02762|0
u345932819|p02762|0
codenet
Compile Error
17,260
v2_s124487796
s124487796
s124487796
p02762
p02762
u345932819
u345932819
1,583,454,638
2020-03-06T00:30:38
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.lang.reflect.Array; import java.math.BigInteger; import java.util.*; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.stream.Stream; public class Main { public static void main(S...
Main.java:15: error: package jp.co.szk.abc.abc157 does not exist new jp.co.szk.abc.abc157.Main().solve(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345932819|p02762|0
u345932819|p02762|0
codenet
Compile Error
17,260
v2_s488658265
s488658265
s488658265
p02762
p02762
u361173382
u361173382
1,584,852,376
2020-03-22T04:46:16
Main.java
import java.util.ArrayList; import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int k = sc.nextInt(); //***** StringBuilder sbt = new StringBuilder(); sbt.append...
Main.java:21: error: cannot find symbol Snippet.saveFile("c:\\local\\test.xxx", sbt.toString()); ^ symbol: variable Snippet location: class Main Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u361173382|p02762|0
u361173382|p02762|0
codenet
Compile Error
2,095
v2_s628671368
s628671368
s628671368
p02762
p02762
u487237559
u487237559
1,583,719,680
2020-03-09T02:08:00
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; import java.util.Scanner; import java.lang.*; import java.io.*; import java.util.*; import java.lang.Integer; import java.util.HashMap; class Main { // driver f...
Main.java:76: error: unexpected type public void DFS(int i, boolean[] vis, ArrayList<ArrayList<Integer>> list, ArrayList<boolean> b_arr){ ^ required: reference found: boolean Main.java:52: error: variable ans is already d...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u487237559|p02762|1
u487237559|p02762|1
codenet
Compile Error
3,285
v2_s184816122
s184816122
s184816122
p02762
p02762
u827599348
u827599348
1,598,091,578
2020-08-22T10:19:38
Main.java
import java.util.*; import java.io.*; public class D { public static void main(String[] args){ FastScanner fs = new FastScanner(System.in); int n, m, k; n = fs.nextInt(); m = fs.nextInt(); k = fs.nextInt(); List<Integer>[] adjf = new ArrayList[n + 1]; int[] kdec = new int[n + 1]; DS...
Main.java:4: error: class D is public, should be declared in a file named D.java public class D { ^ Main.java:54: error: class FastScanner is public, should be declared in a file named FastScanner.java public class FastScanner { ^ Main.java:115: error: class DSU is public, should be declared in a file nam...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u827599348|p02762|0
u827599348|p02762|0
codenet
Compile Error
3,453
v2_s758280611
s758280611
s758280611
p02762
p02762
u866891215
u866891215
1,583,119,888
2020-03-02T03:31:28
Main.java
import java.util.*; class Main{ public static void main(String[] args ){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int M=sc.nextInt(); int[] num=new int[3]; for(int i=0;i<3;i++){ num[i]=-1; } for(int j=0;j<M;j++){ int k=sc.nextInt(); int l=sc.nextInt(); if(l==0&&k==1){ System.out.print(-1); return; ...
Main.java:28: error: ')' expected for(int j=0;j<3;j++ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u866891215|p02762|0
u866891215|p02762|0
codenet
Compile Error
539
v2_s953937057
s953937057
s953937057
p02762
p02762
u886708442
u886708442
1,583,559,265
2020-03-07T05:34:25
Main.java
public class Main { static class UnionFind { int[] d; UnionFind(int n) { d = new int[n]; Arrays.fill(d, -1); } int find(int x) { if(d[x] < 0) return x; return d[x] = find(d[x]); } boolean unite(int x, int y) { ...
Main.java:7: error: cannot find symbol Arrays.fill(d, -1); ^ symbol: variable Arrays location: class UnionFind Main.java:32: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:32: error: cannot find sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u886708442|p02762|1
u886708442|p02762|1
codenet
Compile Error
1,735
v2_s979475842
s979475842
s979475842
p02762
p02762
u999592340
u999592340
1,583,117,959
2020-03-02T02:59:19
Main.java
import javafx.geometry.Pos; import java.io.*; import java.util.*; import java.util.stream.Collectors; public class Main { public static void main(final String[] args) throws Exception { final Scanner sc = new Scanner(System.in); long N; N = sc.nextLong(); long M; M = sc.ne...
Main.java:1: error: package javafx.geometry does not exist import javafx.geometry.Pos; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u999592340|p02762|0
u999592340|p02762|0
codenet
Compile Error
2,912
v2_s362282143
s362282143
s362282143
p02762
p02762
u999592340
u999592340
1,583,118,959
2020-03-02T03:15:59
Main.java
import java.util.*; import java.util.stream.Collectors; public class Main { public static void main(final String[] args) throws Exception { final Scanner sc = new Scanner(System.in); long N; N = sc.nextLong(); long M; M = sc.nextLong(); long K; K = sc.nextLo...
Main.java:35: error: cannot find symbol solver.solve(N, M, K, friends, blocks); ^ symbol: variable blocks location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u999592340|p02762|0
u999592340|p02762|0
codenet
Compile Error
3,146
v2_s340722062
s340722062
s340722062
p02763
p02763
u222822036
u222822036
1,595,812,087
2020-07-27T01:08: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; InputIterator(){ BufferedReader br = new BufferedReade...
Main.java:84: error: no suitable constructor found for TreeSet(int) map.put(alpha.get(i), new TreeSet(100)); ^ constructor TreeSet.TreeSet(NavigableMap) is not applicable (argument mismatch; int cannot be converted to NavigableMap) constructor TreeSet.TreeSet(Comparator) is not...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222822036|p02763|0
u222822036|p02763|0
codenet
Compile Error
4,281
v2_s126154732
s126154732
s126154732
p02763
p02763
u234826697
u234826697
1,583,127,456
2020-03-02T05:37:36
Main.java
import library.Segment; import java.io.*; import java.util.*; @SuppressWarnings("unused") public class Main { FastScanner in; PrintWriter out; int MOD = (int)1e9+7; long INF = Long.MAX_VALUE / 2; void solve(){ int N = in.nextInt(); char[] S = in.nextStr().toCharArray(); ...
Main.java:1: error: package library does not exist import library.Segment; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u234826697|p02763|0
u234826697|p02763|0
codenet
Compile Error
9,239
v2_s998389901
s998389901
s998389901
p02763
p02763
u245815044
u245815044
1,586,541,444
2020-04-10T17:57:24
Main.java
public class Main { static class Node { //Segment Tree. //range int rangel; int ranger; int val = 0; Node l = null; Node r = null; int check(int ql, int qr) { int lin = Math.max(ql, rangel); int rin = Math.min(qr, ranger); if(rin < lin) return 0; if(lin == rangel && rin == ...
Main.java:60: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:60: 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
u245815044|p02763|0
u245815044|p02763|0
codenet
Compile Error
1,920
v2_s425767616
s425767616
s425767616
p02763
p02763
u381467237
u381467237
1,583,194,135
2020-03-03T00:08:55
Main.java
import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.NavigableSet; import java.util.Scanner; import java.util.TreeSet; public class Main { public static void main(String [] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); St...
Main.java:30: error: incompatible types: cannot infer type arguments for HashSet<> TreeSet<Integer> newCharPoses = charToPos.getOrDefault(newChar, new HashSet<>()); ^ reason: no instance(s) of type variable(s)...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u381467237|p02763|0
u381467237|p02763|0
codenet
Compile Error
2,392
v2_s641314922
s641314922
s641314922
p02763
p02763
u568555377
u568555377
1,583,290,200
2020-03-04T02:50:00
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); TreeSet[] segs = new TreeSet[26]; char[] d = sc.next().toCharArray(); for (int i = 0; i < 26; i++){ segs[i] = new TreeSet(); segs[i].add(5100...
Main.java:29: error: cannot find symbol int l = scan.nextInt()-1; ^ symbol: variable scan location: class Main Main.java:30: error: cannot find symbol int r = scan.nextInt()-1; ^ symbol: variable scan location: class Main Main.java:33: error: b...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568555377|p02763|0
u568555377|p02763|0
codenet
Compile Error
1,059
v2_s012154173
s012154173
s012154173
p02763
p02763
u610795346
u610795346
1,583,118,843
2020-03-02T03:14:03
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int length = in.nextInt(); String str = in.next(); int input = in.nextInt(); char[] charArray = str.toCharArray(); for (int i = 0; i < inputs; i++) { ...
Main.java:12: error: cannot find symbol for (int i = 0; i < inputs; i++) { ^ symbol: variable inputs location: class Main Main.java:17: error: incompatible types: String cannot be converted to char charArray[pos - 1] = (char) c; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u610795346|p02763|0
u610795346|p02763|0
codenet
Compile Error
912
v2_s332955764
s332955764
s332955764
p02763
p02763
u610795346
u610795346
1,583,119,625
2020-03-02T03:27:05
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int length = in.nextInt(); String str = in.next(); int input = in.nextInt(); char[] charArray = str.toCharArray(); int[] countMore = new int[26]; for (int...
Main.java:31: error: cannot find symbol System.out.println(end-start+1-minus); ^ symbol: variable minus location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u610795346|p02763|0
u610795346|p02763|0
codenet
Compile Error
1,226
v2_s949707499
s949707499
s949707499
p02763
p02763
u903557324
u903557324
1,583,121,916
2020-03-02T04:05:16
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Main mainObj = new Main(); mainObj.solve(); } public void solve() { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.nextLine()); String str = sc.nextLine(); int q = Intege...
Main.java:100: error: class, interface, enum, or record expected import java.util.Arrays; ^ Main.java:101: error: class, interface, enum, or record expected import java.util.Scanner; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u903557324|p02763|0
u903557324|p02763|0
codenet
Compile Error
4,106
v2_s917224975
s917224975
s917224975
p02763
p02763
u903557324
u903557324
1,583,297,953
2020-03-04T04:59:13
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Scanner; import java.util.TreeSet; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { Main2 mainObj = new Main2(); mainObj....
Main.java:11: error: cannot find symbol Main2 mainObj = new Main2(); ^ symbol: class Main2 location: class Main Main.java:11: error: cannot find symbol Main2 mainObj = new Main2(); ^ symbol: class Main2 location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u903557324|p02763|1
u903557324|p02763|1
codenet
Compile Error
1,646
v2_s820160172
s820160172
s820160172
p02763
p02763
u903557324
u903557324
1,583,520,026
2020-03-06T18:40:26
Main.java
import java.util.Arrays; import java.util.Scanner; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { Main mainObj = new Main(); ma...
Main.java:25: error: cannot find symbol String[] queryArr = sc.readLine().split(" "); ^ symbol: method readLine() location: variable sc of type Main.FastScanner Main.java:39: error: cannot find symbol sc.close(); ^ symbol: method close() location: variable sc of type Main.F...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u903557324|p02763|2
u903557324|p02763|2
codenet
Compile Error
3,459
v2_s683607350
s683607350
s683607350
p02765
p02765
u053797146
u053797146
1,582,431,235
2020-02-23T04:13:55
InputSample.java
import java.util.Scanner; public class InputSample { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String[] str = scan.nextLine().spilit(" "); Integer joinCount = str[0]; Integer displayCount = str[1] Integer internalCount = 0; if(...
InputSample.java:8: error: ';' expected Integer displayCount = str[1] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u053797146|p02765|0
u053797146|p02765|0
codenet
Compile Error
543
v2_s340033571
s340033571
s340033571
p02765
p02765
u053797146
u053797146
1,582,431,309
2020-02-23T04:15:09
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String[] str = scan.nextLine().spilit(" "); Integer joinCount = str[0]; Integer displayCount = str[1]; Integer ...
Main.java:6: error: cannot find symbol String[] str = scan.nextLine().spilit(" "); ^ symbol: method spilit(String) location: class String Main.java:7: error: incompatible types: String cannot be converted to Integer Integer joinCount = str[0]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u053797146|p02765|0
u053797146|p02765|0
codenet
Compile Error
613
v2_s465598466
s465598466
s465598466
p02765
p02765
u062736195
u062736195
1,582,426,470
2020-02-23T02:54:30
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long n = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); long sum = 0; long before = 1; for(long i=n; i>0; i--){ if(i != a && i != b){ long scor...
Main.java:18: error: '.class' expected long answer = long(sum % (Math.pow(10,9) + 7)); ^ Main.java:18: error: not a statement long answer = long(sum % (Math.pow(10,9) + 7)); ^ Main.java:18: error: ';' expected long answer = long(sum % (Math.pow(10,9) + 7)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u062736195|p02765|0
u062736195|p02765|0
codenet
Compile Error
499
v2_s036752750
s036752750
s036752750
p02765
p02765
u073606136
u073606136
1,587,910,362
2020-04-26T14:12:42
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int score = sc.nextInt(); if(num < 10) { System.out.println(num - 100 * ( 10 - n)); } else { System.out.println(num); } ...
Main.java:9: error: cannot find symbol System.out.println(num - 100 * ( 10 - n)); ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p02765|0
u073606136|p02765|0
codenet
Compile Error
325
v2_s468747527
s468747527
s468747527
p02765
p02765
u073606136
u073606136
1,587,910,453
2020-04-26T14:14:13
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int score = sc.nextInt(); if(num < 10) { System.out.println(num + 100 * ( 10 - n)); } else { System.out.println(num); } ...
Main.java:9: error: cannot find symbol System.out.println(num + 100 * ( 10 - n)); ^ symbol: variable n location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u073606136|p02765|0
u073606136|p02765|0
codenet
Compile Error
325
v2_s454567487
s454567487
s454567487
p02765
p02765
u095360661
u095360661
1,585,932,070
2020-04-03T16:41:10
Main.java
import java.util.*; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a < 10) System.out.println(b + 100 * (10 - 2); else system.out.println(b); } }
Main.java:10: error: ')' or ',' expected if(a < 10) System.out.println(b + 100 * (10 - 2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u095360661|p02765|0
u095360661|p02765|0
codenet
Compile Error
310
v2_s014506830
s014506830
s014506830
p02765
p02765
u122769908
u122769908
1,583,008,796
2020-02-29T20:39:56
Main.java
public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int i = scanner.nextInt(); int j = scanner.nextInt(); if (i < 10) { j = ((100 * (10 - i)) + j); } System.out.println(j); }
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
u122769908|p02765|0
u122769908|p02765|0
codenet
Compile Error
297
v2_s151762891
s151762891
s151762891
p02765
p02765
u137339784
u137339784
1,582,423,400
2020-02-23T02:03:20
Main.java
public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int r = scan.nextInt(); if(n >= 10) { System.out.println(r); }else { System.out.println(r + (10 - n) * 100); } }
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
u137339784|p02765|0
u137339784|p02765|0
codenet
Compile Error
239
v2_s173358242
s173358242
s173358242
p02765
p02765
u137339784
u137339784
1,582,423,447
2020-02-23T02:04:07
Main.java
Main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int r = scan.nextInt(); if(n >= 10) { System.out.println(r); }else { System.out.println(r + (10 - n) * 100); } }
Main.java:1: error: class, interface, enum, or record expected Main(String[] args) { ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int n = scan.nextInt(); ^ (use --enable-preview to enable unnamed classes) Main.java:7: error: class, interface, enum, or record expected ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u137339784|p02765|0
u137339784|p02765|0
codenet
Compile Error
220
v2_s102809835
s102809835
s102809835
p02765
p02765
u181263002
u181263002
1,586,550,755
2020-04-10T20:32:35
Main.java
import java.util* public class Main(){ public static void main(String args[]){ Scanner s = new Scanner(System.in); int c = s.nextInt(); int r = s.nextInt(); int res = (c>10)?r:(r-(100*(10-r))); System.out.println(res); } }
Main.java:1: error: ';' expected import java.util* ^ Main.java:3: error: '{' expected public class Main(){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u181263002|p02765|0
u181263002|p02765|0
codenet
Compile Error
256
v2_s220962442
s220962442
s220962442
p02765
p02765
u181263002
u181263002
1,586,550,883
2020-04-10T20:34:43
Main.java
import java.util.*; public class Main(){ public static void main(String args[]){ Scanner s = new Scanner(System.in); int c = s.nextInt(); int r = s.nextInt(); int res = (c>10)?r:(r-(100*(10-r))); System.out.println(res); } }
Main.java:3: error: '{' expected public class Main(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u181263002|p02765|0
u181263002|p02765|0
codenet
Compile Error
259
v2_s970716253
s970716253
s970716253
p02765
p02765
u181263002
u181263002
1,586,550,918
2020-04-10T20:35:18
Main.java
import java.util.*; public class Main(){ public static void main(String args[]){ Scanner s = new Scanner(System.in); int c = s.nextInt(); int r = s.nextInt(); int res = (c>10)?r:(r-(100*(10-r))); System.out.println(res); } } }
Main.java:3: error: '{' expected public class Main(){ ^ Main.java:14: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u181263002|p02765|0
u181263002|p02765|0
codenet
Compile Error
260
v2_s091780569
s091780569
s091780569
p02765
p02765
u181263002
u181263002
1,586,551,001
2020-04-10T20:36:41
Main.java
import java.util.* public class Main{ public static void main(String args[]){ Scanner s = new Scanner(System.in); int c = s.nextInt(); int r = s.nextInt(); int res = (c>10)?r:(r-(100*(10-r))); System.out.println(res); } }
Main.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u181263002|p02765|0
u181263002|p02765|0
codenet
Compile Error
260
v2_s813147999
s813147999
s813147999
p02765
p02765
u218740431
u218740431
1,582,559,514
2020-02-24T15:51:54
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(b+Math.max(0,100*(10-a)); } }
Main.java:7: error: ')' or ',' expected System.out.println(b+Math.max(0,100*(10-a)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p02765|0
u218740431|p02765|0
codenet
Compile Error
256
v2_s247693713
s247693713
s247693713
p02765
p02765
u268397939
u268397939
1,582,423,487
2020-02-23T02:04:47
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); STring[] data =s.split(" "); int N = Integer.parseInt(data[0]); int R = Integer.parseInt(data[1]); System.out.println(R - (100*(...
Main.java:10: error: cannot find symbol STring[] data =s.split(" "); ^ symbol: class STring location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u268397939|p02765|0
u268397939|p02765|0
codenet
Compile Error
334
v2_s526190847
s526190847
s526190847
p02765
p02765
u305758815
u305758815
1,582,501,050
2020-02-23T23:37:30
Main.java
import java.util*; import java.io.*; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int contests = sc.nextInt(); int display = sc.nextInt(); int inner = 0; if (contests < 10) { System.out.println((100 * (10 - contests)) + display); } else System.out.println(displa...
Main.java:1: error: ';' expected import java.util*; ^ 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) 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305758815|p02765|0
u305758815|p02765|0
codenet
Compile Error
325
v2_s195426563
s195426563
s195426563
p02765
p02765
u305758815
u305758815
1,582,501,082
2020-02-23T23:38:02
Main.java
import java.util.*; import java.io.*; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int contests = sc.nextInt(); int display = sc.nextInt(); int inner = 0; if (contests < 10) { System.out.println((100 * (10 - contests)) + display); } else System.out.println(displ...
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305758815|p02765|0
u305758815|p02765|0
codenet
Compile Error
327
v2_s378582188
s378582188
s378582188
p02765
p02765
u305758815
u305758815
1,582,501,112
2020-02-23T23:38:32
Main.java
class Main { import java.util*; import java.io.*; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int contests = sc.nextInt(); int display = sc.nextInt(); int inner = 0; if (contests < 10) { System.out.println((100 * (10 - contests)) + display); } else System.out.p...
Main.java:2: error: illegal start of type import java.util*; ^ Main.java:2: error: <identifier> expected import java.util*; ^ Main.java:3: error: illegal start of type import java.io.*; ^ Main.java:3: error: <identifier> expected import java.io.*; ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305758815|p02765|0
u305758815|p02765|0
codenet
Compile Error
340
v2_s006717444
s006717444
s006717444
p02765
p02765
u305758815
u305758815
1,582,501,143
2020-02-23T23:39:03
Main.java
class Main { import java.util.*; import java.io.*; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int contests = sc.nextInt(); int display = sc.nextInt(); int inner = 0; if (contests < 10) { System.out.println((100 * (10 - contests)) + display); } else System.out....
Main.java:2: error: illegal start of type import java.util.*; ^ Main.java:2: error: <identifier> expected import java.util.*; ^ Main.java:3: error: illegal start of type import java.io.*; ^ Main.java:3: error: <identifier> expected import java.io.*; ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u305758815|p02765|0
u305758815|p02765|0
codenet
Compile Error
341
v2_s321372733
s321372733
s321372733
p02765
p02765
u314559067
u314559067
1,584,920,600
2020-03-22T23:43:20
Main.java
import com.sun.tools.corba.se.idl.IncludeGen; import org.omg.Messaging.SYNC_WITH_TRANSPORT; import org.omg.PortableServer.LIFESPAN_POLICY_ID; import sun.nio.cs.ext.MacHebrew; import javax.management.StringValueExp; import java.math.BigDecimal; import java.nio.ByteBuffer; import java.util.*; public class Main { pub...
Main.java:1: error: package com.sun.tools.corba.se.idl does not exist import com.sun.tools.corba.se.idl.IncludeGen; ^ Main.java:2: error: package org.omg.Messaging does not exist import org.omg.Messaging.SYNC_WITH_TRANSPORT; ^ Main.java:3: error: package org.omg....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u314559067|p02765|0
u314559067|p02765|0
codenet
Compile Error
9,254
v2_s680175701
s680175701
s680175701
p02765
p02765
u366183815
u366183815
1,584,129,401
2020-03-13T19:56:41
Main.java
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int A = stdIn.nextInt(); int B = stdIn.nextInt(); int C; if (A <= 10) { C = B + (100 * (10 - A)); System.out.println(C); }else{ System.out.println(B); } }
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u366183815|p02765|0
u366183815|p02765|0
codenet
Compile Error
315
v2_s915900585
s915900585
s915900585
p02765
p02765
u463939378
u463939378
1,582,750,819
2020-02-26T21:00:19
Main.java
import java.util.*; puclic class Main{ public static void main(String...args){ Scanner s = new Scanner(System.in); int n = s.nextInt(); int r = s.nextInt(); if(s < 10){ System.out.println(r + 100 * (10 - n)); }else{ System.out.println(r); } } }
Main.java:3: error: class, interface, enum, or record expected puclic class Main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u463939378|p02765|0
u463939378|p02765|0
codenet
Compile Error
280
v2_s688152012
s688152012
s688152012
p02765
p02765
u521056877
u521056877
1,582,427,101
2020-02-23T03:05:01
Main.java
public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int r = sc.nextInt(); if(n>=10) System.out.println(""+r); else System.out.println(""+(r+100*(10-k)); } }
Main.java:7: error: ')' or ',' expected else System.out.println(""+(r+100*(10-k)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u521056877|p02765|0
u521056877|p02765|0
codenet
Compile Error
239
v2_s447910181
s447910181
s447910181
p02765
p02765
u539518556
u539518556
1,584,417,558
2020-03-17T03:59:18
Main.java
static Scanner scn = new Scanner(System.in); public static void main(String[] args) { int n = scn.nextInt(); int DR = scn.nextInt(); int CR = 0; if (n > -10) { CR = DR; } else { CR = DR + 100 * (10 - n); } System.out.println(CR); }
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. static Scanner scn = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539518556|p02765|0
u539518556|p02765|0
codenet
Compile Error
254
v2_s097932219
s097932219
s097932219
p02765
p02765
u539518556
u539518556
1,584,417,870
2020-03-17T04:04:30
Main.java
�������4�7��contest_156/Beginner��java/lang/Object�scn�Ljava/util/Scanner;�<clinit>�()V�Code� �java/util/Scanner � ���java/lang/System ���in�Ljava/io/InputStream; � � ���<init>�(Ljava/io/InputStream;)V �� ���LineNumberTable�LocalVariableTable �� ���this�Lcontest_15...
Main.java:1: error: illegal character: '\ufffd' ???????4?7??contest_156/Beginner??java/lang/Object?scn?Ljava/util/Scanner;?<clinit>?()V?Code? ?java/util/Scanner ? ^ Main.java:1: error: illegal character: '\ufffd' ???????4?7??contest_156/Beginner??java/lang/Object?scn?Ljava/util/Scanner;...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539518556|p02765|0
u539518556|p02765|0
codenet
Compile Error
1,434
v2_s311072670
s311072670
s311072670
p02765
p02765
u547671064
u547671064
1,584,962,562
2020-03-23T11:22:42
Main.java
import java.util.*; public class Main{ public static void main{ Scanner sc =new Scanner(System.in); int N=sc.nextInt(); int R =100*Math.max(0,10-N)+sc.nextInt(); System.out.println(R); } }
Main.java:3: error: '(' expected public static void main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p02765|1
u547671064|p02765|1
codenet
Compile Error
208
v2_s998481365
s998481365
s998481365
p02765
p02765
u552730117
u552730117
1,582,423,389
2020-02-23T02:03:09
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int r = Integer.parseInt(sc.next()); if(n=>10){ System.out.println(r); } else { System.out.println(r+1000-100*n); } } }
Main.java:9: error: illegal start of expression if(n=>10){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u552730117|p02765|0
u552730117|p02765|0
codenet
Compile Error
312
v2_s066010712
s066010712
s066010712
p02765
p02765
u577818543
u577818543
1,582,425,262
2020-02-23T02:34:22
Main.java
import java.util.Scanner; public class Main.java { public static void main(String[] args) { Scanner sc01 = new Scanner(System.in); Scanner sc02 = new Scanner(System.in); System.out.println("参加回数"); int joining = sc01.nextInt(); System.out.println("表示レーティング"); int displayRating = sc02.nextInt(); if(joi...
Main.java:3: error: '{' expected public class Main.java { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u577818543|p02765|0
u577818543|p02765|0
codenet
Compile Error
621
v2_s488374732
s488374732
s488374732
p02765
p02765
u577818543
u577818543
1,582,425,559
2020-02-23T02:39:19
Main.java
import java.util.Scanner; public class Main.java { public static void main(String[] args) { Scanner sc01 = new Scanner(System.in); Scanner sc02 = new Scanner(System.in); System.out.println("参加回数"); int joining = sc01.nextInt(); System.out.println("表示レーティング"); int displayRating = sc02.nextInt(); if(joining < 10 ){ int ...
Main.java:3: error: '{' expected public class Main.java { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u577818543|p02765|0
u577818543|p02765|0
codenet
Compile Error
581
v2_s237380344
s237380344
s237380344
p02765
p02765
u577818543
u577818543
1,582,425,619
2020-02-23T02:40:19
Main.java
import java.util.Scanner; public class Main.java{ public static void main(String[] args) { Scanner sc01 = new Scanner(System.in); Scanner sc02 = new Scanner(System.in); System.out.println("参加回数"); int joining = sc01.nextInt(); System.out.println("表示レーティング"); int displayRating = sc02.nextInt(); if(join...
Main.java:3: error: '{' expected public class Main.java{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u577818543|p02765|0
u577818543|p02765|0
codenet
Compile Error
620
v2_s291903025
s291903025
s291903025
p02765
p02765
u586068007
u586068007
1,598,056,526
2020-08-22T00:35:26
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); bigdecimal N = sc.nextInt(); bigdecimal K = sc.nextInt(); bigdecimal count = 1; while (N >= K) { N = N / K; count++; } System.out.println(count); return ; } }
Main.java:6: error: cannot find symbol bigdecimal N = sc.nextInt(); ^ symbol: class bigdecimal location: class Main Main.java:7: error: cannot find symbol bigdecimal K = sc.nextInt(); ^ symbol: class bigdecimal location: class Main Main.java:8: error: cannot find symbol bigdecimal count = 1; ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u586068007|p02765|0
u586068007|p02765|0
codenet
Compile Error
308
v2_s775613186
s775613186
s775613186
p02765
p02765
u613243166
u613243166
1,583,432,381
2020-03-05T18:19:41
Main.java
public class Main { public static void main(String[] args) { Reader reader = new Reader(); OutputStream out = new BufferedOutputStream(System.out); int n = reader.nextInt(); int r = reader.nextInt(); if(n < 10) r -= 100 * (10-n); out.write(("" + r).getBytes()); out.flush(); } ...
Main.java:16: error: cannot find symbol private DataInputStream din; ^ symbol: class DataInputStream location: class Reader Main.java:24: error: cannot find symbol public int nextInt() throws IOException { ^ symbol: class IOException locati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u613243166|p02765|0
u613243166|p02765|0
codenet
Compile Error
1,769
v2_s210176463
s210176463
s210176463
p02765
p02765
u670531069
u670531069
1,582,908,065
2020-02-28T16:41:05
Main.java
import java.util.*; class Main() { public static void main(String args[]){ Scanner s=new Scanner(System.in); int n=s.nextInt(); int d=s.nextInt(); if(n>=10) System.out.print(d); else System.out.print(d+100*(10-n)); } }
Main.java:3: error: '{' expected class Main() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u670531069|p02765|0
u670531069|p02765|0
codenet
Compile Error
256
v2_s180297174
s180297174
s180297174
p02765
p02765
u675269406
u675269406
1,593,755,381
2020-07-03T05:49:41
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(); int r = sx.nextInt(); System.out.println(n >= 10 ? r : 100 * (10 - n)); } }
Main.java:7: error: cannot find symbol int r = sx.nextInt(); ^ symbol: variable sx location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u675269406|p02765|0
u675269406|p02765|0
codenet
Compile Error
260
v2_s169713967
s169713967
s169713967
p02765
p02765
u712195125
u712195125
1,583,083,432
2020-03-01T17:23:52
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); //コンテスト参加回数 int r = sc.nextInt(); //表示レーティング if(n>10){ r=r; }else{ r=100*(10-n); } // 出力 System.out.println(r)...
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
u712195125|p02765|0
u712195125|p02765|0
codenet
Compile Error
367
v2_s854375577
s854375577
s854375577
p02765
p02765
u769291367
u769291367
1,597,271,407
2020-08-12T22:30:07
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Sacnner(System.in); int K = sc.nextInt(); int R = sc.nextInt(); if(K < 10) { int Rating = 100 * (10 - 2); int Result = R - Rating; System.out.println(Result); } else ...
Main.java:6: error: cannot find symbol Scanner sc = new Sacnner(System.in); ^ symbol: class Sacnner location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769291367|p02765|0
u769291367|p02765|0
codenet
Compile Error
366
v2_s140181672
s140181672
s140181672
p02765
p02765
u770279498
u770279498
1,583,030,321
2020-03-01T02:38:41
Main.java
2 2919
Main.java:1: error: class, interface, enum, or record expected 2 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770279498|p02765|0
u770279498|p02765|0
codenet
Compile Error
9
v2_s790346664
s790346664
s790346664
p02765
p02765
u808160425
u808160425
1,582,813,657
2020-02-27T14:27:37
Main.java
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int R = sc.nextInt(); if (N < 10) { r += 100 * (10-N); } System.out.println(R); } }
Main.java:8: error: cannot find symbol r += 100 * (10-N); ^ symbol: variable r location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u808160425|p02765|0
u808160425|p02765|0
codenet
Compile Error
251
v2_s511900939
s511900939
s511900939
p02765
p02765
u829133297
u829133297
1,583,115,557
2020-03-02T02:19:17
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner (System.in); int N,R = sc.nextInt(); if(N>=10) { System.out.println(R); }else { System.out.println(R+(100*(10-N))); } } }
Main.java:10: error: variable N might not have been initialized if(N>=10) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u829133297|p02765|0
u829133297|p02765|0
codenet
Compile Error
250
v2_s641631737
s641631737
s641631737
p02765
p02765
u842363198
u842363198
1,582,740,403
2020-02-26T18:06:43
Main.java
import java.io.*; import java.util.Scanner; public class Main { public class static void main(String[] args){ try { //ローカル変数定義 int internal_rating; //内部レーティング int display_rating; //表示レーティング int participation_times; //参加回数 //標準入力受け取り Scanner scan = ne...
Main.java:6: error: <identifier> expected public class static void main(String[] args){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u842363198|p02765|0
u842363198|p02765|0
codenet
Compile Error
951
v2_s012502965
s012502965
s012502965
p02765
p02765
u842363198
u842363198
1,582,740,449
2020-02-26T18:07:29
Main.java
import java.io.*; import java.util.Scanner; public class Main { public static void main(String[] args){ try { //ローカル変数定義 int internal_rating; //内部レーティング int display_rating; //表示レーティング int participation_times; //参加回数 //標準入力受け取り Scanner scan = new Scan...
Main.java:15: error: cannot find symbol Scanner scan = new Scanner(Sysytem.in); ^ symbol: variable Sysytem location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u842363198|p02765|0
u842363198|p02765|0
codenet
Compile Error
946
v2_s999016245
s999016245
s999016245
p02765
p02765
u842363198
u842363198
1,582,740,499
2020-02-26T18:08:19
Main.java
import java.io.*; import java.util.Scanner; public class Main { public static void main(String[] args){ try { //ローカル変数定義 int internal_rating; //内部レーティング int display_rating; //表示レーティング int participation_times; //参加回数 //標準入力受け取り Scanner scan = new Scan...
Main.java:26: error: variable internal_rating might not have been initialized internal_rating = internal_rating + 100*(10-participation_times); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u842363198|p02765|0
u842363198|p02765|0
codenet
Compile Error
945
v2_s082264025
s082264025
s082264025
p02765
p02765
u850830779
u850830779
1,593,641,374
2020-07-01T22:09:34
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int R = sc.nextInt(); int rate; if(N>=10){ rate = R; ...
Main.java:15: error: cannot find symbol rate = K + 100 * (10-K); ^ symbol: variable K location: class Main Main.java:15: error: cannot find symbol rate = K + 100 * (10-K); ^ symbol: variable K location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u850830779|p02765|0
u850830779|p02765|0
codenet
Compile Error
427
v2_s308254079
s308254079
s308254079
p02765
p02765
u850830779
u850830779
1,593,641,397
2020-07-01T22:09:57
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int R = sc.nextInt(); int rate; if(N>=10){ rate = R; ...
Main.java:15: error: cannot find symbol rate = R + 100 * (10-K); ^ symbol: variable K location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u850830779|p02765|0
u850830779|p02765|0
codenet
Compile Error
427
v2_s869317696
s869317696
s869317696
p02765
p02765
u859415875
u859415875
1,582,426,003
2020-02-23T02:46:43
Main.java
import java.util.*; class a { public static void main(String args[]) { int i,j,k,l,m; Scanner myObj = new Scanner(System.in); int i = myObj.nextInt(); int j = myObj.nextInt(); if(i>=10) System.out.println(i); else { System.out.println(j+(100*(10-i))); } } }
Main.java:8: error: variable i is already defined in method main(String[]) int i = myObj.nextInt(); ^ Main.java:9: error: variable j is already defined in method main(String[]) int j = myObj.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u859415875|p02765|0
u859415875|p02765|0
codenet
Compile Error
313