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_s868076374
s868076374
s868076374
p00710
p00710
u140645632
u140645632
1,524,719,506
2018-04-26T05:11:46
Main.java
public class Main { public static void main(String[] agrs) { Scanner sc = new Scanner(System.in); for(;;){ int n = sc.nextInt();//输入数组数 int r = sc.nextInt();//输入循环几次 if( n==0 && r==0) { break; } ...
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
u140645632|p00710|2
u140645632|p00710|1
codenet
Compile Error
1,050
v2_s127052998
s127052998
s127052998
p00710
p00710
u140645632
u140645632
1,524,719,547
2018-04-26T05:12:27
Main.java
public class Main { public static void main(String[] agrs) { Scanner sc = new Scanner(System.in); for(;;){ int n = sc.nextInt(); int r = sc.nextInt(); if( n==0 && r==0) { break; } int[] input = new int[n]; ...
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
u140645632|p00710|2
u140645632|p00710|1
codenet
Compile Error
948
v2_s202186526
s202186526
s202186526
p00710
p00710
u211138527
u211138527
1,445,105,797
2015-10-17T18:16:37
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigDecimal; import java.math.BigInteger; public cl...
Main.java:24: error: incompatible types: int[] cannot be converted to int int ord=new int[n]; ^ Main.java:25: error: array required, but int found for(int i=0;i<n;i++) ord[i]=i; ^ Main.java:30: error: array required, but int found for(int i=0;i<p-1;i++) rem[i]=ord[i]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00710|0
u211138527|p00710|0
codenet
Compile Error
3,349
v2_s616167054
s616167054
s616167054
p00710
p00710
u284142375
u284142375
1,526,269,850
2018-05-14T03:50:50
Main.java
import java.util.Scanner; public class Main{ public static void main(String[]argc){ Scanner sc = new Scanner(System.in); int[] card1 = new int[50]; int[] card2 = new int[50; while(true){ int n = sc.nextInt(); int r = sc.nextInt(); if(n==0&&r==0) ...
Main.java:6: error: ']' expected int[] card2 = new int[50; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u284142375|p00710|0
u284142375|p00710|0
codenet
Compile Error
908
v2_s985340968
s985340968
s985340968
p00710
p00710
u284142375
u284142375
1,526,269,915
2018-05-14T03:51:55
Main.java
import java.util.Scanner; public class Main{ public static void main(String[]argc){ Scanner sc = new Scanner(System.in); int[] card1 = new int[50]; int[] card2 = new int[50; while(true){ int n = sc.nextInt(); int r = sc.nextInt(); if(n==0&&r==0) ...
Main.java:6: error: ']' expected int[] card2 = new int[50; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u284142375|p00710|0
u284142375|p00710|0
codenet
Compile Error
908
v2_s533116161
s533116161
s533116161
p00710
p00710
u284142375
u284142375
1,526,270,351
2018-05-14T03:59:11
Main.java
import java.util.Scanner; public class Main{ public static void main(String[]argc){ Scanner sc = new Scanner(System.in); int[] card1 = new int[50]; int[] card2 = new int[50; while(true){ int n = sc.nextInt(); int r = sc.nextInt(); if(n==0&&r==0) ...
Main.java:6: error: ']' expected int[] card2 = new int[50; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u284142375|p00710|0
u284142375|p00710|0
codenet
Compile Error
908
v2_s226042658
s226042658
s226042658
p00710
p00710
u311725565
u311725565
1,525,675,194
2018-05-07T06:39:54
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ try(Scanner sc = new Scanner(System.in)){ while(true){ int n = sc.nextInt(); int r = sc.nextInt(); if(n==0 && r==0) break; int[] card = new int[n]; for(int i=0;i<n;i++){ ...
Main.java:34: error: cannot find symbol System.out.println(card[i]); ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u311725565|p00710|0
u311725565|p00710|0
codenet
Compile Error
793
v2_s090958629
s090958629
s090958629
p00710
p00710
u311725565
u311725565
1,525,675,283
2018-05-07T06:41:23
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ try(Scanner sc = new Scanner(System.in)){ while(true){ int n = sc.nextInt(); int r = sc.nextInt(); if(n==0 && r==0) break; int[] card = new int[n]; for(int i=0;i<n;i++){ ...
Main.java:34: error: cannot find symbol System.out.println(card[i]); ^ symbol: variable i location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u311725565|p00710|0
u311725565|p00710|0
codenet
Compile Error
794
v2_s824580860
s824580860
s824580860
p00710
p00710
u362820084
u362820084
1,461,669,756
2016-04-26T11:22:36
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); while(true) { int n = sc.nextInt(); int r = sc.nextInt(); int cards[] = new int[n]; if(n == 0 && r == 0) { break; } for(int i = 0; i < n; i++) { ...
Main.java:35: error: cannot find symbol System.out.crintln(cards[0]); ^ symbol: method crintln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u362820084|p00710|0
u362820084|p00710|0
codenet
Compile Error
788
v2_s860876035
s860876035
s860876035
p00710
p00710
u362820084
u362820084
1,461,671,633
2016-04-26T11:53:53
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); while(true) { int n = sc.nextInt(); int r = sc.nextInt(); int cards[] = new int[n]; if(n == 0 && r == 0) { break; } for(int i = 0; i < n; i++) { ...
Main.java:35: error: cannot find symbol System.out.crintln(cards[0]); ^ symbol: method crintln(int) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u362820084|p00710|0
u362820084|p00710|0
codenet
Compile Error
788
v2_s003505653
s003505653
s003505653
p00710
p00710
u517313267
u517313267
1,409,033,583
2014-08-26T06:13:03
Main.java
import java.util.Scanner; public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int[] x = new int[50]; int[] y = new int[50]; while(true) { int n = stdIn.nextInt(); int r = stdIn.nextInt(); if(n==0 && r==0) { break; } for(int i=0;i<n;i++) { ...
Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) ^ (use --enable-preview to enable unnamed classes) Main.java:54: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u517313267|p00710|0
u517313267|p00710|0
codenet
Compile Error
716
v2_s903844921
s903844921
s903844921
p00710
p00710
u522258834
u522258834
1,431,623,246
2015-05-14T17:07:26
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ int n,r,i,p,c; String hana,tempa,tampb; Scanner sc = new Scanner(System.in); hana=null; tempa=null; tempb=null; while(true){ n=sc.nextInt(); r=sc.nextInt(); if(n==0&&r==0){ break; } for(i=0;i<n;i++){ ...
Main.java:16: error: cannot find symbol tempb=null; ^ symbol: variable tempb location: class Main Main.java:29: error: unexpected type hana.charAt(i)='1'+i; ^ required: variable found: value Main.java:37: error: cannot find symbol tempb=hana.substring(p-1+c,s.length()); ^ symbol:...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u522258834|p00710|0
u522258834|p00710|0
codenet
Compile Error
618
v2_s787208247
s787208247
s787208247
p00710
p00710
u615421382
u615421382
1,525,673,486
2018-05-07T06:11:26
Main.java
public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(true) { int n = sc.nextInt(); int r = sc.nextInt(); if(n==0 && r==0) break; int i,j; int huda[] = new int[n]; for(i=0;i<n;i++...
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
u615421382|p00710|0
u615421382|p00710|0
codenet
Compile Error
867
v2_s044154963
s044154963
s044154963
p00710
p00710
u774594984
u774594984
1,494,227,688
2017-05-08T07:14:48
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); int r = sc.nextInt(); if (n==0&&r==0) { break; } int[] a=new int[n]; for(int i=0;i<n;i++){ a[i]=i+1; } for(int j=0;j<r;j...
Main.java:32: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u774594984|p00710|0
u774594984|p00710|0
codenet
Compile Error
616
v2_s116484206
s116484206
s116484206
p00710
p00710
u774594984
u774594984
1,494,227,725
2017-05-08T07:15:25
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); int r = sc.nextInt(); if (n==0&&r==0) { break; } int[] a=new int[n]; for(int i=0;i<n;i++){ a[i]=i+1; } for(int j=0;j<r;j...
Main.java:32: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u774594984|p00710|0
u774594984|p00710|0
codenet
Compile Error
616
v2_s987009949
s987009949
s987009949
p00710
p00710
u834861649
u834861649
1,337,148,949
2012-05-16T06:15:49
Main.java
import java.util.*; public class Main { private static Scanner sc = new Scanner(System.in); public static void main(String...args) { while(sc.hasNext()) { final int n = sc.nextInt(); final int r = sc.nextInt(); if (n == 0 && r == 0) break; solve(n, r); } } private st...
Main.java:24: error: bad operand types for binary operator '-' if(ans < p - 1) ^ first type: int[] second type: int Main.java:25: error: bad operand types for binary operator '+' ans += c; ^ first type: int second type: int[] Main.java:26: error: bad operand types fo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834861649|p00710|0
u834861649|p00710|0
codenet
Compile Error
735
v2_s465007071
s465007071
s465007071
p00711
p00711
u083285064
u083285064
1,464,461,305
2016-05-28T18:48:25
Main.java
#include <iostream> int H, W; int map[20][20]; int c; using namespace std; void printArray(); void check(int, int); int main() { cin >> W >> H; int sy, sx; for (int i = 0; i < H; i++) { string line; cin >> line; for (int j = 0; j < W; j++) { if (line[j] == '@') { sy = i; sx =...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:4: error: class, interface, enum, or record expected int map[20][20]; ^ Main.java:5: error: unnamed classes are a preview feature and are disabled by d...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u083285064|p00711|3
u083285064|p00711|3
codenet
Compile Error
929
v2_s357171577
s357171577
s357171577
p00711
p00711
u506030944
u506030944
1,431,946,220
2015-05-18T10:50:20
Main.java
package com.company; import java.io.File; import java.util.Scanner; /** * Created by YuyaKita on 2015/05/18. */ public class Main { static final int MAX_W = 20, MAX_H = 20; static int W, H; static char[][] tiles = new char[MAX_H + 1][MAX_W + 1]; static int count = 0; static int[] dx = {-1, 0, 1,...
Main.java:37: error: illegal start of expression static int solve(char[][] input) {javascript:void(0) ^ Main.java:37: error: ';' expected static int solve(char[][] input) {javascript:void(0) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506030944|p00711|0
u506030944|p00711|0
codenet
Compile Error
1,433
v2_s898075879
s898075879
s898075879
p00711
p00711
u647766105
u647766105
1,340,464,796
2012-06-23T15:19:56
Main.java
import java.util.*; class Main { int dx[]={-1,0,1,0}; int dy[]={0,1,0,-1}; char[][] map; void run() { Scanner sc=new Scanner(System.in); while(true){ int W=sc.nextInt(); int H=sc.nextInt();sc.nextLine(); if(W==0&&H==0)break; int startX=0,startY=0; map=new char[H+2][W...
Main.java:46: error: cannot find symbol new AOJ1130().run(); ^ symbol: class AOJ1130 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u647766105|p00711|0
u647766105|p00711|0
codenet
Compile Error
873
v2_s792823585
s792823585
s792823585
p00711
p00711
u765667086
u765667086
1,369,324,327
2013-05-23T15:52:07
Main.java
public class Main { public static void main(String[] args) { search(); } public static void search(){ Queue<Integer> xqueue = new LinkedList<Integer>(); Queue<Integer> yqueue = new LinkedList<Integer>(); int X; int Y; Scanner input = new Scanner(System.in); String[][] grid; int[][] visit; ...
Main.java:8: error: cannot find symbol Queue<Integer> xqueue = new LinkedList<Integer>(); ^ symbol: class Queue location: class Main Main.java:8: error: cannot find symbol Queue<Integer> xqueue = new LinkedList<Integer>(); ^ symbol: class LinkedList location: class Main M...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u765667086|p00711|0
u765667086|p00711|0
codenet
Compile Error
4,513
v2_s612017262
s612017262
s612017262
p00711
p00711
u834861649
u834861649
1,337,150,188
2012-05-16T06:36:28
Main.java
import java.util.*; public class Main { private static Scanner sc = new Scanner(System.in); public static void main(String...args) { while(sc.hasNext()) { final int W = sc.nextInt(); final int H = sc.nextInt(); if (W == 0 && H == 0) break; solve(W, H); } } private st...
Main.java:16: error: illegal start of expression for(int i = 0; i < H; i+;) ^ Main.java:16: error: not a statement for(int i = 0; i < H; i+;) ^ Main.java:16: error: illegal start of expression for(int i = 0; i < H; i+;) ^ 3 ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u834861649|p00711|0
u834861649|p00711|0
codenet
Compile Error
1,206
v2_s111824022
s111824022
s111824022
p00711
p00711
u879143834
u879143834
1,494,569,921
2017-05-12T06:18:41
Main.java
import java.util.*; public class Main { static int w, h, count, before; static int[][] dir = {{-1,0}, {0,-1}, {1,0}, {0, 1}}; public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(true){ w = sc.nextInt(); h = sc.nextInt(); sc.nextLine(); if(w == 0){ break; } ...
Main.java:72: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u879143834|p00711|0
u879143834|p00711|0
codenet
Compile Error
1,343
v2_s363104426
s363104426
s363104426
p00711
p00711
u907626292
u907626292
1,338,364,991
2012-05-30T08:03:11
Main.java
import java.util.*; class Main{ public static void main(String a[]) throws java.io.IOException{ Scanner scan =new Scanner (System.in); Pair pair= new Pair(); Queue<Pair> fifo = new LinkedList<Pair>(); while(true){ int W =scan.nextInt(); int H =scan.nextInt(); ...
Main.java:56: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00711|0
u907626292|p00711|0
codenet
Compile Error
1,485
v2_s382580072
s382580072
s382580072
p00711
p00711
u909284953
u909284953
1,555,987,687
2019-04-23T02:48:07
Main.java
import java.util.Scanner; public class Main { static int w,h; static int[][] tile; public static void main (String[]args) { Scanner in = new Scanner(System.in); while(true) { w = in.nextInt(); h = in.nextInt(); if(w==0) break; tile = new int[w][h]; String s; int x=0,y=0; for(int i=0;...
Main.java:37: error: non-static method canMove(int,int) cannot be referenced from a static context System.out.println(canMove(x,y)); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u909284953|p00711|0
u909284953|p00711|0
codenet
Compile Error
894
v2_s819383160
s819383160
s819383160
p00712
p00712
u197786702
u197786702
1,363,158,562
2013-03-13T07:09:22
Main.java
public class Main { public static int dfs(int p, int q, int a, int n, int cur_pro, int prev_d){ if(n < 0){ return 0; } if(p == 0 && cur_pro <= a){ return 1; }else if(n == 0){ return 0; } int sum = 0; int divide = /* a */ a / cur_pro + 1; while(p * divide >= q){ //System.out.printl...
Main.java:40: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:41: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u197786702|p00712|0
u197786702|p00712|0
codenet
Compile Error
1,281
v2_s795513814
s795513814
s795513814
p00712
p00712
u211138527
u211138527
1,529,597,992
2018-06-21T16:19:52
Main.java
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; import java.util.NoSuchElementException; public class Main { static PrintWriter out; static InputReader ir; static boolean debug = false; static void solve() { f...
Main.java:197: error: class, interface, enum, or record expected import java.io.IOException; ^ Main.java:198: error: class, interface, enum, or record expected import java.io.InputStream; ^ Main.java:199: error: class, interface, enum, or record expected import java.io.PrintWriter; ^ Main.java:200: error: class, interf...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00712|0
u211138527|p00712|0
codenet
Compile Error
7,659
v2_s592575084
s592575084
s592575084
p00712
p00712
u226079266
u226079266
1,338,563,786
2012-06-01T15:16:26
Main.java
import java.util.Scanner; public class Main { static int p,q,a,n,count; public static void main(String[] args) { Scanner sc=new Scanner(System.in); while(true){ count=0; p=sc.nextInt(); q=sc.nextInt(); a=sc.nextInt(); n=sc.nextInt(); if(p+q+a+n==0) break; s.clear(); search(1,0,0,1); S...
Main.java:15: error: cannot find symbol s.clear(); ^ symbol: variable s location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u226079266|p00712|0
u226079266|p00712|0
codenet
Compile Error
566
v2_s410151280
s410151280
s410151280
p00712
p00712
u358879127
u358879127
1,362,236,391
2013-03-02T14:59:51
Main1.java
import static java.lang.Math.*; import static java.util.Arrays.*; import java.util.*; import java.io.*; public class Main1 { int p, q, a, n, cnt; void run() { Scanner sc = new Scanner(System.in); for(;;) { p = sc.nextInt(); q = sc.nextInt(); a = sc.nextInt(); n = sc.nextInt(); if( (p|q|a|n) == 0 ) break; ...
Main1.java:43: error: cannot find symbol new Main().run(); ^ symbol: class Main location: class Main1 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358879127|p00712|1
u358879127|p00712|1
codenet
Compile Error
901
v2_s871120258
s871120258
s871120258
p00712
p00712
u722076734
u722076734
1,467,348,522
2016-07-01T04:48:42
Main.java
#include <iostream> #include <vector> #include <math.h> #include <stdio.h> #include <algorithm> #include <string> #include <map> #include <queue> #include <memory.h> using namespace std; const int INF = 2 << 27; #define ll long long typedef pair<int,int> P; int p; int q; int a; int n; int solv(int id, int v[]); int l...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <vector> ^ Main.java:3: error: illegal character: '#' #include <math.h> ^ Main.java:4: error: illegal character: '#' #include <stdio.h> ^ Main.java:5: error: illegal character: '#' #include <algorithm> ^...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u722076734|p00712|0
u722076734|p00712|0
codenet
Compile Error
1,449
v2_s864150787
s864150787
s864150787
p00714
p00714
u660498157
u660498157
1,307,108,591
2011-06-03T13:43:11
Main.java
import java.util.*; import java.lang.*; import java.math.*; import java.io.*; import javax.swing.*; import java.awt.*; import static java.lang.Math.*; import static java.util.Arrays.*; public class Main{ Scanner sc=new Scanner(System.in); int INF=1<<28; double EPS=1e-6; int d; int n; int[] x, h; int m; in...
Main.java:160: error: cannot find symbol v.repaint(); ^ symbol: variable v location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p00714|0
u660498157|p00714|0
codenet
Compile Error
4,258
v2_s801013360
s801013360
s801013360
p00716
p00716
u529386853
u529386853
1,337,078,494
2012-05-15T10:41:34
Main.java
import java.util.Scanner; public class Main { /** * @param args */ public static void main(String[] args) { //dirichlet(); fortune(); } public static void fortune(){ Scanner sc = new Scanner(System.in); int numOfData = sc.nextInt(); for(int i = 0; i < numOfData; i++){ int ini = sc.nextInt();...
Main.java:61: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u529386853|p00716|0
u529386853|p00716|0
codenet
Compile Error
1,171
v2_s004312449
s004312449
s004312449
p00716
p00716
u843866464
u843866464
1,400,735,960
2014-05-22T05:19:20
Main.java
import java.util.Scanner; /** * Created by Reopard on 2014/05/22. */ public class Main { static Scanner sc = new Scanner(System.in); int initial, year, janre; OhgasFortune(int initial, int year, int janre){ this.initial = initial; this.year = year; this.janre = janre; } ...
Main.java:10: error: invalid method declaration; return type required OhgasFortune(int initial, int year, int janre){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u843866464|p00716|0
u843866464|p00716|0
codenet
Compile Error
1,337
v2_s146058861
s146058861
s146058861
p00716
p00716
u889638462
u889638462
1,528,376,022
2018-06-07T12:53:42
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { // System.out.println("START"); Scanner scan = new Scanner(System.in); int dataSetNum = scan.nextInt(); // List<DataSet> dataSets = new ArrayList<DataSet>(); ...
Main.java:28: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u889638462|p00716|0
u889638462|p00716|0
codenet
Compile Error
504
v2_s456141452
s456141452
s456141452
p00716
p00716
u889638462
u889638462
1,528,376,620
2018-06-07T13:03:40
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { // System.out.println("START"); Scanner scan = new Scanner(System.in); int dataSetNum = scan.nextInt(); List<DataSet> dataSets = new ArrayList<DataSet>(); fo...
Main.java:47: error: cannot find symbol nextInt(); ^ symbol: method nextInt() location: class DataSet 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u889638462|p00716|0
u889638462|p00716|0
codenet
Compile Error
861
v2_s395039544
s395039544
s395039544
p00716
p00716
u889638462
u889638462
1,528,377,078
2018-06-07T13:11:18
Main.java
package exercise2; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { // System.out.println("START"); int dataSetNum = 4; List<DataSet> dataSets = new ArrayList<DataSet>(); for(int i = 0; i < dataSetNum; i++) ...
Main.java:20: error: cannot find symbol dataSets.add(new DataSet(scan)); ^ symbol: variable scan location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u889638462|p00716|0
u889638462|p00716|0
codenet
Compile Error
832
v2_s810071392
s810071392
s810071392
p00716
p00716
u889638462
u889638462
1,528,377,133
2018-06-07T13:12:13
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { // System.out.println("START"); dataSets.add(new DataSet()); } static class DataSet { Scanner scan = new Scanner(System.in); int startingMoney; int year...
Main.java:15: error: cannot find symbol dataSets.add(new DataSet()); ^ symbol: variable dataSets location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u889638462|p00716|0
u889638462|p00716|0
codenet
Compile Error
581
v2_s690829836
s690829836
s690829836
p00717
p00717
u693762292
u693762292
1,397,460,897
2014-04-14T07:34:57
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; class Main{ static int points0[][]; public static void main(String args[]){ // 標準入力準備 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //Scanner sc = new Scanner(System.in); //String str = new String(); try{ while...
Main.java:38: error: illegal start of expression return compareAsce(points1, points2); || compareDsce(points1, points2); ^ Main.java:42: error: illegal start of expression return compare0(points1, points2); || compare90(points1, points2) || compare180(points1, points2); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u693762292|p00717|0
u693762292|p00717|0
codenet
Compile Error
3,299
v2_s238742017
s238742017
s238742017
p00717
p00717
u693762292
u693762292
1,397,460,957
2014-04-14T07:35:57
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; class Main{ static int points0[][]; public static void main(String args[]){ // 標準入力準備 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //Scanner sc = new Scanner(System.in); //String str = new String(); try{ while...
Main.java:61: error: unreachable statement for(int i = 0; i < points1.length; i++){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u693762292|p00717|0
u693762292|p00717|0
codenet
Compile Error
3,297
v2_s647296846
s647296846
s647296846
p00718
p00718
u211138527
u211138527
1,455,629,177
2016-02-16T13:26:17
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:47: error: invalid method declaration; return type required public static NumbertoMCXI(int a){ ^ Main.java:62: error: <identifier> expected pubilc static int td(char s){ ^ Main.java:70: error: <identifier> expected pubilc static String tc(int s){ ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00718|0
u211138527|p00718|0
codenet
Compile Error
3,842
v2_s304365401
s304365401
s304365401
p00718
p00718
u211138527
u211138527
1,455,629,218
2016-02-16T13:26:58
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:62: error: <identifier> expected pubilic static int td(char s){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00718|0
u211138527|p00718|0
codenet
Compile Error
3,850
v2_s688877908
s688877908
s688877908
p00718
p00718
u211138527
u211138527
1,455,629,259
2016-02-16T13:27:39
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:42: error: cannot find symbol ret+=Math.pos(10,i)*dig[i]; ^ symbol: method pos(int,int) location: class Math Main.java:50: error: cannot find symbol dig[i]=(int)(a/Math.pos(10,i)); ^ symbol: method pos(int,int) location: class Math Main.java:51: error: cannot fi...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00718|0
u211138527|p00718|0
codenet
Compile Error
3,849
v2_s524153732
s524153732
s524153732
p00718
p00718
u211138527
u211138527
1,455,629,299
2016-02-16T13:28:19
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigInteger; public class Main{ static PrintWriter out...
Main.java:51: error: cannot find symbol a-=dig[i]*Math.pos(10,i); ^ symbol: method pos(int,int) location: class Math 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00718|0
u211138527|p00718|0
codenet
Compile Error
3,849
v2_s967344027
s967344027
s967344027
p00718
p00718
u777217452
u777217452
1,343,272,202
2012-07-26T03:10:02
Main.java
import java.util.Scanner; public class Main { Scanner sc; private int parse( String mcxi ){ boolean isNumEntered = false; int mk = 0; int ck = 0; int xk = 0; int ik = 0; int cur = 0; char[] cstr = mcxi.toCharArray(); for( int i = 0; i < cstr.length; i++ ){ switch( cstr[ i ] ){ case 'm': ...
Main.java:74: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777217452|p00718|0
u777217452|p00718|0
codenet
Compile Error
1,529
v2_s668077654
s668077654
s668077654
p00719
p00719
u693762292
u693762292
1,400,469,582
2014-05-19T03:19:42
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Collections; class Main{ static int kyori[][]; static boolean visited[]; static double answer; static int n, m, b; static Integer tickets[]; public static void main(String args[]){ BufferedReader br = new...
Main.java:73: error: cannot find symbol printArray(distance); ^ symbol: method printArray(Integer[]) location: class Main Main.java:87: error: cannot find symbol printArray(visited); ^ symbol: method printArray(boolean[]) location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u693762292|p00719|0
u693762292|p00719|0
codenet
Compile Error
3,680
v2_s502538615
s502538615
s502538615
p00722
p00722
u026129418
u026129418
1,357,052,207
2013-01-01T14:56:47
Main.java
import java.io.*; import java.util.*; import java.math.*; class Main{ public static void main(String[] args){ BufferedReader sc=new BufferedReader(new InputStreamReader(System.in)); int[] prime = new int[1000000]; prime[0] = 1; prime[1] = 1; for(int i=2; i<1000; i++) if(prime[i]==0) for(int j=i*i; j<1000...
Main.java:17: error: cannot find symbol if(a==0 && b==0 && c==0) ^ symbol: variable b location: class Main Main.java:17: error: cannot find symbol if(a==0 && b==0 && c==0) ^ symbol: variable c location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u026129418|p00722|0
u026129418|p00722|0
codenet
Compile Error
732
v2_s470295501
s470295501
s470295501
p00722
p00722
u158979022
u158979022
1,530,167,908
2018-06-28T06:38:28
Main.java
import java.util.Scanner; public class Main { static boolean sosuu(int s) { if(s == 1) return false; for(int i=2; i*i<=s; i++) { if(s%i == 0) return false; } return true; } public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)) { while(sc.hasNext()) { int a = sc.nex...
Main.java:38: error: class, interface, enum, or record expected import java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u158979022|p00722|0
u158979022|p00722|0
codenet
Compile Error
1,333
v2_s901956445
s901956445
s901956445
p00723
p00723
u211138527
u211138527
1,446,042,755
2015-10-28T14:32:35
Main.java
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.HashSet; import java.util.InputMismatchException; import java.util.NoSuchElementException; import java.math.BigDecimal; import java.math....
Main.java:26: error: cannot find symbol String sub1=s.substrng(0,i); ^ symbol: method substrng(int,int) location: variable s of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00723|0
u211138527|p00723|0
codenet
Compile Error
3,826
v2_s501241213
s501241213
s501241213
p00723
p00723
u300645821
u300645821
1,349,111,737
2012-10-01T17:15:37
Main.java
import java.io.*; import java.util.*; class Main{ public static Scanner cin; public static HashSet<String> m; public static String reverse(String s){ return new StringBuilder(s).reverse().toString(); } public static void main(String []args){ cin=new Scanner(System.in); int j=0,n=cin.nextInt(); ...
Main.java:35: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u300645821|p00723|2
u300645821|p00723|1
codenet
Compile Error
755
v2_s852300693
s852300693
s852300693
p00723
p00723
u300645821
u300645821
1,349,111,773
2012-10-01T17:16:13
Main.java
import java.io.*; import java.util.*; class Main{ public static Scanner cin; public static HashSet<String> m; public static String reverse(String s){ return new StringBuilder(s).reverse().toString(); } public static void main(String []args){ cin=new Scanner(System.in); int j=0,n=cin.nextInt(); ...
Main.java:19: error: variable j is already defined in method main(String[]) int j=1; ^ Main.java:20: error: cannot find symbol for(;i<s.length();i++){ ^ symbol: variable i location: class Main Main.java:20: error: cannot find symbol for(;i<s.length();i++){ ^ sy...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u300645821|p00723|2
u300645821|p00723|1
codenet
Compile Error
751
v2_s360841030
s360841030
s360841030
p00723
p00723
u506537276
u506537276
1,529,370,501
2018-06-19T01:08:21
Main.java
import java.util.Scanner; import java.util.ArrayList; public class Main { static String change(String str){ StringBuffer sb = new StringBuffer(str); str = sb.reverse().toString(); return str; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int m = sc.nextInt(); fo...
Main.java:73: error: cannot find symbol for(int l=0;l<pettern.sixe()-1;l++) { ^ symbol: method sixe() location: variable pettern of type ArrayList<String> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00723|0
u506537276|p00723|0
codenet
Compile Error
1,945
v2_s816701597
s816701597
s816701597
p00723
p00723
u506537276
u506537276
1,529,397,898
2018-06-19T08:44:58
Main.java
import java.util.Scanner; import java.util.ArrayList; public class Main { static String change(String str){ StringBuffer sb = new StringBuffer(str); str = sb.reverse().toString(); return str; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int m = sc.nextInt(); fo...
Main.java:53: error: cannot find symbol for(int l=0;l<pettern.sixe()-1;l++) { ^ symbol: method sixe() location: variable pettern of type ArrayList<String> 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00723|2
u506537276|p00723|0
codenet
Compile Error
1,607
v2_s001018629
s001018629
s001018629
p00723
p00723
u506537276
u506537276
1,529,398,210
2018-06-19T08:50:10
Main.java
import java.util.Scanner; import java.util.ArrayList; static String reverse(String str){ return new StringBuffer(str).reverse().toString(); } public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)) { int m = sc.nextInt(); for(int i=0;i<m;i++) ...
Main.java:5: error: unnamed classes are a preview feature and are disabled by default. static String reverse(String str){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u506537276|p00723|2
u506537276|p00723|0
codenet
Compile Error
1,245
v2_s942380748
s942380748
s942380748
p00725
p00725
u420305014
u420305014
1,432,123,201
2015-05-20T12:00:01
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w, h; int x, y; while(true){ w = sc.nextInt(); h = sc.nextInt(); if(w == 0 && h == 0) break; Game game = new Game(w, h); for(int i = 0; i < h; i++){ for(int j = ...
Main.java:31: error: class Game is public, should be declared in a file named Game.java public class Game{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420305014|p00725|0
u420305014|p00725|0
codenet
Compile Error
2,422
v2_s161153052
s161153052
s161153052
p00725
p00725
u420305014
u420305014
1,432,147,865
2015-05-20T18:51:05
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w, h; int x = 0, y = 0; while(true){ w = sc.nextInt(); h = sc.nextInt(); if(w == 0 && h == 0) break; Game game = new Game(w, h); for(int i = 0; i < h; i++){ for(i...
Main.java:27: error: class Game is public, should be declared in a file named Game.java public class Game{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420305014|p00725|2
u420305014|p00725|0
codenet
Compile Error
1,331
v2_s612799001
s612799001
s612799001
p00725
p00725
u420305014
u420305014
1,432,186,802
2015-05-21T05:40:02
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int w, h; int x, y; while(true){ x = 0; y = 0; w = sc.nextInt(); h = sc.nextInt(); if(w == 0 && h == 0) break; Game game = new Game(w, h); for(int i = 0; i < h; i++...
Main.java:30: error: class Game is public, should be declared in a file named Game.java public class Game{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420305014|p00725|3
u420305014|p00725|1
codenet
Compile Error
1,254
v2_s985547649
s985547649
s985547649
p00725
p00725
u420305014
u420305014
1,432,187,490
2015-05-21T05:51:30
Game.java
public class Game{ int answer = 11; int w, h; int[][] map; int[][] v = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}}; Game(int iw, int ih){ w = iw; h = ih; map = new int[h][w]; } void search(int x, int y, int k){ if(k >= answer) return; int p, q; for(int i = 0; i < v.length; i++){ p = x + v[i][...
Game.java:39: error: duplicate class: Game class Game{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420305014|p00725|3
u420305014|p00725|1
codenet
Compile Error
1,503
v2_s978602716
s978602716
s978602716
p00725
p00725
u435518193
u435518193
1,368,520,375
2013-05-14T08:32:55
Main.java
import java.util.*; public class Main { int w, h, sx, sy, ans; int[][] map; LinkedList<Integer> x, y; void loop(int p, int q, int r){ if(r>=ans || r>=10) return; for(int i=p-1;i>=0;i--){ if(map[q][i]==3){ ans = r+1; }else if(map[q][i]==1){ if(i==p-1){ break; }else{ map[q][i] = ...
Main.java:109: error: cannot find symbol new Main.solve(); ^ symbol: class solve location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u435518193|p00725|2
u435518193|p00725|1
codenet
Compile Error
1,825
v2_s086183383
s086183383
s086183383
p00728
p00728
u034299441
u034299441
1,494,227,335
2017-05-08T07:08:55
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int max=0; int min=1000; while(true){ int n = sc.nextInt(); if(n==0){break;} int[] scores =new int[n]; int max=0; int min=1000; for(int i = 0;i<scores.length; i++){ i...
Main.java:12: error: variable max is already defined in method main(String[]) int max=0; ^ Main.java:13: error: variable min is already defined in method main(String[]) int min=1000; ^ Main.java:22: error: cannot find symbol average=(average-min-max)/(n-2); ^ symbol: variable average loc...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u034299441|p00728|0
u034299441|p00728|0
codenet
Compile Error
493
v2_s159023308
s159023308
s159023308
p00728
p00728
u044826700
u044826700
1,430,112,501
2015-04-27T05:28:21
Main.java
import java.io.*; public class Main{ public static void main(String[] args){ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String line; int i; int n; //int[] scores; int max; int min; int ave; int score; try{ while(null != (line=reader.readLine())){ n = Intege...
Main.java:20: error: cannot find symbol scores = new int[n]; ^ symbol: variable scores location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u044826700|p00728|0
u044826700|p00728|0
codenet
Compile Error
990
v2_s348247303
s348247303
s348247303
p00728
p00728
u072146547
u072146547
1,408,973,338
2014-08-25T13:28:58
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); int n=0; int count = 0; while(count<20){ n=stdIn.nextInt(); if(n>=3&&n<=100) break; count++; } int[] s=new int[n]; for(int i=0;i<s.length;i++){ while(count<20){ s[...
Main.java:47: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u072146547|p00728|1
u072146547|p00728|0
codenet
Compile Error
750
v2_s957930592
s957930592
s957930592
p00728
p00728
u072146547
u072146547
1,408,973,386
2014-08-25T13:29:46
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); int n=0; int count = 0; while(count<20){ n=stdIn.nextInt(); if(n>=3&&n<=100) break; count++; } int[] s=new int[n]; for(int i=0;i<s.length;i++){ while(count<20){ s[...
Main.java:47: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u072146547|p00728|1
u072146547|p00728|0
codenet
Compile Error
750
v2_s984231896
s984231896
s984231896
p00728
p00728
u082472057
u082472057
1,430,117,820
2015-04-27T06:57:00
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] sum = new int[10000]; int small=0; int max=0; int wa= 0; for(int i=0;i<=n-1;i++){ int k = sc.nextInt(); sum[i] = k; wa = wa + sum[i]; if(i...
Main.java:41: error: ')' or ',' expected System.out.println(Math.floor(ave); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u082472057|p00728|0
u082472057|p00728|0
codenet
Compile Error
675
v2_s920149931
s920149931
s920149931
p00728
p00728
u082472057
u082472057
1,430,117,844
2015-04-27T06:57:24
Main.java
iimport java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] sum = new int[10000]; int small=0; int max=0; int wa= 0; for(int i=0;i<=n-1;i++){ int k = sc.nextInt(); sum[i] = k; wa = wa + sum[i]; if(...
Main.java:1: error: class, interface, enum, or record expected iimport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u082472057|p00728|0
u082472057|p00728|0
codenet
Compile Error
677
v2_s668902404
s668902404
s668902404
p00728
p00728
u104102582
u104102582
1,375,368,538
2013-08-01T14:48:58
Main.java
import java.util.ArrayList; import java.util.Scanner; import org.eclipse.xtext.xbase.lib.InputOutput; @SuppressWarnings("all") public class Main { public static void main(final String[] args) { Scanner _scanner = new Scanner(System.in); Scanner sc = _scanner; boolean _solveQ = ICPCScoreTotalizerSoftware....
Main.java:3: error: package org.eclipse.xtext.xbase.lib does not exist import org.eclipse.xtext.xbase.lib.InputOutput; ^ Main.java:10: error: cannot find symbol boolean _solveQ = ICPCScoreTotalizerSoftware.solveQ(sc); ^ symbol: variable ICPCScoreTotalizerS...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u104102582|p00728|1
u104102582|p00728|1
codenet
Compile Error
2,038
v2_s052792760
s052792760
s052792760
p00728
p00728
u187350096
u187350096
1,525,672,453
2018-05-07T05:54:13
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int[] array=new int[20]; int c=0; for(int i=0;;i++){ int n=sc.nextInt(); if(n==0){ break; } int mi...
Main.java:30: error: cannot find symbol S+=array2[j]; ^ symbol: variable array2 location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u187350096|p00728|0
u187350096|p00728|0
codenet
Compile Error
1,061
v2_s169262725
s169262725
s169262725
p00728
p00728
u207430593
u207430593
1,395,330,519
2014-03-20T15:48:39
Main.java
import java.utill.*; public class Main(){ Scanner sc; static void solve(){ sc=new Scanner(System.in); while(sc.hasNext()){ int score[]=new int[sc.nextInt()]; float sum=0; for(int i=0; i<score.length; i++) score[i]=sc.nextInt(); for(int i=1; i<score.length-1; i++) sum+=score[i]; sum/=score...
Main.java:3: error: '{' expected public class Main(){ ^ Main.java:18: error: not a statement sc.close; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207430593|p00728|0
u207430593|p00728|0
codenet
Compile Error
384
v2_s174350332
s174350332
s174350332
p00728
p00728
u207430593
u207430593
1,395,330,557
2014-03-20T15:49:17
Main.java
import java.utill.*; public class Main(){ Scanner sc; static void solve(){ sc=new Scanner(System.in); while(sc.hasNext()){ int score[]=new int[sc.nextInt()]; float sum=0; for(int i=0; i<score.length; i++) score[i]=sc.nextInt(); for(int i=1; i<score.length-1; i++) sum+=score[i]; sum/=score...
Main.java:3: error: '{' expected public class Main(){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u207430593|p00728|0
u207430593|p00728|0
codenet
Compile Error
386
v2_s887703098
s887703098
s887703098
p00728
p00728
u220160744
u220160744
1,525,674,997
2018-05-07T06:36:37
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ try(Scanner sc =new Scanner(System.in)); while(true){ int n; int max=0,min=1000,sum=0; n=sc.nextInt(); int []a =new int [n]; for(int i=0;i<n;i++){ a[i]=sc.nextInt...
Main.java:4: error: '{' expected try(Scanner sc =new Scanner(System.in)); ^ Main.java:28: error: reached end of file while parsing } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u220160744|p00728|0
u220160744|p00728|0
codenet
Compile Error
583
v2_s006277431
s006277431
s006277431
p00728
p00728
u281902305
u281902305
1,524,810,431
2018-04-27T06:27:11
ProblemA.java
mport java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class ProblemA { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // 平均点を代入する配列 int[] average; average = new int[19]; //...
ProblemA.java:1: error: class, interface, enum, or record expected mport java.io.BufferedReader; ^ ProblemA.java:2: error: class, interface, enum, or record expected import java.io.IOException; ^ ProblemA.java:3: error: class, interface, enum, or record expected import java.io.InputStreamReader; ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u281902305|p00728|0
u281902305|p00728|0
codenet
Compile Error
1,529
v2_s501260576
s501260576
s501260576
p00728
p00728
u292263436
u292263436
1,402,933,525
2014-06-16T15:45:25
Main.java
mport java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); for(;;){ int max = 0; int min = 1000; int answer = 0; int n = sc.nextInt(); if(n == 0){ break; } int [] array = new int[n]; for(int i = 0; i < n; i++){ array[i] = s...
Main.java:1: error: class, interface, enum, or record expected mport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u292263436|p00728|0
u292263436|p00728|0
codenet
Compile Error
840
v2_s357099256
s357099256
s357099256
p00728
p00728
u332560601
u332560601
1,502,793,449
2017-08-15T10:37:29
Clown.java
import java.util.*; import java.io.*; public class Clown{ public static void main(String[] args)throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); Integer sum = 0; //?????°???????´????????????° Integer ave = 0; //??...
Clown.java:15: error: illegal escape character System.out.println("??????????????\?????????????????????."); ^ Clown.java:27: error: illegal escape character System.out.println("???????????\?????????????????????."); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u332560601|p00728|0
u332560601|p00728|0
codenet
Compile Error
2,311
v2_s476948836
s476948836
s476948836
p00728
p00728
u332560601
u332560601
1,502,793,551
2017-08-15T10:39:11
Clown.java
import java.util.*; import java.io.*; public class Clown{ public static void main(String[] args)throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); Integer sum = 0; //?????°???????´????????????° Integer ave = 0; //??...
Clown.java:15: error: illegal escape character System.out.println("??????????????\?????????????????????."); ^ Clown.java:27: error: illegal escape character System.out.println("???????????\?????????????????????."); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u332560601|p00728|0
u332560601|p00728|0
codenet
Compile Error
2,311
v2_s919171701
s919171701
s919171701
p00728
p00728
u332560601
u332560601
1,502,793,716
2017-08-15T10:41:56
Clown.java
import java.util.*; import java.io.*; public class Clown{ public static void main(String[] args)throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); Integer sum = 0; //?????°???????´????????????° Integer ave = 0; //??...
Clown.java:15: error: illegal escape character System.out.println("??????????????\?????????????????????."); ^ Clown.java:27: error: illegal escape character System.out.println("???????????\?????????????????????."); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u332560601|p00728|0
u332560601|p00728|0
codenet
Compile Error
2,311
v2_s203580415
s203580415
s203580415
p00728
p00728
u332560601
u332560601
1,502,793,802
2017-08-15T10:43:22
Main.java
import java.util.*; import java.io.*; public static void main(String[] args)throws IOException{ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); Integer sum = 0; //?????°???????´????????????° Integer ave = 0; //????????????????´?????...
Main.java:14: error: illegal escape character System.out.println("??????????????\?????????????????????."); ^ Main.java:26: error: illegal escape character System.out.println("???????????\?????????????????????."); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u332560601|p00728|0
u332560601|p00728|0
codenet
Compile Error
2,289
v2_s835172621
s835172621
s835172621
p00728
p00728
u355971134
u355971134
1,502,190,306
2017-08-08T11:05:06
Main.java
public class Main { public static void main(String[] args){ Main m = new Main(); m.run(); } void run(){ Scanner sc = new Scanner(System.in); for(;;){ int n = sc.nextInt(); if(n == 0){ break; } int[] s = new i...
Main.java:9: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:9: 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
u355971134|p00728|1
u355971134|p00728|1
codenet
Compile Error
794
v2_s046080056
s046080056
s046080056
p00728
p00728
u360304621
u360304621
1,530,439,005
2018-07-01T09:56:45
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); if (n == 0) { break; } int[] s = new int[n]; for (int i = 0; i < n; i++) { s[i] = sc.nextInt(); } Arrays.sort(s); int sum = 0; for (int i...
Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:20: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u360304621|p00728|0
u360304621|p00728|0
codenet
Compile Error
451
v2_s919035455
s919035455
s919035455
p00728
p00728
u372584466
u372584466
1,556,074,067
2019-04-24T02:47:47
Main.java
import java.util.*; /** * ICPCScoreTotalizerSoftware */ public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); if (n == 0) break; List<Integer> list = new ArrayLis...
Main.java:6: error: illegal character: '\u3000' public class?Main { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u372584466|p00728|0
u372584466|p00728|0
codenet
Compile Error
824
v2_s605921244
s605921244
s605921244
p00728
p00728
u549710968
u549710968
1,446,726,877
2015-11-05T12:34:37
Main.java
package ICPC_Score_Totalizer_Software; import java.io.BufferedReader; import java.io.InputStreamReader; public class Judge { static int number; //?????£??????????????° int score; //?????? public static void setNumberOfJudge() { //?????£??????????????°????????? try{ BufferedReader in = new BufferedReade...
Main.java:6: error: class Judge is public, should be declared in a file named Judge.java public class Judge { ^ Main.java:34: error: class Exec is public, should be declared in a file named Exec.java public class Exec { ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u549710968|p00728|0
u549710968|p00728|0
codenet
Compile Error
2,001
v2_s301754748
s301754748
s301754748
p00728
p00728
u549710968
u549710968
1,446,727,255
2015-11-05T12:40:55
Judge.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Judge { static int number; //?????£??????????????° int score; //?????? public static void setNumberOfJudge() { //?????£??????????????°????????? try{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ...
Judge.java:63: error: illegal start of expression sum += j[k].score;javascript:void(0) ^ Judge.java:63: error: ';' expected sum += j[k].score;javascript:void(0) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u549710968|p00728|0
u549710968|p00728|0
codenet
Compile Error
1,956
v2_s886084563
s886084563
s886084563
p00728
p00728
u549710968
u549710968
1,446,880,303
2015-11-07T07:11:43
Main.java
public class Main { public static void main(String[] args) { while(true){ try{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int number = Integer.parseInt(reader.readLine()); if(number < 3){return;} int score[]; score = new int[number]; int i; for(i=0;i...
Main.java:6: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class Main Main.java:6: error: cannot find symbol BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u549710968|p00728|1
u549710968|p00728|1
codenet
Compile Error
892
v2_s092434766
s092434766
s092434766
p00728
p00728
u549710968
u549710968
1,446,880,662
2015-11-07T07:17:42
Main.java
package AOJ1147; import java.io.*; public class Main { public static void main(String[] args) { while(true){ try{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int number = Integer.parseInt(reader.readLine()); if(number < 3){break;} int score[]; score = new in...
Main.java:47: error: incompatible types: unexpected return value return 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u549710968|p00728|1
u549710968|p00728|1
codenet
Compile Error
939
v2_s234169967
s234169967
s234169967
p00728
p00728
u549710968
u549710968
1,446,880,680
2015-11-07T07:18:00
Main.java
package AOJ1147; import java.io.*; public class Main { public static void main(String[] args) { while(true){ try{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int number = Integer.parseInt(reader.readLine()); if(number < 3){break;} int score[]; score = new in...
Main.java:47: error: incompatible types: unexpected return value return 0; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u549710968|p00728|1
u549710968|p00728|1
codenet
Compile Error
939
v2_s086195641
s086195641
s086195641
p00728
p00728
u606215999
u606215999
1,334,319,752
2012-04-13T12:22:32
Main.java
import java.util.*; public static void main(String args[]){ Scanner scan = new Scanner(System.in); int n,max=0,min=1000,seiseki=0; while(null == (n = scan.next())){//scan.next()が実行できるまでやる int s[] = int[n]; for (int i = 0;i == n;i++){ s[i] = scan.next(); sum = sum + s[i]; if(max<s[i]){ max = s[...
Main.java:8: error: not a statement int s[] = int[n]; ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String args[]){ ^ (use --enable-preview to enable unnamed classes) Main.java:8: error: ';' expected int s[] = int[n]...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606215999|p00728|0
u606215999|p00728|0
codenet
Compile Error
462
v2_s761002795
s761002795
s761002795
p00728
p00728
u606215999
u606215999
1,334,320,585
2012-04-13T12:36:25
Main.java
import java.util.*; public static void main(String args[]){ Scanner scan = new Scanner(System.in); int n,max=0,min=1000,seiseki=0; while(n = scan.next() == null){ int s[] = int[n]; for (int i = 0;i == n;i++){ s[i] = scan.next(); sum = sum + s[i]; if(max<s[i]){ max = s[i]; } if(min>s[i]){ ...
Main.java:8: error: not a statement int s[] = int[n]; ^ Main.java:3: error: unnamed classes are a preview feature and are disabled by default. public static void main(String args[]){ ^ (use --enable-preview to enable unnamed classes) Main.java:8: error: ';' expected int s[] = int[n]...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u606215999|p00728|0
u606215999|p00728|0
codenet
Compile Error
419
v2_s378610388
s378610388
s378610388
p00728
p00728
u680769608
u680769608
1,525,674,346
2018-05-07T06:25:46
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true) { int n = sc.nextInt(); if(n == 0){ break; } int[] score = new int[n]; int max_score = -1, min_score = 1001; int sum = 0; for (int i = 0; i < n; i++) { score[i...
Main.java:28: error: <identifier> expected System.out.println(); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u680769608|p00728|0
u680769608|p00728|0
codenet
Compile Error
591
v2_s475636722
s475636722
s475636722
p00728
p00728
u705352026
u705352026
1,525,668,973
2018-05-07T04:56:13
Main.java
import java.awt.print.Printable; import java.util.Arrays; import java.util.Scanner; import javax.sound.midi.SysexMessage; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); for(int i=0;i<20;i++){ int n = sc.nextInt(); in...
Main.java:26: error: ';' expected sum += points[j] ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u705352026|p00728|0
u705352026|p00728|0
codenet
Compile Error
842
v2_s532489214
s532489214
s532489214
p00728
p00728
u705352026
u705352026
1,525,669,002
2018-05-07T04:56:42
Main.java
import java.awt.print.Printable; import java.util.Arrays; import java.util.Scanner; import javax.sound.midi.SysexMessage; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); for(int i=0;i<20;i++){ int n = sc.nextInt(); in...
Main.java:30: error: incompatible types: possible lossy conversion from double to int int ave2 = Math.floor(ave); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u705352026|p00728|0
u705352026|p00728|0
codenet
Compile Error
843
v2_s696539057
s696539057
s696539057
p00728
p00728
u759214410
u759214410
1,494,223,863
2017-05-08T06:11:03
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // ?¨??????\??????????????????????????????????????? Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); if (n == 0) { break; } int[] scores = new int[n];...
Main.java:18: error: cannot find symbol average = average + score[i]; ^ symbol: variable score location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759214410|p00728|0
u759214410|p00728|0
codenet
Compile Error
679
v2_s261842417
s261842417
s261842417
p00728
p00728
u759214410
u759214410
1,494,223,920
2017-05-08T06:12:00
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // ?¨??????\??????????????????????????????????????? Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); if (n == 0) { break; } int[] scores = new int[n];...
Main.java:18: error: cannot find symbol average = average + score[i]; ^ symbol: variable score location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759214410|p00728|0
u759214410|p00728|0
codenet
Compile Error
591
v2_s254870574
s254870574
s254870574
p00728
p00728
u759214410
u759214410
1,494,224,578
2017-05-08T06:22:58
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // ?¨??????\??????????????????????????????????????? Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); if (n == 0) { break; } int[] scores = new int[n];...
Main.java:22: error: no suitable method found for println(String,double) System.out.println("%.0f",average); ^ method PrintStream.println() is not applicable (actual and formal argument lists differ in length) method PrintStream.println(boolean) is not applicable (actual and ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759214410|p00728|0
u759214410|p00728|0
codenet
Compile Error
639
v2_s874497560
s874497560
s874497560
p00728
p00728
u759214410
u759214410
1,494,226,442
2017-05-08T06:54:02
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // ?¨??????\??????????????????????????????????????? Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); if (n == 0) { break; } int[] scores = new int[n];...
Main.java:16: error: cannot find symbol System.Arrays.sort(scores); ^ symbol: variable Arrays location: class System 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u759214410|p00728|0
u759214410|p00728|0
codenet
Compile Error
645
v2_s281962110
s281962110
s281962110
p00728
p00728
u768361792
u768361792
1,462,775,403
2016-05-09T06:30:03
Main.java
import java.util.Scanner; ?? public class Main { ????????public static void main(String[] args) { ????????????????Scanner sc = new Scanner(System.in); ????????????????while (1) { ????????????????????????int n = sc.nextInt(); ????????????????????????if (n == 0) { ????????????????????????????????break; ??????????????????...
Main.java:2: error: class, interface, enum, or record expected ?? ^ Main.java:4: error: illegal start of type ????????public static void main(String[] args) { ^ Main.java:5: error: illegal start of expression ????????????????Scanner sc = new Scanner(System.in); ^ Main.java:5: error: illegal start of expression ????????...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u768361792|p00728|0
u768361792|p00728|0
codenet
Compile Error
1,288
v2_s676518289
s676518289
s676518289
p00728
p00728
u768361792
u768361792
1,462,775,469
2016-05-09T06:31:09
Main.java
import java.util.Scanner; ?? public class Main { ????????public static void main(String[] args) { ????????????????Scanner sc = new Scanner(System.in); ????????????????while (true) { ????????????????????????int n = sc.nextInt(); ????????????????????????if (n == 0) { ????????????????????????????????break; ???????????????...
Main.java:2: error: class, interface, enum, or record expected ?? ^ Main.java:4: error: illegal start of type ????????public static void main(String[] args) { ^ Main.java:5: error: illegal start of expression ????????????????Scanner sc = new Scanner(System.in); ^ Main.java:5: error: illegal start of expression ????????...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u768361792|p00728|0
u768361792|p00728|0
codenet
Compile Error
1,291
v2_s659666744
s659666744
s659666744
p00728
p00728
u768361792
u768361792
1,462,775,619
2016-05-09T06:33:39
Main.java
import java.util.Scanner; ?? public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { ?????? int n = sc.nextInt(); ????????????if (n == 0) { ???????????? break; ????????????} ????????????int[] values = new int[n]; ????????????for (int i = 0; i < n; i++) { ?...
Main.java:2: error: class, interface, enum, or record expected ?? ^ Main.java:7: error: illegal start of expression ?????? int n = sc.nextInt(); ^ Main.java:7: error: illegal start of expression ?????? int n = sc.nextInt(); ^ Main.java:7: error: illegal start of expression ?????? int n = sc.nextInt(); ^ Main.j...
compile_error
4
OpenJDK 21.0.12.1
unlabelled
2.1
u768361792|p00728|0
u768361792|p00728|0
codenet
Compile Error
932
v2_s340111271
s340111271
s340111271
p00728
p00728
u768361792
u768361792
1,462,775,739
2016-05-09T06:35:39
Main.java
import java.util.Scanner; ?? public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int n = sc.nextInt(); if (n == 0) { break; } int[] values = new int[n]; for (int i = 0; i < n; i++) { values[i] = sc.nextInt(); } int min = 1000, max = 0; for (int i = 0; i < n; ...
Main.java:2: error: class, interface, enum, or record expected ?? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u768361792|p00728|0
u768361792|p00728|0
codenet
Compile Error
563
v2_s681798366
s681798366
s681798366
p00728
p00728
u774594984
u774594984
1,494,224,717
2017-05-08T06:25:17
Main.java
public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int sum=0,i,max=0,min=1000,ave; while(true){ int n=sc.nextInt(); if(n==0){ break; } for(i=0;i<n;i++){ int point=sc.nextInt(); if(point<min){ min=point; } if(point>max){ max=point; ...
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
u774594984|p00728|0
u774594984|p00728|0
codenet
Compile Error
406
v2_s692797959
s692797959
s692797959
p00728
p00728
u777462378
u777462378
1,559,190,557
2019-05-30T04:29:17
Main.java
import java; public class Main{ public static void main(String[] args){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); if(n==0){ exit(1); } int[] s; int i=0; int max=0; int min=1000; while(i<n){ s[i]=sc.nextInt(); if(s[i]>max){ ...
Main.java:1: error: '.' expected import java; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
795
v2_s179917035
s179917035
s179917035
p00728
p00728
u777462378
u777462378
1,559,190,663
2019-05-30T04:31:03
Main.java
import java.util; public class Main{ public static void main(String[] args){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); if(n==0){ exit(1); } int[] s; int i=0; int max=0; int min=1000; while(i<n){ s[i]=sc.nextInt(); if(s[i]>max){ ...
Main.java:1: error: cannot find symbol import java.util; ^ symbol: class util location: package java Main.java:5: error: cannot find symbol Scanner sc =new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc =new Scanner(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
801
v2_s352593968
s352593968
s352593968
p00728
p00728
u777462378
u777462378
1,559,190,735
2019-05-30T04:32:15
Main.java
import java.util; public class Main{ public static void main(String[] args){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); if(n==0){ exit(1); } int[] s; int i=0; int max=0; int min=1000; while(i<n){ s[i]=sc.nextInt(); if(s[i]>max){ ...
Main.java:1: error: cannot find symbol import java.util; ^ symbol: class util location: package java Main.java:5: error: cannot find symbol Scanner sc =new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner sc =new Scanner(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
806
v2_s261503351
s261503351
s261503351
p00728
p00728
u777462378
u777462378
1,559,190,901
2019-05-30T04:35:01
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ int n; Scanner sc =new Scanner(System.in); n = sc.nextInt(); if(n==0){ exit(1); } int[] s; int i=0; int max=0; int min=1000; while(i<n){ s[i]=sc.nextInt(); if(s[i]>max){ ...
Main.java:8: error: cannot find symbol exit(1); ^ symbol: method exit(int) location: class Main Main.java:42: error: cannot find symbol SyStem.out.println(agerage); ^ symbol: variable agerage location: class Main Main.java:42: error: package SyStem does not exist ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777462378|p00728|0
u777462378|p00728|0
codenet
Compile Error
808