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_s565519313
s565519313
s565519313
p03968
p03968
u159469260
u159469260
1,476,630,492
2016-10-16T15:08:12
Main.java
// -*- coding: utf-8 -*- //import java.awt.*; import java.io.*; import java.math.*; import java.text.*; import java.util.*;   public class Main { public static void main(String[] args) { InputStream inputStream; if (args.length > 0 && args[0].equals("devTesting")) { try { inputStream = new FileI...
Main.java:7: error: illegal character: '\u00a0' ? ^ Main.java:157: error: illegal character: '\u00a0' ? ^ Main.java:162: error: illegal character: '\u00a0' ? ^ Main.java:181: error: illegal character: '\u00a0' ? ^ Main.java:185: error: illegal character: '\u00a0' ? ^ Main.java:193: error: illegal character: '\u00a0' ? ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u159469260|p03968|0
u159469260|p03968|0
codenet
Compile Error
6,086
v2_s502036580
s502036580
s502036580
p03970
p03970
u097479715
u097479715
1,476,390,018
2016-10-13T20:20:18
Main.java
//セミコロンレスで書いた class Main{ public static void main(String[] args){ for(String[] str : new String[][]{{"CODEFESTIVAL2016", new java.util.Scanner(System.in).next()}}){ for(int[] var : new int[][]{{0, 0}}){ while(var[0] < str[0].length()){ if(str[0].c...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u097479715|p03970|1
u097479715|p03970|1
codenet
Compile Error
589
v2_s126508209
s126508209
s126508209
p03970
p03970
u486105630
u486105630
1,584,370,848
2020-03-16T15:00:48
Main.java
import java.io.*; import java.util.*; import java.math.BigDecimal; public class Main { void submit() { String missString = nextString; char[] missChar= missString.toCharArray(); String seikaiString = "CODEFESTIVAL2016"; char[] seikaiChar = seikaiString.toCharArray(); int kaisu...
Main.java:8: error: cannot find symbol String missString = nextString; ^ symbol: variable nextString location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u486105630|p03970|0
u486105630|p03970|0
codenet
Compile Error
1,543
v2_s001103369
s001103369
s001103369
p03970
p03970
u584619635
u584619635
1,476,122,592
2016-10-10T18:03:12
Main.java
public class Main { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Scanner in = new Scanner(System.in); String s = "CODEFESTIVAL2016"; String tmp = in.nextLine(); int ans =0; for(int i=0;i<s.length();i++) if(tm...
Main.java:8: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:8: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u584619635|p03970|0
u584619635|p03970|0
codenet
Compile Error
419
v2_s183190541
s183190541
s183190541
p03970
p03970
u769320286
u769320286
1,476,119,705
2016-10-10T17:15:05
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int count = 0; String s = sc.next(); String sa[]; sa = new String[s.length()]; String c = "CODEFESTIVAL2016"; String ca[]; ca = new String[c.length()]...
Main.java:12: error: not a statement for(i=0; i++; i<c.length(){ ^ Main.java:12: error: ')' expected for(i=0; i++; i<c.length(){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769320286|p03970|0
u769320286|p03970|0
codenet
Compile Error
721
v2_s535755360
s535755360
s535755360
p03970
p03970
u769320286
u769320286
1,476,120,009
2016-10-10T17:20:09
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int count = 0; String s = sc.next(); String sa[]; sa = new String[s.length()]; String c = "CODEFESTIVAL2016"; String ca[]; ca = new String[c.length()]...
Main.java:12: error: not a statement for(i=0; i++; i<c.length()){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769320286|p03970|0
u769320286|p03970|0
codenet
Compile Error
722
v2_s382824344
s382824344
s382824344
p03970
p03970
u769320286
u769320286
1,476,120,223
2016-10-10T17:23:43
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int count = 0; String s = sc.next(); String sa[]; sa = new String[s.length()]; String c = "CODEFESTIVAL2016"; String ca[]; ca = new String[c.length()]...
Main.java:12: error: cannot find symbol for(i=0; i<c.length(); i++){ ^ symbol: variable i location: class Main Main.java:12: error: cannot find symbol for(i=0; i<c.length(); i++){ ^ symbol: variable i location: class Main Main.java:12: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769320286|p03970|0
u769320286|p03970|0
codenet
Compile Error
722
v2_s599411785
s599411785
s599411785
p03970
p03970
u769320286
u769320286
1,476,121,477
2016-10-10T17:44:37
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int count = 0; String s = sc.next(); String sa[]; sa = new String[s.length()]; String c = "CODEFESTIVAL2016"; String ca[]; ca = new String[c.length()]...
Main.java:13: error: cannot find symbol if(i == c.length - 1){ ^ symbol: variable length location: variable c of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769320286|p03970|0
u769320286|p03970|0
codenet
Compile Error
730
v2_s929690977
s929690977
s929690977
p03970
p03970
u775694587
u775694587
1,477,148,241
2016-10-22T14:57:21
Main.java
public class Main { public static void main(String[] args) { Scanner s1 = new Scanner(System.in); int N = s1.nextInt(); if(N < 1 || N > 100000) { throw new IllegalArgumentException(); } Scanner s2 = new Scanner(System.in); int A = s2.nextInt(); if...
Main.java:3: error: cannot find symbol Scanner s1 = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner s1 = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:9: erro...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u775694587|p03970|0
u775694587|p03970|0
codenet
Compile Error
1,164
v2_s313462973
s313462973
s313462973
p03970
p03970
u775694587
u775694587
1,477,148,319
2016-10-22T14:58:39
Main.java
import java.util.Scanner; /** * Created by apple on 10/21/16. */ public class Main { public static void main(String[] args) { Scanner s1 = new Scanner(System.in); int N = s1.nextInt(); int A = s2.nextInt(); int B = s3.nextInt(); String S = s4.nextLine(); int count...
Main.java:10: error: cannot find symbol int A = s2.nextInt(); ^ symbol: variable s2 location: class Main Main.java:11: error: cannot find symbol int B = s3.nextInt(); ^ symbol: variable s3 location: class Main Main.java:12: error: cannot find symbol St...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u775694587|p03970|0
u775694587|p03970|0
codenet
Compile Error
722
v2_s405338994
s405338994
s405338994
p03970
p03970
u782785740
u782785740
1,476,120,322
2016-10-10T17:25:22
Main.java
public class Main { public static void Main(String[] args){ Scanner s = new Scanner(System.in); String str = s.next(); String[] a = new String[16]; int result = 0; a[0] = "C"; a[1] = "O"; a[2] = "D"; a[3] = "E"; a[4] = "F"; a[5] = ...
Main.java:4: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u782785740|p03970|0
u782785740|p03970|0
codenet
Compile Error
717
v2_s382386165
s382386165
s382386165
p03970
p03970
u782785740
u782785740
1,476,120,578
2016-10-10T17:29:38
Main.java
public class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); String str = s.next(); String[] a = new String[16]; int result = 0; a[0] = "C"; a[1] = "O"; a[2] = "D"; a[3] = "E"; a[4] = "F"; a[5] = "...
Main.java:4: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u782785740|p03970|0
u782785740|p03970|0
codenet
Compile Error
721
v2_s031900619
s031900619
s031900619
p03971
p03971
u213117974
u213117974
1,476,245,261
2016-10-12T04:07:41
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String [] args)throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int n = Integer.parseInt(st.nextToken()); int a = Integer.parseInt(st....
Main.java:12: error: cannot find symbol for(int i = 0;i < str.length();i++){ ^ symbol: variable str location: class Main Main.java:13: error: cannot find symbol if(str.charAt(i) == 'c') ^ symbol: variable str location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u213117974|p03971|0
u213117974|p03971|0
codenet
Compile Error
652
v2_s199660382
s199660382
s199660382
p03971
p03971
u222822036
u222822036
1,599,276,144
2020-09-05T03:22:24
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:80: error: cannot find symbol String tmp = list.get(i); ^ symbol: variable list 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
u222822036|p03971|0
u222822036|p03971|0
codenet
Compile Error
3,370
v2_s416347722
s416347722
s416347722
p03971
p03971
u244401500
u244401500
1,587,927,483
2020-04-26T18:58: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 a = Integer.parseInt(sc.next()); int b = Integer.parseInt(sc.next()); int overseaStudent = 1; String s = sc.next(); int...
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
u244401500|p03971|0
u244401500|p03971|0
codenet
Compile Error
1,205
v2_s528779857
s528779857
s528779857
p03971
p03971
u252828980
u252828980
1,597,086,737
2020-08-10T19:12:17
Main.java
n,a,b = map(int,input().split()) a_cnt,b_cnt,cnt = 0,0,0 s = input() cnt = a+b for i in range(n): if s[i] == "a": if a_cnt + b_cnt <= cnt: #print(a_cnt + b_cnt) print("Yes") else: print("No") a_cnt +=1 elif s[i] == "b": if a_cnt + b_cnt < cnt ...
Main.java:1: error: class, interface, enum, or record expected n,a,b = map(int,input().split()) ^ Main.java:9: error: illegal character: '#' #print(a_cnt + b_cnt) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u252828980|p03971|0
u252828980|p03971|0
codenet
Compile Error
458
v2_s098655267
s098655267
s098655267
p03971
p03971
u507706381
u507706381
1,573,271,945
2019-11-09T03:59:05
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int A = sc.nextInt(); int B = sc.nextInt(); String S = sc.next(); int pass = 0; int bRank = 0; for (int i = 0; i < N; i++) { char c = ...
Main.java:16: error: cannot find symbol if (c == a && pass < A+B) { ^ symbol: variable a location: class Main Main.java:19: error: cannot find symbol } else if (c == b) { ^ symbol: variable b location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03971|0
u507706381|p03971|0
codenet
Compile Error
629
v2_s181957212
s181957212
s181957212
p03971
p03971
u547167033
u547167033
1,570,068,457
2019-10-03T02:07:37
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 = sc.nextInt(); int b = sc.nextInt(); char c = sc.next().toCharArray(); int cntA = 0; int cntB = 0; for(int i = 0;i < n;i++){ ...
Main.java:8: error: incompatible types: char[] cannot be converted to char char c = sc.next().toCharArray(); ^ Main.java:12: error: array required, but char found if(c[i]=='a'&&cntA+cntB<a+b){ ^ Main.java:15: error: array required, but char found }else...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03971|0
u547167033|p03971|0
codenet
Compile Error
575
v2_s029741655
s029741655
s029741655
p03971
p03971
u769320286
u769320286
1,476,121,201
2016-10-10T17:40:01
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 = sc.nextInt(); // スペース区切りの整数の入力 int b = sc.nextInt(); // 文字列の入力 String s = sc.next(); String sa[]; sa = new String[s.length()]...
Main.java:38: error: > or ',' expected if(countY < a + b && countB =< b){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769320286|p03971|0
u769320286|p03971|0
codenet
Compile Error
1,617
v2_s111591803
s111591803
s111591803
p03971
p03971
u769320286
u769320286
1,476,121,373
2016-10-10T17:42: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 a = sc.nextInt(); // スペース区切りの整数の入力 int b = sc.nextInt(); // 文字列の入力 String s = sc.next(); String sa[]; sa = new String[s.length()]...
Main.java:18: error: cannot find symbol if(i < c.length() -1){ ^ symbol: variable c location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u769320286|p03971|0
u769320286|p03971|0
codenet
Compile Error
1,617
v2_s799190371
s799190371
s799190371
p03971
p03971
u775694587
u775694587
1,477,148,370
2016-10-22T14:59:30
Main.java
import java.util.Scanner; /** * Created by apple on 10/21/16. */ public class Main { public static void main(String[] args) { Scanner s1 = new Scanner(System.in); int N = s1.nextInt(); int A = s2.nextInt(); int B = s3.nextInt(); String S = s4.nextLine(); int cou...
Main.java:10: error: cannot find symbol int A = s2.nextInt(); ^ symbol: variable s2 location: class Main Main.java:11: error: cannot find symbol int B = s3.nextInt(); ^ symbol: variable s3 location: class Main Main.java:12: error: cannot find symbol St...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u775694587|p03971|0
u775694587|p03971|0
codenet
Compile Error
724
v2_s621715883
s621715883
s621715883
p03971
p03971
u775694587
u775694587
1,477,148,584
2016-10-22T15:03:04
Main.java
public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int N = s.nextInt(); int A = s.nextInt(); int B = s.nextInt(); String S = s.next(); int count = 0; for(int i = 0; i < N; i++) { if(S.charAt(i) == 'a' ...
Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u775694587|p03971|0
u775694587|p03971|0
codenet
Compile Error
646
v2_s906183186
s906183186
s906183186
p03971
p03971
u840637059
u840637059
1,476,119,959
2016-10-10T17:19:19
Main.java
import java.util.*; import java.lang.*; import java.io.*; public static void Main (String[] args) throws java.lang.Exception { Scanner reader = new Scanner(System.in); int N = reader.nextInt(); int A = reader.nextInt(); int B = reader.nextInt(); reader.nextLine(); String in...
Main.java:6: error: unnamed classes are a preview feature and are disabled by default. public static void Main (String[] args) throws java.lang.Exception ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u840637059|p03971|0
u840637059|p03971|0
codenet
Compile Error
1,202
v2_s237954901
s237954901
s237954901
p03972
p03972
u067199253
u067199253
1,476,214,420
2016-10-11T19:33:40
Main.java
import ARC.Tools.PriorityQue; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.util.NoSuchElementException; import java.util.PriorityQueue; /** * Created by jaga on 9/22/16. */ public class Main{ public static void solve(PrintWriter ou...
Main.java:2: error: package ARC.Tools does not exist import ARC.Tools.PriorityQue; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u067199253|p03972|0
u067199253|p03972|0
codenet
Compile Error
5,807
v2_s852768197
s852768197
s852768197
p03975
p03975
u710525394
u710525394
1,476,305,615
2016-10-12T20:53:35
Main.java
import java.io.*; public class Main { public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String st = br.readLine(); String[] s = st.split(" ", 0); int N = Integer.parseInt(s[0]); ...
Main.java:15: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:15: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner loca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u710525394|p03975|0
u710525394|p03975|0
codenet
Compile Error
690
v2_s824479283
s824479283
s824479283
p03976
p03976
u601070043
u601070043
1,475,458,343
2016-10-03T01:32:23
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 k = sc.nextInt(); int[] initial = new int[26]; for(int i=0; i<n; i++){ String s = sc.next(); initial[s.charAt(0)-'A']++; } ...
Main.java:18: error: incompatible types: INT#1 cannot be converted to boolean if((n%k==0)? n/k : (n/k)+1 <= initial[25]){ ^ where INT#1,INT#2 are intersection types: INT#1 extends Object,Serializable,Comparable<? extends INT#2>,Constable INT#2 extends Object,Serializable,Comparable<?>,Constable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u601070043|p03976|0
u601070043|p03976|0
codenet
Compile Error
461
v2_s386228987
s386228987
s386228987
p03977
p03977
u814169215
u814169215
1,475,432,322
2016-10-02T18:18:42
Main.java
import java.util.*; class C { public static void main(String... args) { final Scanner sc = new Scanner(System.in); final int T = sc.nextInt(); for (int i = 0; i < T; i++) { final int N = sc.nextInt(); final int D = sc.nextInt(); if(N % 2 == 1) ...
Main.java:17: error: class, interface, enum, or record expected package kupc2016; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814169215|p03977|0
u814169215|p03977|0
codenet
Compile Error
572
v2_s342224149
s342224149
s342224149
p03986
p03986
u218740431
u218740431
1,590,231,621
2020-05-23T11:00:21
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.next(); int s = 0; int t = 0; for(int i=0;i<str.length();i++){if(s.charAt(i)=='T'){t++;} else{break;} ...
Main.java:14: error: ')' or ',' expected System.out.println(Math.max(2*s,2*t); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03986|0
u218740431|p03986|0
codenet
Compile Error
557
v2_s857359740
s857359740
s857359740
p03986
p03986
u218740431
u218740431
1,590,231,639
2020-05-23T11:00:39
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.next(); int s = 0; int t = 0; for(int i=0;i<str.length();i++){if(s.charAt(i)=='T'){t++;} else{break;} ...
Main.java:8: error: int cannot be dereferenced for(int i=0;i<str.length();i++){if(s.charAt(i)=='T'){t++;} ^ Main.java:11: error: int cannot be dereferenced for(int i=str.length()-1;i>=0;i--){if(s.charAt(i)=='S'){s++;} ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u218740431|p03986|0
u218740431|p03986|0
codenet
Compile Error
559
v2_s869110739
s869110739
s869110739
p03986
p03986
u222822036
u222822036
1,599,193,413
2020-09-04T04:23:33
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:74: error: cannot find symbol int output = s.szie(); ^ symbol: method szie() location: variable s of type ArrayList<String> 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
u222822036|p03986|0
u222822036|p03986|0
codenet
Compile Error
3,070
v2_s398967640
s398967640
s398967640
p03986
p03986
u989611356
u989611356
1,475,376,751
2016-10-02T02:52:31
Main.java
public class Main{ public static void main(String[] args) { final String check_str = "ST"; Scanner sc = new Scanner(System.in); String s = sc.next(); sc.close(); int s_cnt = s.length(); StringBuilder sb = new StringBuilder(); for (int l = s_cnt / 2; l >= 1; ...
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
u989611356|p03986|0
u989611356|p03986|0
codenet
Compile Error
719
v2_s821625614
s821625614
s821625614
p03986
p03986
u989611356
u989611356
1,475,376,779
2016-10-02T02:52:59
Atcoder_20161001_A.java
public class Atcoder_20161001_A { public static void Main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); sc.close(); int s_cnt = s.length(); StringBuilder sb = new StringBuilder(); for (int l = s_cnt / 2; l >= 1; l--) { sb = ...
Atcoder_20161001_A.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Atcoder_20161001_A Atcoder_20161001_A.java:4: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanne...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u989611356|p03986|0
u989611356|p03986|0
codenet
Compile Error
690
v2_s111838600
s111838600
s111838600
p03987
p03987
u076161801
u076161801
1,475,745,789
2016-10-06T09:23:09
Main.java
import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner in = new Scanner(System.in)) { int N = in.nextInt(); int[] A = new int[N]; for (int i = 0; i < N; i...
Main.java:20: error: cannot find symbol private static long solve(int l, int r, RMQ rmq){ ^ symbol: class RMQ location: class Main Main.java:16: error: cannot find symbol System.out.println(solve(0, A.length - 1, new RMQ(A))); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u076161801|p03987|0
u076161801|p03987|0
codenet
Compile Error
823
v2_s601951127
s601951127
s601951127
p03987
p03987
u076161801
u076161801
1,475,745,889
2016-10-06T09:24:49
Main.java
import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner in = new Scanner(System.in)) { int N = in.nextInt(); int[] A = new int[N]; for (int i = 0; i < N; i...
Main.java:20: error: cannot find symbol private static long solve(int l, int r, RMQ rmq){ ^ symbol: class RMQ location: class Main Main.java:16: error: cannot find symbol System.out.println(solve(0, A.length - 1, new RMQ(A))); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u076161801|p03987|0
u076161801|p03987|0
codenet
Compile Error
811
v2_s338925595
s338925595
s338925595
p03987
p03987
u417212867
u417212867
1,599,543,102
2020-09-08T05:31:42
Main.java
import utils.SegmentTree; import java.io.*; import java.util.*; import java.util.Map.Entry; import java.util.function.Function; /** * Created by Katushka on 11.03.2020. */ public class Main { public static final Comparator<int[]> COMPARATOR = Comparator.comparingInt(o -> o[0]); static Integer[] readArray...
Main.java:1: error: package utils does not exist import utils.SegmentTree; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u417212867|p03987|0
u417212867|p03987|0
codenet
Compile Error
6,407
v2_s261096134
s261096134
s261096134
p03987
p03987
u762187782
u762187782
1,529,351,996
2018-06-18T19:59:56
Main.java
import javafx.scene.layout.Priority; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.*; public class Main { static int N; static int[] A; static int[] X; public static void main(String[] args) { FastSca...
Main.java:1: error: package javafx.scene.layout does not exist import javafx.scene.layout.Priority; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u762187782|p03987|4
u762187782|p03987|3
codenet
Compile Error
3,249
v2_s013854533
s013854533
s013854533
p03987
p03987
u784364046
u784364046
1,542,491,405
2018-11-17T21:50:05
Main.java
import java.io.*; import java.util.*; /* * // Given an array A[] , calculate the sum of minimum of all subarrays of A. * e.g, A[] = {1, 2, 3} , ans = sum( min({1}), min({2}), min({3}), min({1, 2}), min({2, 3}), min({1, 2, 3}) ) = 10 2 5 8 9= 2*4+5*3+8*2+9*1 6 4 1 7 8 6 1 1=1*1 4 1 2=2*1 1 1 5=3*3 7 4 5=...
Main.java:26: error: ']' expected int rightSmall[]=new int[n+2; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u784364046|p03987|0
u784364046|p03987|0
codenet
Compile Error
1,446
v2_s446811436
s446811436
s446811436
p03989
p03989
u119714109
u119714109
1,475,373,373
2016-10-02T01:56:13
Main.java
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; public class Main { static InputStream is; static PrintWriter out; static String INPUT = ""; static void solve() { int n = ...
Main.java:124: error: cannot find symbol int P = NTTPrimes[k], g = NTTPrimitiveRoots[k]; ^ symbol: variable NTTPrimes location: class Main Main.java:124: error: cannot find symbol int P = NTTPrimes[k], g = NTTPrimitiveRoots[k]; ^ symbol: variable NTTPrimitiveRoots...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u119714109|p03989|0
u119714109|p03989|0
codenet
Compile Error
11,915
v2_s970824750
s970824750
s970824750
p03989
p03989
u455911711
u455911711
1,596,377,318
2020-08-02T14:08:38
TaskA.java
import java.io.*; import java.util.*; public class TaskA { //FastIO io = new FastIO("in.txt"); int N, M; long[][] dp; static long MOD = 1000000007; static long[] FS = new long[1005]; void init(){ FS[0] = 1; for(int i=1; i<1005; i++){ FS[i] = (FS[i-1] * i) % MOD; ...
TaskA.java:47: error: cannot find symbol N = io.nextInt(); M = io.nextInt(); ^ symbol: variable io location: class TaskA TaskA.java:47: error: cannot find symbol N = io.nextInt(); M = io.nextInt(); ^ symbol: variable io location: class TaskA TaskA.ja...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u455911711|p03989|0
u455911711|p03989|0
codenet
Compile Error
3,067
v2_s840174767
s840174767
s840174767
p03992
p03992
u045262509
u045262509
1,476,481,050
2016-10-14T21:37:30
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // get a integer int a = sc.nextInt(); int[] arr = new int[a]; for (int i = 0; i < a; i++) { a[i] = sc.nextInt(); } ...
Main.java:9: error: array required, but int found a[i] = sc.nextInt(); ^ Main.java:12: error: cannot find symbol if (a[a[i]] == i) { ^ symbol: variable i location: class Main Main.java:12: error: array required, but int found ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u045262509|p03992|0
u045262509|p03992|0
codenet
Compile Error
461
v2_s136824686
s136824686
s136824686
p03992
p03992
u045262509
u045262509
1,476,482,076
2016-10-14T21:54:36
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // get a integer int a = sc.nextInt(); int[] arr = new int[a]; for (int i = 0; i < a; i++) { arr[i] = sc.nextInt(); } ...
Main.java:12: error: cannot find symbol if (arr[arr[i]] == i) { ^ symbol: variable i location: class Main Main.java:12: error: cannot find symbol if (arr[arr[i]] == i) { ^ symbol: variable i location: class Main 2...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u045262509|p03992|0
u045262509|p03992|0
codenet
Compile Error
467
v2_s622240440
s622240440
s622240440
p03992
p03992
u259371958
u259371958
1,474,765,847
2016-09-25T01:10:47
Main.java
Public class Main{ import java.util.*; public static void main(String [] args){ Scanner sc = new Scanner (System.in); String in = sc.next(); return in.substring(0,4) + " " + in.substring(4); } }
Main.java:1: error: class, interface, enum, or record expected Public class Main{ ^ Main.java:3: error: illegal start of type import java.util.*; ^ Main.java:3: error: <identifier> expected import java.util.*; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u259371958|p03992|0
u259371958|p03992|0
codenet
Compile Error
215
v2_s176779759
s176779759
s176779759
p03992
p03992
u259371958
u259371958
1,474,766,494
2016-09-25T01:21:34
Main.java
import java.util.*; Public class Main{ public static void main(String [] args){ Scanner sc = new Scanner (System.in); String in = sc.next(); return in.substring(0,4) + " " + in.substring(4); } }
Main.java:3: error: class, interface, enum, or record expected Public class Main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u259371958|p03992|0
u259371958|p03992|0
codenet
Compile Error
216
v2_s889321185
s889321185
s889321185
p03992
p03992
u378269716
u378269716
1,474,765,344
2016-09-25T01:02:24
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { /** * Q1 * @param args */ public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String hoge = br.readLine(); hoge = hoge.substring(...
Main.java:14: error: unreported exception IOException; must be caught or declared to be thrown String hoge = br.readLine(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u378269716|p03992|0
u378269716|p03992|0
codenet
Compile Error
418
v2_s129636956
s129636956
s129636956
p03992
p03992
u458268106
u458268106
1,568,185,685
2019-09-11T07:08:05
Main.java
import java.util.*; class Main{ public static void main(tring args[]){ Scanner sc = new Scanner(System.in); String s=sc.next(); System.out.println(s.subString(0,4)+" "+s.subString(4,12)); } }
Main.java:4: error: cannot find symbol public static void main(tring args[]){ ^ symbol: class tring location: class Main Main.java:7: error: cannot find symbol System.out.println(s.subString(0,4)+" "+s.subString(4,12)); ^ symbol: method subString(int,int...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458268106|p03992|0
u458268106|p03992|0
codenet
Compile Error
208
v2_s966375947
s966375947
s966375947
p03992
p03992
u458268106
u458268106
1,568,185,715
2019-09-11T07:08:35
Main.java
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String s=sc.next(); System.out.println(s.subString(0,4)+" "+s.subString(4,12)); } }
Main.java:7: error: cannot find symbol System.out.println(s.subString(0,4)+" "+s.subString(4,12)); ^ symbol: method subString(int,int) location: variable s of type String Main.java:7: error: cannot find symbol System.out.println(s.subString(0,4)+" "+s.subString(4,12)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458268106|p03992|0
u458268106|p03992|0
codenet
Compile Error
209
v2_s020481356
s020481356
s020481356
p03992
p03992
u507706381
u507706381
1,573,083,797
2019-11-06T23:43:17
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); System.out.println(s.substr(0, 4) + " " + s.substr(4, 8)); } }
Main.java:7: error: cannot find symbol System.out.println(s.substr(0, 4) + " " + s.substr(4, 8)); ^ symbol: method substr(int,int) location: variable s of type String Main.java:7: error: cannot find symbol System.out.println(s.substr(0, 4) + " " + s.substr(4, 8)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u507706381|p03992|0
u507706381|p03992|0
codenet
Compile Error
219
v2_s969122687
s969122687
s969122687
p03992
p03992
u587100042
u587100042
1,590,335,302
2020-05-24T15:48:22
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); char[] ch=sc.next().toCharArray(); StringBuffer sb=new StringBuffer(); for(int i=0;i<12;i++){ if(i=3){ sb.append(ch[i]+" "); }else{ sb.append(ch[i]); } ...
Main.java:8: error: incompatible types: int cannot be converted to boolean if(i=3){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u587100042|p03992|0
u587100042|p03992|0
codenet
Compile Error
359
v2_s304755207
s304755207
s304755207
p03992
p03992
u598902504
u598902504
1,506,209,083
2017-09-23T23:24:43
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String before = sc.next(); for (int i = 0; i < 12; i++) { System.out.print(before.charAt(i)); if (i == 3) { System.out.print(' '); } ...
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u598902504|p03992|0
u598902504|p03992|0
codenet
Compile Error
329
v2_s770026879
s770026879
s770026879
p03992
p03992
u626325611
u626325611
1,474,765,724
2016-09-25T01:08:44
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); char[] lst = new char[12]; String tmp = sc.nextLine(); lst = tmp.toCharArray(); String result = ""; for (int i = 0; i < 12; i++) { result += lst[i]; if (i == 3) { result += " "; } } System.ou...
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
u626325611|p03992|0
u626325611|p03992|0
codenet
Compile Error
345
v2_s010678446
s010678446
s010678446
p03992
p03992
u645165433
u645165433
1,474,767,256
2016-09-25T01:34:16
Solution.java
public class Solution { public String A(String s) { if (str.length()==12){ char[] str_a = str.toCharArray(); boolean flag = true; char[] str_1 = new char[4]; char[] str_2 = new char[8]; for (int i=1;i<str_a.length;i++){ if (str_a[i]>=55 && str_a[i]<=90){ flag = true; } else{ ...
Solution.java:28: error: ';' expected return c ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u645165433|p03992|0
u645165433|p03992|0
codenet
Compile Error
814
v2_s740768405
s740768405
s740768405
p03992
p03992
u645165433
u645165433
1,474,767,324
2016-09-25T01:35:24
Solution.java
public class Solution { public String A(String s) { if (str.length()==12){ char[] str_a = str.toCharArray(); boolean flag = true; char[] str_1 = new char[4]; char[] str_2 = new char[8]; for (int i=1;i<str_a.length;i++){ if (str_a[i]>=55 && str_a[i]<=90){ flag = true; } else{ ...
Solution.java:3: error: cannot find symbol if (str.length()==12){ ^ symbol: variable str location: class Solution Solution.java:4: error: cannot find symbol char[] str_a = str.toCharArray(); ^ symbol: variable str location: class Solution 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u645165433|p03992|0
u645165433|p03992|0
codenet
Compile Error
816
v2_s803163346
s803163346
s803163346
p03992
p03992
u645165433
u645165433
1,474,767,588
2016-09-25T01:39:48
Solution.java
package testA; public class Solution { public String A(String s) { if (str.length()==12){ char[] str_a = str.toCharArray(); boolean flag = true; char[] str_1 = new char[4]; char[] str_2 = new char[8]; for (int i=1;i<str_a.length;i++){ if (str_a[i]>=55 && str_a[i]<=90){ flag = true; ...
Solution.java:5: error: cannot find symbol if (str.length()==12){ ^ symbol: variable str location: class Solution Solution.java:6: error: cannot find symbol char[] str_a = str.toCharArray(); ^ symbol: variable str location: class Solution 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u645165433|p03992|0
u645165433|p03992|0
codenet
Compile Error
832
v2_s785088007
s785088007
s785088007
p03992
p03992
u645165433
u645165433
1,474,768,298
2016-09-25T01:51:38
Main.java
public class Main { public String A(String str) { char[] str_a = str.toCharArray(); boolean flag = true; char[] str_1 = new char[4]; char[] str_2 = new char[8]; for (int i=0;i<4;i++){ str_1[i] = str_a[i]; } for (int i=4;i<str_a.length;i++){ str_2[i-4] = str_a[i]; } Stri...
Main.java:23: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u645165433|p03992|0
u645165433|p03992|0
codenet
Compile Error
433
v2_s172004421
s172004421
s172004421
p03992
p03992
u699786832
u699786832
1,474,766,242
2016-09-25T01:17:22
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String input = sc.nextLine(); System.out.println(question1(input)); } public static String question1(String input) { String result = input.substring(0, 4) + " " + input.substring(4); return result; ...
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
u699786832|p03992|0
u699786832|p03992|0
codenet
Compile Error
323
v2_s166699127
s166699127
s166699127
p03992
p03992
u707226985
u707226985
1,474,774,471
2016-09-25T03:34:31
Main.java
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Ideone { public static void main (String[] args) throws java.lang.Exception { String ret = ""; while(true){ ret += System....
Main.java:16: error: unreachable statement System.out.println(ret); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u707226985|p03992|0
u707226985|p03992|0
codenet
Compile Error
366
v2_s851709051
s851709051
s851709051
p03992
p03992
u733889817
u733889817
1,474,834,430
2016-09-25T20:13:50
Main.java
public class Main { public static main(String[] args) { Scanner s = new Scanner(System.in); if(s.hasNext()) { String input = s.next(); System.out.println(input.substring(0, 3) + " " + input.substring(4)); } } }
Main.java:2: error: invalid method declaration; return type required public static main(String[] args) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u733889817|p03992|0
u733889817|p03992|0
codenet
Compile Error
243
v2_s856955706
s856955706
s856955706
p03992
p03992
u850545399
u850545399
1,474,772,368
2016-09-25T02:59:28
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // get a integer int a = sc.nextInt(); if (a == 1) return 0; // get two integers separated with half-width break int[] b = new int[a]; try { ...
Main.java:8: error: incompatible types: unexpected return value return 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u850545399|p03992|0
u850545399|p03992|0
codenet
Compile Error
640
v2_s673605349
s673605349
s673605349
p03992
p03992
u885899351
u885899351
1,557,948,039
2019-05-15T19:20:39
Main.java
s=input();print(s[:4]+" "+s[4:])
Main.java:1: error: class, interface, enum, or record expected s=input();print(s[:4]+" "+s[4:]) ^ Main.java:1: error: class, interface, enum, or record expected s=input();print(s[:4]+" "+s[4:]) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u885899351|p03992|0
u885899351|p03992|0
codenet
Compile Error
32
v2_s501501162
s501501162
s501501162
p03992
p03992
u997055883
u997055883
1,474,765,324
2016-09-25T01:02:04
Main.java
mport java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); String answer = line.substring(0,4) + " " + l...
Main.java:1: error: class, interface, enum, or record expected mport java.io.BufferedReader; ^ Main.java:2: error: class, interface, enum, or record expected import java.io.InputStreamReader; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u997055883|p03992|0
u997055883|p03992|0
codenet
Compile Error
383
v2_s492145628
s492145628
s492145628
p03992
p03992
u999184672
u999184672
1,476,085,130
2016-10-10T07:38:50
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s=sc.next(); s=s.substring(0,4)+" "+s.substring(4,12); System.out.println(s); } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u999184672|p03992|0
u999184672|p03992|0
codenet
Compile Error
224
v2_s397077604
s397077604
s397077604
p03993
p03993
u102152695
u102152695
1,474,768,846
2016-09-25T02:00:46
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int ni = sc.nextInt(); int au[] = new int[ni]; int nj =1; int tnum=0; au[0] = sc.nextInt(); // for (int i=1; i < ni; i++){ // au[i] = sc.nextInt(); // } for (int i=1; i < ...
Main.java:44: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u102152695|p03993|0
u102152695|p03993|0
codenet
Compile Error
774
v2_s474505045
s474505045
s474505045
p03993
p03993
u102152695
u102152695
1,474,768,895
2016-09-25T02:01:35
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int ni = sc.nextInt(); int au[] = new int[ni]; int nj =1; int tnum=0; au[0] = sc.nextInt(); // for (int i=1; i < ni; i++){ // au[i] = sc.nextInt(); // } for (int i=1; i < ...
Main.java:44: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u102152695|p03993|0
u102152695|p03993|0
codenet
Compile Error
774
v2_s226716933
s226716933
s226716933
p03993
p03993
u371791265
u371791265
1,593,540,689
2020-06-30T18:11:29
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]; for(int i=0;i<N;i++){ A[i] = sc.nextLong(); } //カウント int count=0; //両想いうさぎ fo...
Main.java:15: error: ']' expected if((A[A[i]-1)= i+1)){ ^ Main.java:15: error: illegal start of expression if((A[A[i]-1)= i+1)){ ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u371791265|p03993|0
u371791265|p03993|0
codenet
Compile Error
492
v2_s792241067
s792241067
s792241067
p03993
p03993
u371791265
u371791265
1,593,540,743
2020-06-30T18:12:23
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]; for(int i=0;i<N;i++){ A[i] = sc.nextLong(); } //カウント int count=0; //両想いうさぎ fo...
Main.java:15: error: ']' expected if((A[A[i]-1)==i+1){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u371791265|p03993|0
u371791265|p03993|0
codenet
Compile Error
491
v2_s045804154
s045804154
s045804154
p03993
p03993
u371791265
u371791265
1,593,540,870
2020-06-30T18:14: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[] A = new int[N]; for(int i=0;i<N;i++){ A[i] = sc.nextLong(); } //カウント int count=0; //両想いうさぎ fo...
Main.java:9: error: incompatible types: possible lossy conversion from long to int A[i] = sc.nextLong(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u371791265|p03993|0
u371791265|p03993|0
codenet
Compile Error
490
v2_s752868581
s752868581
s752868581
p03993
p03993
u545166351
u545166351
1,593,759,527
2020-07-03T06:58:47
Main.java
import java.util.*; import java.math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int ans = 0; List<Integer> a = new ArrayList<>(); for (int i = 0; i < N; i++) { int d = sc.nextInt(); a.add(d); } for (int ...
Main.java:18: error: ')' expected if ((i+1) == a,get(r)) ans++; ^ Main.java:18: error: ';' expected if ((i+1) == a,get(r)) ans++; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u545166351|p03993|0
u545166351|p03993|0
codenet
Compile Error
462
v2_s139484406
s139484406
s139484406
p03993
p03993
u547167033
u547167033
1,569,969,733
2019-10-01T22:42: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[] a = new int[n]; for(int i = 0;i < n;i++)a[i]=sc.nextInt(); int cnt = 0; boolean friend = new boolean[n]; Arrays.fill(friend,true); ...
Main.java:9: error: incompatible types: boolean[] cannot be converted to boolean boolean friend = new boolean[n]; ^ Main.java:10: error: no suitable method found for fill(boolean,boolean) Arrays.fill(friend,true); ^ method Arrays.fill(long[],long) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547167033|p03993|0
u547167033|p03993|0
codenet
Compile Error
541
v2_s741673722
s741673722
s741673722
p03993
p03993
u547671064
u547671064
1,591,717,526
2020-06-09T15:45:26
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]; for(int i=0;i<N;i++){ A[i]=sc.nextInt();} int ans =0; for(int j=0;j<n;j++){ if(A[A[i]-1]==i){ans =ans+1;}} System.out.pri...
Main.java:10: error: cannot find symbol for(int j=0;j<n;j++){ ^ symbol: variable n location: class Main Main.java:11: error: cannot find symbol if(A[A[i]-1]==i){ans =ans+1;}} ^ symbol: variable i location: class Main Main.java:11: error: cannot find symbol if(A...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547671064|p03993|0
u547671064|p03993|0
codenet
Compile Error
338
v2_s393989395
s393989395
s393989395
p03993
p03993
u582880126
u582880126
1,593,454,284
2020-06-29T18:11:24
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 count = 0; int i = 0; for(i = 0;i < N; i++){ A[i] = sc.nextInt(); } for(i = 0;i < N; i++){ ...
Main.java:17: error: not a statement count /2; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u582880126|p03993|0
u582880126|p03993|0
codenet
Compile Error
459
v2_s398807287
s398807287
s398807287
p03993
p03993
u770077083
u770077083
1,584,370,681
2020-03-16T14:58:01
Main.java
#include <bits/stdc++.h> using namespace std; int main(){ int x; cin >> x; vector<int> vec; int cnt = 0; for(int i = 0; i < x; i++){ int lover; cin >> lover; lover--; vec.push_back(lover); if(lover < i){ if(i == vec.at(lover)){ cnt++; ...
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 >> x; ^ Main.java:13: error: not a statement cin >> lover; lover--; ^ Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770077083|p03993|0
u770077083|p03993|0
codenet
Compile Error
366
v2_s352585086
s352585086
s352585086
p03993
p03993
u770077083
u770077083
1,584,370,693
2020-03-16T14:58:13
Main.java
#include <bits/stdc++.h> using namespace std; int main(){ int x; cin >> x; vector<int> vec; int cnt = 0; for(int i = 0; i < x; i++){ int lover; cin >> lover; lover--; vec.push_back(lover); if(lover < i){ if(i == vec.at(lover)){ cnt++; ...
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 >> x; ^ Main.java:13: error: not a statement cin >> lover; lover--; ^ Main.java...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770077083|p03993|0
u770077083|p03993|0
codenet
Compile Error
366
v2_s530843626
s530843626
s530843626
p03993
p03993
u834431693
u834431693
1,591,024,033
2020-06-01T15:07: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[] number = new int[N]; boolean[] notpair = new boolean[N]; int count = 0; for(int i=0; i<N; i++){ number[i] = sc.nextInt(); } for(in...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834431693|p03993|0
u834431693|p03993|0
codenet
Compile Error
456
v2_s732109915
s732109915
s732109915
p03993
p03993
u862846425
u862846425
1,474,769,665
2016-09-25T02:14:25
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[] num = new int[a]; for (int i = 0; i < a; i++) { num[i] = sc.nextInt(); } sc.close(); int count = 0; Map<Integer, Integer> map = new HashMap<Integer, In...
Main.java:17: error: cannot find symbol if (map.containsKey(key)) ^ symbol: variable key location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u862846425|p03993|0
u862846425|p03993|0
codenet
Compile Error
543
v2_s524710812
s524710812
s524710812
p03993
p03993
u941172260
u941172260
1,474,767,279
2016-09-25T01:34:39
Main.java
public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int[] arr = new int[n+1]; for(int i=1;i<=n;i++){ arr[i] = in.nextInt(); } List<Integer> toAvoid = new ArrayList<>(); int counter = 0; for(int i=...
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
u941172260|p03993|0
u941172260|p03993|0
codenet
Compile Error
614
v2_s304620074
s304620074
s304620074
p03994
p03994
u228724213
u228724213
1,475,159,747
2016-09-29T14:35:47
Main.java
import java.util.Iterator; import java.util.Scanner; import java.util.Map; import java.util.HashMap; import jdk.internal.dynalink.beans.StaticClass; public class Main { static final int INF=Integer.MAX_VALUE; // 2147483647 static final long LINF=Long.MAX_VALUE; // 9223372036854775807 public static void main...
Main.java:7: error: package jdk.internal.dynalink.beans does not exist import jdk.internal.dynalink.beans.StaticClass; ^ Main.java:40: error: incompatible types: possible lossy conversion from long to int Ints[n-1] = (Ints[n-1] + k) % 26; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u228724213|p03994|0
u228724213|p03994|0
codenet
Compile Error
3,440
v2_s243844008
s243844008
s243844008
p03994
p03994
u228724213
u228724213
1,475,159,785
2016-09-29T14:36:25
Main.java
import java.util.Iterator; import java.util.Scanner; import java.util.Map; import java.util.HashMap; import jdk.internal.dynalink.beans.StaticClass; public class Main { static final int INF=Integer.MAX_VALUE; // 2147483647 static final long LINF=Long.MAX_VALUE; // 9223372036854775807 public static void mai...
Main.java:8: error: package jdk.internal.dynalink.beans does not exist import jdk.internal.dynalink.beans.StaticClass; ^ Main.java:41: error: incompatible types: possible lossy conversion from long to int Ints[n-1] = (Ints[n-1] + k) % 26; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u228724213|p03994|0
u228724213|p03994|0
codenet
Compile Error
3,442
v2_s882759307
s882759307
s882759307
p03994
p03994
u291846853
u291846853
1,474,768,522
2016-09-25T01:55:22
Main.java
import java.io.*; import java.util.NoSuchElementException; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); String str=sc.next(); char ar[]=str.toCharArray(); int L=ar.length; int left=sc.nextInt(); for (int i = 0; i < L-1; i...
Main.java:23: error: cannot find symbol isa=true; ^ symbol: variable isa location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u291846853|p03994|0
u291846853|p03994|0
codenet
Compile Error
706
v2_s963531703
s963531703
s963531703
p03994
p03994
u378269716
u378269716
1,474,769,842
2016-09-25T02:17:22
Main.java
public class Main { // aにできるまで最初からステップ,あとは最後のものを最後まで回す public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder str = new StringBuilder(br.readLine()); int num = Integer.valueOf(br.readLine()); br.close(); int index = ...
Main.java:5: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:5: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u378269716|p03994|0
u378269716|p03994|0
codenet
Compile Error
1,397
v2_s154532074
s154532074
s154532074
p03994
p03994
u494105162
u494105162
1,590,877,487
2020-05-30T22:24:47
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); long k = sc.nextLong(); StringBuilder sb = new StringBuilder(); for (int i = 0; i < s.length() - 1; i++) { char c = s.charAt(i); if...
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
u494105162|p03994|0
u494105162|p03994|0
codenet
Compile Error
730
v2_s902859228
s902859228
s902859228
p03994
p03994
u504228740
u504228740
1,554,423,108
2019-04-05T00:11:48
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(); long k = sc.nextLong(); StringBuffer sb=new StringBuffer(); for(int i = 0; i<s.length(); i++){ if((26-(s.charAt(i)-'a'))<=k){ k-=26-(s.charAt(i)-'a'); sb....
Main.java:19: error: ';' expected sb.append((char)((t+k)%26))); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u504228740|p03994|0
u504228740|p03994|0
codenet
Compile Error
533
v2_s805134269
s805134269
s805134269
p03994
p03994
u645165433
u645165433
1,475,371,698
2016-10-02T01:28:18
Main.java
public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); String s = sc.nextLine(); int count = sc.nextInt(); char[] ca = s.toCharArray(); char[] ca_n = new char[ca.length]; for (int i=0;i<ca_n.length;i++){ ca_n[i] = (char) (...
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
u645165433|p03994|0
u645165433|p03994|0
codenet
Compile Error
928
v2_s868706682
s868706682
s868706682
p03994
p03994
u794141067
u794141067
1,474,774,326
2016-09-25T03:32:06
Main.java
import java.util.Scanner; import java.util.ArrayList; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); int K = sc.nextInt(); System.out.println(solve(s, K)); } public static String solve(String s, int K) { char[] chars = s.toCharAr...
Main.java:36: error: cannot find symbol char c = (char)(builder.charAt(lastIndex) + K); ^ symbol: variable builder location: class Main Main.java:37: error: cannot find symbol chars[i] = c; ^ symbol: variable i location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u794141067|p03994|0
u794141067|p03994|0
codenet
Compile Error
753
v2_s600543343
s600543343
s600543343
p03995
p03995
u180407835
u180407835
1,475,122,992
2016-09-29T04:23:12
Main.java
// package atcoder.other2016.codefestival2016.quala; import com.sun.rowset.internal.Row; import jdk.internal.util.xml.impl.Pair; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Arrays; import java.util.Inp...
Main.java:3: error: package com.sun.rowset.internal is not visible import com.sun.rowset.internal.Row; ^ (package com.sun.rowset.internal is declared in module java.sql.rowset, which does not export it) Main.java:4: error: package jdk.internal.util.xml.impl is not visible import jdk.internal.util...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u180407835|p03995|0
u180407835|p03995|0
codenet
Compile Error
9,180
v2_s181646258
s181646258
s181646258
p03995
p03995
u228724213
u228724213
1,475,177,573
2016-09-29T19:32:53
Main.java
import java.util.*; import com.sun.scenario.effect.Effect; public class Main { static final int INF = Integer.MAX_VALUE; // 2147483647 static final long LINF = Long.MAX_VALUE; // 9223372036854775807 static int DEBUG = 0; public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new ...
Main.java:4: error: package com.sun.scenario.effect does not exist import com.sun.scenario.effect.Effect; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u228724213|p03995|0
u228724213|p03995|0
codenet
Compile Error
6,130
v2_s985706593
s985706593
s985706593
p03995
p03995
u313578924
u313578924
1,474,772,177
2016-09-25T02:56:17
HashMap.java
/* * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.util; import java.io.IOException; import java.io.InvalidObjectException; import java.io.S...
HashMap.java:26: error: package exists in another module: java.base package java.util; ^ HashMap.java:137: error: cannot find symbol public class HashMap<K,V> extends AbstractMap<K,V> ^ symbol: class AbstractMap HashMap.java:138: error: cannot find symbol implements Map<K,V>, Clo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u313578924|p03995|0
u313578924|p03995|0
codenet
Compile Error
91,089
v2_s922792404
s922792404
s922792404
p03995
p03995
u516438812
u516438812
1,474,923,075
2016-09-26T20:51:15
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.NoSuchElementException; public class Main { int R,C,N; int[] r,c,a; long[] min; ArrayList<Edge>[][] graph; boolean[][] used; int[][] b; private class Edge{ int t,w; public Edge(in...
Main.java:24: error: incompatible types: possible lossy conversion from long to int b[type&1][pos] = weight; ^ 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
u516438812|p03995|1
u516438812|p03995|1
codenet
Compile Error
2,986
v2_s679379109
s679379109
s679379109
p03997
p03997
u013734211
u013734211
1,480,685,764
2016-12-02T13:36:04
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a =sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(); System.out.println((a + b)*h/2); } }
Main.java:7: error: cannot find symbol System.out.println((a + b)*h/2); ^ symbol: variable h location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u013734211|p03997|0
u013734211|p03997|0
codenet
Compile Error
211
v2_s436182211
s436182211
s436182211
p03997
p03997
u033621652
u033621652
1,560,843,433
2019-06-18T07:37:13
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); byte[] daikeihen = new byte[3]; for(byte i = 0;i <= 2; i++){ daikeihen[i] = sc.nextInt(); }System.out.println((daikeihen[0] + daikeihen[1]) * daikeihen[2] / ...
Main.java:8: error: incompatible types: possible lossy conversion from int to byte daikeihen[i] = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u033621652|p03997|0
u033621652|p03997|0
codenet
Compile Error
331
v2_s289728944
s289728944
s289728944
p03997
p03997
u033621652
u033621652
1,560,843,755
2019-06-18T07:42:35
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); byte[] daikeihen = new byte[3]; for(int i = 0;i <= 2; i++){ daikeihen[i] = sc.nextInt(); }System.out.println((daikeihen[0] + daikeihen[1]) * daikeihen[2] / 2...
Main.java:8: error: incompatible types: possible lossy conversion from int to byte daikeihen[i] = sc.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u033621652|p03997|0
u033621652|p03997|0
codenet
Compile Error
330
v2_s845796072
s845796072
s845796072
p03997
p03997
u033621652
u033621652
1,560,844,049
2019-06-18T07:47:29
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Byte[] daikeihen = new Byte[3]; daikeihen[0] = sc.nextByte(); daikeihen[1] = sc.nextByte(); daikeihen[2] = sc.nextByte(); System.out.println((daikei...
Main.java:11: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u033621652|p03997|0
u033621652|p03997|0
codenet
Compile Error
369
v2_s411078183
s411078183
s411078183
p03997
p03997
u091722087
u091722087
1,473,642,439
2016-09-12T01:07:19
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); int total = 0; if( a <100 && b<100 && c<100){ total = (a+b)*c/2; }else {...
Main.java:25: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u091722087|p03997|0
u091722087|p03997|0
codenet
Compile Error
417
v2_s009013708
s009013708
s009013708
p03997
p03997
u125498132
u125498132
1,474,923,928
2016-09-26T21:05:28
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 h = sc.nextInt(); System.out.println((a+b)*h/2); } }
Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u125498132|p03997|0
u125498132|p03997|0
codenet
Compile Error
224
v2_s437932801
s437932801
s437932801
p03997
p03997
u134665813
u134665813
1,590,300,331
2020-05-24T06:05:31
Main.java
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(); // 整数の入力 int a = sc.nextInt(); int b = sc.nextInt(); int h = sc.nextInt(); //出力 System.out.println((a + b) * h / 2); } }
Main.java:4: error: no suitable constructor found for Scanner(no arguments) Scanner sc = new Scanner(); ^ constructor Scanner.Scanner(Readable,Pattern) is not applicable (actual and formal argument lists differ in length) constructor Scanner.Scanner(Readable) is not applicable (...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u134665813|p03997|0
u134665813|p03997|0
codenet
Compile Error
275
v2_s900985636
s900985636
s900985636
p03997
p03997
u137015642
u137015642
1,590,589,074
2020-05-27T14:17:54
Main.java
import java.util.Scanner; public class Main { static public void main(String[] args) { Scanner scan = new Scanner(System.in); int a; int b; int h; int s; a = scan.nextLine(); b = scan.nextLine(); h = scan.nextLine(); s = (a+b) / h; System.out.println(s); ...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u137015642|p03997|0
u137015642|p03997|0
codenet
Compile Error
328
v2_s155685025
s155685025
s155685025
p03997
p03997
u137015642
u137015642
1,590,589,239
2020-05-27T14:20:39
Main.java
import java.util.Scanner; public class Main { static public void main(String[] args) { Scanner scan = new Scanner(System.in); int a; int b; int h; int s; a = scan.nextLine(); b = scan.nextLine(); h = scan.nextLine(); s = (a+b) / h; System.out.println(s);...
Main.java:13: error: incompatible types: String cannot be converted to int a = scan.nextLine(); ^ Main.java:14: error: incompatible types: String cannot be converted to int b = scan.nextLine(); ^ Main.java:15: error: incompatible types: String cannot be converted to int...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u137015642|p03997|0
u137015642|p03997|0
codenet
Compile Error
331
v2_s744333629
s744333629
s744333629
p03997
p03997
u137015642
u137015642
1,590,589,289
2020-05-27T14:21:29
Main.java
import java.util.Scanner; public class Main { static public void main(String[] args) { Scanner scan = new Scanner(System.in); int a; int b; int h; int s; a = scan.nextInt(); b = scan.nextInt(); h = scan.nextInt); s = (a+b) / h; System.out.println(s); ...
Main.java:15: error: ';' expected h = scan.nextInt); ^ Main.java:21: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u137015642|p03997|0
u137015642|p03997|0
codenet
Compile Error
325
v2_s036902074
s036902074
s036902074
p03997
p03997
u137015642
u137015642
1,590,589,323
2020-05-27T14:22:03
Main.java
import java.util.Scanner; public class Main { static public void main(String[] args) { Scanner scan = new Scanner(System.in); int a; int b; int h; int s; a = scan.nextInt(); b = scan.nextInt(); h = scan.nextInt(); s = (a+b) / h; System.out.println(s); ...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u137015642|p03997|0
u137015642|p03997|0
codenet
Compile Error
326
v2_s110678467
s110678467
s110678467
p03997
p03997
u167206842
u167206842
1,578,796,024
2020-01-12T02:27:04
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(); int h = sc.nextInt(); System.out.println((a+b)*h/2); } }
Main.java:6: error: cannot find symbol int b = sc.nextint(); ^ symbol: method nextint() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u167206842|p03997|0
u167206842|p03997|0
codenet
Compile Error
249
v2_s407280127
s407280127
s407280127
p03997
p03997
u220659580
u220659580
1,473,642,334
2016-09-12T01:05:34
Main.java
import java.util.*; public class Main{ public static void main(String args[]){ Scanner gio = new Scanner(System.in); a = gio.nextInt(); b = gio.nextInt(); h = gio.nextInt(); System.out.println((double)((a + b) * h)/(double)2); } }
Main.java:5: error: cannot find symbol a = gio.nextInt(); ^ symbol: variable a location: class Main Main.java:6: error: cannot find symbol b = gio.nextInt(); ^ symbol: variable b location: class Main Main.java:7: error: cannot find symbol h = gio.nextInt(); ^ symbol: variable h location: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u220659580|p03997|0
u220659580|p03997|0
codenet
Compile Error
242