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_s844037070
s844037070
s844037070
p00028
p00028
u011621222
u011621222
1,505,375,330
2017-09-14T07:48:50
Main.java
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws Exception { Scanner input = new Scanner(System.in); ArrayList<Integer> result = new ArrayList<Integer>(); HashMap<Integer,Integer> count = new HashMap<Integer,Integer>(); int ...
Main.java:22: error: cannot find symbol if(entry.getValue == maxCount) { ^ symbol: variable getValue location: variable entry of type Entry<Integer,Integer> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011621222|p00028|1
u011621222|p00028|1
codenet
Compile Error
1,050
v2_s392432046
s392432046
s392432046
p00028
p00028
u175874753
u175874753
1,491,466,742
2017-04-06T08:19:02
Q0028_ModeValue.java
import java.io.BufferedReader; import java.io.InputStreamReader; //1???100?????´??°???????????????????????????????????????????????????????????? public class Q0028_ModeValue { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System....
Q0028_ModeValue.java:8: error: illegal escape character System.out.println("???????????????????????\???"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u175874753|p00028|0
u175874753|p00028|0
codenet
Compile Error
1,116
v2_s169484628
s169484628
s169484628
p00028
p00028
u211138527
u211138527
1,436,288,836
2015-07-07T17:07:16
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BuferedReader(new InputStreamReader(System.in)); String line; int count[]=new int[101]; int max=0; while((line=br.nextLine())!=null){ count[Integer.parseInt(line)]++; } for(int i=1;i<=100;i++){ max=Math.max(max,count[i]); } for...
Main.java:5: error: cannot find symbol BufferedReader br=new BuferedReader(new InputStreamReader(System.in)); ^ symbol: class BuferedReader location: class Main Main.java:9: error: cannot find symbol while((line=br.nextLine())!=null){ ^ symbol: method nextLine() location:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00028|0
u211138527|p00028|0
codenet
Compile Error
390
v2_s145980068
s145980068
s145980068
p00028
p00028
u211138527
u211138527
1,436,288,903
2015-07-07T17:08:23
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; int count[]=new int[101]; int max=0; while((line=br.nextLine())!=null){ count[Integer.parseInt(line)]++; } for(int i=1;i<=100;i++){ max=Math.max(max,count[i]); } fo...
Main.java:9: error: cannot find symbol while((line=br.nextLine())!=null){ ^ symbol: method nextLine() location: variable br of type BufferedReader 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00028|0
u211138527|p00028|0
codenet
Compile Error
392
v2_s361220121
s361220121
s361220121
p00028
p00028
u211138527
u211138527
1,436,288,991
2015-07-07T17:09:51
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; int count[]=new int[101]; int max=0; while((line=br.readLine())!=null){ count[Integer.parseInt(line)]++; } for(int i=1;i<=100;i++){ max=Math.max(max,count[i]); } fo...
Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown while((line=br.readLine())!=null){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00028|0
u211138527|p00028|0
codenet
Compile Error
392
v2_s583236428
s583236428
s583236428
p00028
p00028
u436259757
u436259757
1,475,759,095
2016-10-06T13:04:55
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] array = new int[100]; while (sc.hasNext()) { int number = Integer.parseInt(sc.nextLine()); array[number-1] += number; } for(int i = 0 ; i < array.length ; i++){ if(array[i] > 0 ){ array[i]...
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
u436259757|p00028|0
u436259757|p00028|0
codenet
Compile Error
531
v2_s580700905
s580700905
s580700905
p00028
p00028
u532635730
u532635730
1,448,231,857
2015-11-22T22:37:37
Main.java
class Main { public static void main(String[] args) { Scanner sc = null; Map<Integer, Integer> nums = new HashMap<Integer, Integer>(); try { sc = new Scanner(System.in); int maxValue = 0; while (sc.hasNextInt()) { int num = sc.nextInt(); nums.put(num, nums.containsKey(num) ? nums.get(num) + 1 ...
Main.java:5: error: cannot find symbol Scanner sc = null; ^ symbol: class Scanner location: class Main Main.java:6: error: cannot find symbol Map<Integer, Integer> nums = new HashMap<Integer, Integer>(); ^ symbol: class Map location: class Main Main.java:6: error: cannot find symbol Map<Integer, I...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532635730|p00028|2
u532635730|p00028|2
codenet
Compile Error
634
v2_s055217221
s055217221
s055217221
p00028
p00028
u759791460
u759791460
1,467,508,705
2016-07-03T01:18:25
Main.java
import java.io.InputStreamReader; import java.io.BufferedReader; import java.io.IOException; import java.io.File; import java.io.FileReader; import java.io.FileNotFoundException; public class Main { public static void main(String args[] ) throws IOException { BufferedReader br; //input.txt??????????????? ...
Main.java:13: error: cannot find symbol br = InputFile.load(); ^ symbol: variable InputFile location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759791460|p00028|0
u759791460|p00028|0
codenet
Compile Error
810
v2_s058456461
s058456461
s058456461
p00028
p00028
u764432488
u764432488
1,352,803,142
2012-11-13T10:39:02
Main.java
import java.io.*; import java.util.Scanner; class Main{ public static void main(String[] args)throws IOException{ Scanner scan = new Scanner(System.in); int[] list = new int[100]; while(scan.hasNextInt()){ list[scan.nextInt()-1]++; } int max =0; for(int i=0;i<list.length;i++){ max ...
Main.java:12: error: cannot find symbol max =Math.Max(max , list[i]); ^ symbol: method Max(int,int) location: class Math 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764432488|p00028|0
u764432488|p00028|0
codenet
Compile Error
469
v2_s180448166
s180448166
s180448166
p00028
p00028
u910402677
u910402677
1,481,604,767
2016-12-13T04:52:47
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ int[] count = new int[100]; int max = 0; while(scan.hasNext()){ int a = scan.nextInt(); count[a-1]++; if(count[a-1] > max){ max = count[a-1]: } } for(...
Main.java:13: error: ';' expected max = count[a-1]: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00028|0
u910402677|p00028|0
codenet
Compile Error
419
v2_s457050037
s457050037
s457050037
p00028
p00028
u974705817
u974705817
1,476,938,780
2016-10-20T04:46:20
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Map; import java.util.HashMap; public class Main{ static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) throws IOException{ int num[...
Main.java:15: error: ',', ')', or '[' expected while((String price = br.readLine()) != null){ ^ Main.java:15: error: illegal start of expression while((String price = br.readLine()) != null){ ^ Main.java:15: error: illegal start of expression while((String price = br.rea...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u974705817|p00028|0
u974705817|p00028|0
codenet
Compile Error
639
v2_s288396150
s288396150
s288396150
p00029
p00029
u197786702
u197786702
1,312,387,514
2011-08-03T16:05:14
Main.java
#include <stdio.h> int main(int argc,char* argv[]){ int mode[100]; int num; int i; int max = 0; for(i = 0;i < 100;i++){ mode[i] = 0; } while(scanf("%d",&num) != EOF){ mode[num-1]++; } for(i = 0;i < 100;i++){ if(mode[i] > max){ max = mode[i]; } } for(i = 0;i < 100...
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: unnamed classes are a preview feature and are disabled by default. int num; ^ (use --enable-preview to enable unnamed classes) Main.java:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u197786702|p00029|0
u197786702|p00029|0
codenet
Compile Error
406
v2_s757226515
s757226515
s757226515
p00029
p00029
u211138527
u211138527
1,435,517,664
2015-06-28T18:54:24
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String[] words=br.readLine().split(" "); Hashmap<String,Integer> map=new Hashmap<String,Integer>(); int occured=0; String occuredword=""; ...
Main.java:18: error: ';' expected map.put(word,map.get(word)+1) ^ Main.java:29: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00029|0
u211138527|p00029|0
codenet
Compile Error
609
v2_s565249356
s565249356
s565249356
p00029
p00029
u211138527
u211138527
1,435,517,695
2015-06-28T18:54:55
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String[] words=br.readLine().split(" "); Hashmap<String,Integer> map=new Hashmap<String,Integer>(); int occured=0; String occuredword=""; ...
Main.java:8: error: cannot find symbol Hashmap<String,Integer> map=new Hashmap<String,Integer>(); ^ symbol: class Hashmap location: class Main Main.java:8: error: cannot find symbol Hashmap<String,Integer> map=new Hashmap<String,Integer>(); ^ symbol: class Hashmap location: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00029|0
u211138527|p00029|0
codenet
Compile Error
612
v2_s103203969
s103203969
s103203969
p00029
p00029
u211138527
u211138527
1,435,517,754
2015-06-28T18:55:54
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String[] words=br.readLine().split(" "); HashMap<String,Integer> map=new HashMap<String,Integer>(); int occured=0; String occuredword=""; ...
Main.java:14: error: cannot find symbol if(!map.containskey(word)){ ^ symbol: method containskey(String) location: variable map of type HashMap<String,Integer> Main.java:21: error: cannot find symbol ocuured=map.get(word); ^ symbol: variable ocuured location: class Main Main.java:22: error: cannot fi...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00029|0
u211138527|p00029|0
codenet
Compile Error
612
v2_s062553566
s062553566
s062553566
p00029
p00029
u211138527
u211138527
1,435,518,005
2015-06-28T19:00:05
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String[] words=br.readLine().split(" "); HashMap<String,Integer> map=new HashMap<String,Integer>(); int maxoccured=0; String maxoccuredwor...
Main.java:29: error: ')' or ',' expected System.out.println(maxoccuredword+" "+maxlengthword ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00029|0
u211138527|p00029|0
codenet
Compile Error
690
v2_s295837764
s295837764
s295837764
p00029
p00029
u398354652
u398354652
1,388,150,938
2013-12-27T13:28:58
Main.java
#include <iostream> #include <string.h> #include <vector> #include <algorithm> using namespace std; typedef pair<string, int> P; bool pairCompare(const P& firstElof, const P& secondElof) { return firstElof.second > secondElof.second; } int main(void) { string s, m; vector<P> v; while (cin >> s) { if (m.size() ...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <string.h> ^ Main.java:3: error: illegal character: '#' #include <vector> ^ Main.java:4: error: illegal character: '#' #include <algorithm> ^ Main.java:7: error: class, interface, enum, or record expecte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u398354652|p00029|0
u398354652|p00029|0
codenet
Compile Error
601
v2_s128351980
s128351980
s128351980
p00029
p00029
u532635730
u532635730
1,436,305,181
2015-07-07T21:39:41
Main.java
import java.util.HashMap; import java.util.Map; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = null; try { sc = new Scanner(System.in); while (sc.hasNext()) { String sentence = sc.next(); //???????????????????????? } // ?...
Main.java:49: error: <identifier> expected public String ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532635730|p00029|2
u532635730|p00029|2
codenet
Compile Error
752
v2_s459570518
s459570518
s459570518
p00029
p00029
u532635730
u532635730
1,437,324,868
2015-07-19T16:54:28
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = null; try ...
Main.java:80: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532635730|p00029|4
u532635730|p00029|4
codenet
Compile Error
1,986
v2_s154223297
s154223297
s154223297
p00029
p00029
u532635730
u532635730
1,437,395,904
2015-07-20T12:38:24
Main.java
import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = null; try ...
Main.java:80: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532635730|p00029|5
u532635730|p00029|5
codenet
Compile Error
1,954
v2_s155672290
s155672290
s155672290
p00029
p00029
u580216947
u580216947
1,288,580,423
2010-11-01T03:00:23
Main.java
mport java.util.*; import java.util.Map.Entry; public class Main { static Scanner sc = new Scanner(System.in); static Map<String, Integer> map; public static void main(String[] args) { read(); solve(); } static void read() { map = new HashMap<String ,Integer>(); while(sc.hasNext()) { String str = sc.n...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ Main.java:2: error: class, interface, enum, or record expected import java.util.Map.Entry; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u580216947|p00029|0
u580216947|p00029|0
codenet
Compile Error
954
v2_s279500402
s279500402
s279500402
p00029
p00029
u764432488
u764432488
1,491,366,788
2017-04-05T04:33:08
Main.java
import sun.java2d.xr.MutableInteger; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { public static void main(String[] args) { final Map<String, MutableInteger> map = new HashMap<>(); try (Scanner scanner = new Scanner(System.in)) { while (...
Main.java:1: error: package sun.java2d.xr is not visible import sun.java2d.xr.MutableInteger; ^ (package sun.java2d.xr is declared in module java.desktop, which does not export it) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764432488|p00029|2
u764432488|p00029|2
codenet
Compile Error
1,064
v2_s385703251
s385703251
s385703251
p00029
p00029
u863376467
u863376467
1,289,172,253
2010-11-07T23:24:13
Main.java
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { String[] words = sc.nextLine().split(" "); TreeMap<String, Integer> dic = new TreeMap<String, Integer>(); String mode = "", longest = ""; int max = 0, maxlen = 0; for(int i = 0; i ...
Main.java:31: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863376467|p00029|1
u863376467|p00029|1
codenet
Compile Error
692
v2_s161498512
s161498512
s161498512
p00029
p00029
u910402677
u910402677
1,481,606,791
2016-12-13T05:26:31
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ String line = scan.nextLine(); String[] words = line.split(" "); int len = words.length; int[] counts = new int[len]; int longest = 0; int max = 0; String sMax = ...
Main.java:17: error: cannot find symbol if(words[i].length() > logest){ ^ symbol: variable logest location: class Main Main.java:18: error: cannot find symbol logest = words[i].length(); ^ symbol: variable logest location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00029|0
u910402677|p00029|0
codenet
Compile Error
713
v2_s812788602
s812788602
s812788602
p00029
p00029
u935042117
u935042117
1,529,296,124
2018-06-18T04:28:44
Main.java
import java.util.Scanner; class Main { public static void main (String[] args) throws java.lang.Exception { Scanner sc = new Scanner(System.in); Map<String,Integer> h = new HashMap<String,Integer>(); String a[] = new String[1000]; int I = 0; int maxlength = 0; String maxleng = ""; while(sc.hasNext()){ ...
Main.java:8: error: cannot find symbol Map<String,Integer> h = new HashMap<String,Integer>(); ^ symbol: class Map location: class Main Main.java:8: error: cannot find symbol Map<String,Integer> h = new HashMap<String,Integer>(); ^ symbol: class HashMap location: class Mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u935042117|p00029|0
u935042117|p00029|0
codenet
Compile Error
828
v2_s403799353
s403799353
s403799353
p00029
p00029
u985809245
u985809245
1,333,336,353
2012-04-02T03:12:33
Main.java
import java.util.Scanner; public class Main { private static String[] str; public static void main(String[] args) { setInput(); System.out.println(str[getIndexMaxSameWords()] + " " + str[getIndexLongestWord()]); } public static void setInput(){ String input = getLine(); str = input.split(" "); } p...
Main.java:61: error: cannot find symbol EnglishSentence.str = str; ^ symbol: variable EnglishSentence location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985809245|p00029|0
u985809245|p00029|0
codenet
Compile Error
1,222
v2_s390396656
s390396656
s390396656
p00030
p00030
u049341428
u049341428
1,434,119,183
2015-06-12T14:26:23
Main.java
import java.util.Scanner; //AOJ:0030 public class Main { int selval; int sumval; int res = 0; void run(){ Scanner sc = new Scanner(System.in); while(true){ selval = sc.nextInt(); sumval = sc.nextInt(); calc(0,0,selval); System.out.println(res++); res = 0; } } // i:???????????? // sum:????¨...
Main.java:35: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u049341428|p00030|0
u049341428|p00030|0
codenet
Compile Error
572
v2_s674854491
s674854491
s674854491
p00030
p00030
u086935514
u086935514
1,492,865,785
2017-04-22T12:56:25
Main.java
import javafx.util.Pair; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); int s = sc.nextInt(); if(n==0&&s==0)break; System.out.pri...
Main.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u086935514|p00030|0
u086935514|p00030|0
codenet
Compile Error
583
v2_s970684449
s970684449
s970684449
p00030
p00030
u211138527
u211138527
1,436,291,565
2015-07-07T17:52:45
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; int count: while(!(line=br.readLine()).equals("0 0")){ String[] value=line.split(" "); int n=Integer.parseInt(value[0]); int s=Integer.parseInt(v...
Main.java:7: error: ';' expected int count: ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00030|0
u211138527|p00030|0
codenet
Compile Error
503
v2_s975924590
s975924590
s975924590
p00030
p00030
u211138527
u211138527
1,436,291,612
2015-07-07T17:53:32
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; int count=0; while(!(line=br.readLine()).equals("0 0")){ String[] value=line.split(" "); int n=Integer.parseInt(value[0]); int s=Integer.parseInt...
Main.java:18: error: cannot find symbol if(sum==s){ ^ symbol: variable s location: class Main Main.java:19: error: cannot find symbol count++; ^ symbol: variable count location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00030|0
u211138527|p00030|0
codenet
Compile Error
532
v2_s872368453
s872368453
s872368453
p00030
p00030
u211138527
u211138527
1,436,291,666
2015-07-07T17:54:26
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; int count=0; while(!(line=br.readLine()).equals("0 0")){ String[] value=line.split(" "); int n=Integer.parseInt(value[0]); int s=Integer.parseInt...
Main.java:19: error: cannot find symbol count++; ^ symbol: variable count location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00030|0
u211138527|p00030|0
codenet
Compile Error
542
v2_s570879010
s570879010
s570879010
p00030
p00030
u211138527
u211138527
1,436,291,913
2015-07-07T17:58:33
Main.java
import java.io.*; class Main{ int count; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; while(!(line=br.readLine()).equals("0 0")){ String[] value=line.split(" "); int n=Integer.parseInt(value[0]); int s=Integer.parseInt(v...
Main.java:13: error: non-static variable count cannot be referenced from a static context System.out.println(count); ^ Main.java:19: error: non-static variable count cannot be referenced from a static context count++; ^ Main.java:27: error: non-static variable count cannot be referenced from a static...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00030|0
u211138527|p00030|0
codenet
Compile Error
546
v2_s337962897
s337962897
s337962897
p00030
p00030
u211138527
u211138527
1,436,291,959
2015-07-07T17:59:19
Main.java
import java.io.*; class Main{ static int count; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; while(!(line=br.readLine()).equals("0 0")){ String[] value=line.split(" "); int n=Integer.parseInt(value[0]); int s=Integer.par...
Main.java:27: error: method search in class Main cannot be applied to given types; search(i+1,n-1,sum+a,s,count); ^ required: int,int,int,int found: int,int,int,int,int reason: actual and formal argument lists differ in length 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00030|0
u211138527|p00030|0
codenet
Compile Error
553
v2_s042298146
s042298146
s042298146
p00030
p00030
u516859161
u516859161
1,492,969,389
2017-04-23T17:43:09
Main.java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = null; while (!(line = sc.next()).equals("0 0")) { String str[] = line.split(" ", 2); int n = Integer.parseInt(str[0]); int s = Integer.pa...
Main.java:13: error: cannot find symbol System.out.println(dfs(n, s, 0)); ^ symbol: variable n location: class Main Main.java:13: error: cannot find symbol System.out.println(dfs(n, s, 0)); ^ symbol: variable s location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u516859161|p00030|0
u516859161|p00030|0
codenet
Compile Error
621
v2_s606147724
s606147724
s606147724
p00030
p00030
u910402677
u910402677
1,481,776,293
2016-12-15T04:31:33
Main.java
import java.util.*; public class Main{ static ArrayList<Integer[]> fr = new ArrayList<Integer[]>(); static ArrayList<Integer[]> to = new ArrayList<Integer[]>(); private static final Scanner scan = new Scanner(System.in); static int count = 0; public static void main(String[] args){ for(;;){ int n = scan....
Main.java:28: error: cannot find symbol if(sa[1] == 1 && sd[0] == sd[2])count++; ^ symbol: variable sa location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00030|2
u910402677|p00030|1
codenet
Compile Error
1,070
v2_s454389542
s454389542
s454389542
p00030
p00030
u933808920
u933808920
1,525,954,533
2018-05-10T12:15:33
Main.java
import java.util.Scanner; public class Main{ public static int n; public static int s; public static int count; public static int[] a = new int[10]; public static void main(String[] args){ Scanner scanner = new Scanner(System.in); while(true){ n = scanner.nextInt(); s = scanner.nextInt()...
Main.java:22: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u933808920|p00030|0
u933808920|p00030|0
codenet
Compile Error
495
v2_s456821998
s456821998
s456821998
p00031
p00031
u049341428
u049341428
1,434,811,755
2015-06-20T14:49:15
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args) { new Main().run(); } void run(){ Scanner sc = new Scanner(System.in); while(true){ if(!sc.hasNext()){ break; } int a = sc.nextInt(); int[] b = {1, 2, 4, 8, 16, 32, 64, 128, 256, 512}; for(int i=0; i < b.le...
Main.java:23: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u049341428|p00031|0
u049341428|p00031|0
codenet
Compile Error
485
v2_s525939573
s525939573
s525939573
p00031
p00031
u205820388
u205820388
1,331,995,812
2012-03-17T14:50:12
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); while(s.hasNext){ boolean flag[] = new boolean[10]; int in = s.nextInt(); int a = 1024; for(int i=9 ; i>=0 ; i--){ a /= 2; if(in>=a){ in -= a; ...
Main.java:7: error: cannot find symbol while(s.hasNext){ ^ symbol: variable hasNext location: variable s of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u205820388|p00031|0
u205820388|p00031|0
codenet
Compile Error
511
v2_s336277861
s336277861
s336277861
p00031
p00031
u205820388
u205820388
1,331,996,606
2012-03-17T15:03:26
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); while(s.hasNext){ boolean flag[] = new boolean[10]; int in = s.nextInt(); int a = 1024; int n = 0; for(int i=9 ; i>=0 ; i--){ a /= 2; if(in>=a){ ...
Main.java:7: error: cannot find symbol while(s.hasNext){ ^ symbol: variable hasNext location: variable s of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u205820388|p00031|0
u205820388|p00031|0
codenet
Compile Error
584
v2_s556639433
s556639433
s556639433
p00031
p00031
u211138527
u211138527
1,436,293,928
2015-07-07T18:32:08
Main.java
import java.io.* class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str; boolean[] flag=new boolean[10]; while((str=br.readLine())!=null){ int n=Integer.parseInt(str); int t=9; while(t>=0){ int Math.pow(2,t); n=(n>=p)?n-...
Main.java:1: error: ';' expected import java.io.* ^ Main.java:12: error: ';' expected int Math.pow(2,t); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00031|0
u211138527|p00031|0
codenet
Compile Error
504
v2_s414861154
s414861154
s414861154
p00031
p00031
u211138527
u211138527
1,436,294,038
2015-07-07T18:33:58
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String str; boolean[] flag=new boolean[10]; while((str=br.readLine())!=null){ int n=Integer.parseInt(str); int t=9; while(t>=0){ int p=Math.pow(2,t); n=(n>=p)...
Main.java:12: error: incompatible types: possible lossy conversion from double to int int p=Math.pow(2,t); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00031|0
u211138527|p00031|0
codenet
Compile Error
507
v2_s652563757
s652563757
s652563757
p00031
p00031
u270038613
u270038613
1,342,752,784
2012-07-20T02:53:04
Main.java
public class Main { /** * @param args */ public static void main(String[] args) throws Exception{ // TODO Auto-generated method stub //int input=32; BufferedReader input_a = new BufferedReader (new InputStreamReader (System.in)); int input = Integer.parseInt(input_a.readLine()); //System.out.printl...
Main.java:9: error: cannot find symbol BufferedReader input_a = ^ symbol: class BufferedReader location: class Main Main.java:10: error: cannot find symbol new BufferedReader (new InputStreamReader (System.in)); ^ symbol: class BufferedReader location: class Main Main.java:10: error: cannot ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u270038613|p00031|0
u270038613|p00031|0
codenet
Compile Error
1,181
v2_s976933186
s976933186
s976933186
p00031
p00031
u494604446
u494604446
1,342,668,062
2012-07-19T03:21:02
Main.java
public static void main(String[] args) { // TODO Auto-generated method stub int input=32; System.out.println("Input:"+input); System.out.print("Output:"); System.out.println(weight(input)); } public static String weight(int num){ //num=蛟、縲〔=菫よ焚 int number=num; String sub=""; //途中経過 String result="";...
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
u494604446|p00031|0
u494604446|p00031|0
codenet
Compile Error
919
v2_s923058159
s923058159
s923058159
p00031
p00031
u771186507
u771186507
1,481,799,288
2016-12-15T10:54:48
Main.java
#include <cstdio> #include <iostream> #include <sstream> #include <algorithm> #include <vector> #include <string> #include <map> #include <set> using namespace std; #define rep(i,a,n) for(int (i)=a;(i)<(int)(n);(i)++) #define rrep(i,a,n) for(int (i)=(n)-1;(i)>=a;(i)--) #define all(x) (x).begin(),(x).end() typedef lo...
Main.java:1: error: illegal character: '#' #include <cstdio> ^ Main.java:2: error: illegal character: '#' #include <iostream> ^ Main.java:3: error: illegal character: '#' #include <sstream> ^ Main.java:4: error: illegal character: '#' #include <algorithm> ^ Main.java:5: error: illegal character: '#' #include <vector> ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u771186507|p00031|0
u771186507|p00031|0
codenet
Compile Error
674
v2_s700288862
s700288862
s700288862
p00031
p00031
u910402677
u910402677
1,481,787,703
2016-12-15T07:41:43
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ int[] dou = new int[10]; for(int i = 0 ; i < 10; i++){ dou[i] = Math.pow(2, i); } List<Integer> list = new ArrayList<Integer>(); while(scan.hasNext()){ int n ...
Main.java:10: error: incompatible types: possible lossy conversion from double to int dou[i] = Math.pow(2, i); ^ Main.java:29: error: cannot find symbol if(i == list.size -1){ ^ symbol: variable size location: variable list of type List<Integer> 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00031|0
u910402677|p00031|0
codenet
Compile Error
749
v2_s318373905
s318373905
s318373905
p00031
p00031
u910402677
u910402677
1,481,791,744
2016-12-15T08:49:04
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Integer> list = new ArrayList<Integer>(); while(scan.hasNext()){ int w = scan.nextInt(); for(int i = 10-1; i >= 0; i--){ if(w > Math.pow(2, i)){ w = w -...
Main.java:15: error: ')' expected } else if(w == Math.pow(2, i){ ^ Main.java:23: error: ')' or ',' expected System.out.printf("%d\n", Math.pow(2, j); ^ Main.java:25: error: ')' or ',' expected System.out.printf("%d ", Math.pow(2...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00031|0
u910402677|p00031|0
codenet
Compile Error
669
v2_s538597761
s538597761
s538597761
p00031
p00031
u910402677
u910402677
1,481,791,816
2016-12-15T08:50:16
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Integer> list = new ArrayList<Integer>(); while(scan.hasNext()){ int w = scan.nextInt(); for(int i = 10-1; i >= 0; i--){ if(w > Math.pow(2, i)){ w = w -...
Main.java:29: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00031|0
u910402677|p00031|0
codenet
Compile Error
670
v2_s413632555
s413632555
s413632555
p00031
p00031
u910402677
u910402677
1,481,792,035
2016-12-15T08:53:55
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Integer> list = new ArrayList<Integer>(); while(scan.hasNext()){ int w = scan.nextInt(); for(int i = 10-1; i >= 0; i--){ if(w > Math.pow(2, i)){ w = w -...
Main.java:13: error: incompatible types: possible lossy conversion from double to int w = w - Math.pow(2, i); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00031|0
u910402677|p00031|0
codenet
Compile Error
672
v2_s476251674
s476251674
s476251674
p00031
p00031
u910402677
u910402677
1,481,797,159
2016-12-15T10:19:19
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ StringBuffer sb = new StringBuffer(); while(scan.hasNext()){ int w = scan.nextInt(); int i = 1; while(i <= 512){ if((w & i) == i){ sb.append(i).append(' ')...
Main.java:18: error: ')' or ',' expected System.out.printf("%s\n" s); ^ Main.java:18: error: not a statement System.out.printf("%s\n" s); ^ Main.java:18: error: ';' expected System.out.printf("%s\n" s); ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00031|0
u910402677|p00031|0
codenet
Compile Error
425
v2_s021749651
s021749651
s021749651
p00032
p00032
u211138527
u211138527
1,436,345,007
2015-07-08T08:43:27
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOExceptiion{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int rec=0; int loz=0; String line; while((line=br.readLine())!=null){ String[] value=line.split(","); int s1=Integer.parseInt(value[0]); int s2=Integer.parse...
Main.java:4: error: cannot find symbol public static void main(String[] args) throws IOExceptiion{ ^ symbol: class IOExceptiion location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00032|0
u211138527|p00032|0
codenet
Compile Error
485
v2_s657281518
s657281518
s657281518
p00032
p00032
u458942529
u458942529
1,515,778,550
2018-01-12T17:35:50
Main.java
import java.io.*;import java.util.*;class Main{public static void main(String[]a)throws Exception{int i,h,x=0,y=0,t[]=new int[3];Set<Integer> H=new HashSet<Integer>();BufferedReader B=new BufferedReader(new InputStreamReader(System.in));for(String s;(s=B.readLine())!=null;){a=s.split(",");for(i=0;i<3;)t[i]=Integer.valu...
Main.java:1: error: as of release 9, '_' is a keyword, and may not be used as an identifier import java.io.*;import java.util.*;class Main{public static void main(String[]a)throws Exception{int i,h,x=0,y=0,t[]=new int[3];Set<Integer> H=new HashSet<Integer>();BufferedReader B=new BufferedReader(new InputStreamReader(Sys...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458942529|p00032|0
u458942529|p00032|0
codenet
Compile Error
514
v2_s284849317
s284849317
s284849317
p00032
p00032
u594816808
u594816808
1,526,633,584
2018-05-18T08:53:04
Main.java
public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { judgeSquare(); } private static void judgeSquare() { int lect = 0; int diamond = 0; while (sc.hasNext()) { String[] str = sc.nextLine().split(","); int a = Integer.parseInt(str[0]); int ...
Main.java:3: error: cannot find symbol static Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol static 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
u594816808|p00032|0
u594816808|p00032|0
codenet
Compile Error
565
v2_s594222231
s594222231
s594222231
p00032
p00032
u723736789
u723736789
1,386,160,120
2013-12-04T12:28:40
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main{ static int N, D, money; static int[] prices; private static int solve(){ int answer = 0; if (prices[0] * 2 > money) return 0; if (prices[prices.length - 1] + prices[prices.length - 2] <...
Main.java:24: error: unreported exception IOException; must be caught or declared to be thrown String[] strs = br.readLine().split(","); ^ Main.java:28: error: unreported exception IOException; must be caught or declared to be thrown prices[i] = Integer.parseInt(br...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u723736789|p00032|0
u723736789|p00032|0
codenet
Compile Error
1,324
v2_s700687282
s700687282
s700687282
p00032
p00032
u723736789
u723736789
1,386,160,431
2013-12-04T12:33:51
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main{ static int N, D, money; static int[] prices; private static int solve(){ int answer = 0; if (prices[0] * 2 > money) return 0; if (prices[prices.length - 1] + prices[prices.length - 2] <= m...
Main.java:36: error: '(' expected } catch{} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u723736789|p00032|0
u723736789|p00032|0
codenet
Compile Error
1,355
v2_s319127689
s319127689
s319127689
p00032
p00032
u723736789
u723736789
1,386,160,493
2013-12-04T12:34:53
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main{ static int N, D, money; static int[] prices; private static int solve(){ int answer = 0; if (prices[0] * 2 > money) return 0; if (prices[prices.length - 1] + prices[prices.length - 2] <= m...
Main.java:36: error: illegal start of type } catch(){} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u723736789|p00032|0
u723736789|p00032|0
codenet
Compile Error
1,357
v2_s885887209
s885887209
s885887209
p00032
p00032
u753631841
u753631841
1,365,561,484
2013-04-10T02:38:04
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 rec=0,rho=0; int a,b,d; String str; try{ while((str=br.readLine())!=null){ str=br.readLine(); String[] s=str.split(","); ...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u753631841|p00032|0
u753631841|p00032|0
codenet
Compile Error
530
v2_s631561865
s631561865
s631561865
p00032
p00032
u768052802
u768052802
1,500,540,091
2017-07-20T08:41:31
Main.java
import java.util.Scanner; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int rectangular = 0; int dimond = 0; while(sc.hasNext()) { String[] numbers = sc.nextLine().split(","); int a = Integer.parseInt(numbers[0]); int b = Integer.parseInt(n...
Main.java:27: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u768052802|p00032|0
u768052802|p00032|0
codenet
Compile Error
540
v2_s795399288
s795399288
s795399288
p00032
p00032
u910402677
u910402677
1,481,853,946
2016-12-16T02:05:46
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ while(scan.hasNext()){ int r = 0; int d = 0; int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); if(Math.pow(c, 2) == Math.hypot((double...
Main.java:22: error: cannot find symbol System.out.printf("%d\n", r); ^ symbol: variable r location: class Main Main.java:23: error: cannot find symbol System.out.printf("%d\n", d); ^ symbol: variable d location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00032|0
u910402677|p00032|0
codenet
Compile Error
519
v2_s753256082
s753256082
s753256082
p00033
p00033
u113796319
u113796319
1,441,785,339
2015-09-09T07:55:39
Main.java
import java.util.*; class main{ Scanner sc=new Scanner(System.in); void aa(){ int n=sc.nextInt(); for(int i=0;i<n;i++){ String YN="YES"; int r=sc.nextInt(); int l=0; for(int j=0;j<9;j++){ int ball=sc.nextInt(); if(ball>r)r=ball; else if(ball>l)l=ball; else YN="NO"; } System.out.p...
Main.java:2: error: duplicate class: main class main{ ^ Main.java:20: error: cannot access Main new Main().aa(); ^ bad source file: ./Main.java file does not contain class Main Please remove or make sure it appears in the correct subdirectory of the sourcepath. 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u113796319|p00033|1
u113796319|p00033|1
codenet
Compile Error
401
v2_s169119199
s169119199
s169119199
p00033
p00033
u211138527
u211138527
1,434,212,052
2015-06-13T16:14:12
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int k=new int[n][10]; for(int i=0;i<n;i++){ for(int j=0;j<10;j++){ k[i][j]=sc.nextInt(); } } for(int g=0;g<n;g++){ if(dfs(g,0,0,0,k)==true){System.out.println("YES");} else{System.out.println(...
Main.java:7: error: incompatible types: int[][] cannot be converted to int int k=new int[n][10]; ^ Main.java:10: error: array required, but int found k[i][j]=sc.nextInt(); ^ Main.java:14: error: incompatible types: int cannot be converted to int[][] if(dfs(g,0,0,0,k)==true){System.out.println("YES");} ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00033|0
u211138527|p00033|0
codenet
Compile Error
604
v2_s803829158
s803829158
s803829158
p00033
p00033
u330358082
u330358082
1,510,821,620
2017-11-16T08:40:20
Main.java
package aoj0033; import java.util.Scanner; public class Main { void run() { return; // ??\??? int n, x; Scanner scan = new Scanner(System.in); n = scan.nextInt(); int[] ans = new int[n]; for( int i = 0; i < n; i++ ) { // ??± int box1 = 0, box2 = 0; // ?????? for( int j = 0; j < 10; j++ ) { ...
Main.java:9: error: unreachable statement int n, x; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u330358082|p00033|0
u330358082|p00033|0
codenet
Compile Error
768
v2_s444085672
s444085672
s444085672
p00033
p00033
u371406615
u371406615
1,440,226,065
2015-08-22T06:47:45
Main.java
import java.util.*; class Main{ int N; int[] m=new int [10]; int l=0; int r=0; String ans="YES"; Main(){ Scanner sc=new Scanner(System.in); N=sc.nextInt(); for(int i=0; i<N; i++){ for(int j=0; j<10; j++){ m[j] =sc.nextInt(); if(l m[j] public static void main(String[]...
Main.java:14: error: ')' expected if(l m[j] ^ Main.java:14: error: not a statement if(l m[j] ^ Main.java:14: error: ';' expected if(l m[j] ^ Main.java:22: error: illegal start of expression public static void main(String[] args){ ^ 4 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u371406615|p00033|0
u371406615|p00033|0
codenet
Compile Error
348
v2_s082383825
s082383825
s082383825
p00033
p00033
u458942529
u458942529
1,515,778,674
2018-01-12T17:37:54
Main.java
import java.util.*;class Main{public static void main(String[]_){Integer i,n,f=0,a[]=new Integer[10];Scanner S=new Scanner(System.in);for(n=S.nextInt();n-->0;System.out.println(f>0?"NO":"YES")){for(i=0;i<10;)a[i++]=S.nextInt();for(f=i=0;i<8;)f+=a[i]<a[i+++2]?0:1;}}}
Main.java:1: error: as of release 9, '_' is a keyword, and may not be used as an identifier import java.util.*;class Main{public static void main(String[]_){Integer i,n,f=0,a[]=new Integer[10];Scanner S=new Scanner(System.in);for(n=S.nextInt();n-->0;System.out.println(f>0?"NO":"YES")){for(i=0;i<10;)a[i++]=S.nextInt();f...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458942529|p00033|0
u458942529|p00033|0
codenet
Compile Error
267
v2_s223445433
s223445433
s223445433
p00033
p00033
u489809100
u489809100
1,435,855,430
2015-07-02T16:43:50
Main.java
import java.util.*; ?? public class Main { ?? ????????public static void main(String[] args) { ????????????????Scanner sc = new Scanner(System.in); ????????????????int n = sc.nextInt(); ????????????????for(int i=0; i<n; i++){ ????????????????????????int b = 0; ????????????????????????int c = 0; ????????????????????????...
Main.java:2: error: class, interface, enum, or record expected ?? ^ Main.java:4: error: illegal start of type ?? ^ Main.java:6: error: illegal start of expression ????????????????Scanner sc = new Scanner(System.in); ^ Main.java:6: error: illegal start of expression ????????????????Scanner sc = new Scanner(System.in); ...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u489809100|p00033|0
u489809100|p00033|0
codenet
Compile Error
948
v2_s547819891
s547819891
s547819891
p00033
p00033
u796731474
u796731474
1,512,309,584
2017-12-03T13:59:44
Main.java
public class Main { void run() { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] boll = new int[10]; for(int k = 0; k < n; k++) { for(int i = 0; i < 10; i++) { boll[i] = scan.nextInt(); } int judg = 0; for(int i = 0; i < n; i++) { int right,left; right = boll[0]; ...
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u796731474|p00033|2
u796731474|p00033|2
codenet
Compile Error
777
v2_s643550993
s643550993
s643550993
p00033
p00033
u863376467
u863376467
1,286,999,315
2010-10-13T19:48:35
Main.java
import java.util.*; public class Main { /** * @param args */ static Scanner sc = new Scanner(System.in); static int[] balls; public static void main(String[] args) { // TODO Auto-generated method stub int n = sc.nextInt(); while(n-- > 0) { // read input Queue<Integer> que = new LinkedList<Integ...
Main.java:35: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u863376467|p00033|0
u863376467|p00033|0
codenet
Compile Error
659
v2_s696793952
s696793952
s696793952
p00033
p00033
u907626292
u907626292
1,337,824,472
2012-05-24T01:54:32
Main.java
import java.io.*; import java.util.*; import java.math.*; public class Main { public static void main(String[] args) throws java.io.IOException{ Scanner scan = new Scanner(System.in); int [] ball =new int [10]; int n=scan.nextInt(); while(n--){ for(int i=0;i<...
Main.java:10: error: incompatible types: int cannot be converted to boolean while(n--){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00033|0
u907626292|p00033|0
codenet
Compile Error
1,239
v2_s867649025
s867649025
s867649025
p00033
p00033
u907626292
u907626292
1,337,824,900
2012-05-24T02:01:40
Main.java
import java.io.*; import java.util.*; import java.math.*; public class Main { public static void main(String[] args) throws java.io.IOException{ Scanner scan = new Scanner(System.in); int [] ball =new int [10]; int n=scan.nextInt(); while(n!=0){ for(int i=0;i...
Main.java:40: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00033|0
u907626292|p00033|0
codenet
Compile Error
1,243
v2_s938468536
s938468536
s938468536
p00033
p00033
u985809245
u985809245
1,334,243,144
2012-04-12T15:05:44
Main.java
import java.util.ArrayList; import java.util.Scanner; public class Main { private static final int LEFT = 0; private static final int RIGHT = 1; private static final int EndOfDirection = 2; private static ArrayList<Integer> a = new ArrayList<Integer>(10); private static ArrayList<Integer> left = new ArrayList<...
Main.java:35: error: cannot find symbol Ball.a = a; ^ symbol: variable Ball location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u985809245|p00033|0
u985809245|p00033|0
codenet
Compile Error
3,489
v2_s755325665
s755325665
s755325665
p00034
p00034
u031194354
u031194354
1,474,871,637
2016-09-26T06:33:57
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double v1, v2; int d; double t; String[] s; int[] a; int sum; while(scan.hasNext()){ s = scan.next().split(","); a = new int[11]; sum = 0; for(int i = 0; i < 10...
Main.java:38: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u031194354|p00034|0
u031194354|p00034|0
codenet
Compile Error
621
v2_s443491669
s443491669
s443491669
p00034
p00034
u211138527
u211138527
1,436,367,821
2015-07-08T15:03:41
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InpurtStreamReader(System.in)); String line; int[] l=new int[11]; l[0]=0; while((line=br.readLine())!=null){ String[] value=line.split(","); for(int i=0;i<10;i++){ l[i+1]=l[i]+Integer.parse...
Main.java:5: error: cannot find symbol BufferedReader br=new BufferedReader(new InpurtStreamReader(System.in)); ^ symbol: class InpurtStreamReader location: class Main Main.java:14: error: cannot find symbol v1=Ineger.parseInt(value[10]); ^ symbol: variable v1 locati...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00034|0
u211138527|p00034|0
codenet
Compile Error
506
v2_s768002122
s768002122
s768002122
p00034
p00034
u211138527
u211138527
1,436,367,953
2015-07-08T15:05:53
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; int[] l=new int[11]; l[0]=0; while((line=br.readLine())!=null){ String[] value=line.split(","); for(int i=0;i<10;i++){ l[i+1]=l[i]+Integer.parseI...
Main.java:14: error: cannot find symbol int v1=Ineger.parseInt(value[10]); ^ symbol: variable Ineger location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00034|0
u211138527|p00034|0
codenet
Compile Error
513
v2_s555616244
s555616244
s555616244
p00034
p00034
u765197056
u765197056
1,407,225,402
2014-08-05T07:56:42
Main.java
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Programminng { class AOJ_Volume0034 { public static void Main(string[] args) { while (true) { string s = Console.ReadLine(); if (string.IsNullO...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. using System; ^ (use --enable-preview to enable unnamed classes) Main.java:2: error: class, interface, enum, or record expected using System.Collections.Generic; ^ Main.java:3: error: class, interface, enum, or record expected usin...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u765197056|p00034|0
u765197056|p00034|0
codenet
Compile Error
1,382
v2_s648054543
s648054543
s648054543
p00034
p00034
u910402677
u910402677
1,482,037,672
2016-12-18T05:07:52
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in) .useDelimiter("[,\\s]+"); public static void main(String[] args){ int[] l = new int[10]; int sum1 = 0, sum2 = 0; double time = 0, tX = 0; while(scan.hasNext()){ for(int i = 0; i < 10; i++){ l[i] =...
Main.java:21: error: cannot find symbol tx =(double) v1 * time; ^ symbol: variable tx location: class Main Main.java:24: error: cannot find symbol if(tx <= sum2){ ^ symbol: variable tx location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00034|0
u910402677|p00034|0
codenet
Compile Error
686
v2_s551980272
s551980272
s551980272
p00034
p00034
u910402677
u910402677
1,482,038,583
2016-12-18T05:23:03
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in) .useDelimiter("[,\\s]+"); public static void main(String[] args){ int[] l = new int[10]; int sum1 = 0, sum2 = 0; double time = 0, tX = 0; while(scan.hasNext()){ for(int i = 0; i < 10; i++){ l[i] =...
Main.java:20: error: ';' expected time =(double) sum1 / (double)(v2 + v1)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00034|0
u910402677|p00034|0
codenet
Compile Error
693
v2_s164878664
s164878664
s164878664
p00035
p00035
u211138527
u211138527
1,436,370,126
2015-07-08T15:42:06
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; while((line=br.readLine())!=null){ String[] value=line.split(","); xa=Integer.parseInt(value[0]); ya=Integer.parseInt(value[1]); xb=Integer.parseInt(value[2]); yb=I...
Main.java:9: error: cannot find symbol xa=Integer.parseInt(value[0]); ^ symbol: variable xa location: class Main Main.java:10: error: cannot find symbol ya=Integer.parseInt(value[1]); ^ symbol: variable ya location: class Main Main.java:11: error: cannot find symbol xb=Integer.parseInt(value[2]); ^ symbol...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00035|0
u211138527|p00035|0
codenet
Compile Error
792
v2_s261492456
s261492456
s261492456
p00035
p00035
u211138527
u211138527
1,436,370,228
2015-07-08T15:43:48
Main.java
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; while((line=br.readLine())!=null){ String[] value=line.split(","); double xa=Double.parseDouble(value[0]); double ya=Double.parseDouble(value[1]); double xb=Double....
Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown while((line=br.readLine())!=null){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00035|0
u211138527|p00035|0
codenet
Compile Error
864
v2_s096016743
s096016743
s096016743
p00035
p00035
u273926656
u273926656
1,388,017,816
2013-12-26T00:30:16
Main.java
import java.util.Scanner; public class Main { // ヘロンの公式(3つの辺から求めるver) public static double getArea (double a, double b, double c) { double s = (a + b + c) / 2; return Math.sqrt(s * (s - a) * (s - b) * (s - c)); } // 2点間の距離 public static double getDistance (double x1, double y1, double x2, double y2) { ret...
Main.java:3: error: illegal character: '\u3000' public class?Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u273926656|p00035|0
u273926656|p00035|0
codenet
Compile Error
1,371
v2_s443591260
s443591260
s443591260
p00035
p00035
u426589527
u426589527
1,304,242,281
2011-05-01T09:31:21
Main.java
import java.io.*;class Main{public static void main(String[]_)throws Exception{int i,j,k;float l[]=new float[8];BufferedReader B=new BufferedReader(new InputStreamReader(System.in));for(String s;s=B.readLine())!=null;System.out.println(k>0?"NO":"YES")){_=s.split(",");for(k=j=0;j<2;j++){for(i=0;i<8;i++)l[i]=Float.valueO...
Main.java:1: error: as of release 9, '_' is a keyword, and may not be used as an identifier import java.io.*;class Main{public static void main(String[]_)throws Exception{int i,j,k;float l[]=new float[8];BufferedReader B=new BufferedReader(new InputStreamReader(System.in));for(String s;s=B.readLine())!=null;System.out....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u426589527|p00035|0
u426589527|p00035|0
codenet
Compile Error
449
v2_s590385388
s590385388
s590385388
p00035
p00035
u458942529
u458942529
1,515,778,169
2018-01-12T17:29:29
Main.java
import java.io.*;class Main{ public static void main(String[]_)throws Exception{ int i,j; boolean f; float l[]=new float[8]; BufferedReader B=new BufferedReader(new InputStreamReader(System.in)); for(String s;(s=B.readLine())!=null;System.out.println(f?"NO":"YES")){ _=s.split(","); f=false; for(j=0;j<2;j++){ for(i=0;i<...
Main.java:2: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String[]_)throws Exception{ ^ Main.java:8: error: as of release 9, '_' is a keyword, and may not be used as an identifier _=s.split(","); ^ Main.java:11: error: as of relea...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458942529|p00035|0
u458942529|p00035|0
codenet
Compile Error
476
v2_s780894286
s780894286
s780894286
p00035
p00035
u458942529
u458942529
1,515,778,252
2018-01-12T17:30:52
Main.java
import java.io.*;class Main{ public static void main(String _[])throws Exception{ int i,j; boolean f; float l[]=new float[8]; BufferedReader B=new BufferedReader(new InputStreamReader(System.in)); for(String s;(s=B.readLine())!=null;System.out.println(f?"NO":"YES")){ _=s.split(","); f=false; for(j=0;j<2;j++){ for(i=0;i...
Main.java:2: error: as of release 9, '_' is a keyword, and may not be used as an identifier public static void main(String _[])throws Exception{ ^ Main.java:8: error: as of release 9, '_' is a keyword, and may not be used as an identifier _=s.split(","); ^ Main.java:11: error: as of relea...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u458942529|p00035|0
u458942529|p00035|0
codenet
Compile Error
477
v2_s057892451
s057892451
s057892451
p00035
p00035
u778333573
u778333573
1,436,126,674
2015-07-05T20:04:34
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ String[] s = sc.nextLine().split(","); double[] a = new double[8]; for(int i=0;i < 8;i++) a[i] = Double.parseDouble(s[i]); ...
Main.java:17: error: unnamed classes are a preview feature and are disabled by default. private static double isCross(double p1_x,double p1_y,double p2_x,double p2_y,double p3_x,double p3_y,double p4_x,double p4_y){ ^ (use --enable-preview to enable unnamed classes) Main.java:24: error: class...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u778333573|p00035|0
u778333573|p00035|0
codenet
Compile Error
875
v2_s485463068
s485463068
s485463068
p00035
p00035
u910402677
u910402677
1,482,132,095
2016-12-19T07:21:35
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in) .useDelimiter("[,\\s]+"); public static void main(String[] args){ while(scan.hasNext()){ double[] x = new double[4]; double[] y = new double[4]; for(int i = 0; i < 4; i++){ x[i] = scan.nextDo...
Main.java:26: error: non-static method cross(double,double,double,double) cannot be referenced from a static context dirs[i] = cross(x[j]-x[i], y[j]-y[i], x[k]-x[i], y[k]-y[i]); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00035|0
u910402677|p00035|0
codenet
Compile Error
872
v2_s597359707
s597359707
s597359707
p00035
p00035
u910402677
u910402677
1,482,132,199
2016-12-19T07:23:19
A.java
import java.util.*; public class A{ private static final Scanner scan = new Scanner(System.in) .useDelimiter("[,\\s]+"); static boolean dirs[] = new boolean[4]; public static void main(String[] args){ while(scan.hasNext()){ double[] x = new double[4]; double[] y = new double[4]; for(int i = ...
A.java:26: error: non-static method cross(double,double,double,double) cannot be referenced from a static context dirs[i] = cross(x[j]-x[i], y[j]-y[i], x[k]-x[i], y[k]-y[i]); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00035|0
u910402677|p00035|0
codenet
Compile Error
875
v2_s460737670
s460737670
s460737670
p00035
p00035
u910402677
u910402677
1,482,132,256
2016-12-19T07:24:16
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in) .useDelimiter("[,\\s]+"); static boolean dirs[] = new boolean[4]; public static void main(String[] args){ while(scan.hasNext()){ double[] x = new double[4]; double[] y = new double[4]; for(int i...
Main.java:35: error: missing return statement } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00035|0
u910402677|p00035|0
codenet
Compile Error
885
v2_s332010137
s332010137
s332010137
p00035
p00035
u910402677
u910402677
1,482,214,253
2016-12-20T06:10:53
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in) .useDelimiter("[,\\s]+"); public static void main(String[] args){ while(scan.hasNext()){ double[] x = new double[4]; double[] y = new double[4]; for(int i = 0; i < 4; i++){ x[i] = scan.nextDoub...
Main.java:27: error: ';' expected double td = (x1-x2)*(y4-y1)+(y1-y2)*(x1-x4) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00035|1
u910402677|p00035|1
codenet
Compile Error
946
v2_s888602639
s888602639
s888602639
p00036
p00036
u069727578
u069727578
1,528,857,750
2018-06-13T02:42:30
Main.java
import java.util.*;   class Main{     public static void main(String args[]){         Scanner s=new Scanner(System.in);         while(s.hasNext()){             char [][] a=new char[20][20];             for(int i=0;i<20;i++)                 for(int j=0;j<20;j++)                     a[i][j]='0';             for(int i=0;i...
Main.java:2: error: illegal character: '\u00a0' ? ^ Main.java:3: error: class, interface, enum, or record expected class Main{ ^ Main.java:4: error: illegal character: '\u00a0' ????public static void main(String args[]){ ^ Main.java:4: error: illegal character: '\u00a0' ????public static void main(String args[]){...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u069727578|p00036|0
u069727578|p00036|0
codenet
Compile Error
1,733
v2_s367519909
s367519909
s367519909
p00036
p00036
u069727578
u069727578
1,528,857,759
2018-06-13T02:42:39
Main.java
import java.util.*;   class Main{     public static void main(String args[]){         Scanner s=new Scanner(System.in);         while(s.hasNext()){             char [][] a=new char[20][20];             for(int i=0;i<20;i++)                 for(int j=0;j<20;j++)                     a[i][j]='0';             for(int i=0;i...
Main.java:2: error: illegal character: '\u00a0' ? ^ Main.java:3: error: class, interface, enum, or record expected class Main{ ^ Main.java:4: error: illegal character: '\u00a0' ????public static void main(String args[]){ ^ Main.java:4: error: illegal character: '\u00a0' ????public static void main(String args[]){...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u069727578|p00036|0
u069727578|p00036|0
codenet
Compile Error
1,733
v2_s911475583
s911475583
s911475583
p00036
p00036
u211138527
u211138527
1,436,373,302
2015-07-08T16:35:02
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; char[][] map=new char[8][8]; int[] ax={1,0,1}; int[] ay={0,1,1}; int[] bx={1,2,3}; int[] by={0,0,0}; int[] cx={0,0,0}; int[] cy={1,2,3}; int[] dx...
Main.java:22: error: ')' expected while((line=br.readLine()!=null){ ^ Main.java:55: error: ';' expected System.out.println("A") ^ Main.java:65: error: ';' expected System.out.println("B") ^ Main.java:76: error: ';' expected System.out.println...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00036|0
u211138527|p00036|0
codenet
Compile Error
1,747
v2_s569670564
s569670564
s569670564
p00036
p00036
u211138527
u211138527
1,436,373,364
2015-07-08T16:36:04
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; char[][] map=new char[8][8]; int[] ax={1,0,1}; int[] ay={0,1,1}; int[] bx={1,2,3}; int[] by={0,0,0}; int[] cx={0,0,0}; int[] cy={1,2,3}; int[] dx...
Main.java:127: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00036|0
u211138527|p00036|0
codenet
Compile Error
1,755
v2_s049601544
s049601544
s049601544
p00036
p00036
u211138527
u211138527
1,436,373,456
2015-07-08T16:37:36
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; char[][] map=new char[8][8]; int[] ax={1,0,1}; int[] ay={0,1,1}; int[] bx={1,2,3}; int[] by={0,0,0}; int[] cx={0,0,0}; int[] cy={1,2,3}; int[] dx...
Main.java:127: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00036|0
u211138527|p00036|0
codenet
Compile Error
1,755
v2_s407214838
s407214838
s407214838
p00036
p00036
u211138527
u211138527
1,436,373,714
2015-07-08T16:41:54
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; char[][] map=new char[8][8]; int[] ax={1,0,1}; int[] ay={0,1,1}; int[] bx={1,2,3}; int[] by={0,0,0}; int[] cx={0,0,0}; int[] cy={1,2,3}; int[] dx...
Main.java:127: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00036|0
u211138527|p00036|0
codenet
Compile Error
1,797
v2_s494273500
s494273500
s494273500
p00036
p00036
u211138527
u211138527
1,436,373,759
2015-07-08T16:42:39
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line; char[][] map=new char[8][8]; int[] ax={1,0,1}; int[] ay={0,1,1}; int[] bx={1,2,3}; int[] by={0,0,0}; int[] cx={0,0,0}; int[] cy={1,2,3}; int[] dx...
Main.java:126: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00036|0
u211138527|p00036|0
codenet
Compile Error
1,795
v2_s195379826
s195379826
s195379826
p00036
p00036
u273926656
u273926656
1,388,067,580
2013-12-26T14:19:40
Main.java
import java.io.* public class Main { public static String solve (String[] str) { int baseX = 0, baseY = 0; main : for (int i = 0; i < str.length; i++) { for (int j = 0; j < str[i].length(); j++) { if (str[i].charAt(j) == '1') { baseX = j; baseY = i; break main; } } } if (str[bas...
Main.java:1: error: ';' expected import java.io.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u273926656|p00036|0
u273926656|p00036|0
codenet
Compile Error
1,076
v2_s920010043
s920010043
s920010043
p00036
p00036
u491334076
u491334076
1,495,438,691
2017-05-22T07:38:11
Main.java
import java.util.Scanner; public class Main { private Scanner sc; public static void main(String[] args) { new Main_format(); } public Main() { sc = new Scanner(System.in); while (sc.hasNext() == true) { int[][] map = new int[8][8]; for (int i = 0; i < 8; i++) { String line = sc.nextLine();...
Main.java:7: error: cannot find symbol new Main_format(); ^ symbol: class Main_format location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u491334076|p00036|0
u491334076|p00036|0
codenet
Compile Error
1,621
v2_s599434713
s599434713
s599434713
p00036
p00036
u491334076
u491334076
1,495,438,718
2017-05-22T07:38:38
Main.java
import java.util.Scanner; public class Main { private Scanner sc; public static void main(String[] args) { new Main_format(); } public Main() { sc = new Scanner(System.in); while (sc.hasNext() == true) { int[][] map = new int[8][8]; for (int i = 0; i < 8; i++) { String line = sc.nextLine();...
Main.java:7: error: cannot find symbol new Main_format(); ^ symbol: class Main_format location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u491334076|p00036|0
u491334076|p00036|0
codenet
Compile Error
1,621
v2_s157484970
s157484970
s157484970
p00036
p00036
u491334076
u491334076
1,495,438,738
2017-05-22T07:38:58
Main.java
import java.util.Scanner; public class Main { private Scanner sc; public static void main(String[] args) { new Main_format(); } public Main() { sc = new Scanner(System.in); while (sc.hasNext() == true) { int[][] map = new int[8][8]; for (int i = 0; i < 8; i++) { String line = sc.nextLine();...
Main.java:7: error: cannot find symbol new Main_format(); ^ symbol: class Main_format location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u491334076|p00036|0
u491334076|p00036|0
codenet
Compile Error
1,621
v2_s472349716
s472349716
s472349716
p00036
p00036
u575907464
u575907464
1,524,722,460
2018-04-26T06:01:00
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! String[] inputPlane = new String[8]; //入力を受付、計算しやすいようにintに変換 List<int[][]> planeList = new A...
Main.java:50: error: 'try' without 'catch', 'finally' or resource declarations try{ ^ Main.java:60: error: ';' expected }}chatch(IndexOutOfBoundsException){} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u575907464|p00036|0
u575907464|p00036|0
codenet
Compile Error
5,032
v2_s109338833
s109338833
s109338833
p00036
p00036
u575907464
u575907464
1,524,729,555
2018-04-26T07:59:15
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! String[] inputPlane = new String[8]; //入力を受付、計算しやすいようにintに変換 List<int[][]> planeList = new A...
Main.java:64: error: 'catch' without 'try' catch(IndexOutOfBoundsException e){} ^ Main.java:52: error: 'try' without 'catch', 'finally' or resource declarations try{ ^ Main.java:67: error: illegal start of expression static boolean blockJudgeA(int[][] plane){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u575907464|p00036|0
u575907464|p00036|0
codenet
Compile Error
5,147
v2_s376549484
s376549484
s376549484
p00036
p00036
u650207734
u650207734
1,500,366,516
2017-07-18T08:28:36
Main.java
import java.util.Scanner; public class Main { static Scanner sc = new java.util.Scanner(System.in); // static int[][] num =new int [8][8]; public static void main(String[] args) { int[][] num = new int[15][15]; String str = ""; while (sc.hasNextLine()) { // num[][]???????????? syokika(num); // ?...
Main.java:60: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u650207734|p00036|0
u650207734|p00036|0
codenet
Compile Error
1,585