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_s964921412
s964921412
s964921412
p02265
p02265
u896545891
u896545891
1,512,209,074
2017-12-02T10:04:34
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String args[]) {import java.io.*; import java.util.*; public class Main { public static void main(String args[]) { int n, idx, len; String s; LinkedList<Integer> list = new LinkedList<Integer>(); ...
Main.java:5: error: illegal start of expression public static void main(String args[]) {import java.io.*; ^ Main.java:5: error: <identifier> expected public static void main(String args[]) {import java.io.*; ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u896545891|p02265|0
u896545891|p02265|0
codenet
Compile Error
2,574
v2_s478362771
s478362771
s478362771
p02265
p02265
u910402677
u910402677
1,486,861,520
2017-02-12T01:05:20
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ Deque<Integer> list = new LinkedList<Integer>(); int n = scan.nextInt(); for(int i = 0; i < n; i++){ String str = scan.nextLine(); if(str.equals("deleteFirst")) ...
Main.java:20: error: cannot find symbol list.remove(Integer.parseInt(str.substrig(7))); ^ symbol: method substrig(int) location: variable str of type String Main.java:24: error: cannot find symbol System.out.printf(i != list.size()-1? "%d " : "%d\n", list.get(i)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02265|0
u910402677|p02265|0
codenet
Compile Error
713
v2_s908371058
s908371058
s908371058
p02265
p02265
u910402677
u910402677
1,486,862,246
2017-02-12T01:17:26
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ Deque<Integer> list = new LinkedList<Integer>(); int n = scan.nextInt(); for(int i = 0; i < n; i++){ String str = scan.nextLine(); if(str.equals("deleteFirst")) ...
Main.java:20: error: cannot find symbol list.remove(Integer.parseInt(str.substrig(7))); ^ symbol: method substrig(int) location: variable str of type String Main.java:23: error: cannot find symbol StringBuffer sb = new StringBuffer(Integer.toString(list.poll)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02265|0
u910402677|p02265|0
codenet
Compile Error
776
v2_s581162386
s581162386
s581162386
p02265
p02265
u912124184
u912124184
1,521,275,639
2018-03-17T08:33:59
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Deque; import java.util.ArrayDeque; public class Main { public static void main(String[] args) throws Exception { Deque<Integer> list = new ArrayDeque<Integer>(); BufferedReader br = new BufferedReader(new I...
Main.java:13: error: ';' expected for(int i = 0; i < n ++i){ ^ Main.java:14: error: ';' expected String line = br.readLine()); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u912124184|p02265|0
u912124184|p02265|0
codenet
Compile Error
1,121
v2_s561883186
s561883186
s561883186
p02265
p02265
u928579315
u928579315
1,515,178,513
2018-01-05T18:55:13
Main.java
import java.util.Scanner; import java.util.ArrayDeque; import java.util.Deque; public class Main{ public static void main(String[] args){ Scanenr sc = new Scanner(System.in); int num = sc.nextInt(); Deque<Integer> deque = new ArrayDeque<Integer>(); String str = ""; ...
Main.java:8: error: cannot find symbol Scanenr sc = new Scanner(System.in); ^ symbol: class Scanenr location: class Main Main.java:15: error: cannot find symbol str = next(); ^ symbol: method next() location: class Main Main.java:17: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u928579315|p02265|0
u928579315|p02265|0
codenet
Compile Error
1,016
v2_s562573024
s562573024
s562573024
p02265
p02265
u928579315
u928579315
1,515,178,630
2018-01-05T18:57:10
Main.java
import java.util.Scanner; import java.util.ArrayDeque; import java.util.Deque; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); Deque<Integer> deque = new ArrayDeque<Integer>(); String str = ""; ...
Main.java:29: error: cannot find symbol output.append(deque.pollFirst); ^ symbol: variable pollFirst location: variable deque of type Deque<Integer> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u928579315|p02265|0
u928579315|p02265|0
codenet
Compile Error
1,025
v2_s403643363
s403643363
s403643363
p02265
p02265
u928579315
u928579315
1,515,180,419
2018-01-05T19:26:59
Main.java
import java.util.Scanner; import java.util.ArrayDeque; import java.util.Deque; public class Main{ public static void main(String[] args){ Scannr sc = new Scanner(System.in); int num = sc.nextInt(); Deque<Integer> deque = new ArrayDeque<Integer>(); String str = ""; ...
Main.java:8: error: cannot find symbol Scannr sc = new Scanner(System.in); ^ symbol: class Scannr location: class Main Main.java:29: error: cannot find symbol output.append(deque.pollFirst); ^ symbol: variable pollFirst location: variable deque of type Dequ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u928579315|p02265|0
u928579315|p02265|0
codenet
Compile Error
1,024
v2_s734269907
s734269907
s734269907
p02265
p02265
u928579315
u928579315
1,515,180,446
2018-01-05T19:27:26
Main.java
import java.io import java.util.ArrayDeque; import java.util.Deque; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); Deque<Integer> deque = new ArrayDeque<Integer>(); String str = ""; int input ...
Main.java:1: error: ';' expected import java.io ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u928579315|p02265|0
u928579315|p02265|0
codenet
Compile Error
1,016
v2_s206534326
s206534326
s206534326
p02265
p02265
u960488816
u960488816
1,470,185,566
2016-08-03T00:52:46
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayDeque; class Main { static ArrayDeque<String> queue = new ArrayDeque<String>(); public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in));...
Main.java:33: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u960488816|p02265|1
u960488816|p02265|1
codenet
Compile Error
1,028
v2_s961023833
s961023833
s961023833
p02265
p02265
u964619663
u964619663
1,479,888,643
2016-11-23T08:10:43
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { LinkedList<Integer> list = new LinkedList<Integer>; Scanner scan = new Scanner(System.in); int n = scan.nextInt(); for(int i=0; i<n; i++) { String command = sc...
Main.java:8: error: '(' or '[' expected LinkedList<Integer> list = new LinkedList<Integer>; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|0
u964619663|p02265|0
codenet
Compile Error
1,118
v2_s431114486
s431114486
s431114486
p02265
p02265
u964619663
u964619663
1,479,888,744
2016-11-23T08:12:24
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { LinkedList<Integer> list = new LinkedList<Integer>(); Scanner scan = new Scanner(System.in); int n = scan.nextInt(); for(int i=0; i<n; i++) { String command = ...
Main.java:14: error: cannot find symbol String command = scan.nextString(); ^ symbol: method nextString() location: variable scan of type Scanner Main.java:37: error: cannot find symbol if(i!=lit.size()-1) ^ symbol: variable lit loca...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|0
u964619663|p02265|0
codenet
Compile Error
1,120
v2_s289384758
s289384758
s289384758
p02265
p02265
u964619663
u964619663
1,479,889,146
2016-11-23T08:19:06
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { LinkedList<Integer> list = new LinkedList<Integer>(); Scanner scan = new Scanner(System.in); int n = scan.nextInt(); for(int i=0; i<n; i++) { String command = ...
Main.java:19: error: ')' or ',' expected list.add(scan.nextInt();; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|0
u964619663|p02265|0
codenet
Compile Error
1,114
v2_s203773830
s203773830
s203773830
p02265
p02265
u964619663
u964619663
1,479,891,523
2016-11-23T08:58:43
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { LinkedList<Integer> list = new LinkedList<Integer>(); Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int memory[] = new int[1000000000]; int num; fo...
Main.java:24: error: variable num is already defined in method main(String[]) int num=scan.nextInt(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|0
u964619663|p02265|0
codenet
Compile Error
1,468
v2_s983648536
s983648536
s983648536
p02265
p02265
u964619663
u964619663
1,479,913,528
2016-11-23T15:05:28
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { LinkedList<Integer> list = new LinkedList<Integer>(); Scanner scan = new Scanner(System.in); int hash = 2000000; int n = scan.nextInt(); int memory[] = new int[hash]; ...
Main.java:28: error: ')' or ',' expected list.remove((Integer)num; ^ Main.java:30: error: illegal start of expression }*/ ^ Main.java:30: error: illegal start of expression }*/ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|1
u964619663|p02265|0
codenet
Compile Error
1,444
v2_s865772423
s865772423
s865772423
p02265
p02265
u964619663
u964619663
1,479,913,542
2016-11-23T15:05:42
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { LinkedList<Integer> list = new LinkedList<Integer>(); Scanner scan = new Scanner(System.in); int hash = 2000000; int n = scan.nextInt(); int memory[] = new int[hash]; ...
Main.java:28: error: ')' or ',' expected list.remove((Integer)num; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|1
u964619663|p02265|0
codenet
Compile Error
1,442
v2_s885370041
s885370041
s885370041
p02265
p02265
u964619663
u964619663
1,480,056,953
2016-11-25T06:55:53
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { // LinkedList<Integer> list = new LinkedList<Integer>(); Scanner scan = new Scanner(System.in); // int hash = 20000000; int n = scan.nextInt(); // int memory[] = new int[hash]...
Main.java:33: error: cannot find symbol list.remove((integer)scan.nextInt()); ^ symbol: class integer location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|2
u964619663|p02265|1
codenet
Compile Error
1,632
v2_s434886891
s434886891
s434886891
p02265
p02265
u964619663
u964619663
1,480,057,465
2016-11-25T07:04:25
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); Deque<Integer> list = new ArrayDeque<Integer>(); int num; for(int i=0; i<n; i++) { String...
Main.java:20: error: : or -> expected case 'd' ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|2
u964619663|p02265|1
codenet
Compile Error
1,230
v2_s165029008
s165029008
s165029008
p02265
p02265
u964619663
u964619663
1,480,057,485
2016-11-25T07:04:45
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); Deque<Integer> list = new ArrayDeque<Integer>(); int num; for(int i=0; i<n; i++) { String...
Main.java:15: error: cannot find symbol switch(command.chatAt(1)) ^ symbol: method chatAt(int) location: variable command of type String Main.java:21: error: cannot find symbol switch(command.chatAt(6)) ^ symbol: metho...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|2
u964619663|p02265|1
codenet
Compile Error
1,231
v2_s569973344
s569973344
s569973344
p02265
p02265
u964619663
u964619663
1,480,058,371
2016-11-25T07:19:31
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); Deque<Integer> list = new ArrayDeque<Integer>(); int num; for(int i=0; i<n; i++) { String ...
Main.java:20: error: cannot find symbol if(command.size()>=6) ^ symbol: method size() location: variable command of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|2
u964619663|p02265|1
codenet
Compile Error
1,425
v2_s395715862
s395715862
s395715862
p02265
p02265
u964619663
u964619663
1,480,058,964
2016-11-25T07:29:24
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(System.in); // Scanner scan = new Scanner(System.in); // int n = scan.nextInt(); int n = br.readLine(); Deque<Integer> list = new Array...
Main.java:8: error: incompatible types: InputStream cannot be converted to Reader BufferedReader br = new BufferedReader(System.in); ^ Main.java:11: error: incompatible types: String cannot be converted to int int n = br.readLine(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|2
u964619663|p02265|1
codenet
Compile Error
1,569
v2_s798627623
s798627623
s798627623
p02265
p02265
u964619663
u964619663
1,480,059,076
2016-11-25T07:31:16
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(System.in); // Scanner scan = new Scanner(System.in); // int n = scan.nextInt(); int n = Integer.parseInt(br.readLine()); Deque<Integer...
Main.java:8: error: incompatible types: InputStream cannot be converted to Reader BufferedReader br = new BufferedReader(System.in); ^ Main.java:21: error: incompatible types: char cannot be converted to String list.offerFirst(Integer.pars...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|2
u964619663|p02265|1
codenet
Compile Error
1,608
v2_s847116440
s847116440
s847116440
p02265
p02265
u964619663
u964619663
1,480,059,387
2016-11-25T07:36:27
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); // Scanner scan = new Scanner(System.in); // int n = scan.nextInt(); in...
Main.java:12: error: unreported exception IOException; must be caught or declared to be thrown int n = Integer.parseInt(br.readLine()); ^ Main.java:17: error: unreported exception IOException; must be caught or declared to be thrown String command = br.rea...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|2
u964619663|p02265|1
codenet
Compile Error
1,710
v2_s624638152
s624638152
s624638152
p02265
p02265
u964619663
u964619663
1,480,060,714
2016-11-25T07:58:34
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); try{ int i; int n = Integer.parseInt(br.readLine()); ...
Main.java:22: error: incompatible types: String[] cannot be converted to String num = Integer.parseInt(command.split(" ",0)); ^ Main.java:38: error: incompatible types: String[] cannot be converted to String num = Intege...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|2
u964619663|p02265|1
codenet
Compile Error
1,562
v2_s135110850
s135110850
s135110850
p02265
p02265
u964619663
u964619663
1,480,061,881
2016-11-25T08:18:01
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ int i; int n = Integer.parseInt(br.readLine()); ArrayDeque<String> list = new Arr...
Main.java:46: error: ';' expected s.append(list.poll()) ^ Main.java:47: error: bad initializer for for-loop for(command:list) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|2
u964619663|p02265|1
codenet
Compile Error
1,545
v2_s798892385
s798892385
s798892385
p02265
p02265
u964619663
u964619663
1,480,062,068
2016-11-25T08:21:08
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ int i; int n = Integer.parseInt(br.readLine()); ArrayDeque<String> list = new Arr...
Main.java:46: error: ';' expected s.append(list.poll()) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u964619663|p02265|2
u964619663|p02265|1
codenet
Compile Error
1,532
v2_s409260157
s409260157
s409260157
p02265
p02265
u994285422
u994285422
1,531,550,757
2018-07-14T06:45:57
Main.java
import java.util.*; //Javaプログラマのためのアルゴリズム とデータ構造p.150~参照 //双方向リストのためのセルを定義したクラス class CellDouble{ CellDouble prev; CellDouble next; Integer data; CellDouble(Integer data){ prev = next = null; this.data = data; } } public class Main { Scanner sc = new Scanner(System.in); StringBuilder output = new StringBui...
Main.java:27: error: invalid method declaration; return type required public ProblemC() { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u994285422|p02265|0
u994285422|p02265|0
codenet
Compile Error
3,121
v2_s560125989
s560125989
s560125989
p02265
p02265
u994285422
u994285422
1,531,620,296
2018-07-15T02:04:56
Main.java
import java.util.*; import java.io.*; public class Main { StringBuilder output = new StringBuilder(); BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); Deque<Integer> List = new ArrayDeque<Integer>(); int n; String order; int data; public void input() throws NumberFormatException...
Main.java:39: error: unreported exception IOException; must be caught or declared to be thrown obj.input(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u994285422|p02265|2
u994285422|p02265|1
codenet
Compile Error
1,013
v2_s787213307
s787213307
s787213307
p02266
p02266
u496767920
u496767920
1,475,936,741
2016-10-08T14:25:41
Main.java
import javafx.util.Pair; import java.io.IOException; import java.util.*; class Main { public static void main(String args[]) throws IOException { Scanner in = new Scanner(System.in); Stack<Integer> st = new Stack<>(); int ch; int sum = 0; List<Integer> lakes = new ArrayList<>(); Stack<Pair<Integer, Inte...
Main.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ Main.java:14: error: cannot find symbol Stack<Pair<Integer, Integer> > lakeStack = new Stack<>(); // first: left's \ pos, right: the lake's size ^ symbol: class Pair location: class Main Main.java:32: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u496767920|p02266|0
u496767920|p02266|0
codenet
Compile Error
1,292
v2_s497814209
s497814209
s497814209
p02266
p02266
u496767920
u496767920
1,475,936,791
2016-10-08T14:26:31
Main.java
import com.sun.tools.javac.util.Pair; import java.io.IOException; import java.util.*; class Main { public static void main(String args[]) throws IOException { Scanner in = new Scanner(System.in); Stack<Integer> st = new Stack<>(); int ch; int sum = 0; List<Integer> lakes = new ArrayList<>(); Stack<Pair...
Main.java:2: error: package com.sun.tools.javac.util is not visible import com.sun.tools.javac.util.Pair; ^ (package com.sun.tools.javac.util is declared in module jdk.compiler, which does not export it to the unnamed module) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u496767920|p02266|0
u496767920|p02266|0
codenet
Compile Error
1,286
v2_s521308305
s521308305
s521308305
p02266
p02266
u657361950
u657361950
1,540,357,170
2018-10-24T04:59:30
Main.java
public class Main { public static void main(String[] args) throws IOException { new Main().run(); } private void run() throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String input = reader.readLine(); reader.close(); int sum = 0; Stack<Integer> st1 = new...
Main.java:2: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:5: error: cannot find symbol private void run() throws IOException { ^ symbol:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u657361950|p02266|2
u657361950|p02266|2
codenet
Compile Error
924
v2_s512777075
s512777075
s512777075
p02266
p02266
u713164723
u713164723
1,525,806,574
2018-05-08T19:09:34
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public int lineNumber; public ArrayList<Short> stack; public ArrayList<Short> stackStart; public ArrayList<Short> puddles; public ArrayList<Short> puddleStart; public int puddleNumber = 0; public int currentDepth = 0...
Main.java:19: error: incompatible types: int cannot be converted to Short this.stack.add(idx, 0); ^ Main.java:20: error: incompatible types: int cannot be converted to Short this.stackStart.add(idx, lineNumber); ^ Main.java:22:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u713164723|p02266|0
u713164723|p02266|0
codenet
Compile Error
3,598
v2_s601859490
s601859490
s601859490
p02266
p02266
u713164723
u713164723
1,525,806,738
2018-05-08T19:12:18
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { // 現在のx座標 public int lineNumber; // 現在の 層別未確定水たまりスタック public ArrayList<Short> stack; // 未確定水たまり層の始点 public ArrayList<Short> stackStart; // 確定水たまりリスト public ArrayList<Short> puddles; // 確定水たまり層の始点 public A...
Main.java:115: error: incompatible types: ArrayList<Integer> cannot be converted to ArrayList<Short> this.stack = new ArrayList<Integer>(); ^ Main.java:116: error: incompatible types: ArrayList<Integer> cannot be converted to ArrayList<Short> this.stackStart = new ArrayList<Integer>...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u713164723|p02266|0
u713164723|p02266|0
codenet
Compile Error
5,039
v2_s272359593
s272359593
s272359593
p02266
p02266
u713164723
u713164723
1,525,807,429
2018-05-08T19:23:49
Main.java
import java.util.ArrayList; import java.util.Scanner; /** * ACSD */ public class Main { // 現在のx座標 public int lineNumber; // 現在の 層別未確定水たまりスタック public ArrayList<Integer> stack; // 未確定水たまり層の始点 public ArrayList<Short> stackStart; // 確定水たまりリスト public ArrayList<Short> puddles; // 確定水たま...
Main.java:47: error: incompatible types: Integer cannot be converted to short this.puddles.add(puddleNumber, (short) this.stack.get(idx)); ^ Main.java:120: error: incompatible types: ArrayList<Integer> cannot be converted to ArrayList<Short> ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u713164723|p02266|0
u713164723|p02266|0
codenet
Compile Error
5,037
v2_s307162420
s307162420
s307162420
p02266
p02266
u713164723
u713164723
1,525,807,446
2018-05-08T19:24:06
Main.java
import java.util.ArrayList; import java.util.Scanner; /** * ACSD */ public class Main { // 現在のx座標 public int lineNumber; // 現在の 層別未確定水たまりスタック public ArrayList<Integer> stack; // 未確定水たまり層の始点 public ArrayList<Short> stackStart; // 確定水たまりリスト public ArrayList<Short> puddles; // 確定水たま...
Main.java:47: error: incompatible types: Integer cannot be converted to short this.puddles.add(puddleNumber, (short) this.stack.get(idx)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u713164723|p02266|0
u713164723|p02266|0
codenet
Compile Error
5,035
v2_s903867614
s903867614
s903867614
p02266
p02266
u713164723
u713164723
1,525,807,930
2018-05-08T19:32:10
Main.java
import java.util.ArrayList; import java.util.Scanner; /** * ACSD */ public class Main { // 現在のx座標 public int lineNumber; // 現在の 層別未確定水たまりスタック public ArrayList<Integer> stack; // 未確定水たまり層の始点 public ArrayList<Integer> stackStart; // 確定水たまりリスト // public ArrayList<Integer> puddles; p...
Main.java:122: error: incompatible types: ArrayList<Integer> cannot be converted to int[] this.puddles = new ArrayList<Integer>(); ^ Main.java:123: error: incompatible types: ArrayList<Integer> cannot be converted to int[] this.puddleStart = new ArrayList<Integer>(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u713164723|p02266|0
u713164723|p02266|0
codenet
Compile Error
5,033
v2_s700934688
s700934688
s700934688
p02266
p02266
u910402677
u910402677
1,487,044,390
2017-02-14T03:53:10
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args) throws IOException{ /* InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); */ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Arr...
Main.java:15: error: incompatible types: <null> cannot be converted to int int heights = null; ^ Main.java:18: error: variable str is already defined in method main(String[]) String str = br.readLine(); ^ Main.java:19: error: variable heights is already defined in method main(String[]) in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02266|0
u910402677|p02266|0
codenet
Compile Error
1,859
v2_s026288560
s026288560
s026288560
p02266
p02266
u910402677
u910402677
1,487,044,451
2017-02-14T03:54:11
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args) throws IOException{ /* InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); */ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Arr...
Main.java:15: error: incompatible types: <null> cannot be converted to int int heights = null; ^ Main.java:18: error: variable str is already defined in method main(String[]) String str = br.readLine(); ^ Main.java:19: error: variable heights is already defined in method main(String[]) in...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02266|0
u910402677|p02266|0
codenet
Compile Error
1,859
v2_s283036868
s283036868
s283036868
p02266
p02266
u910402677
u910402677
1,487,044,509
2017-02-14T03:55:09
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args) throws IOException{ /* InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); */ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Arr...
Main.java:18: error: variable str is already defined in method main(String[]) String str = br.readLine(); ^ Main.java:19: error: variable heights is already defined in method main(String[]) int[] heights = new int[str.length() + 1]; ^ Main.java:68: error: cannot find symbol heigth++; ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02266|0
u910402677|p02266|0
codenet
Compile Error
1,861
v2_s604151132
s604151132
s604151132
p02267
p02267
u009761676
u009761676
1,518,946,859
2018-02-18T09:40:59
Main.java
import java.util.Scanner; import static java.lang.System.out; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int size = (scanner.nextInt()); int [] S= new int[size]; for (int i = 0; i < size; i++) { S[i] = scanner...
Main.java:30: error: no suitable method found for printf(int) System.out.printf(count); ^ method PrintStream.printf(String,Object...) is not applicable (argument mismatch; int cannot be converted to String) method PrintStream.printf(Locale,String,Object...) is not applicable ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u009761676|p02267|0
u009761676|p02267|0
codenet
Compile Error
778
v2_s986743597
s986743597
s986743597
p02267
p02267
u022215941
u022215941
1,530,007,942
2018-06-26T10:12:22
Main.java
#include <stdio.h> int linersearch(int *,int key); int n; int q; int main(){ int i,j; int c=0; int S[10000]; int Q[10000]; scanf("%d",&n); for(i=0; i<n; i++){ scanf("%d",&S[i]); } scanf("%d",&q); for(i=0; i<q; i++){ scanf("%d",&Q[i]); } for(i=0; i<n; i++){ c += linerSearch(Q,S[i]); ...
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int n; ^ (use --enable-preview to enable unnamed classes) Main.java:9: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u022215941|p02267|0
u022215941|p02267|0
codenet
Compile Error
490
v2_s244474524
s244474524
s244474524
p02267
p02267
u022215941
u022215941
1,530,007,969
2018-06-26T10:12:49
Main.java
#include <stdio.h> int linersearch(int *,int key); int n; int q; int main(){ int i,j; int c=0; int S[10000]; int Q[10000]; scanf("%d",&n); for(i=0; i<n; i++){ scanf("%d",&S[i]); } scanf("%d",&q); for(i=0; i<q; i++){ scanf("%d",&Q[i]); } for(i=0; i<n; i++){ c += linerSearch(Q,S[i]); ...
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int n; ^ (use --enable-preview to enable unnamed classes) Main.java:9: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u022215941|p02267|0
u022215941|p02267|0
codenet
Compile Error
498
v2_s513976145
s513976145
s513976145
p02267
p02267
u022215941
u022215941
1,530,007,983
2018-06-26T10:13:03
Main.java
#include <stdio.h> int linersearch(int *,int key); int n; int q; int main(){ int i,j; int c=0; int S[10000]; int Q[10000]; scanf("%d",&n); for(i=0; i<n; i++){ scanf("%d",&S[i]); } scanf("%d",&q); for(i=0; i<q; i++){ scanf("%d",&Q[i]); } for(i=0; i<n; i++){ c += linerSearch(Q,S[i]); ...
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int n; ^ (use --enable-preview to enable unnamed classes) Main.java:9: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u022215941|p02267|0
u022215941|p02267|0
codenet
Compile Error
498
v2_s325785081
s325785081
s325785081
p02267
p02267
u022215941
u022215941
1,530,524,982
2018-07-02T09:49:42
Main.java
#include <stdio.h> int binarySearch(int *,int key); int n; int q; int T[10000]; int k=0; int main(){ int i,j; int c=0; int S[10000]; int Q[10000]; scanf("%d",&n); for(i=0; i<n; i++){ scanf("%d",&S[i]); } scanf("%d",&q); for(i=0; i<q; i++){ scanf("%d",&Q[i]); } for(i=0; i<n; i++){ T[i...
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int n; ^ (use --enable-preview to enable unnamed classes) Main.java:6: err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u022215941|p02267|1
u022215941|p02267|1
codenet
Compile Error
1,386
v2_s855447160
s855447160
s855447160
p02267
p02267
u119662895
u119662895
1,494,400,625
2017-05-10T07:17:05
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; private class ALDS1_4_A { public static void main(String[] argc){ Scanner scanner = new Scanner(System.in); int num=0; int numA = scanner.nextInt(); List<Integer> listA = new ArrayList<Integer>(); for(int i = 0; i < numA; i++...
Main.java:7: error: modifier private not allowed here private class ALDS1_4_A { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u119662895|p02267|0
u119662895|p02267|0
codenet
Compile Error
737
v2_s213027528
s213027528
s213027528
p02267
p02267
u120048262
u120048262
1,526,425,788
2018-05-15T23:09:48
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { ArrayList<Integer> S = new ArrayList<Integer>(); ArrayList<Integer> T = new ArrayList<Integer>(); LinearSearch LS = new LinearSearch(); Scanner sc = new Scanner(System.in); int n = ...
Main.java:7: error: cannot find symbol LinearSearch LS = new LinearSearch(); ^ symbol: class LinearSearch location: class Main Main.java:7: error: cannot find symbol LinearSearch LS = new LinearSearch(); ^ symbol: class LinearSearch location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u120048262|p02267|0
u120048262|p02267|0
codenet
Compile Error
624
v2_s896349062
s896349062
s896349062
p02267
p02267
u120048262
u120048262
1,526,425,823
2018-05-15T23:10:23
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { ArrayList<Integer> S = new ArrayList<Integer>(); ArrayList<Integer> T = new ArrayList<Integer>(); LinearSearch LS = new LinearSearch(); Scanner sc = new Scanner(System.in); int n = ...
Main.java:7: error: cannot find symbol LinearSearch LS = new LinearSearch(); ^ symbol: class LinearSearch location: class Main Main.java:7: error: cannot find symbol LinearSearch LS = new LinearSearch(); ^ symbol: class LinearSearch location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u120048262|p02267|0
u120048262|p02267|0
codenet
Compile Error
624
v2_s678699377
s678699377
s678699377
p02267
p02267
u120048262
u120048262
1,526,425,951
2018-05-15T23:12:31
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { ArrayList<Integer> S = new ArrayList<Integer>(); ArrayList<Integer> T = new ArrayList<Integer>(); LinearSearch LS = new LinearSearch(); Scanner sc = new Scanner(System.in); int n = ...
Main.java:7: error: cannot find symbol LinearSearch LS = new LinearSearch(); ^ symbol: class LinearSearch location: class Main Main.java:7: error: cannot find symbol LinearSearch LS = new LinearSearch(); ^ symbol: class LinearSearch location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u120048262|p02267|0
u120048262|p02267|0
codenet
Compile Error
624
v2_s461021014
s461021014
s461021014
p02267
p02267
u139791751
u139791751
1,531,849,333
2018-07-17T17:42:13
Main.java
#include<stdio.h> int N[10000]; int n; int search(int key) { int i=0; N[n] = key; while(N[i] != key) { i++; if(i == n) return 0; else return 1; } } int main(void) { int i,p=0,q; int m[500]; scanf("%d",&n); for(i=0;i < n; i++) { scanf("%d",&N[i]); } scanf("%d", &q); for(i=0;i < q; i++...
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int n; ^ (use --enable-preview to enable unnamed classes) Main.java:19: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u139791751|p02267|0
u139791751|p02267|0
codenet
Compile Error
452
v2_s229127419
s229127419
s229127419
p02267
p02267
u139791751
u139791751
1,531,849,349
2018-07-17T17:42:29
Main.java
#include<stdio.h> int N[10000]; int n; int search(int key) { int i=0; N[n] = key; while(N[i] != key) { i++; if(i == n) return 0; else return 1; } } int main(void) { int i,p=0,q; int m[500]; scanf("%d",&n); for(i=0;i < n; i++) { scanf("%d",&N[i]); } scanf("%d", &q); for(i=0;i < q; i++...
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int n; ^ (use --enable-preview to enable unnamed classes) Main.java:19: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u139791751|p02267|0
u139791751|p02267|0
codenet
Compile Error
455
v2_s008590077
s008590077
s008590077
p02267
p02267
u139791751
u139791751
1,531,849,878
2018-07-17T17:51:18
Main.java
#include<stdio.h> int N[10000]; int n; int main(void) { int i,p=0,q; int m[500]; scanf("%d",&n); for(i=0;i < n; i++) { scanf("%d",&N[i]); } scanf("%d", &q); for(i=0;i < q; i++) { scanf("%d",&m[i]); } for(i = 0; i < q; i++){ if(search(N[i])) p++; } printf("%d\n", p); retur...
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. int n; ^ (use --enable-preview to enable unnamed classes) Main.java:8: error:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u139791751|p02267|0
u139791751|p02267|0
codenet
Compile Error
445
v2_s693365528
s693365528
s693365528
p02267
p02267
u211138527
u211138527
1,439,625,176
2015-08-15T07:52:56
Main.java
import java.io.*; import java.util.ArrayList; import java.util.StringTokenizer; import java.util.Arrays; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputReader(System.in)); String line=""; w...
Main.java:11: error: cannot find symbol BufferedReader br=new BufferedReader(new InputReader(System.in)); ^ symbol: class InputReader location: class Main Main.java:17: error: cannot find symbol StringTokenizer st1=new StringTokenizer(br.readLine); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02267|0
u211138527|p02267|0
codenet
Compile Error
781
v2_s110186202
s110186202
s110186202
p02267
p02267
u211138527
u211138527
1,439,625,682
2015-08-15T08:01:22
Main.java
import java.io.*; import java.util.ArrayList; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.re...
Main.java:18: error: cannot find symbol a=Integer.parseInt(st1.nextToken()); ^ symbol: variable a location: class Main Main.java:19: error: cannot find symbol array.add(a); ^ symbol: variable a location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02267|0
u211138527|p02267|0
codenet
Compile Error
805
v2_s776445158
s776445158
s776445158
p02267
p02267
u294593214
u294593214
1,439,649,493
2015-08-15T14:38:13
Main.java
import java.util.Scanner; public class Main { private static final BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int[] numbers = new int[n]; ...
Main.java:4: error: cannot find symbol private static final BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:4: error: cannot find symbol private static final BufferedReader input = new Buffe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u294593214|p02267|1
u294593214|p02267|1
codenet
Compile Error
909
v2_s280815957
s280815957
s280815957
p02267
p02267
u342612692
u342612692
1,529,989,405
2018-06-26T05:03:25
Main.java
#include<stdio.h> int linesearch(int *a,int k,int n); int main() { int i,j,n,m,alt,cnt=0,iden; scanf("%d",&n); int a[n+1]; for(i=0;i<n;i++){ scanf("%d",&a[i]); } scanf("%d",&m); for(j=0;j<m;j++){ scanf("%d",&alt); iden=linesearch(a,alt,n); if(iden==1){ cnt++; } } printf("%d\n...
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:7: error: not a statement int a[n+1]; ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. int main() ^ (us...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u342612692|p02267|0
u342612692|p02267|0
codenet
Compile Error
473
v2_s879099403
s879099403
s879099403
p02267
p02267
u416432272
u416432272
1,458,392,007
2016-03-19T12:53:27
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws Exception { int n = Integer.parseInt(br.readLine()); String[] S = br.readLine().split(" "); int q = Integer.parseInt(br.readLine()); String[] T = br.readLine().split(" "); int count = 0; for(int i = 0; i < q; i++) { for(...
Main.java:5: error: cannot find symbol int n = Integer.parseInt(br.readLine()); ^ symbol: variable br location: class Main Main.java:6: error: cannot find symbol String[] S = br.readLine().split(" "); ^ symbol: variable br location: class Main Main.java:7: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u416432272|p02267|0
u416432272|p02267|0
codenet
Compile Error
479
v2_s018048811
s018048811
s018048811
p02267
p02267
u515473089
u515473089
1,484,659,238
2017-01-17T13:20:38
Main.java
class Main{ public static void main(String[] a){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int[] s=new int[n]; for(int i=0;i<n;i++){ s[i]=sc.nextInt(); } int q=sc.nextInt(); int[] t=new int[n]; for(int i=0;i<q;i++){ t[i]=sc.nextInt(); } sc.close(); int ans=0; for(int i=0;i<q;i++){ for(int j=0;j<n;j++){...
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
u515473089|p02267|0
u515473089|p02267|0
codenet
Compile Error
389
v2_s863694111
s863694111
s863694111
p02267
p02267
u556912728
u556912728
1,478,018,075
2016-11-01T16:34:35
Main.java
import java.util.*; class Main { //?????¢??¢?´¢?????¬??? public static int search(int[] A, int n, int key) { A[n] = key; int i = 0; while(A[i] != key)i++; if(i == n) { return -1; } else { return i; } } public static int search2(int[] A, int n, int key) { for ( int i = 0; i < n; i++ ) { if ...
Main.java:19: error: incompatible types: boolean cannot be converted to int return false; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556912728|p02267|2
u556912728|p02267|2
codenet
Compile Error
1,114
v2_s270086542
s270086542
s270086542
p02267
p02267
u556912728
u556912728
1,478,018,123
2016-11-01T16:35:23
Main.java
import java.util.*; class Main { //?????¢??¢?´¢?????¬??? public static int search(int[] A, int n, int key) { A[n] = key; int i = 0; while(A[i] != key)i++; if(i == n) { return -1; } else { return i; } } public static int search2(int[] A, int n, int key) { for ( int i = 0; i < n; i++ ) { if ...
Main.java:21: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556912728|p02267|2
u556912728|p02267|2
codenet
Compile Error
1,111
v2_s247750420
s247750420
s247750420
p02267
p02267
u556912728
u556912728
1,478,018,186
2016-11-01T16:36:26
Main.java
import java.util.*; class Main { //?????¢??¢?´¢?????¬??? public static int search(int[] A, int n, int key) { A[n] = key; int i = 0; while(A[i] != key)i++; if(i == n) { return -1; } else { return i; } } public static int search2(int[] A, int n, int key) { for ( int i = 0; i < n; i++ ) { if ...
Main.java:21: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556912728|p02267|2
u556912728|p02267|2
codenet
Compile Error
1,116
v2_s257203702
s257203702
s257203702
p02267
p02267
u556912728
u556912728
1,478,018,221
2016-11-01T16:37:01
Main.java
import java.util.*; class Main { //?????¢??¢?´¢?????¬??? public static int search(int[] A, int n, int key) { A[n] = key; int i = 0; while(A[i] != key)i++; if(i == n) { return -1; } else { return i; } } public static int search2(int[] A, int n, int key) { for ( int i = 0; i < n; i++ ) { if ...
Main.java:21: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556912728|p02267|2
u556912728|p02267|2
codenet
Compile Error
1,116
v2_s607839128
s607839128
s607839128
p02267
p02267
u823877876
u823877876
1,441,627,681
2015-09-07T12:08:01
Main.java
import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; public class Main { public static void printArray (List<Integer> list){ StringBuilder sb = new StringBuilder(); sb.append(list.get(0)); for (int i = 1; i < list.size();i++) { sb....
Main.java:20: error: cannot find symbol return Arrays.asList(sArrays, qArrays); ^ symbol: variable sArrays location: class Main Main.java:20: error: cannot find symbol return Arrays.asList(sArrays, qArrays); ^ symbol: variable qArrays location: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u823877876|p02267|0
u823877876|p02267|0
codenet
Compile Error
1,411
v2_s624833178
s624833178
s624833178
p02267
p02267
u882342552
u882342552
1,461,813,590
2016-04-28T03:19:50
Linear.java
import java.util.Scanner; public class Linear { static int[]Sy(int n) { Scanner Instd = new Scanner(System.in); int []s = new int[n]; for(int i = 0; i < n; i++) { s[i] = Instd.nextInt(); } return s; } static int[] Ty(int q) { Scanner std = new Scanner(System.in); int [...
Linear.java:43: error: illegal start of type return i; ^ Linear.java:43: error: <identifier> expected return i; ^ Linear.java:47: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) ^ (use --enable-preview to enable unnamed...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u882342552|p02267|0
u882342552|p02267|0
codenet
Compile Error
947
v2_s636151845
s636151845
s636151845
p02267
p02267
u895275311
u895275311
1,492,138,166
2017-04-14T02:49:26
Main.java
import java.io.IOException; import java.util.Scanner; class Main{ public static void main(String[] args)throws NumberFormatException, IOException{ // System.out.println(" "); Scanner scan = new Scanner(System.in); int finded = 0; int lineSamount = scan.nextInt(); int[] lineSnum = new int[lineSamount]; for(i...
Main.java:34: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u895275311|p02267|0
u895275311|p02267|0
codenet
Compile Error
855
v2_s000168899
s000168899
s000168899
p02267
p02267
u910402677
u910402677
1,487,207,140
2017-02-16T01:05:40
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int[] S = new int[n+1]; String[] s = br.readLine().split(" ") for(int i = 0; i < n; i++){ S...
Main.java:11: error: ';' expected String[] s = br.readLine().split(" ") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02267|0
u910402677|p02267|0
codenet
Compile Error
888
v2_s094834555
s094834555
s094834555
p02267
p02267
u928579315
u928579315
1,515,182,896
2018-01-05T20:08:16
Main.java
import java.util.Scanner; public class Main{ static Scanner sc = new Scanner(System.in); private static int[] inputArray(){ int num = sc.nextInt(); int[] array = new int[num]; for(int i = 0; i < num; i++){ array[i] = sc.nextInt(); } return array; } ...
Main.java:27: error: cannot find symbol System.out.pritnln(count); ^ symbol: method pritnln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u928579315|p02267|0
u928579315|p02267|0
codenet
Compile Error
720
v2_s048564538
s048564538
s048564538
p02267
p02267
u968362241
u968362241
1,529,984,261
2018-06-26T03:37:41
Main.java
#include <stdio.h> int main(){ int n,q,C; int i,j; int count=0,scount=0; scanf("%d",&n); int S[n+1]; for(i=0; i<n; i++){ scanf("%d",&S[i]); } //重複を数える for(i=n-1; i>0; i--){ for(j=i-1; j>=0; j--){ if(S[i]==S[j]){ scount++; } } } scanf("%d",&q); int T[q]; for(...
Main.java:1: error: illegal character: '#' #include <stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <stdio.h> ^ Main.java:5: error: class, interface, enum, or record expected int i,j; ^ Main.java:6: error: unnamed classes are a preview feature and are disabled by default...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u968362241|p02267|0
u968362241|p02267|0
codenet
Compile Error
664
v2_s333558097
s333558097
s333558097
p02268
p02268
u009761676
u009761676
1,518,965,836
2018-02-18T14:57:16
Main.java
import javax.sound.midi.Soundbank; import java.util.Scanner; import static java.lang.System.out; import static java.lang.System.setOut; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); //探索対象を取得 int size = (scanner.nextInt()); ...
Main.java:36: error: ';' expected mid = (int)(right+left)/2); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u009761676|p02268|0
u009761676|p02268|0
codenet
Compile Error
1,354
v2_s302362138
s302362138
s302362138
p02268
p02268
u029528183
u029528183
1,529,981,692
2018-06-26T02:54:52
Main.java
import java.util.*; class Main{ public static void main(String args[])throws Exception{ Scanner sc = new Scanner(System.in); int count = 0; int number = 0; static int n = sc.nextInt(); static int [] array_s = new int[n]; for(int i =0; i<n; i++){ array_s[i] = sc.nextInt(); } int...
Main.java:7: error: illegal start of expression static int n = sc.nextInt(); ^ Main.java:9: error: illegal start of type for(int i =0; i<n; i++){ ^ Main.java:9: error: > or ',' expected for(int i =0; i<n; i++){ ^ Main.java:9: error: <identifier> expected for(int i =0; i<n; i...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u029528183|p02268|0
u029528183|p02268|0
codenet
Compile Error
766
v2_s226519912
s226519912
s226519912
p02268
p02268
u113796319
u113796319
1,441,188,993
2015-09-02T10:16:33
Main.java
import java.util.*; class Main{ Scanner sc= new Scanner(System.in); void aaaa(){ int gundam=0; int n=sc.nextInt(); int[] N=new int[n]; for(int i=0;i<n;i++)N[i]=sc.nextInt(); int q=sc.nextInt(); for(int i=0;i<q;i++){ int Q=sc.nextInt(); int l=L(n-1); int r=R(n-1); for(int j=0;n*2;j++){ if(...
Main.java:14: error: incompatible types: int cannot be converted to boolean for(int j=0;n*2;j++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u113796319|p02268|0
u113796319|p02268|0
codenet
Compile Error
740
v2_s979502137
s979502137
s979502137
p02268
p02268
u113796319
u113796319
1,441,265,454
2015-09-03T07:30:54
Main.java
import java.util.*; class LS{ Scanner sc= new Scanner(System.in); void aaaa(){ int gundam=0; int n=sc.nextInt(); int[] N=new int[n]; for(int i=0;i<n;i++)N[i]=sc.nextInt(); int q=sc.nextInt(); for(int i=0;i<q;i++){ int Q=sc.nextInt(); int L=0; int R=n-1; while(N[L]<Q&&Q<N[R]){ int cent=(R-...
Main.java:19: error: cannot find symbol }else if(N[cent]>Q)r=cent; ^ symbol: variable r location: class LS Main.java:20: error: cannot find symbol else if(N[cent+1]<Q)l=cent+1; ^ symbol: variable l location: class LS 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u113796319|p02268|1
u113796319|p02268|1
codenet
Compile Error
575
v2_s168527836
s168527836
s168527836
p02268
p02268
u211138527
u211138527
1,439,626,449
2015-08-15T08:14:09
Main.java
import java.io.*; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null&&!line.isEmpty()){ int ans=0; int n=Integer.parse...
Main.java:20: error: ';' expected if(BinarySearch(a,b)>=0) ans++ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02268|0
u211138527|p02268|0
codenet
Compile Error
882
v2_s394529676
s394529676
s394529676
p02268
p02268
u211138527
u211138527
1,439,626,479
2015-08-15T08:14:39
Main.java
import java.io.*; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null&&!line.isEmpty()){ int ans=0; int n=Integer.parse...
Main.java:14: error: cannot find symbol StringTokenizer st1=new StringTokenizer(br.readLine()); ^ symbol: class StringTokenizer location: class Main Main.java:14: error: cannot find symbol StringTokenizer st1=new StringTokenizer(br.readLine()); ^ symbol: class StringTokenizer locatio...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02268|0
u211138527|p02268|0
codenet
Compile Error
885
v2_s463524722
s463524722
s463524722
p02268
p02268
u238053758
u238053758
1,431,875,441
2015-05-17T15:10:41
Main.java
import java.util.*; import java.io.*; import static java.util.Arrays.*; import static java.util.Collections.*; import static java.lang.Math.*; public class Main { static final int N = 100000; static final int Q = 50000; static int n, q; static int s[], t[]; public static int binary_search(int x) { int ...
Main.java:26: error: ';' expected return ((s[r]==x) ? r : -1) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u238053758|p02268|2
u238053758|p02268|2
codenet
Compile Error
980
v2_s675431601
s675431601
s675431601
p02268
p02268
u282272858
u282272858
1,463,934,079
2016-05-22T16:21:19
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.InputMismatchException; import java.util.List; /** * @see <a href='http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?lang=jp&id='>??????</a> */ public class Main { private static Fast...
Main.java:26: error: for-each not applicable to expression type for (int target : q) { ^ required: array or java.lang.Iterable found: int 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u282272858|p02268|0
u282272858|p02268|0
codenet
Compile Error
3,971
v2_s161538607
s161538607
s161538607
p02268
p02268
u556912728
u556912728
1,477,848,932
2016-10-30T17:35:32
Main.java
import java.util.*; class Main { //?????¢??¢?´¢?????¬??? public static boolean search(int[] A, int n, int key) { A[n] = key; int i = 0; while(A[i] != key)i++; return i != n; } public static boolean binarySearch(int[] A, int n, int key) { int left = 0; int right = n - 1; int mid = 0; while(left < ...
Main.java:19: error: ';' expected if ( key > A[mid] ) left = mid + 1 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u556912728|p02268|0
u556912728|p02268|0
codenet
Compile Error
1,239
v2_s408890725
s408890725
s408890725
p02268
p02268
u577909731
u577909731
1,491,892,585
2017-04-11T06:36:25
AOJBinerySearch.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class AOJBinerySearch { public static void main(String[] args) throws IOException { BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1); String n = r.readLine(); String Sinput = r.readLine...
AOJBinerySearch.java:16: error: bad operand types for binary operator '<' for (int i=0; i<n; i++) { ^ first type: int second type: String AOJBinerySearch.java:17: error: bad operand types for binary operator '<' for (int j=0; j<q; j++) { ^ first type: int second type: S...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u577909731|p02268|0
u577909731|p02268|0
codenet
Compile Error
613
v2_s757579458
s757579458
s757579458
p02268
p02268
u644653061
u644653061
1,397,388,263
2014-04-13T11:24:23
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main{ static boolean search(int[] S,int a,int b,int target){ if(a<=b){ if(S[(a+b)/2]==target){ return true; }else if(S[(a+b)/2]<target){ return search(S,((a+b)/2)+1,b,target); }else{ return search(S,a,((a+b)/2)-1,target); } }...
Main.java:3: error: illegal character: '\u3000' public class?Main{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u644653061|p02268|0
u644653061|p02268|0
codenet
Compile Error
742
v2_s102540032
s102540032
s102540032
p02268
p02268
u854470625
u854470625
1,493,571,518
2017-04-30T16:58:38
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); in...
Main.java:37: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u854470625|p02268|0
u854470625|p02268|0
codenet
Compile Error
1,177
v2_s714888630
s714888630
s714888630
p02268
p02268
u879226672
u879226672
1,433,985,279
2015-06-11T01:14:39
Main.java
# coding: utf-8 # Here your code ! n = int(raw_input()) S = map(int,raw_input().split()) q = int(raw_input()) T = map(int,raw_input().split()) C = 0 def binary_search(A,n): l = len(A) if l==0: return False elif A[l/2] > n: return binary_search(A[:l/2],n) elif A[l/2] == n: retur...
Main.java:1: error: illegal character: '#' # coding: utf-8 ^ Main.java:1: error: class, interface, enum, or record expected # coding: utf-8 ^ Main.java:2: error: illegal character: '#' # Here your code ! ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u879226672|p02268|0
u879226672|p02268|0
codenet
Compile Error
458
v2_s921036714
s921036714
s921036714
p02268
p02268
u910402677
u910402677
1,487,382,314
2017-02-18T01:45:14
Main.java
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int[] S = new int[n+1]; String[] ins = br.readLine().split(" "); for(int i = 0; i < n; i++){ ...
Main.java:23: error: non-static method binarySearch(int,int[],int) cannot be referenced from a static context boolean flag = binarySearch(T[i], S, n); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p02268|0
u910402677|p02268|0
codenet
Compile Error
970
v2_s876048342
s876048342
s876048342
p02268
p02268
u928579315
u928579315
1,515,185,514
2018-01-05T20:51:54
Main.java
import java.util.Scanner; public class Main{ private static boolean binarySearch(int[] array, int key){ int left = 0; int right = array.length - 1; int mid = 0; while(left < right){ mid = (left + right) / 2 if(array[mid] == key) return true; if(ar...
Main.java:9: error: ';' expected mid = (left + right) / 2 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u928579315|p02268|0
u928579315|p02268|0
codenet
Compile Error
1,057
v2_s080426637
s080426637
s080426637
p02268
p02268
u928579315
u928579315
1,515,185,527
2018-01-05T20:52:07
Main.java
import java.util.Scanner; public class Main{ private static boolean binarySearch(int[] array, int key){ int left = 0; int right = array.length - 1; int mid = 0; while(left < right){ mid = (left + right) / 2; if(array[mid] == key) return true; if(a...
Main.java:30: error: incompatible types: int[] cannot be converted to int int s = inputArray(); ^ Main.java:31: error: incompatible types: int[] cannot be converted to int int t = inputArray(); ^ Main.java:34: error: int cannot be dereferenced ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u928579315|p02268|0
u928579315|p02268|0
codenet
Compile Error
1,058
v2_s322919306
s322919306
s322919306
p02268
p02268
u928579315
u928579315
1,515,185,547
2018-01-05T20:52:27
Main.java
import java.util.Scanner; public class Main{ private static boolean binarySearch(int[] array, int key){ int left = 0; int right = array.length - 1; int mid = 0; while(left < right){ mid = (left + right) / 2; if(array[mid] == key) return true; if(a...
Main.java:17: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u928579315|p02268|0
u928579315|p02268|0
codenet
Compile Error
1,062
v2_s872136851
s872136851
s872136851
p02269
p02269
u140126166
u140126166
1,524,668,002
2018-04-25T14:53:22
Main.java
import java.util.Scanner; import java.util.ArrayList; import java.util.List; import java.util.Collections; public class Main{ public static void main(String[] args){ HashMap<Integer,Short> hashDictionary = new HashMap<Integer,Short>(); Scanner sc = new Scanner(System.in); //標準入力 short numOfInput = sc....
Main.java:8: error: cannot find symbol HashMap<Integer,Short> hashDictionary = new HashMap<Integer,Short>(); ^ symbol: class HashMap location: class Main Main.java:8: error: cannot find symbol HashMap<Integer,Short> hashDictionary = new HashMap<Integer,Short>(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u140126166|p02269|1
u140126166|p02269|1
codenet
Compile Error
1,219
v2_s341896961
s341896961
s341896961
p02269
p02269
u140126166
u140126166
1,524,668,046
2018-04-25T14:54:06
Main.java
import java.util.Scanner; import java.util.HashMap public class Main{ public static void main(String[] args){ HashMap<Integer,Short> hashDictionary = new HashMap<Integer,Short>(); Scanner sc = new Scanner(System.in); //標準入力 short numOfInput = sc.nextShort(); //データ数 for (int i = 0; i < ...
Main.java:2: error: ';' expected import java.util.HashMap ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u140126166|p02269|1
u140126166|p02269|1
codenet
Compile Error
1,163
v2_s968043820
s968043820
s968043820
p02269
p02269
u162151793
u162151793
1,509,758,400
2017-11-04T01:20:00
Main.java
import java.util.Scanner; import java.util.Arrays; import java.util.Deque; import java.util.ArrayDeque; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); StringBuilder sb = new StringBuilder(); int n = Integer.parseInt(scanner.nextLine()); boolean[] dic = new boolea...
Main.java:17: error: not a statement dic[hash(Arrays.copyOfRange(c, 7, c.length))] == true; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u162151793|p02269|0
u162151793|p02269|0
codenet
Compile Error
1,124
v2_s157335396
s157335396
s157335396
p02269
p02269
u206778360
u206778360
1,492,150,973
2017-04-14T06:22:53
Main.java
import java.util.Scanner; import java.util.ArrayList; class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); ArrayList<String> S = new ArrayList<String>(); boolean result; for(int i = 0; i < n; i++){ String str1 = scan.next(); String str2...
Main.java:18: error: cannot find symbol Collections.sort(S); ^ symbol: variable Collections location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u206778360|p02269|0
u206778360|p02269|0
codenet
Compile Error
925
v2_s630859074
s630859074
s630859074
p02269
p02269
u211138527
u211138527
1,439,628,504
2015-08-15T08:48:24
Main.java
import java.io.*; import java.util.ArrayList; import java.util.StingTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); static class Dictionary{ ArrayList<String> array=new ArrayList<String>(); void insert(String str){ array.add(str); } boolean find(String str){ return (array.indexOf(...
Main.java:44: error: unclosed string literal out.println(d.find(str)?"yes":"no); ^ Main.java:47: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02269|0
u211138527|p02269|0
codenet
Compile Error
1,003
v2_s285004732
s285004732
s285004732
p02269
p02269
u211138527
u211138527
1,439,628,617
2015-08-15T08:50:17
Main.java
import java.io.*; import java.util.ArrayList; import java.util.StingTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); static class Dictionary{ ArrayList<String> array=new ArrayList<String>(); void insert(String str){ array.add(str); } boolean find(String str){ return (array.indexOf(...
Main.java:3: error: cannot find symbol import java.util.StingTokenizer; ^ symbol: class StingTokenizer location: package java.util Main.java:31: error: cannot find symbol BufferedReader br=BufferedReader(new InputStreamReader(System.in)); ^ symbol: method BufferedReader(Input...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02269|0
u211138527|p02269|0
codenet
Compile Error
1,031
v2_s549299125
s549299125
s549299125
p02269
p02269
u211138527
u211138527
1,439,628,694
2015-08-15T08:51:34
Main.java
import java.io.*; import java.util.ArrayList; import java.util.SrtingTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); static class Dictionary{ ArrayList<String> array=new ArrayList<String>(); void insert(String str){ array.add(str); } boolean find(String str){ return (array.indexOf...
Main.java:3: error: cannot find symbol import java.util.SrtingTokenizer; ^ symbol: class SrtingTokenizer location: package java.util Main.java:33: error: cannot find symbol while((line=br.readLine)!=null&&!line.isEmpty()){ ^ symbol: variable readLine location: variable br of ty...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02269|0
u211138527|p02269|0
codenet
Compile Error
1,036
v2_s379609962
s379609962
s379609962
p02269
p02269
u211138527
u211138527
1,439,628,733
2015-08-15T08:52:13
Main.java
import java.io.*; import java.util.ArrayList; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); static class Dictionary{ ArrayList<String> array=new ArrayList<String>(); void insert(String str){ array.add(str); } boolean find(String str){ return (array.indexOf...
Main.java:33: error: unreported exception IOException; must be caught or declared to be thrown while((line=br.readLine())!=null&&!line.isEmpty()){ ^ Main.java:37: error: unreported exception IOException; must be caught or declared to be thrown StringTokenizer st=new StringTokenizer(br.readLine())...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02269|0
u211138527|p02269|0
codenet
Compile Error
1,038
v2_s479606855
s479606855
s479606855
p02269
p02269
u211138527
u211138527
1,439,628,776
2015-08-15T08:52:56
Main.java
import java.io.*; import java.util.ArrayList; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); static class Dictionary{ ArrayList<String> array=new ArrayList<String>(); void insert(String str){ array.add(str); } boolean find(String str){ return (array.indexOf...
Main.java:24: error: unreported exception IOException; must be caught or declared to be thrown solve(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02269|0
u211138527|p02269|0
codenet
Compile Error
1,038
v2_s587652612
s587652612
s587652612
p02269
p02269
u211138527
u211138527
1,439,628,907
2015-08-15T08:55:07
Main.java
import java.io.*; import java.util.ArrayList; import java.util.StringTokenizer; class Main{ static final PrintWriter out; static final BufferedReader br; static class Dictionary{ ArrayList<String> array=new ArrayList<String>(); void insert(String str){ array.add(str); } boolean find(String str){ return (array.ind...
Main.java:24: error: cannot assign a value to static final variable out out=new PrintWriter(System.out); ^ Main.java:25: error: cannot assign a value to static final variable br br=new BufferedReader(new InputStreamReader(System.in)); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02269|0
u211138527|p02269|0
codenet
Compile Error
1,060
v2_s320465257
s320465257
s320465257
p02269
p02269
u211138527
u211138527
1,439,628,948
2015-08-15T08:55:48
Main.java
import java.io.*; import java.util.ArrayList; import java.util.StringTokenizer; class Main{ static PrintWriter out; static BufferedReader br; static class Dictionary{ ArrayList<String> array=new ArrayList<String>(); void insert(String str){ array.add(str); } boolean find(String str){ return (array.indexOf(str)<0)...
Main.java:35: error: unreported exception IOException; must be caught or declared to be thrown while((line=br.readLine())!=null&&!line.isEmpty()){ ^ Main.java:39: error: unreported exception IOException; must be caught or declared to be thrown StringTokenizer st=new StringTokenizer(br.readLine())...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p02269|0
u211138527|p02269|0
codenet
Compile Error
1,048
v2_s562052910
s562052910
s562052910
p02269
p02269
u282272858
u282272858
1,464,003,933
2016-05-23T11:45:33
ALDS1_4_C.java
import util.FastReader; import java.util.HashSet; /** * @see <a href='http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?lang=jp&id=ALDS1_4_C'>Dictionary</a> */ public class ALDS1_4_C { private static FastReader in = new FastReader(); public static void main(String[] args) throws Exception { ALD...
ALDS1_4_C.java:1: error: package util does not exist import util.FastReader; ^ ALDS1_4_C.java:9: error: cannot find symbol private static FastReader in = new FastReader(); ^ symbol: class FastReader location: class ALDS1_4_C ALDS1_4_C.java:9: error: cannot find symbol private...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u282272858|p02269|1
u282272858|p02269|1
codenet
Compile Error
1,505
v2_s475305559
s475305559
s475305559
p02269
p02269
u406112655
u406112655
1,530,237,722
2018-06-29T02:02:02
Main.java
import java.util.Scanner; import java.util.List; import java.util.ArrayList; class Main { public static void main(String... args) { Scanner sc = new Scanner(System.in); int size = Integer.parseInt(sc.next()); List<String> inserts = new ArrayList<String>(size); List<String> results = new ArrayList<Str...
Main.java:39: error: cannot find symbol System.out.println(resulta); ^ symbol: variable resulta location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406112655|p02269|1
u406112655|p02269|1
codenet
Compile Error
1,091
v2_s804860716
s804860716
s804860716
p02269
p02269
u406112655
u406112655
1,530,237,753
2018-06-29T02:02:33
Main.java
import java.util.Scanner; import java.util.List; import java.util.ArrayList; class Main { public static void main(String... args) { Scanner sc = new Scanner(System.in); int size = Integer.parseInt(sc.next()); List<String> inserts = new ArrayList<String>(size); List<String> results = new ArrayList<Str...
Main.java:27: error: cannot find symbol System.out.println(resulta); ^ symbol: variable resulta location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u406112655|p02269|1
u406112655|p02269|1
codenet
Compile Error
872
v2_s465640301
s465640301
s465640301
p02269
p02269
u418625354
u418625354
1,509,851,253
2017-11-05T03:07:33
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* ??\????????????????????????????°?????????????????????????????£?????????????????????? insert str : ????????? str ?????????????????? find str : ????????? str ???????????????...
Main.java:70: error: ';' expected dica.contains(tmp[1]) ^ Main.java:73: error: ';' expected dicc.contains(tmp[1]) ^ Main.java:76: error: ';' expected dicg.con...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u418625354|p02269|0
u418625354|p02269|0
codenet
Compile Error
3,052
v2_s091148473
s091148473
s091148473
p02269
p02269
u490902542
u490902542
1,545,539,137
2018-12-23T04:25:37
Main.java
import com.sun.xml.internal.ws.api.message.ExceptionHasMessage; import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.nextLine()); ...
Main.java:1: error: package com.sun.xml.internal.ws.api.message does not exist import com.sun.xml.internal.ws.api.message.ExceptionHasMessage; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u490902542|p02269|0
u490902542|p02269|0
codenet
Compile Error
1,603
v2_s918581807
s918581807
s918581807
p02269
p02269
u497852372
u497852372
1,555,985,500
2019-04-23T02:11:40
Main.java
import java.util.HashSet; import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); Set<String> set = new HashSet<String>(); int n = sc.nextInt(); for(int i = 0 ; i < n ; i++) { String str = sc.next()...
Main.java:6: error: cannot find symbol Set<String> set = new HashSet<String>(); ^ symbol: class Set location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u497852372|p02269|0
u497852372|p02269|0
codenet
Compile Error
619