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_s645611867 | s645611867 | s645611867 | p02385 | p02385 | u206778360 | u206778360 | 1,492,769,152 | 2017-04-21T10:05:52 | Main.java | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
Dice[] dice;
dice = new Dice[2];
for(int i = 0; i < 2; i++){
dice[i] = new Dice();
}
for(int i = 0; i < 2; i++){
for(int j = 0; j < 6; j++){
di... | Main.java:26: error: cannot find symbol
if(Arrays.equals(dice[0].surface, dice[1].surface)) {
^
symbol: variable Arrays
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u206778360|p02385|2 | u206778360|p02385|2 | codenet | Compile Error | 1,296 | |
v2_s409960146 | s409960146 | s409960146 | p02385 | p02385 | u233376535 | u233376535 | 1,492,585,831 | 2017-04-19T07:10:31 | Main.java | package info.searchman;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String args[]) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] surface1 = br.readLine().split(" ");
... | Main.java:234: error: ';' expected
}elseif( SurfaceString[i].equals("N")){//??????????????????
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u233376535|p02385|2 | u233376535|p02385|2 | codenet | Compile Error | 5,218 | |
v2_s154921229 | s154921229 | s154921229 | p02385 | p02385 | u233376535 | u233376535 | 1,492,590,916 | 2017-04-19T08:35:16 | Main.java |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String args[]) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] surface1 = br.readLine().split(" ");
String[] surface2 = ... | Main.java:243: error: illegal start of expression
void lookoutDise(){import java.io.BufferedReader;
^
Main.java:243: error: not a statement
void lookoutDise(){import java.io.BufferedReader;
^
Main.java:244: error: illegal start of expression
import jav... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u233376535|p02385|2 | u233376535|p02385|2 | codenet | Compile Error | 12,556 | |
v2_s523603150 | s523603150 | s523603150 | p02385 | p02385 | u233376535 | u233376535 | 1,492,590,924 | 2017-04-19T08:35:24 | Main.java |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String args[]) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] surface1 = br.readLine().split(" ");
String[] surface2 = ... | Main.java:243: error: illegal start of expression
void lookoutDise(){import java.io.BufferedReader;
^
Main.java:243: error: not a statement
void lookoutDise(){import java.io.BufferedReader;
^
Main.java:244: error: illegal start of expression
import jav... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u233376535|p02385|2 | u233376535|p02385|2 | codenet | Compile Error | 12,556 | |
v2_s684291797 | s684291797 | s684291797 | p02385 | p02385 | u233376535 | u233376535 | 1,492,590,935 | 2017-04-19T08:35:35 | Main.java |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String args[]) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] surface1 = br.readLine().split(" ");
String[] surface2 = ... | Main.java:243: error: illegal start of expression
void lookoutDise(){import java.io.BufferedReader;
^
Main.java:243: error: not a statement
void lookoutDise(){import java.io.BufferedReader;
^
Main.java:244: error: illegal start of expression
import jav... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u233376535|p02385|2 | u233376535|p02385|2 | codenet | Compile Error | 12,556 | |
v2_s878420003 | s878420003 | s878420003 | p02385 | p02385 | u329636631 | u329636631 | 1,423,476,458 | 2015-02-09T10:07:38 | Main.java | import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int fst_top = sc.nextInt();
int fst_front = sc.nextInt();
int fst_left = sc.nextInt();
int fst_right = sc.nex... | Main.java:44: error: cannot find symbol
fst_botto m = fst_front;
^
symbol: class fst_botto
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u329636631|p02385|0 | u329636631|p02385|0 | codenet | Compile Error | 1,290 | |
v2_s526364028 | s526364028 | s526364028 | p02385 | p02385 | u438493637 | u438493637 | 1,523,517,949 | 2018-04-12T07:25:49 | Main.java | import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scanner = new Scanner(System.in);
int dice_1[] = new int[6];
int dice_2[] = new int[6];
int pip[] = new int[6];
int count = 0;
int order = 0;
boolean bdice_front = false;
int dice_front = 0;
boolean bdice_up = fa... | Main.java:64: error: variable judge might not have been initialized
if( judge ){
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u438493637|p02385|0 | u438493637|p02385|0 | codenet | Compile Error | 2,704 | |
v2_s457848391 | s457848391 | s457848391 | p02385 | p02385 | u544040886 | u544040886 | 1,528,160,765 | 2018-06-05T01:06:05 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
class qube{
int [] face = new int[6], faces = new int[6];
Integer i,j,dump=0,check = 0;
qube(){
for(i=0;i<6;i++){
face[i]=sc.nextInt();
}
... | Main.java:35: error: cannot find symbol
if(nc == 4){
^
symbol: variable nc
location: class qube
Main.java:37: error: cannot find symbol
ec = 0;
^
symbol: variable ec
location: class qube
Main.java:43: error: cannot find symbol
nc++;
^
symbol: variable nc
location: cl... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u544040886|p02385|2 | u544040886|p02385|2 | codenet | Compile Error | 1,628 | |
v2_s003072406 | s003072406 | s003072406 | p02385 | p02385 | u699160354 | u699160354 | 1,514,613,982 | 2017-12-30T06:06:22 | Main.java | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] num = new int[6];
String[] line = sc.nextLine().solit(" ");
for(int i=0;i<6;i++){
num[i]=Integr.parseInt(line[i]);
}
Dice dice=new Dice(num);
line=sc.nextLine()split(" ");
for(int i=0;... | Main.java:12: error: ';' expected
line=sc.nextLine()split(" ");
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u699160354|p02385|0 | u699160354|p02385|0 | codenet | Compile Error | 2,088 | |
v2_s876863476 | s876863476 | s876863476 | p02385 | p02385 | u699160354 | u699160354 | 1,514,614,009 | 2017-12-30T06:06:49 | Main.java | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] num = new int[6];
String[] line = sc.nextLine().solit(" ");
for(int i=0;i<6;i++){
num[i]=Integr.parseInt(line[i]);
}
Dice dice=new Dice(num);
line=sc.nextLine().split(" ");
for(int i=0... | Main.java:7: error: cannot find symbol
String[] line = sc.nextLine().solit(" ");
^
symbol: method solit(String)
location: class String
Main.java:9: error: cannot find symbol
num[i]=Integr.parseInt(line[i]);
^
symbol: variable Integr
location: class Main
2 errors... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u699160354|p02385|0 | u699160354|p02385|0 | codenet | Compile Error | 2,089 | |
v2_s033735238 | s033735238 | s033735238 | p02385 | p02385 | u734723169 | u734723169 | 1,532,183,700 | 2018-07-21T14:35:00 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] num1 = new int[6];
int[] num2 = new int[6];
for (int i = 0; i < 6; i++) {
num1[i] = sc.nextInt();
}
for (int i = 0; i < 6; i++) {
num2[i] = sc.nextInt();
}
Dice dice... | Main.java:25: error: class Dice is public, should be declared in a file named Dice.java
public class Dice {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u734723169|p02385|1 | u734723169|p02385|1 | codenet | Compile Error | 3,195 | |
v2_s922556447 | s922556447 | s922556447 | p02385 | p02385 | u910402677 | u910402677 | 1,478,927,430 | 2016-11-12T05:10:30 | Main42ocopy.java | import java.util.*;
import Dice.*;
public class Main42ocopy{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
Dice dice1 = new Dice(d);
for(int i = 0; i < 6; i++){
d[i] = ... | Main42ocopy.java:50: error: ']' expected
return _d[side);
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02385|0 | u910402677|p02385|0 | codenet | Compile Error | 2,270 | |
v2_s773758172 | s773758172 | s773758172 | p02385 | p02385 | u910402677 | u910402677 | 1,478,927,508 | 2016-11-12T05:11:48 | Main.java | import java.util.*;
import Dice.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
Dice dice1 = new Dice(d);
for(int i = 0; i < 6; i++){
d[i] = scan.ne... | Main.java:2: error: package Dice does not exist
import Dice.*;
^
Main.java:18: error: cannot find symbol
int numT = dice1._d[TOP];
^
symbol: variable TOP
location: class Main
Main.java:19: error: cannot find symbol
int numS = dice1._d[SOUTH];
^
symbol: va... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02385|0 | u910402677|p02385|0 | codenet | Compile Error | 2,263 | |
v2_s007355317 | s007355317 | s007355317 | p02385 | p02385 | u910402677 | u910402677 | 1,478,927,760 | 2016-11-12T05:16:00 | Main.java | import java.util.*;
import Dice.TOP;
import Dice.NORTH;
import Dice.SOUTH;
import Dice.EAST;
import Dice.WEST;
import Dice.BOTTOM;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
for(int i = 0; i < 6; i++){
d[i] =... | Main.java:2: error: package Dice does not exist
import Dice.TOP;
^
Main.java:3: error: package Dice does not exist
import Dice.NORTH;
^
Main.java:4: error: package Dice does not exist
import Dice.SOUTH;
^
Main.java:5: error: package Dice does not exist
import Dice.EAST;
^
Mai... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02385|0 | u910402677|p02385|0 | codenet | Compile Error | 2,359 | |
v2_s503642509 | s503642509 | s503642509 | p02385 | p02385 | u910402677 | u910402677 | 1,478,928,342 | 2016-11-12T05:25:42 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
Dice dice1 = new Dice(d);
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
... | Main.java:17: error: cannot find symbol
int numT = dice1._d[TOP];
^
symbol: variable TOP
location: class Main
Main.java:18: error: cannot find symbol
int numS = dice1._d[SOUTH];
^
symbol: variable SOUTH
location: class Main
Main.java:22: error: cannot find sym... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02385|0 | u910402677|p02385|0 | codenet | Compile Error | 2,288 | |
v2_s884899471 | s884899471 | s884899471 | p02385 | p02385 | u910402677 | u910402677 | 1,478,928,390 | 2016-11-12T05:26:30 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
Dice dice1 = new Dice(d);
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
... | Main.java:17: error: cannot find symbol
int numT = dice1._d[dice.TOP];
^
symbol: variable dice
location: class Main
Main.java:18: error: cannot find symbol
int numS = dice1._d[dice.SOUTH];
^
symbol: variable dice
location: class Main
Main.java:22: error: canno... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02385|0 | u910402677|p02385|0 | codenet | Compile Error | 2,298 | |
v2_s624027666 | s624027666 | s624027666 | p02385 | p02385 | u910402677 | u910402677 | 1,478,935,216 | 2016-11-12T07:20:16 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
char[] c = { 'E', 'E', 'E', 'N', 'N', 'N' };
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
Dice dice1 = new Dice(d);
for(int i = 0... | Main.java:21: error: cannot find symbol
roll(cc);
^
symbol: method roll(char)
location: class Main
Main.java:22: error: cannot find symbol
if(Array.equals(dice1._d, dice2._d)){
^
symbol: variable Array
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02385|0 | u910402677|p02385|0 | codenet | Compile Error | 2,167 | |
v2_s227666359 | s227666359 | s227666359 | p02385 | p02385 | u910402677 | u910402677 | 1,478,935,382 | 2016-11-12T07:23:02 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
char[] c = { 'E', 'E', 'E', 'N', 'N', 'N' };
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
Dice dice1 = new Dice(d);
for(int i = 0... | Main.java:22: error: cannot find symbol
if(Array.equals(dice1._d, dice2._d)){
^
symbol: variable Array
location: class Main
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02385|0 | u910402677|p02385|0 | codenet | Compile Error | 2,173 | |
v2_s606950544 | s606950544 | s606950544 | p02385 | p02385 | u910402677 | u910402677 | 1,478,938,203 | 2016-11-12T08:10:03 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
Dice dice1 = new Dice(d);
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
... | Main.java:22: error: cannot find symbol
if(flag == true)break;
^
symbol: variable flag
location: class Main
Main.java:24: error: cannot find symbol
flag = Arrays.equals(dice1._d, dice2._d);
^
symbol: variable flag
location: class Main
Main.java:29: error: cannot find symbol
System.out.p... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02385|0 | u910402677|p02385|0 | codenet | Compile Error | 1,826 | |
v2_s319768221 | s319768221 | s319768221 | p02385 | p02385 | u910402677 | u910402677 | 1,478,939,092 | 2016-11-12T08:24:52 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
Dice dice1 = new Dice(d);
for(int i = 0; i < 6; i++){
d[i] = scan.nextInt();
}
... | Main.java:34: error: cannot find symbol
dice2.rollRigth();
^
symbol: method rollRigth()
location: variable dice2 of type Dice
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02385|0 | u910402677|p02385|0 | codenet | Compile Error | 2,052 | |
v2_s561235444 | s561235444 | s561235444 | p02385 | p02385 | u914097127 | u914097127 | 1,469,078,441 | 2016-07-21T05:20:41 | Program.java | using System;
public class Program
{
/// <summary>
/// ????????°????????¨?????????????????????
/// </summary>
public static void Main()
{
//????????????????????\???????????????
string[] aryStrDice1 = Console.ReadLine().Split(' ');
//????????????????????\???????????????
... | Program.java:1: error: unnamed classes are a preview feature and are disabled by default.
using System;
^
(use --enable-preview to enable unnamed classes)
Program.java:46: error: class expected
aryIntDice1[i] = int.Parse(aryStrDice1[i]);
^
Program.java:46: error: ';' expec... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u914097127|p02385|0 | u914097127|p02385|0 | codenet | Compile Error | 4,885 | |
v2_s742447426 | s742447426 | s742447426 | p02385 | p02385 | u982119852 | u982119852 | 1,480,048,790 | 2016-11-25T04:39:50 | Main.java |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
/*
* ????§?????????????????????\???????????????????????§???????????????????????°??£?§£
*
* ??????Arraylist???Collections.sort//Error
*
* ??????????¶?????´???¨??????????????????
*/
Scanner sc = new Scanner(... | Main.java:23: error: cannot find symbol
int[] diceNum1 = new int[Diceclass.DICEDESIGN];
^
symbol: variable Diceclass
location: class Main
Main.java:24: error: cannot find symbol
int[] diceNum2 = new int[Diceclass.DICEDESIGN];
^
symbol: variable Dicecla... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u982119852|p02385|1 | u982119852|p02385|0 | codenet | Compile Error | 6,948 | |
v2_s584978385 | s584978385 | s584978385 | p02385 | p02385 | u982119852 | u982119852 | 1,480,049,436 | 2016-11-25T04:50:36 | Main.java |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
/*
* ????§?????????????????????\???????????????????????§???????????????????????°??£?§£
*
* ??????Arraylist???Collections.sort//Error
*
* ??????????¶?????´???¨??????????????????
*/
Scanner sc = new Scanner(... | Main.java:23: error: cannot find symbol
int[] diceNum1 = new int[Diceclass.DICEDESIGN];
^
symbol: variable Diceclass
location: class Main
Main.java:24: error: cannot find symbol
int[] diceNum2 = new int[Diceclass.DICEDESIGN];
^
symbol: variable Dicecla... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u982119852|p02385|1 | u982119852|p02385|0 | codenet | Compile Error | 6,944 | |
v2_s209102369 | s209102369 | s209102369 | p02385 | p02385 | u982119852 | u982119852 | 1,480,049,537 | 2016-11-25T04:52:17 | Main.java |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
/*
* ????§?????????????????????\???????????????????????§???????????????????????°??£?§£
*
* ??????Arraylist???Collections.sort//Error
*
* ??????????¶?????´???¨??????????????????
*/
Scanner sc = new Scanner(... | Main.java:23: error: cannot find symbol
int[] diceNum1 = new int[Diceclass.DICEDESIGN];
^
symbol: variable Diceclass
location: class Main
Main.java:24: error: cannot find symbol
int[] diceNum2 = new int[Diceclass.DICEDESIGN];
^
symbol: variable Dicecla... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u982119852|p02385|1 | u982119852|p02385|0 | codenet | Compile Error | 6,944 | |
v2_s222247396 | s222247396 | s222247396 | p02385 | p02385 | u982119852 | u982119852 | 1,480,293,567 | 2016-11-28T00:39:27 | DiceTest.java | package ObjPart;
import java.util.Scanner;
public class DiceTest {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// input info
String [] tmpDice1 = sc.nextLine().split(" ");
String [] tmpDice2 = sc.nextLine().split(" ");
int[] diceNum1 = new int[DiceWorld.DICEDESIGN];
... | DiceTest.java:207: error: cannot find symbol
public boolean equals(Dice another){
^
symbol: class Dice
location: class DiceWorld
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u982119852|p02385|2 | u982119852|p02385|1 | codenet | Compile Error | 5,115 | |
v2_s866429860 | s866429860 | s866429860 | p02385 | p02385 | u982119852 | u982119852 | 1,480,293,580 | 2016-11-28T00:39:40 | Main.java |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// input info
String [] tmpDice1 = sc.nextLine().split(" ");
String [] tmpDice2 = sc.nextLine().split(" ");
int[] diceNum1 = new int[DiceWorld.DICEDESIGN];
int[] diceNum2 = new ... | Main.java:207: error: cannot find symbol
public boolean equals(Dice another){
^
symbol: class Dice
location: class DiceWorld
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u982119852|p02385|2 | u982119852|p02385|1 | codenet | Compile Error | 5,094 | |
v2_s954470100 | s954470100 | s954470100 | p02385 | p02385 | u982119852 | u982119852 | 1,480,293,604 | 2016-11-28T00:40:04 | Main.java |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// input info
String [] tmpDice1 = sc.nextLine().split(" ");
String [] tmpDice2 = sc.nextLine().split(" ");
int[] diceNum1 = new int[6];
int[] diceNum2 = new int[6];
for (int... | Main.java:207: error: cannot find symbol
public boolean equals(Dice another){
^
symbol: class Dice
location: class DiceWorld
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u982119852|p02385|2 | u982119852|p02385|1 | codenet | Compile Error | 5,056 | |
v2_s602955925 | s602955925 | s602955925 | p02386 | p02386 | u104169194 | u104169194 | 1,459,917,442 | 2016-04-06T04:37:22 | Main.java | mport java.util.Scanner;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
Dice dice = new Dice(sc, x);
if(check(dice)){
System.out.println("No");
}else{
Sy... | Main.java:1: error: class, interface, enum, or record expected
mport java.util.Scanner;
^
Main.java:2: error: class, interface, enum, or record expected
import java.util.Arrays;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u104169194|p02386|0 | u104169194|p02386|0 | codenet | Compile Error | 2,502 | |
v2_s855037236 | s855037236 | s855037236 | p02386 | p02386 | u206778360 | u206778360 | 1,491,815,603 | 2017-04-10T09:13:23 | Main.java | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
Dice[] dice;
int dice_num = scan.nextInt();
dice = new Dice[dice_num];
for(int i = 0; i < dice_num; i++){
dice[i] = new Dice();
}
for(i... | Main.java:6: error: cannot find symbol
Dice[] dice;
^
symbol: class Dice
location: class Main
Main.java:9: error: cannot find symbol
dice = new Dice[dice_num];
^
symbol: class Dice
location: class Main
Main.java:12: error: cannot find symbol
dice[i] = new Dice();
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u206778360|p02386|0 | u206778360|p02386|0 | codenet | Compile Error | 1,508 | |
v2_s832284468 | s832284468 | s832284468 | p02386 | p02386 | u206778360 | u206778360 | 1,491,817,583 | 2017-04-10T09:46:23 | Main.java | public static void main(String[] args){
Scanner scan = new Scanner(System.in);
Dice[] dice;
int dice_num = scan.nextInt();
dice = new Dice[dice_num];
for(int i = 0; i < dice_num; i++){
dice[i] = new Dice();
}
for(int i = 0; i < dice_num; i++){
for(int j =... | Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args){
^
(use --enable-preview to enable unnamed classes)
Main.java:48: error: class, interface, enum, or record expected
}
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u206778360|p02386|0 | u206778360|p02386|0 | codenet | Compile Error | 1,564 | |
v2_s642965435 | s642965435 | s642965435 | p02386 | p02386 | u206778360 | u206778360 | 1,492,769,496 | 2017-04-21T10:11:36 | Main.java | import java.util.Scanner;
import java.util.Arrays;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
Dice[] dice;
int dice_num = scan.nextInt();
dice = new Dice[dice_num];
for(int i = 0; i < dice_num; i++){
dice[i] = new Dice();
}
... | Main.java:18: error: cannot find symbol
dice[i].S[j] = scan.nextInt();
^
symbol: variable S
location: class Dice
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u206778360|p02386|2 | u206778360|p02386|2 | codenet | Compile Error | 1,323 | |
v2_s495517889 | s495517889 | s495517889 | p02386 | p02386 | u233376535 | u233376535 | 1,491,791,060 | 2017-04-10T02:24:20 | Main.java |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String args[]) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt( br.readLine() );
Dise[] dise = new Di... | Main.java:125: error: class, interface, enum, or record expected
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u233376535|p02386|0 | u233376535|p02386|0 | codenet | Compile Error | 4,740 | |
v2_s547685200 | s547685200 | s547685200 | p02386 | p02386 | u233376535 | u233376535 | 1,492,587,002 | 2017-04-19T07:30:02 | Main.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String args[]) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt( br.readLine() );
Dise[] dise = new ... | Main.java:70: error: cannot find symbol
dise1.RegulateDiceLeft( dise1.surface[i] );//?????????????????????????????????????????????????????????
^
symbol: method RegulateDiceLeft(int)
location: variable dise1 of type Dise
Main.java:71: error: cannot find symbol
dise... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u233376535|p02386|1 | u233376535|p02386|1 | codenet | Compile Error | 5,528 | |
v2_s448989750 | s448989750 | s448989750 | p02386 | p02386 | u233376535 | u233376535 | 1,492,587,087 | 2017-04-19T07:31:27 | Main.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String args[]) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt( br.readLine() );
Dise[] dise = new ... | Main.java:70: error: cannot find symbol
dise1.RegulateDiceLeft( dise1.surface[i] );//?????????????????????????????????????????????????????????
^
symbol: method RegulateDiceLeft(int)
location: variable dise1 of type Dise
Main.java:71: error: cannot find symbol
dise... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u233376535|p02386|1 | u233376535|p02386|1 | codenet | Compile Error | 5,528 | |
v2_s322988041 | s322988041 | s322988041 | p02386 | p02386 | u278498480 | u278498480 | 1,516,769,008 | 2018-01-24T04:43:28 | Main.java | import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int count = sc.nextInt(); Dice[] dices = new Dice[count]; for (int i = 0; i < count; i++) { dices[i] = new Dice(new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt(), sc.next... | Main.java:1: error: reached end of file while parsing
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int count = sc.nextInt(); Dice[] dices = new Dice[count]; for (int i = 0; i < count; i++) { dices[i] = new Dice(new i... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u278498480|p02386|0 | u278498480|p02386|0 | codenet | Compile Error | 2,307 | |
v2_s658425957 | s658425957 | s658425957 | p02386 | p02386 | u278498480 | u278498480 | 1,516,769,130 | 2018-01-24T04:45:30 | Main.java | mport java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int Number= Integer.parseInt(sc.next()); Dice[] dice = new Dice[Number]; boolean bool=true; for(int cnt=0;cnt<Number;cnt++){ int[] N=new int[6]; for(int i=0;i<6;i++)N[i]=Integer.parseInt(sc.next()); dice[c... | Main.java:1: error: class, interface, enum, or record expected
mport java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int Number= Integer.parseInt(sc.next()); Dice[] dice = new Dice[Number]; boolean bool=true; for(int cnt=0;cnt<Number;cnt++){ int[] N=new int[6... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u278498480|p02386|0 | u278498480|p02386|0 | codenet | Compile Error | 1,749 | |
v2_s691516175 | s691516175 | s691516175 | p02386 | p02386 | u278498480 | u278498480 | 1,516,769,151 | 2018-01-24T04:45:51 | Main.java | import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int Number= Integer.parseInt(sc.next()); Dice[] dice = new Dice[Number]; boolean bool=true; for(int cnt=0;cnt<Number;cnt++){ int[] N=new int[6]; for(int i=0;i<6;i++)N[i]=Integer.parseInt(sc.next()); dice[... | Main.java:1: error: reached end of file while parsing
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int Number= Integer.parseInt(sc.next()); Dice[] dice = new Dice[Number]; boolean bool=true; for(int cnt=0;cnt<Number;cnt++){ int[] N=new int[6]; for(i... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u278498480|p02386|0 | u278498480|p02386|0 | codenet | Compile Error | 1,750 | |
v2_s880713260 | s880713260 | s880713260 | p02386 | p02386 | u313904058 | u313904058 | 1,523,209,596 | 2018-04-08T17:46:36 | Main.java | #include<iostream>
using namespace std;
class DICE {
enum {
Top,
Front,
Right,
Left,
Rear,
Bottom
};
void Roll(const char*Directions) {
for (int i = 0; Directions[i] != '\0'; i++) {
Roll(Directions[i]);
}
}
void Ro... | Main.java:1: error: illegal character: '#'
#include<iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include<iostream>
^
Main.java:7: error: <identifier> expected
enum {
^
Main.java:16: error: illegal start of type
void Roll(const char*Directions) {
^
Mai... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u313904058|p02386|0 | u313904058|p02386|0 | codenet | Compile Error | 2,409 | |
v2_s355323452 | s355323452 | s355323452 | p02386 | p02386 | u338092584 | u338092584 | 1,464,857,032 | 2016-06-02T08:43:52 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int[][] dice,tmp_dice2;
int[] tmp_dice;
dice = new int[100][10];
tmp_dice2 = new int[100][10];
tmp_dice = new int[10];
int i,m,k;
int n = scan.nextInt();
for(i = 0; i < n; i... | Main.java:117: error: illegal start of statement
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u338092584|p02386|0 | u338092584|p02386|0 | codenet | Compile Error | 3,962 | |
v2_s502682760 | s502682760 | s502682760 | p02386 | p02386 | u368094905 | u368094905 | 1,556,239,620 | 2019-04-26T00:47:00 | Main.java |
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
Dice3 di3 = new Dice3(); //Dice3のインスタンス
int n = scan.nextInt(); //回数n
int[] dice1 = new int[6]; //dice1作成
for(int i=0; i<6; i++) {
dice1[i] = scan.nextInt();
}
int[] answer2 = new int[6]; //確認... | Main.java:6: error: cannot find symbol
Scanner scan = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:6: error: cannot find symbol
Scanner scan = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:32: error: cannot find sy... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u368094905|p02386|0 | u368094905|p02386|0 | codenet | Compile Error | 2,350 | |
v2_s040194042 | s040194042 | s040194042 | p02386 | p02386 | u368094905 | u368094905 | 1,556,239,637 | 2019-04-26T00:47:17 | Main.java | import java.util.*
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
Dice3 di3 = new Dice3(); //Dice3のインスタンス
int n = scan.nextInt(); //回数n
int[] dice1 = new int[6]; //dice1作成
for(int i=0; i<6; i++) {
dice1[i] = scan.nextInt();
}
int[] answer2 ... | Main.java:1: error: ';' expected
import java.util.*
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u368094905|p02386|0 | u368094905|p02386|0 | codenet | Compile Error | 2,369 | |
v2_s018895038 | s018895038 | s018895038 | p02386 | p02386 | u408847429 | u408847429 | 1,510,797,965 | 2017-11-16T02:06:05 | Main.java | public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
// ????????????????????°?????\???
int diceCount = in.nextInt();
// ???????????????????????????????´???????
int[] diceArray = new int[6];
// ???????????§??????????????????????????????????´????????????????
... | Main.java:59: error: reached end of file while parsing
System.out.println(diceMatch ? "No" : "Yes");
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408847429|p02386|0 | u408847429|p02386|0 | codenet | Compile Error | 1,446 | |
v2_s810918421 | s810918421 | s810918421 | p02386 | p02386 | u408847429 | u408847429 | 1,510,797,998 | 2017-11-16T02:06:38 | Main.java | public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
// ????????????????????°?????\???
int diceCount = in.nextInt();
// ???????????????????????????????´???????
int[] diceArray = new int[6];
// ???????????§??????????????????????????????????´????????????????
... | Main.java:212: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408847429|p02386|0 | u408847429|p02386|0 | codenet | Compile Error | 4,066 | |
v2_s572743019 | s572743019 | s572743019 | p02386 | p02386 | u408847429 | u408847429 | 1,510,798,041 | 2017-11-16T02:07:21 | Main.java | public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
// ????????????????????°?????\???
int diceCount = in.nextInt();
// ???????????????????????????????´???????
int[] diceArray = new int[6];
// ???????????§??????????????????????????????????´????????????????
... | Main.java:212: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408847429|p02386|0 | u408847429|p02386|0 | codenet | Compile Error | 4,066 | |
v2_s733016829 | s733016829 | s733016829 | p02386 | p02386 | u408847429 | u408847429 | 1,510,798,292 | 2017-11-16T02:11:32 | Main.java | package practice;
import java.util.ArrayList;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
// ????????????????????°?????\???
int diceCount = in.nextInt();
// ???????????????????????????????´???????
int[] diceArray = new int[6]... | Main.java:219: error: class, interface, enum, or record expected
package practice;
^
Main.java:221: error: class, interface, enum, or record expected
import java.util.ArrayList;
^
Main.java:222: error: class, interface, enum, or record expected
import java.util.Scanner;
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408847429|p02386|0 | u408847429|p02386|0 | codenet | Compile Error | 8,283 | |
v2_s718720484 | s718720484 | s718720484 | p02386 | p02386 | u408847429 | u408847429 | 1,510,798,310 | 2017-11-16T02:11:50 | Main.java | package practice;
import java.util.ArrayList;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
// ????????????????????°?????\???
int diceCount = in.nextInt();
// ???????????????????????????????´???????
int[] diceArray = new int[6]... | Main.java:219: error: class, interface, enum, or record expected
package practice;
^
Main.java:221: error: class, interface, enum, or record expected
import java.util.ArrayList;
^
Main.java:222: error: class, interface, enum, or record expected
import java.util.Scanner;
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408847429|p02386|0 | u408847429|p02386|0 | codenet | Compile Error | 8,283 | |
v2_s972385369 | s972385369 | s972385369 | p02386 | p02386 | u408847429 | u408847429 | 1,510,798,729 | 2017-11-16T02:18:49 | Main.java | mport java.util.ArrayList;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
// ????????????????????°?????\???
int diceCount = in.nextInt();
// ???????????????????????????????´???????
int[] diceArray = new int[6];
// ???????????§?... | Main.java:1: error: class, interface, enum, or record expected
mport java.util.ArrayList;
^
Main.java:2: error: class, interface, enum, or record expected
import java.util.Scanner;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u408847429|p02386|0 | u408847429|p02386|0 | codenet | Compile Error | 4,121 | |
v2_s073412976 | s073412976 | s073412976 | p02386 | p02386 | u699160354 | u699160354 | 1,514,615,626 | 2017-12-30T06:33:46 | Main.java | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] num = new int[6];
int n =Integer.parseInt(sc.nextLine());
Dice[] dice = new Dice[n];
boolean flag=true;
for(int i=0;i<n;i++){
String[] line = sc.nextLine().split(" ");
for(int j=0;j<... | Main.java:25: error: cannot find symbol
dice.moveN();
^
symbol: method moveN()
location: variable dice of type Dice[]
Main.java:27: error: cannot find symbol
dice.moveN();
^
symbol: method moveN()
location: variable dice of type Dice[]
Main.java:28: error: cannot find symbol
dice... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u699160354|p02386|0 | u699160354|p02386|0 | codenet | Compile Error | 2,253 | |
v2_s323902770 | s323902770 | s323902770 | p02386 | p02386 | u699160354 | u699160354 | 1,514,616,025 | 2017-12-30T06:40:25 | Main.java | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] num = new int[6];
int n =Integer.parseInt(sc.nextLine());
Dice[] dice = new Dice[n];
boolean flag=true;
for(int i=0;i<n;i++){
String[] line = sc.nextLine().split(" ");
for(int j=0;j<... | Main.java:135: error: reached end of file while parsing
}
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u699160354|p02386|0 | u699160354|p02386|0 | codenet | Compile Error | 2,314 | |
v2_s347916375 | s347916375 | s347916375 | p02386 | p02386 | u699160354 | u699160354 | 1,514,616,184 | 2017-12-30T06:43:04 | Main.java | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] num = new int[6];
int n =Integer.parseInt(sc.nextLine());
Dice[] dice = new Dice[n];
boolean flag=true;
for(int i=0;i<n;i++){
String[] line = sc.nextLine().split(" ");
for(int j=0;j<... | Main.java:73: error: cannot find symbol
lavel1=i[j];
^
symbol: variable j
location: class Dice
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u699160354|p02386|0 | u699160354|p02386|0 | codenet | Compile Error | 2,350 | |
v2_s639775801 | s639775801 | s639775801 | p02386 | p02386 | u699160354 | u699160354 | 1,514,807,744 | 2018-01-01T11:55:44 | Main.java | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] num = new int[6];
int n =Integer.parseInt(sc.nextLine());
Dice[] dice = new Dice[n];
boolean flag=true;
for(int i=0;i<n;i++){
String[] line = sc.nextLine().split(" ");
for(int... | Main.java:64: error: '.class' expected
if(int l=0;l<3;l++){
^
Main.java:64: error: illegal start of type
if(int l=0;l<3;l++){
^
Main.java:64: error: not a statement
if(int l=0;l<3;l++){
^
Main.java:64: error: ';' expected
if(int l=0;l<3;l++){
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u699160354|p02386|1 | u699160354|p02386|1 | codenet | Compile Error | 2,761 | |
v2_s268149151 | s268149151 | s268149151 | p02386 | p02386 | u699160354 | u699160354 | 1,514,807,872 | 2018-01-01T11:57:52 | Main.java | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] num = new int[6];
int n =Integer.parseInt(sc.nextLine());
Dice[] dice = new Dice[n];
boolean flag=true;
for(int i=0;i<n;i++){
String[] line = sc.nextLine().split(" ");
for(int... | Main.java:59: error: incompatible types: int[] cannot be converted to int
m[l]=exNumSet[set[l]-1];
^
Main.java:61: error: incompatible types: int[] cannot be converted to int
m[l]=exNumSet[set[l]*(-1)-1];
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u699160354|p02386|1 | u699160354|p02386|1 | codenet | Compile Error | 2,762 | |
v2_s893469710 | s893469710 | s893469710 | p02386 | p02386 | u829397054 | u829397054 | 1,496,133,775 | 2017-05-30T08:42:55 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int loop;
String output = "Yes";
Scanner sc = null;
try {
sc = new Scanner(System.in);
String line = sc.next();
loop = Integer.parseInt(line);
line = sc.nextLine();
//?????????????????????
int[][] dice... | Main.java:116: error: cannot find symbol
if (!Arrays.equals(diceOne, diceTwo)) {
^
symbol: variable Arrays
location: class Dice
Main.java:123: error: cannot find symbol
if (Arrays.equals(diceOne, diceTwo)) {
^
symbol: variable Arrays
location: class Dice
Main.java:135: error: ca... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u829397054|p02386|0 | u829397054|p02386|0 | codenet | Compile Error | 2,579 | |
v2_s168251936 | s168251936 | s168251936 | p02386 | p02386 | u829397054 | u829397054 | 1,496,133,846 | 2017-05-30T08:44:06 | ITP1_11_D.java | import java.util.Scanner;
public class ITP1_11_D {
public static void main(String[] args) {
int loop;
String output = "Yes";
Scanner sc = null;
try {
sc = new Scanner(System.in);
String line = sc.next();
loop = Integer.parseInt(line);
line = sc.nextLine();
//?????????????????????
int[][]... | ITP1_11_D.java:116: error: cannot find symbol
if (!Arrays.equals(diceOne, diceTwo)) {
^
symbol: variable Arrays
location: class Dice
ITP1_11_D.java:123: error: cannot find symbol
if (Arrays.equals(diceOne, diceTwo)) {
^
symbol: variable Arrays
location: class Dice
ITP1_11_D.java... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u829397054|p02386|0 | u829397054|p02386|0 | codenet | Compile Error | 2,584 | |
v2_s663897882 | s663897882 | s663897882 | p02386 | p02386 | u852983054 | u852983054 | 1,432,126,382 | 2015-05-20T12:53:02 | Main.java | import java.util.Arrays;
import java.util.Scanner;
public class Main {
static String str;
static Scanner scan = new Scanner(System.in);
public static void main(String[] args) {
int n = Integer.parseInt(scan.nextLine());
//???????????????????????°???dice???????´?
str = scan.nextLine();
String[] dice1 = str.s... | Main.java:17: error: variable i is already defined in method main(String[])
for (int i = 0; i < n-2; i++) {
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u852983054|p02386|0 | u852983054|p02386|0 | codenet | Compile Error | 2,871 | |
v2_s819614861 | s819614861 | s819614861 | p02386 | p02386 | u902869273 | u902869273 | 1,523,248,455 | 2018-04-09T04:34:15 | Main.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static final int BIG_NUM = 2000000000;
public static final int MOD = 1000000007;
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new Input... | Main.java:128: error: class, interface, enum, or record expected
Compile Error Logs:
^
Main.java:133: error: illegal character: '#'
Case # Verdict CPU Time Memory In Out Case Name
^
Main.java:134: error: illegal character: '#'
Case #1 : Accepted 00:04 24276 38 3 00_sample_00.in
^
Main.java:134: error: illegal... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u902869273|p02386|0 | u902869273|p02386|0 | codenet | Compile Error | 4,681 | |
v2_s816201522 | s816201522 | s816201522 | p02386 | p02386 | u910402677 | u910402677 | 1,479,009,741 | 2016-11-13T04:02:21 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] ... | Main.java:16: error: cannot find symbol
Dice[i]._d[j] = d[j];
^
symbol: variable Dice
location: class Main
Main.java:22: error: non-static variable flag cannot be referenced from a static context
flag = checkSameDice(Dice[j], Dice[i]);
^
Main.java:22: error: cannot find symbol
flag = checkSame... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|0 | u910402677|p02386|0 | codenet | Compile Error | 2,041 | |
v2_s992820620 | s992820620 | s992820620 | p02386 | p02386 | u910402677 | u910402677 | 1,479,009,893 | 2016-11-13T04:04:53 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
static boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
... | Main.java:16: error: cannot find symbol
Dice[i]._d[j] = d[j];
^
symbol: variable Dice
location: class Main
Main.java:22: error: cannot find symbol
flag = checkSameDice(Dice[j], Dice[i]);
^
symbol: variable Dice
location: class Main
Main.java:22: error: cannot find symbol... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|0 | u910402677|p02386|0 | codenet | Compile Error | 2,048 | |
v2_s815493046 | s815493046 | s815493046 | p02386 | p02386 | u910402677 | u910402677 | 1,479,010,005 | 2016-11-13T04:06:45 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
static boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
... | Main.java:16: error: cannot find symbol
Dice[i]._d[j] = d[j];
^
symbol: variable Dice
location: class Main
Main.java:22: error: cannot find symbol
flag = checkSameDice(Dice[j], Dice[j - 1]);
^
symbol: variable Dice
location: class Main
Main.java:22: error: cannot find sy... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|0 | u910402677|p02386|0 | codenet | Compile Error | 2,052 | |
v2_s000547014 | s000547014 | s000547014 | p02386 | p02386 | u910402677 | u910402677 | 1,479,012,866 | 2016-11-13T04:54:26 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
static boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
... | Main.java:17: error: cannot find symbol
Dice[i] = new Dice(d);
^
symbol: variable Dice
location: class Main
Main.java:22: error: cannot find symbol
flag = checkSameDice(Dice[j], Dice[j - 1]);
^
symbol: variable Dice
location: class Main
Main.java:22: error: cannot find sym... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|0 | u910402677|p02386|0 | codenet | Compile Error | 2,052 | |
v2_s317771622 | s317771622 | s317771622 | p02386 | p02386 | u910402677 | u910402677 | 1,479,013,316 | 2016-11-13T05:01:56 | Main.java | public class Main{
private static final Scanner scan = new Scanner(System.in);
static boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt... | Main.java:2: error: cannot find symbol
private static final Scanner scan = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:2: error: cannot find symbol
private static final Scanner scan = new Scanner(System.in);
^
sy... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|0 | u910402677|p02386|0 | codenet | Compile Error | 2,032 | |
v2_s294267486 | s294267486 | s294267486 | p02386 | p02386 | u910402677 | u910402677 | 1,479,013,349 | 2016-11-13T05:02:29 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
static boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
... | Main.java:22: error: cannot find symbol
flag = checkSameDice(Dice[j], Dice[j - 1]);
^
symbol: variable Dice
location: class Main
Main.java:22: error: cannot find symbol
flag = checkSameDice(Dice[j], Dice[j - 1]);
^
symbol: variable Dice
loca... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|0 | u910402677|p02386|0 | codenet | Compile Error | 2,053 | |
v2_s149101848 | s149101848 | s149101848 | p02386 | p02386 | u910402677 | u910402677 | 1,479,013,633 | 2016-11-13T05:07:13 | Main6.java | import java.util.*;
public class Main6{
private static final Scanner scan = new Scanner(System.in);
static boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
... | Main6.java:21: error: illegal start of type
for(int i = 0; i < n - 1; i++){
^
Main6.java:21: error: > or ',' expected
for(int i = 0; i < n - 1; i++){
^
Main6.java:21: error: <identifier> expected
for(int i = 0; i < n - 1; i++){
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|0 | u910402677|p02386|0 | codenet | Compile Error | 2,869 | |
v2_s193050766 | s193050766 | s193050766 | p02386 | p02386 | u910402677 | u910402677 | 1,479,013,746 | 2016-11-13T05:09:06 | Main6.java | import java.util.*;
public class Main6{
private static final Scanner scan = new Scanner(System.in);
static boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
... | Main6.java:51: error: unnamed classes are a preview feature and are disabled by default.
public static boolean checkSameDice(Dice diceA, Dice diceB){
^
(use --enable-preview to enable unnamed classes)
Main6.java:70: error: class, interface, enum, or record expected
}
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|0 | u910402677|p02386|0 | codenet | Compile Error | 2,855 | |
v2_s058273319 | s058273319 | s058273319 | p02386 | p02386 | u910402677 | u910402677 | 1,479,014,123 | 2016-11-13T05:15:23 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
static boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
... | Main.java:22: error: cannot find symbol
flag = checkSameDice(Dice[j], Dice[j - 1]);
^
symbol: variable Dice
location: class Main
Main.java:22: error: cannot find symbol
flag = checkSameDice(Dice[j], Dice[j - 1]);
^
symbol: variable Dice
loca... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|0 | u910402677|p02386|0 | codenet | Compile Error | 2,053 | |
v2_s673436939 | s673436939 | s673436939 | p02386 | p02386 | u910402677 | u910402677 | 1,479,022,259 | 2016-11-13T07:30:59 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
static boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
... | Main.java:36: error: cannot find symbol
if(rigthtCheck(diceA, diceB) == true)return true;
^
symbol: method rigthtCheck(Dice,Dice)
location: class Main
Main.java:45: error: cannot find symbol
dice2.rollRigth();
^
symbol: method rollRigth()
location: variable dice2 of type Dice
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|0 | u910402677|p02386|0 | codenet | Compile Error | 2,058 | |
v2_s013969927 | s013969927 | s013969927 | p02386 | p02386 | u910402677 | u910402677 | 1,479,022,994 | 2016-11-13T07:43:14 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
static boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
... | Main.java:45: error: cannot find symbol
dice2.rollRigtht();
^
symbol: method rollRigtht()
location: variable dice2 of type Dice
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|0 | u910402677|p02386|0 | codenet | Compile Error | 2,061 | |
v2_s245944822 | s245944822 | s245944822 | p02386 | p02386 | u910402677 | u910402677 | 1,479,115,866 | 2016-11-14T09:31:06 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
static boolean flag = false;
public static void main(String[] args){
int n = scan.nextInt();
int[] d = new int[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n ; i++){
for(int j = 0; j < 6; j++)... | Main.java:44: error: incompatible types: Object[] cannot be converted to int[]
if(obj instanceof int[]){
^
Main.java:45: error: incompatible types: Object[] cannot be converted to int[]
int[] d = (int[]) obj;
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|1 | u910402677|p02386|1 | codenet | Compile Error | 2,265 | |
v2_s702774947 | s702774947 | s702774947 | p02386 | p02386 | u910402677 | u910402677 | 1,479,127,038 | 2016-11-14T12:37:18 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int n = scan.nextInt();
Integer[] d = new Integer[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt();... | Main.java:37: error: <identifier> expected
TOP = 0, SOUTH = 1; EAST = 2,
^
Main.java:38: error: <identifier> expected
WEST = 3, NORTH = 4; BOTTOM = 5; // ??????
^
Main.java:72: error: ';' expected
dice.rollRigth()
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|1 | u910402677|p02386|1 | codenet | Compile Error | 2,171 | |
v2_s901138948 | s901138948 | s901138948 | p02386 | p02386 | u910402677 | u910402677 | 1,479,127,104 | 2016-11-14T12:38:24 | Dice4bc.java | import java.util.*;
public class Dice4bc{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int n = scan.nextInt();
Integer[] d = new Integer[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt... | Dice4bc.java:37: error: <identifier> expected
TOP = 0, SOUTH = 1; EAST = 2,
^
Dice4bc.java:38: error: <identifier> expected
WEST = 3, NORTH = 4; BOTTOM = 5; // ??????
^
Dice4bc.java:72: error: ';' expected
dice.rollRigth()
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|1 | u910402677|p02386|1 | codenet | Compile Error | 2,166 | |
v2_s920440820 | s920440820 | s920440820 | p02386 | p02386 | u910402677 | u910402677 | 1,479,127,249 | 2016-11-14T12:40:49 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int n = scan.nextInt();
Integer[] d = new Integer[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt();... | Main.java:37: error: <identifier> expected
TOP = 0, SOUTH = 1; EAST = 2,
^
Main.java:38: error: <identifier> expected
WEST = 3, NORTH = 4; BOTTOM = 5; // ??????
^
Main.java:40: error: ';' expected
public Dice(Object... obj)
^
Main.ja... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|1 | u910402677|p02386|1 | codenet | Compile Error | 2,195 | |
v2_s126839903 | s126839903 | s126839903 | p02386 | p02386 | u910402677 | u910402677 | 1,479,127,298 | 2016-11-14T12:41:38 | Dice4bc.java | import java.util.*;
public class Dice4bc{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int n = scan.nextInt();
Integer[] d = new Integer[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt... | Dice4bc.java:37: error: <identifier> expected
TOP = 0, SOUTH = 1; EAST = 2,
^
Dice4bc.java:38: error: <identifier> expected
WEST = 3, NORTH = 4; BOTTOM = 5; // ??????
^
Dice4bc.java:50: error: illegal start of expression
public int[] showAll(){
^
Dice4bc.java... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|1 | u910402677|p02386|1 | codenet | Compile Error | 2,199 | |
v2_s196494222 | s196494222 | s196494222 | p02386 | p02386 | u910402677 | u910402677 | 1,479,127,427 | 2016-11-14T12:43: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 n = scan.nextInt();
Integer[] d = new Integer[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt();... | Main.java:37: error: <identifier> expected
TOP = 0, SOUTH = 1; EAST = 2,
^
Main.java:38: error: <identifier> expected
WEST = 3, NORTH = 4; BOTTOM = 5; // ??????
^
Main.java:72: error: ';' expected
dice.rollRigth()
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|1 | u910402677|p02386|1 | codenet | Compile Error | 2,163 | |
v2_s362534285 | s362534285 | s362534285 | p02386 | p02386 | u910402677 | u910402677 | 1,479,127,678 | 2016-11-14T12:47:58 | Dice4bc.java | import java.util.*;
public class Dice4bc{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int n = scan.nextInt();
Integer[] d = new Integer[6];
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt... | Dice4bc.java:37: error: <identifier> expected
TOP = 0, SOUTH = 1; EAST = 2,
^
Dice4bc.java:38: error: <identifier> expected
WEST = 3, NORTH = 4; BOTTOM = 5; // ??????
^
Dice4bc.java:72: error: ';' expected
dice.rollRigth()
^
3 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|1 | u910402677|p02386|1 | codenet | Compile Error | 2,158 | |
v2_s728195994 | s728195994 | s728195994 | p02386 | p02386 | u910402677 | u910402677 | 1,479,968,355 | 2016-11-24T06:19:15 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
int n = scan.nextInt();
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt();
}
d... | Main.java:44: error: method does not override or implement a method from a supertype
@Override
^
Main.java:50: error: cannot find symbol
if(resuit == true)break;
^
symbol: variable resuit
location: class Dice
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|2 | u910402677|p02386|2 | codenet | Compile Error | 2,646 | |
v2_s398879586 | s398879586 | s398879586 | p02386 | p02386 | u910402677 | u910402677 | 1,479,968,707 | 2016-11-24T06:25:07 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
int n = scan.nextInt();
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt();
}
d... | Main.java:52: error: cannot find symbol
result = Arrays.equals(this.d_, diceB.d_);
^
symbol: variable diceB
location: class Dice
Main.java:54: error: cannot find symbol
diceB.rollEast();
^
symbol: variable diceB
location: class Dice
Main.java:57: error: cannot... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|2 | u910402677|p02386|2 | codenet | Compile Error | 2,705 | |
v2_s612904733 | s612904733 | s612904733 | p02386 | p02386 | u910402677 | u910402677 | 1,479,968,941 | 2016-11-24T06:29:01 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
int n = scan.nextInt();
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt();
}
d... | Main.java:51: error: cannot find symbol
result = Arrays.equals(this.d_, diceB.d_);
^
symbol: variable diceB
location: class Dice
Main.java:53: error: cannot find symbol
diceB.rollEast();
^
symbol: variable diceB
location: class Dice
Main.java:56: error: ca... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|2 | u910402677|p02386|2 | codenet | Compile Error | 2,738 | |
v2_s790185667 | s790185667 | s790185667 | p02386 | p02386 | u910402677 | u910402677 | 1,479,969,181 | 2016-11-24T06:33:01 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
int n = scan.nextInt();
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt();
}
d... | Main.java:51: error: cannot find symbol
result = Arrays.equals(this.d_, diceB.d_);
^
symbol: variable diceB
location: class Dice
Main.java:53: error: cannot find symbol
diceB.rollEast();
^
symbol: variable diceB
location: class Dice
Main.java:56: error: ca... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|2 | u910402677|p02386|2 | codenet | Compile Error | 2,738 | |
v2_s867277325 | s867277325 | s867277325 | p02386 | p02386 | u910402677 | u910402677 | 1,479,969,429 | 2016-11-24T06:37:09 | Main.java | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
int[] d = new int[6];
int n = scan.nextInt();
Dice[] dices = new Dice[n];
for(int i = 0; i < n; i++){
for(int j = 0; j < 6; j++){
d[j] = scan.nextInt();
}
d... | Main.java:48: error: variable declaration not allowed here
Dice diceB = (Dice) obj;
^
Main.java:66: error: illegal start of type
return result;
^
Main.java:66: error: <identifier> expected
return result;
^
Main.java:69: error: unnamed classes are a preview feature and are disabled by def... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u910402677|p02386|2 | u910402677|p02386|2 | codenet | Compile Error | 2,737 | |
v2_s527771593 | s527771593 | s527771593 | p02386 | p02386 | u982119852 | u982119852 | 1,480,298,010 | 2016-11-28T01:53:30 | Main.java |
import java.util.ArrayList;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int diceEA = sc.nextInt();
String [] tmpDice = new String[DiceWorld2.DICEDESIGN];
int[] diceNum = new int[DiceWorld2.DICEDESIGN];
ArrayList<int[]> diceArr= ne... | Main.java:135: error: cannot find symbol
public String output(DiceWorld dwA, DiceWorld dwB) {
^
symbol: class DiceWorld
location: class DiceWorld2
Main.java:135: error: cannot find symbol
public String output(DiceWorld dwA, DiceWorld dwB) {
^
symbol: ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u982119852|p02386|0 | u982119852|p02386|0 | codenet | Compile Error | 4,586 | |
v2_s892510847 | s892510847 | s892510847 | p02388 | p02388 | u001711939 | u001711939 | 1,504,687,881 | 2017-09-06T08:51:21 | Main.java | import java.util.Scanner;
class Main {
public static void main(String[] a) {
Scanner x = new Scanner(System.in);
int a = x.nextInt();
double b = 3;
int c = (int) Math.pow(a, b);
System.out.println(c);
}
} | Main.java:7: error: variable a is already defined in method main(String[])
int a = x.nextInt();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u001711939|p02388|0 | u001711939|p02388|0 | codenet | Compile Error | 263 | |
v2_s432476443 | s432476443 | s432476443 | p02388 | p02388 | u001711939 | u001711939 | 1,504,688,016 | 2017-09-06T08:53:36 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] a) {
Scanner x = new Scanner(System.in);
int a = x.nextInt();
double b = 3;
int c = (int) Math.pow(a, b);
System.out.println(c);
}
} | Main.java:7: error: variable a is already defined in method main(String[])
int a = x.nextInt();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u001711939|p02388|0 | u001711939|p02388|0 | codenet | Compile Error | 270 | |
v2_s699812179 | s699812179 | s699812179 | p02388 | p02388 | u001711939 | u001711939 | 1,504,688,070 | 2017-09-06T08:54:30 | Main.java | import java.util.Scanner;
public class Main {
public static void main(String[] a) {
Scanner x = new Scanner(System.in);
a = x.nextInt();
double b = 3;
int c = (int) Math.pow(a, b);
System.out.println(c);
}
} | Main.java:7: error: incompatible types: int cannot be converted to String[]
a = x.nextInt();
^
Main.java:9: error: incompatible types: String[] cannot be converted to double
int c = (int) Math.pow(a, b);
^
Note: Some messages have been simplified; re... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u001711939|p02388|0 | u001711939|p02388|0 | codenet | Compile Error | 267 | |
v2_s863801155 | s863801155 | s863801155 | p02388 | p02388 | u001711939 | u001711939 | 1,504,688,209 | 2017-09-06T08:56:49 | Main.java | import java.util.Scanner;
public class Main {
public static void main(Integer[] a) {
Scanner x = new Scanner(System.in);
a = x.nextInt();
double b = 3;
int c = (int) Math.pow(a, b);
System.out.println(c);
}
} | Main.java:7: error: incompatible types: int cannot be converted to Integer[]
a = x.nextInt();
^
Main.java:9: error: incompatible types: Integer[] cannot be converted to double
int c = (int) Math.pow(a, b);
^
Note: Some messages have been simplified; ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u001711939|p02388|0 | u001711939|p02388|0 | codenet | Compile Error | 268 | |
v2_s897146059 | s897146059 | s897146059 | p02388 | p02388 | u001711939 | u001711939 | 1,504,688,247 | 2017-09-06T08:57:27 | Main.java | import java.util.Scanner;
public class Main {
public static void main(Integer[] a) {
Scanner x = new Scanner(System.in);
int a = x.nextInt();
double b = 3;
int c = (int) Math.pow(a, b);
System.out.println(c);
}
} | Main.java:7: error: variable a is already defined in method main(Integer[])
int a = x.nextInt();
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u001711939|p02388|0 | u001711939|p02388|0 | codenet | Compile Error | 271 | |
v2_s527568303 | s527568303 | s527568303 | p02388 | p02388 | u001711939 | u001711939 | 1,504,688,269 | 2017-09-06T08:57:49 | Main.java | import java.util.Scanner;
public class Main {
public static void main(Integer[] a) {
Scanner x = new Scanner(System.in);
int a = x.next();
double b = 3;
int c = (int) Math.pow(a, b);
System.out.println(c);
}
} | Main.java:7: error: variable a is already defined in method main(Integer[])
int a = x.next();
^
Main.java:7: error: incompatible types: String cannot be converted to int
int a = x.next();
^
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u001711939|p02388|0 | u001711939|p02388|0 | codenet | Compile Error | 268 | |
v2_s324194247 | s324194247 | s324194247 | p02388 | p02388 | u001759370 | u001759370 | 1,517,450,326 | 2018-02-01T01:58:46 | Main.java |
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br.readLine());
System.out.println(x*x*x);
| Main.java:2: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) throws NumberFormatException, IOException {
^
(use --enable-preview to enable unnamed classes)
Main.java:5: error: reached end of file while parsing
System.out.println(x*x*x)... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u001759370|p02388|1 | u001759370|p02388|1 | codenet | Compile Error | 235 | |
v2_s551185436 | s551185436 | s551185436 | p02388 | p02388 | u001759370 | u001759370 | 1,517,450,529 | 2018-02-01T02:02:09 | XCubic.java | import java.io.BufferedReader;
public class XCubic {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br.readLine());
System.out.println(x*x*x);
}
}
| XCubic.java:5: error: cannot find symbol
public static void main(String[] args) throws NumberFormatException, IOException {
^
symbol: class IOException
location: class XCubic
XCubic.java:6: error: cannot find symbol
BufferedReader br = new B... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u001759370|p02388|1 | u001759370|p02388|1 | codenet | Compile Error | 294 | |
v2_s013464141 | s013464141 | s013464141 | p02388 | p02388 | u001759370 | u001759370 | 1,517,450,831 | 2018-02-01T02:07:11 | XCubic.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class XCubic {
public static void main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br.readLine());
System.out.println(x*x*x);
}
}
| XCubic.java:9: error: unreported exception IOException; must be caught or declared to be thrown
int x = Integer.parseInt(br.readLine());
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u001759370|p02388|1 | u001759370|p02388|1 | codenet | Compile Error | 313 | |
v2_s976601996 | s976601996 | s976601996 | p02388 | p02388 | u001759370 | u001759370 | 1,517,450,888 | 2018-02-01T02:08:08 | XCubic.java | import java.io.BufferedReader;
public class XCubic {
public static void main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br.readLine());
System.out.println(x*x*x);
}
}
| XCubic.java:7: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^
symbol: class InputStreamReader
location: class XCubic
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u001759370|p02388|1 | u001759370|p02388|1 | codenet | Compile Error | 252 | |
v2_s790456172 | s790456172 | s790456172 | p02388 | p02388 | u002327815 | u002327815 | 1,501,413,576 | 2017-07-30T11:19:36 | Main.java | public class Main {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
try{
int n = scan.nextInt();
System.out.println((int)Math.pow(n,3));
} catch (IOExcepton e){
e.printStackTrace();
} finally (Ex... | Main.java:9: error: '{' expected
} finally (Exception e) {
^
Main.java:9: error: -> expected
} finally (Exception e) {
^
Main.java:9: error: not a statement
} finally (Exception e) {
^
Main.java:11: error: ';' expected
}
... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u002327815|p02388|0 | u002327815|p02388|0 | codenet | Compile Error | 384 | |
v2_s216912865 | s216912865 | s216912865 | p02388 | p02388 | u004091061 | u004091061 | 1,495,359,088 | 2017-05-21T09:31:28 | Main.java | public class Main {
//@Test
public static void main(String args[]) throws IOException {
// System.out.println("Hello World");
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String readLine = br.readLine();
int ans = multiply(Integer.parseInt(readLine));
System.out.println(ans);
... | Main.java:4: error: cannot find symbol
public static void main(String args[]) throws IOException {
^
symbol: class IOException
location: class Main
Main.java:6: error: cannot find symbol
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
^... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u004091061|p02388|0 | u004091061|p02388|0 | codenet | Compile Error | 418 | |
v2_s283661292 | s283661292 | s283661292 | p02388 | p02388 | u006412410 | u006412410 | 1,512,967,203 | 2017-12-11T04:40:03 | Main.java | public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
System.out.println(x*x*x);
}
} | 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 | u006412410|p02388|0 | u006412410|p02388|0 | codenet | Compile Error | 164 | |
v2_s284681459 | s284681459 | s284681459 | p02388 | p02388 | u006412410 | u006412410 | 1,512,967,558 | 2017-12-11T04:45:58 | Main.java | public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
System.out.println(x*x*x);
}
} | Main.java:5: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:5: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u006412410|p02388|0 | u006412410|p02388|0 | codenet | Compile Error | 165 | |
v2_s162579692 | s162579692 | s162579692 | p02388 | p02388 | u007626234 | u007626234 | 1,493,106,100 | 2017-04-25T07:41:40 | Main.java | public class Main {
public static void main(String[] args) {
System.out.println(x*x*x);
}
} | Main.java:4: error: cannot find symbol
System.out.println(x*x*x);
^
symbol: variable x
location: class Main
Main.java:4: error: cannot find symbol
System.out.println(x*x*x);
^
symbol: variable x
location: class Main
Main.java:4: error: cannot find symbol
Sys... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u007626234|p02388|0 | u007626234|p02388|0 | codenet | Compile Error | 96 | |
v2_s399307397 | s399307397 | s399307397 | p02388 | p02388 | u010830376 | u010830376 | 1,432,476,399 | 2015-05-24T14:06:39 | Main.java | public class Main{
public static void main(String args[]){
Scanner num = new Scanner(System.in);
int n = num.nextInt();
System.out.println("n*n*n");
}
} | Main.java:3: error: cannot find symbol
Scanner num = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:3: error: cannot find symbol
Scanner num = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u010830376|p02388|0 | u010830376|p02388|0 | codenet | Compile Error | 160 | |
v2_s564123211 | s564123211 | s564123211 | p02388 | p02388 | u013132149 | u013132149 | 1,530,674,597 | 2018-07-04T03:23:17 | Main.java | class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
int num = scanner.nextInt();
System.out.print(num*num*num);
}
}
| Main.java:3: error: cannot find symbol
Scanner scanner = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
Main.java:3: error: cannot find symbol
Scanner scanner = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 ... | compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u013132149|p02388|0 | u013132149|p02388|0 | codenet | Compile Error | 190 | |
v2_s439993831 | s439993831 | s439993831 | p02388 | p02388 | u013413971 | u013413971 | 1,503,629,945 | 2017-08-25T02:59:05 | main.java | public class main{
public static void main(String args[]){
int x | main.java:3: error: reached end of file while parsing
int x
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u013413971|p02388|0 | u013413971|p02388|0 | codenet | Compile Error | 70 | |
v2_s115858961 | s115858961 | s115858961 | p02388 | p02388 | u013413971 | u013413971 | 1,503,639,696 | 2017-08-25T05:41:36 | Main.java | public class Main {
public static void main(String[] args) throws Exception {
int x 2;
x = x * x * x;
System.out.println(x);
}
} | Main.java:3: error: ';' expected
int x 2;
^
1 error
| compile_error | 1 | OpenJDK 21.0.12.1 | unlabelled | 2.1 | u013413971|p02388|1 | u013413971|p02388|0 | codenet | Compile Error | 153 | |
v2_s208491939 | s208491939 | s208491939 | p02388 | p02388 | u013413971 | u013413971 | 1,503,641,685 | 2017-08-25T06:14:45 | Main.java | public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int x = sc.nextIn();
System.out.println(x * x * x);
}
} | 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 | u013413971|p02388|1 | u013413971|p02388|0 | codenet | Compile Error | 195 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.