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_s335312172
s335312172
s335312172
p00004
p00004
u222807116
u222807116
1,416,378,461
2014-11-19T06:27:41
Main.java
import java.util.Scanner; public Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int a,b,c,d,e,f; double x,y; while(sc.hasNext()){ a=sc.nextInt(); b=sc.nextInt(); c=sc.nextInt(); d=sc.nextInt(); e=sc.nextInt(); f=sc.nextInt(); y=(double)(c*d-a*f)/(b*d-a*e...
Main.java:2: error: class, interface, enum, or record expected public Main{ ^ 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:24: error: class, interface,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u222807116|p00004|0
u222807116|p00004|0
codenet
Compile Error
407
v2_s605426365
s605426365
s605426365
p00004
p00004
u338478106
u338478106
1,407,586,492
2014-08-09T12:14:52
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double a,b,c,d,e,f; double x,y; while(sc.hasNext()){ a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); d = sc.nextInt(); e = sc.nextInt(); f = sc.nextInt(); ...
Main.java:24: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u338478106|p00004|0
u338478106|p00004|0
codenet
Compile Error
476
v2_s674151398
s674151398
s674151398
p00004
p00004
u339799217
u339799217
1,398,760,471
2014-04-29T08:34:31
Main.java
// // SimultaneousEquation.java // SimultaneousEquation // // Created by hajime on 14/04/29. // Copyright (c) 2014 __MyCompanyName__. All rights reserved. import java.util.*; import java.io.*; import java.text.*; public class Main { public static void main (String args[]) { double x = 0.0; doubl...
Main.java:42: error: cannot find symbol System.out.println(format.format(x) + " " + format.format(y)); ^ symbol: variable format location: class Main Main.java:42: error: cannot find symbol System.out.println(format.format(x) + " " + format.format(y)); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u339799217|p00004|0
u339799217|p00004|0
codenet
Compile Error
1,253
v2_s491005656
s491005656
s491005656
p00004
p00004
u342302557
u342302557
1,477,541,221
2016-10-27T04:07:01
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.math.BigDecimal; class Main{ public static void main(String[]args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; while((str= b...
Main.java:30: error: bad operand types for binary operator '==' if(bdX == -0.000){ ^ first type: BigDecimal second type: double Main.java:31: error: incompatible types: double cannot be converted to BigDecimal bdX = 0.000; ^ Main.java:33: error: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u342302557|p00004|0
u342302557|p00004|0
codenet
Compile Error
1,241
v2_s391700738
s391700738
s391700738
p00004
p00004
u358248426
u358248426
1,512,723,424
2017-12-08T08:57:04
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != nu...
Main.java:13: error: incompatible types: String cannot be converted to int int a = lns[0]; ^ Main.java:14: error: incompatible types: String cannot be converted to int int b = lns[1]; ^ Main.java:15: error: incompatible types: String cannot be conver...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358248426|p00004|0
u358248426|p00004|0
codenet
Compile Error
716
v2_s060607859
s060607859
s060607859
p00004
p00004
u358248426
u358248426
1,512,723,457
2017-12-08T08:57:37
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != nu...
Main.java:13: error: incompatible types: String cannot be converted to int int a = (int) lns[0]; ^ Main.java:14: error: incompatible types: String cannot be converted to int int b = lns[1]; ^ Main.java:15: error: incompatible types: String cann...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358248426|p00004|0
u358248426|p00004|0
codenet
Compile Error
722
v2_s153501119
s153501119
s153501119
p00004
p00004
u358248426
u358248426
1,512,724,563
2017-12-08T09:16:03
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != nu...
Main.java:13: error: illegal character: '\' double a = Double.parseDouble?\(lns[0]); ^ Main.java:13: error: not a statement double a = Double.parseDouble?\(lns[0]); ^ Main.java:13: error: ';' expected ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358248426|p00004|0
u358248426|p00004|0
codenet
Compile Error
1,183
v2_s384881266
s384881266
s384881266
p00004
p00004
u358248426
u358248426
1,512,724,606
2017-12-08T09:16:46
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != nu...
Main.java:21: error: cannot find symbol x = c + f / (b * y + e * y) / ( a + d); ^ symbol: variable x location: class Main Main.java:22: error: cannot find symbol if(x>-1000 && x<1000){ ^ symbol: variable x location: class Main Main.java:22: ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358248426|p00004|0
u358248426|p00004|0
codenet
Compile Error
1,171
v2_s517035662
s517035662
s517035662
p00004
p00004
u358248426
u358248426
1,512,724,653
2017-12-08T09:17:33
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while(str != nu...
Main.java:23: error: cannot find symbol System.out.prdoubleln(x + "," + y); ^ symbol: method prdoubleln(String) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358248426|p00004|0
u358248426|p00004|0
codenet
Compile Error
1,178
v2_s506926219
s506926219
s506926219
p00004
p00004
u359672528
u359672528
1,454,685,194
2016-02-05T15:13:14
AOJ0004.java
mport java.util.Scanner; //Simultaneous Equation public class AOJ0004 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()){ double a[] = new double[6]; for(int i=0;i<6;i++)a[i]=sc.nextDouble(); double d = a[0]*a[4]-a[1]*a[3]; double x = (a[4]*a[2]-a[1]*a...
AOJ0004.java:1: error: class, interface, enum, or record expected mport java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u359672528|p00004|0
u359672528|p00004|0
codenet
Compile Error
450
v2_s880455271
s880455271
s880455271
p00004
p00004
u384557967
u384557967
1,335,425,538
2012-04-26T07:32:18
Main.java
public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); NumberFormat format = NumberFormat.getInstance(); format.setMaximumFractionDigits(3); format.setMinimumFractionDigits(3); while (s.hasNextInt()) { int a = s.nextInt(); int b = s.nextInt(); int c = s.next...
Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Num...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u384557967|p00004|2
u384557967|p00004|2
codenet
Compile Error
675
v2_s816431910
s816431910
s816431910
p00004
p00004
u399118522
u399118522
1,334,241,410
2012-04-12T14:36:50
Main.java
public class Main { public static void main(String[] args) throws IOException { // Formatter fm = new Formatter(System.out); List<String> ans = new ArrayList<String>(); for (int[] in = readInts(); in != null; in = readInts()) { int a11 = in[0], a12 = in[1], b1 = in[2]; int a21 = in[3], a22 = in[4], b2 = i...
Main.java:3: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:29: error: cannot find symbol static BufferedReader br = new BufferedReader(new InputStreamReader( ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p00004|0
u399118522|p00004|0
codenet
Compile Error
1,275
v2_s995523470
s995523470
s995523470
p00004
p00004
u399118522
u399118522
1,334,241,472
2012-04-12T14:37:52
Main.java
import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { double[] d = new double[6]; Scanner sc = new Scanner(System.in); while(sc.hasNext()) { for(int i=0; i<d.length; i++) {<br /> d[i] ...
Main.java:9: error: > or ',' expected for(int i=0; i<d.length; i++) {<br /> d[i] = sc.nextDouble(); ^ Main.java:9: error: illegal start of expression for(int i=0; i<d.length; i++) {<br /> d[i] = sc.nextDouble(); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p00004|0
u399118522|p00004|0
codenet
Compile Error
864
v2_s266793869
s266793869
s266793869
p00004
p00004
u407513315
u407513315
1,329,625,574
2012-02-19T04:26:14
Main.java
import java.math.BigDecimal; import java.util.Scanner; public static void main(String[] args) { double a, b, c, d, e, f; double x, y; Scanner scan = new Scanner(System.in); while ((scan.hasNext())) { a = Double.parseDouble(scan.next()); b = Double.parseDouble(scan.next()); c = Double.parseDouble(...
Main.java:4: 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:32: error: class, interface, enum, or record expected } ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u407513315|p00004|0
u407513315|p00004|0
codenet
Compile Error
786
v2_s578881715
s578881715
s578881715
p00004
p00004
u448595608
u448595608
1,528,259,907
2018-06-06T04:38:27
Main.java
import java.util.*; import java.util.stream.Collectors; import static java.lang.System.*; public class Main extends CodingSupport { protected void solve() { while(sc.hasNext()) { Double[] inputs = scanDoubles(); Double[] equation1 = {inputs[0], inputs[1], inputs[2]};// ax + by = cの...
Main.java:23: error: incompatible types: int cannot be converted to Double resultY = 0; ^ Main.java:24: error: incompatible types: int cannot be converted to Double resultX = 0; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u448595608|p00004|1
u448595608|p00004|1
codenet
Compile Error
3,064
v2_s635423922
s635423922
s635423922
p00004
p00004
u451187291
u451187291
1,346,658,844
2012-09-03T07:54:04
Main.java
import java.util.Scanner; import java.math.BigDecimal; public class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); while(cin.hasNext()) { double a = cin.nextInt(); double b = cin.nextInt(); double c = cin.nextInt(); double d = cin.nextInt(); double e = cin.ne...
Main.java:17: error: double cannot be dereferenced BigDecimal x = ((double)(c*e-b*f)/(a*e-b*d)).BigDecimal(3, BigDecimal.ROUND_HALF_UP); ^ Main.java:18: error: double cannot be dereferenced BigDecimal y = ((double)(a*f-c*d)/(a*e-b*d)).BigDecimal(3, BigDecimal.ROUND_H...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u451187291|p00004|0
u451187291|p00004|0
codenet
Compile Error
604
v2_s627062949
s627062949
s627062949
p00004
p00004
u451187291
u451187291
1,346,658,907
2012-09-03T07:55:07
Main.java
import java.util.Scanner; import java.math.BigDecimal; public class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); while(cin.hasNext()) { double a = cin.nextInt(); double b = cin.nextInt(); double c = cin.nextInt(); double d = cin.nextInt(); double e = cin.ne...
Main.java:17: error: double cannot be dereferenced BigDecimal x = ((c*e-b*f)/(a*e-b*d)).BigDecimal(3, BigDecimal.ROUND_HALF_UP); ^ Main.java:18: error: double cannot be dereferenced BigDecimal y = ((a*f-c*d)/(a*e-b*d)).BigDecimal(3, BigDecimal.ROUND_HALF_UP); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u451187291|p00004|0
u451187291|p00004|0
codenet
Compile Error
588
v2_s235950267
s235950267
s235950267
p00004
p00004
u451187291
u451187291
1,346,659,093
2012-09-03T07:58:13
Main.java
import java.util.Scanner; import java.math.BigDecimal; public class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); while(cin.hasNext()) { double a = cin.nextInt(); double b = cin.nextInt(); double c = cin.nextInt(); double d = cin.nextInt(); double e = cin.ne...
Main.java:19: error: cannot find symbol BigDecimal x = xbd.BigDecimal(3, BigDecimal.ROUND_HALF_UP); ^ symbol: method BigDecimal(int,int) location: variable xbd of type BigDecimal Main.java:20: error: cannot find symbol BigDecimal y = ybd.BigDecimal(3, BigDecimal.ROUND_HALF_UP); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u451187291|p00004|0
u451187291|p00004|0
codenet
Compile Error
664
v2_s668856187
s668856187
s668856187
p00004
p00004
u451187291
u451187291
1,346,659,240
2012-09-03T08:00:40
Main.java
import java.util.Scanner; import java.math.BigDecimal; public class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); while(cin.hasNext()) { double a = cin.nextInt(); double b = cin.nextInt(); double c = cin.nextInt(); double d = cin.nextInt(); double e = cin.ne...
Main.java:21: error: cannot find symbol System.out.println(x.doublevalue()+" "+y.doublevalue()); ^ symbol: method doublevalue() location: variable x of type BigDecimal Main.java:21: error: cannot find symbol System.out.println(x.doublevalue()+" "+y.doublevalue()); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u451187291|p00004|0
u451187291|p00004|0
codenet
Compile Error
660
v2_s676941284
s676941284
s676941284
p00004
p00004
u459861655
u459861655
1,364,561,626
2013-03-29T12:53:46
Main.java
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); DecimalFormat df = new DecimalFormat(".000"); while (sc.hasNext()) { double v[] = new double[6]; for (int i = 0; i < 6; i++) { v[i] = sc.nextDouble(); } double root = v[0]*v[4] - ...
Main.java:6: error: cannot find symbol DecimalFormat df = new DecimalFormat(".000"); ^ symbol: class DecimalFormat location: class Main Main.java:6: error: cannot find symbol DecimalFormat df = new DecimalFormat(".000"); ^ symbol: class DecimalFormat location: class Main 2 err...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u459861655|p00004|1
u459861655|p00004|1
codenet
Compile Error
474
v2_s854257955
s854257955
s854257955
p00004
p00004
u469183706
u469183706
1,499,757,639
2017-07-11T07:20:39
Main.java
public class Main { public static void main(String[] args) { Scanner stdin = new Scanner(System.in); int a = stdin.nextInt(); int b = stdin.nextInt(); int c = stdin.nextInt(); int d = stdin.nextInt(); int e = stdin.nextInt(); int f = stdin.nextInt(); int h = stdin.nextInt(); int i = stdin.ne...
Main.java:5: error: cannot find symbol Scanner stdin = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:5: error: cannot find symbol Scanner stdin = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:26: error: cannot find...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469183706|p00004|0
u469183706|p00004|0
codenet
Compile Error
1,299
v2_s190721165
s190721165
s190721165
p00004
p00004
u495607670
u495607670
1,361,023,059
2013-02-16T13:57:39
Main.java
public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); float num[] = new float[6]; while(scan.hasNextFloat()){ for(int i=0; i<6;i++){ num[i] = scan.nextFloat(); } float det = num[0]*num[4] - num[1]*num[3]; float x = (num[1]*num[5] - num[4]*num[2])/det;...
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u495607670|p00004|0
u495607670|p00004|0
codenet
Compile Error
412
v2_s170100445
s170100445
s170100445
p00004
p00004
u527873595
u527873595
1,529,977,607
2018-06-26T01:46:47
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ int i; double x, y, tmp0,tmp3; List<Double> list = new ArrayList<Double>(); Scanner scanner = new Scanner(System.in); //list.add(Integer.parseInt(...
Main.java:6: error: '{' expected public class Main public static void main(String[] args) { ^ Main.java:6: error: unnamed classes are a preview feature and are disabled by default. public class Main public static void main(String[] args) { ^ (use --enable-preview to en...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u527873595|p00004|0
u527873595|p00004|0
codenet
Compile Error
978
v2_s094246281
s094246281
s094246281
p00004
p00004
u527873595
u527873595
1,529,977,619
2018-06-26T01:46:59
Main.java
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ int i; double x, y, tmp0,tmp3; List<Double> list = new ArrayList<Double>(); Scanner scanner = new Scanner(System.in); //list.add(Integer.parseInt(...
Main.java:6: error: '{' expected public class Main public static void main(String[] args) { ^ Main.java:6: error: unnamed classes are a preview feature and are disabled by default. public class Main public static void main(String[] args) { ^ (use --enable-preview to en...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u527873595|p00004|0
u527873595|p00004|0
codenet
Compile Error
978
v2_s376108624
s376108624
s376108624
p00004
p00004
u530594982
u530594982
1,460,967,477
2016-04-18T08:17:57
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; class Main throws IOException { public static void main(String[] a){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); while (line !...
Main.java:7: error: '{' expected class Main throws IOException { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u530594982|p00004|0
u530594982|p00004|0
codenet
Compile Error
1,048
v2_s783685642
s783685642
s783685642
p00004
p00004
u530594982
u530594982
1,460,967,555
2016-04-18T08:19:15
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; class Main throws IOException { public static void main(String[] a){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); while (line !=...
Main.java:7: error: '{' expected class Main throws IOException { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u530594982|p00004|0
u530594982|p00004|0
codenet
Compile Error
1,039
v2_s139194974
s139194974
s139194974
p00004
p00004
u530594982
u530594982
1,460,967,607
2016-04-18T08:20:07
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; class Main{ public static void main(String[] a) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); while (line !=...
Main.java:13: error: variable a is already defined in method main(String[]) double a = Double.valueOf(numArray[0]); ^ Note: Main.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u530594982|p00004|0
u530594982|p00004|0
codenet
Compile Error
1,039
v2_s788183553
s788183553
s788183553
p00004
p00004
u530594982
u530594982
1,460,967,713
2016-04-18T08:21:53
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; class Main{ public static void main(String[] a) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); while (line != n...
Main.java:11: error: variable a is already defined in method main(String[]) double a = Double.valueOf(numArray[0]); ^ Note: Main.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u530594982|p00004|0
u530594982|p00004|0
codenet
Compile Error
1,037
v2_s412645146
s412645146
s412645146
p00004
p00004
u551456712
u551456712
1,492,250,494
2017-04-15T10:01:34
Main.java
import java.util.*; import java.util.stream.*; import java.io.*; class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br.lines() .map(line -> Stream.of(line.split(" ")) .mapToInt(Integer::parseInt) ...
Main.java:15: error: no suitable method found for round(Object,int) .forEach(xy -> System.out.printf("%.3f %.3f\n", Math.round(xy[0], 3), Math.round(xy[1], 3))); ^ method Math.round(float) is not applicable (actual and formal argument lists diffe...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u551456712|p00004|0
u551456712|p00004|0
codenet
Compile Error
682
v2_s590427132
s590427132
s590427132
p00004
p00004
u551456712
u551456712
1,492,254,580
2017-04-15T11:09:40
Main.java
import java.util.*; import java.util.stream.*; import java.io.*; class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br.lines() .map(line -> Stream.of(line.split(" ")) .mapToInt(Integer::parseInt) ...
Main.java:12: error: cannot find symbol new BigDecimal((double)(ar[1] * ar[5] - ar[4] * ar[2])/(ar[1] * ar[3] - ar[4] * ar[0])).setScale(3, RoundingMode.HALF_UP), ^ symbol: var...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u551456712|p00004|0
u551456712|p00004|0
codenet
Compile Error
767
v2_s706320659
s706320659
s706320659
p00004
p00004
u568857484
u568857484
1,479,124,668
2016-11-14T11:57:48
Main.java
import java.util.*; class Main{ public static void main(String[] args){ ArrayList<Value> list = new ArrayList<>(); Scanner sc = new Scanner(System.in); while(sc.hasNext()){ list.add(equation(sc.nextInt(),sc.nextInt(),sc.nextInt(),sc.nextInt(),sc.nextInt(),sc.nextInt())); ...
Main.java:49: error: modifier static not allowed here static int getGed(int a,int b){ ^ Main.java:49: error: ',', ')', or '[' expected static int getGed(int a,int b){ ^ Main.java:49: error: <identifier> expected static int getGed(int a,int b){ ^ Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568857484|p00004|0
u568857484|p00004|0
codenet
Compile Error
1,580
v2_s031069635
s031069635
s031069635
p00004
p00004
u568857484
u568857484
1,479,179,620
2016-11-15T03:13:40
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); ArrayList<String> ans = new ArrayList<>(); while(sc.hasNext()){ double a = {sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble(...
Main.java:8: error: illegal initializer for double double a = {sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble()}; ^ Main.java:9: error: incompatible types: double cannot be converted to double[] ans.add(String.format("%.3f %.3...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568857484|p00004|1
u568857484|p00004|1
codenet
Compile Error
1,207
v2_s142103057
s142103057
s142103057
p00004
p00004
u568857484
u568857484
1,479,179,647
2016-11-15T03:14:07
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); ArrayList<String> ans = new ArrayList<>(); while(sc.hasNext()){ double a = {sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble(...
Main.java:8: error: illegal initializer for double double a = {sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble(),sc.nextDouble()}; ^ Main.java:9: error: incompatible types: double cannot be converted to double[] ans.add(String.format("%.3f %.3...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568857484|p00004|1
u568857484|p00004|1
codenet
Compile Error
1,207
v2_s820618905
s820618905
s820618905
p00004
p00004
u605441342
u605441342
1,300,023,287
2011-03-13T13:34:47
Main.java
import java.io.*; import java.math.BigDecimal; public class Main { public static void main(String[] args) throws IOException { // System.out.println("Hello world"); InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); while(true){ double x, y; int n = 6; ...
Main.java:15: error: bad operand types for binary operator '==' if(c == 0) ^ first type: String second type: int Note: Main.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605441342|p00004|0
u605441342|p00004|0
codenet
Compile Error
2,384
v2_s468678164
s468678164
s468678164
p00004
p00004
u660498157
u660498157
1,281,258,356
2010-08-08T09:05:56
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String args[]){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String inputString; while((inputString = br.readLine()) != null) { // inputs.le...
Main.java:9: error: unreported exception IOException; must be caught or declared to be thrown while((inputString = br.readLine()) != null) { ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p00004|1
u660498157|p00004|1
codenet
Compile Error
1,686
v2_s115170300
s115170300
s115170300
p00004
p00004
u660498157
u660498157
1,281,258,763
2010-08-08T09:12:43
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { void run(){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String inputString; while((inputString = br.readLine()) != null) { // inputs.length = 6ツづ債陛崢湘伉つウツづェツづつ「ツづゥ ...
Main.java:29: error: illegal start of expression public static void main(String args[]) throws Exception { ^ Main.java:34: error: unnamed classes are a preview feature and are disabled by default. private double[] stringsToDoubles(String[] s) { ^ (use --enable-preview to enable unnamed classes...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p00004|1
u660498157|p00004|1
codenet
Compile Error
1,778
v2_s866469888
s866469888
s866469888
p00004
p00004
u660498157
u660498157
1,281,258,831
2010-08-08T09:13:51
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { void run(){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String inputString; while((inputString = br.readLine()) != null) { // inputs.length = 6ツづ債陛崢湘伉つウツづェツづつ「ツづゥ ...
Main.java:29: error: illegal start of expression public static void main(String args[]){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p00004|1
u660498157|p00004|1
codenet
Compile Error
1,750
v2_s376415746
s376415746
s376415746
p00004
p00004
u660498157
u660498157
1,281,258,871
2010-08-08T09:14:31
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { void run() throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String inputString; while((inputString = br.readLine()) != null) { // inputs.length = 6ツづ債陛崢...
Main.java:29: error: illegal start of expression public static void main(String args[]) throws Exception{ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u660498157|p00004|1
u660498157|p00004|1
codenet
Compile Error
1,784
v2_s123517903
s123517903
s123517903
p00004
p00004
u695351069
u695351069
1,467,771,740
2016-07-06T02:22:20
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; import java.util.ArrayList; public class Main { public static void main(String[] a) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ArrayList<St...
Main.java:30: error: variable a is already defined in method main(String[]) double a = Double.parseDouble(buf[0]); ^ Note: Main.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u695351069|p00004|0
u695351069|p00004|0
codenet
Compile Error
2,009
v2_s604516670
s604516670
s604516670
p00004
p00004
u745519209
u745519209
1,350,540,976
2012-10-18T06:16:16
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { String inputStr; BufferedReader bReader = new BufferedReader(new InputStreamReader(System.in)); while ((inputStr = bR...
Main.java:19: error: cannot find symbol y = (c-a*x)/b; ^ symbol: variable y location: class Main Main.java:20: error: cannot find symbol System.out.println(String.format("%1.3g %1.3g",x , y)); ^ symbol: variable...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u745519209|p00004|0
u745519209|p00004|0
codenet
Compile Error
871
v2_s341329277
s341329277
s341329277
p00004
p00004
u758581602
u758581602
1,530,363,888
2018-06-30T13:04:48
Main.java
import java.io.IOException; import java.io.InputStream; import java.util.NoSuchElementException; public class Main { private static FastScanner sc = new FastScanner(); public static void main(String[] args) { double a = sc.nextDouble(); double b = sc.nextDouble(); double c = sc.nextDouble(); dou...
Main.java:30: error: cannot find symbol System.out.println(x + " " + y); ^ symbol: variable x location: class Main Main.java:30: error: cannot find symbol System.out.println(x + " " + y); ^ symbol: variable y location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u758581602|p00004|0
u758581602|p00004|0
codenet
Compile Error
2,329
v2_s135163149
s135163149
s135163149
p00004
p00004
u777338381
u777338381
1,489,851,399
2017-03-18T15:36:39
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String inData = br.readLine(); do { ...
Main.java:19: error: cannot find symbol } while (!"".equals(inData = br.readLine()) || inDate == null); ^ symbol: variable inDate location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u777338381|p00004|0
u777338381|p00004|0
codenet
Compile Error
996
v2_s508493722
s508493722
s508493722
p00004
p00004
u794597021
u794597021
1,371,339,625
2013-06-15T23:40:25
Main.java
Scanner in = new Scanner(System.in); while(in.hasNext()) { // ax + by = c double a = in.nextDouble(); double b = in.nextDouble(); double c = in.nextDouble(); // dx + ey = f double d = in.nextDouble(); double e = in.nextDouble(); double f = in.nextDouble(); double y = (f + (-1 * d *...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. Scanner in = new Scanner(System.in); ^ (use --enable-preview to enable unnamed classes) Main.java:3: error: class, interface, enum, or record expected while(in.hasNext()) { ^ Main.java:16: error: class, interface, enum, or ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u794597021|p00004|0
u794597021|p00004|0
codenet
Compile Error
576
v2_s008598291
s008598291
s008598291
p00004
p00004
u814766864
u814766864
1,428,223,921
2015-04-05T08:52:01
Main.java
class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); double a = Double.parseDouble(scan.next()); double b = Double.parseDouble(scan.next()); double c = Double.parseDouble(scan.next()); double d = Double.parseDouble(scan.next()); double e = Double.parseDouble(scan.next()); d...
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:10: error: cannot find symbol...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814766864|p00004|1
u814766864|p00004|0
codenet
Compile Error
677
v2_s498239188
s498239188
s498239188
p00004
p00004
u818330642
u818330642
1,465,117,784
2016-06-05T09:09:44
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main{ public static void main(String a[]) { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(sir); String buf; i...
Main.java:8: error: cannot find symbol BufferedReader br = new BufferedReader(sir); ^ symbol: variable sir location: class Main Main.java:10: error: variable a is already defined in method main(String[]) int a,b,c,d,e,f; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u818330642|p00004|0
u818330642|p00004|0
codenet
Compile Error
1,053
v2_s549334700
s549334700
s549334700
p00004
p00004
u910402677
u910402677
1,480,220,356
2016-11-27T04:19:16
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Double> listX = new ArrayList<Double>(); List<Double> listY = new ArrayList<Double>(); while(scan.hasNext()){ double a = scan.nextDouble(); double b = scan.next...
Main.java:24: error: cannot find symbol x = itX.next(); ^ symbol: variable x location: class Main Main.java:25: error: cannot find symbol y = itY.next(); ^ symbol: variable y location: class Main Main.java:26: error: cannot find symbol System.out.printf("%.3f %.3f\n", x, y); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00004|1
u910402677|p00004|1
codenet
Compile Error
794
v2_s439508524
s439508524
s439508524
p00004
p00004
u910402677
u910402677
1,480,221,250
2016-11-27T04:34:10
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Double> listX = new ArrayList<Double>(); List<Double> listY = new ArrayList<Double>(); while(scan.hasNext()){ double a = scan.nextDouble(); double b = scan.next...
Main.java:30: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00004|1
u910402677|p00004|1
codenet
Compile Error
892
v2_s322283430
s322283430
s322283430
p00004
p00004
u918410812
u918410812
1,436,687,257
2015-07-12T07:47:37
Main.java
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); List<Integer> list = new ArrayList<Integer>(); while (scanner.hasNext()) { for (int i = 0; i < 6; i++) { list.add(Integer.parseInt(scanner.next())); ...
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 Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u918410812|p00004|1
u918410812|p00004|1
codenet
Compile Error
1,489
v2_s700807279
s700807279
s700807279
p00004
p00004
u956519200
u956519200
1,535,519,482
2018-08-29T05:11:22
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); while (scan.hasNextInt()) { double a = scan.nextDouble(); double b = scan.nextDouble(); double c = scan.nextDouble(); doubl...
Main.java:25: error: illegal character: '\u3000' ??????????????///?db-ae)y???? ^ Main.java:25: error: illegal character: '\u3000' ??????????????///?db-ae)y???? ^ Main.java:25: error: illegal character: '\u3000' ??????????????///?db-ae)y???? ^ Main.java:25: error: illegal character: '\u3000' ??????????????///?db-ae)y...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u956519200|p00004|0
u956519200|p00004|0
codenet
Compile Error
923
v2_s374198669
s374198669
s374198669
p00004
p00004
u956519200
u956519200
1,535,519,512
2018-08-29T05:11:52
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); while (scan.hasNextInt()) { double a = scan.nextDouble(); double b = scan.nextDouble(); double c = scan.nextDouble(); doubl...
Main.java:24: error: illegal character: '\u3000' ????????????? y = ((d * c) - (a * f)) / j; ^ Main.java:24: error: illegal character: '\u3000' ????????????? y = ((d * c) - (a * f)) / j; ^ Main.java:24: error: illegal character: '\u3000' ????????????? y = ((d * c) - (a * f)) / j; ^ Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u956519200|p00004|0
u956519200|p00004|0
codenet
Compile Error
877
v2_s044651563
s044651563
s044651563
p00004
p00004
u995780824
u995780824
1,319,861,950
2011-10-29T04:19:10
Main.java
import java.io.BufferedReader; import java.io.InputStreamReader; //public class Problem0004_SimultaneousEquation { public class Main { public static void main(String[] args) { try { Problem0004_SimultaneousEquation test = new Problem0004_SimultaneousEquation(); // Main test = new Main(); BufferedReader read...
Main.java:8: error: cannot find symbol Problem0004_SimultaneousEquation test = new Problem0004_SimultaneousEquation(); ^ symbol: class Problem0004_SimultaneousEquation location: class Main Main.java:8: error: cannot find symbol Problem0004_SimultaneousEquation test = new Problem0004_SimultaneousEquation(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u995780824|p00004|0
u995780824|p00004|0
codenet
Compile Error
1,788
v2_s098067781
s098067781
s098067781
p00005
p00005
u011621222
u011621222
1,382,774,135
2013-10-26T07:55:35
Main.java
#include <iostream> #include <cstdio> #include <algorithm> #include <cstdlib> #include <queue> #include <cstring> #include <cmath> #define cl(x) memset(x , 0 , sizeof(x)) typedef long long ll; using namespace std; const int N = 100010; int n,m,k; int w[N]; int t[N]; int pre[N]; void sol() { scanf("%d%d%d",&n,&m,...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:2: error: illegal character: '#' #include <cstdio> ^ Main.java:3: error: illegal character: '#' #include <algorithm> ^ Main.java:4: error: illegal character: '#' #include <cstdlib> ^ Main.java:5: error: illegal character: '#' #include <queue> ^ ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011621222|p00005|4
u011621222|p00005|4
codenet
Compile Error
1,155
v2_s033938486
s033938486
s033938486
p00005
p00005
u011621222
u011621222
1,405,647,238
2014-07-18T01:33:58
Main.java
import java.util.Arrays; import java.util.Scanner; public class Main { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Scanner cin=new Scanner(System.in); int a,b; while(cin.hasNext()){ a=cin.nextInt(); b=cin.nextInt(); System.out.printf("%d\n%d...
Main.java:17: error: non-static method GCD(int,int) cannot be referenced from a static context System.out.printf("%d\n%d\n",GCD(a,b),LCM(a,b)); ^ Main.java:17: error: non-static method LCM(int,int) cannot be referenced from a static context System.out.printf("%d\n%d\n",GCD(a,b),LCM...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011621222|p00005|7
u011621222|p00005|7
codenet
Compile Error
523
v2_s214596111
s214596111
s214596111
p00005
p00005
u011621222
u011621222
1,460,150,693
2016-04-08T21:24:53
Main.java
import java.math.BigInteger; import java.util.*; public class Main { public static void main (String [] args){ Scanner input = new Scanner (System.in); while(input.hasNextInt()){ int a,b; a=input.nextInt(); b=input.nextInt(); System.out.println(gcd(a,b)+" "+lcm(a,b)); } } static int gcd (int a, in...
Main.java:24: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u011621222|p00005|11
u011621222|p00005|11
codenet
Compile Error
573
v2_s949509257
s949509257
s949509257
p00005
p00005
u024715419
u024715419
1,336,770,485
2012-05-11T21:08:05
Main.java
import java.util.Scanner; import java.math.BigDecimal; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNext()) { BigDecimal bda = new BigDecimal(sc.nextDouble()); BigDecimal bdb = new BigDecimal(sc.nextDouble()); BigDecimal gcd = bda.gcd(b...
Main.java:9: error: cannot find symbol BigDecimal gcd = bda.gcd(bdb); ^ symbol: method gcd(BigDecimal) location: variable bda of type BigDecimal Main.java:10: error: cannot find symbol BigDecimal lcm = bda.multyply(bdb).divide(gcd); ^ symbol: met...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024715419|p00005|0
u024715419|p00005|0
codenet
Compile Error
429
v2_s974195221
s974195221
s974195221
p00005
p00005
u024715419
u024715419
1,336,770,603
2012-05-11T21:10:03
Main.java
import java.util.Scanner; import java.math.BigInteger; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNext()) { BigInteger bda = new BigInteger(sc.nextDouble()); BigInteger bdb = new BigInteger(sc.nextDouble()); BigInteger gcd = bda.gcd(b...
Main.java:7: error: no suitable constructor found for BigInteger(double) BigInteger bda = new BigInteger(sc.nextDouble()); ^ constructor BigInteger.BigInteger(byte[]) is not applicable (argument mismatch; double cannot be converted to byte[]) constructor BigInteger.BigInteger(...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024715419|p00005|0
u024715419|p00005|0
codenet
Compile Error
429
v2_s897955204
s897955204
s897955204
p00005
p00005
u024715419
u024715419
1,336,770,698
2012-05-11T21:11:38
Main.java
import java.util.Scanner; import java.math.BigInteger; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNext()) { BigInteger bda = new BigInteger(sc.nextInt()); BigInteger bdb = new BigInteger(sc.nextInt()); BigInteger gcd = bda.gcd(bdb); ...
Main.java:7: error: no suitable constructor found for BigInteger(int) BigInteger bda = new BigInteger(sc.nextInt()); ^ constructor BigInteger.BigInteger(byte[]) is not applicable (argument mismatch; int cannot be converted to byte[]) constructor BigInteger.BigInteger(int[]) is...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u024715419|p00005|0
u024715419|p00005|0
codenet
Compile Error
423
v2_s063140433
s063140433
s063140433
p00005
p00005
u122049280
u122049280
1,403,499,264
2014-06-23T04:54:24
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String str = br.readLine(); if(str == null ...
Main.java:14: error: variable declaration not allowed here String[] str1Ary = str.split(" "); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u122049280|p00005|0
u122049280|p00005|0
codenet
Compile Error
730
v2_s093317525
s093317525
s093317525
p00005
p00005
u196414313
u196414313
1,491,128,053
2017-04-02T10:14:13
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] a) throws IOException{ String strLine =""; BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); int i = 0; int max = 50; Strin...
Main.java:99: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u196414313|p00005|0
u196414313|p00005|0
codenet
Compile Error
1,846
v2_s900777448
s900777448
s900777448
p00005
p00005
u196414313
u196414313
1,491,131,608
2017-04-02T11:13:28
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] a) throws IOException{ String strLine =""; BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); int i = 0; int max = 50; int[]...
Main.java:42: error: cannot find symbol int maxBaisu = maxYakusu * temp1 * temp2; ^ symbol: variable temp1 location: class Main Main.java:42: error: cannot find symbol int maxBaisu = maxYakusu * temp1 * temp2; ^ symbol: variable tem...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u196414313|p00005|0
u196414313|p00005|0
codenet
Compile Error
990
v2_s601471764
s601471764
s601471764
p00005
p00005
u211138527
u211138527
1,434,221,181
2015-06-13T18:46:21
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ int a=sc.nextInt(); int b=sc.nextInt(); int c=gcd(a,b); System.out.printf("%d %d%n",c,a*b/c); } } int gcd(int x,inty){ int max=Math.max(x,y); int min=Math.min(x,y); if(max%min==0){return m...
Main.java:13: error: <identifier> expected int gcd(int x,inty){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00005|0
u211138527|p00005|0
codenet
Compile Error
353
v2_s828026138
s828026138
s828026138
p00005
p00005
u211138527
u211138527
1,434,221,205
2015-06-13T18:46:45
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ int a=sc.nextInt(); int b=sc.nextInt(); int c=gcd(a,b); System.out.printf("%d %d%n",c,a*b/c); } } public static int gcd(int x,inty){ int max=Math.max(x,y); int min=Math.min(x,y); if(max%mi...
Main.java:13: error: <identifier> expected public static int gcd(int x,inty){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00005|0
u211138527|p00005|0
codenet
Compile Error
367
v2_s942967854
s942967854
s942967854
p00005
p00005
u211138527
u211138527
1,434,222,304
2015-06-13T19:05:04
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNextInt()){ int a=sc.nextInt(); int b=sc.nextInt(); int c=gcd(a,b); int d=a*b/c; System.out.println(c+" "+d); } } public static int gcd(int x,int y){ int max=Math.max(x,y); int min=Math.min(x,y); int ...
Main.java:17: error: ';' expected int amari=max%min ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00005|0
u211138527|p00005|0
codenet
Compile Error
392
v2_s753539334
s753539334
s753539334
p00005
p00005
u211138527
u211138527
1,434,222,978
2015-06-13T19:16:18
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(sc.hasNextLong()){ long a=sc.nextLong(); long b=sc.nextLong(); long c=gcd(a,b); long d=(a*b)/c; System.out.println(c+" "+d); } } public static long gcd(int x,int y){ long max=Math.max(x,y); long min=Math.mi...
Main.java:9: error: incompatible types: possible lossy conversion from long to int long c=gcd(a,b); ^ Main.java:19: error: incompatible types: possible lossy conversion from long to int else{return gcd(min,amari);} ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u211138527|p00005|0
u211138527|p00005|0
codenet
Compile Error
406
v2_s282627275
s282627275
s282627275
p00005
p00005
u214219188
u214219188
1,432,211,677
2015-05-21T12:34:37
Main.java
import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; class Main { public static void main(String[] arg) throws NumberFormatException, IOException { BufferedReader br = new Buffere...
Main.java:12: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class InputStreamReader location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u214219188|p00005|0
u214219188|p00005|0
codenet
Compile Error
1,075
v2_s258789234
s258789234
s258789234
p00005
p00005
u214219188
u214219188
1,432,211,796
2015-05-21T12:36:36
Main.java
package sample; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; class Main { public static void main(String[] arg) throws NumberFormatException, IOException { BufferedReader...
Main.java:14: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class InputStreamReader location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u214219188|p00005|0
u214219188|p00005|0
codenet
Compile Error
1,145
v2_s774975029
s774975029
s774975029
p00005
p00005
u273981871
u273981871
1,403,618,455
2014-06-24T14:00:55
Main.java
#include <iostream> using namespace std; long gcd(long a, long b) { if(b == 0) return(a); return(gcd(b, a % b)); } long lcm(long m, long n) { if(m == 0 || n == 0) return(0); return((m * n) / gcd(m, n)); } int main(void) { long a, b; while(scanf("%ld %ld", &a, &b) != EOF) { cout << gcd...
Main.java:1: error: illegal character: '#' #include <iostream> ^ Main.java:1: error: class, interface, enum, or record expected #include <iostream> ^ Main.java:4: error: unnamed classes are a preview feature and are disabled by default. long gcd(long a, long b) { ^ (use --enable-preview to enable unnamed cla...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u273981871|p00005|0
u273981871|p00005|0
codenet
Compile Error
378
v2_s491065259
s491065259
s491065259
p00005
p00005
u354076080
u354076080
1,403,136,909
2014-06-19T00:15:09
Main.java
8 6 50000000 30000000
Main.java:1: error: class, interface, enum, or record expected 8 6 ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u354076080|p00005|0
u354076080|p00005|0
codenet
Compile Error
21
v2_s905685927
s905685927
s905685927
p00005
p00005
u399118522
u399118522
1,334,492,882
2012-04-15T12:28:02
Main.java
public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a, b, goc; while (in.hasNext()) { a = in.nextInt(); b = in.nextInt(); System.out.print(goc = goc(a, b)); System.out.print(" "); System.out.println(a / goc * b); } } static int goc(int a, int ...
Main.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner in = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u399118522|p00005|0
u399118522|p00005|0
codenet
Compile Error
382
v2_s232620676
s232620676
s232620676
p00005
p00005
u407513315
u407513315
1,329,633,937
2012-02-19T06:45:37
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a,b; int gcd = 0; int lcm = 0; while ((scan.hasNext())) { a = Integer.parseInt(scan.next()); b = Integer.parseInt(scan.next()); for (int i = 2; i <= Math.min(a, b); i++) { //Å‘åŒö–ñ” i...
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u407513315|p00005|0
u407513315|p00005|0
codenet
Compile Error
481
v2_s761237155
s761237155
s761237155
p00005
p00005
u422535245
u422535245
1,352,265,516
2012-11-07T05:18:36
GCDandLCM.java
import java.util.Scanner; public class GCDandLCM { private GCDandLCM() { Scanner in = new Scanner(System.in) long a,b; while(in.hasNext()){ a = in.nextInt(); b = in.nextInt(); System.out.println(gcd(a,b)+" "+lcm(a,b)); } } public final long gcd(long a, long b) { if(a==b){ return a; } e...
GCDandLCM.java:6: error: ';' expected Scanner in = new Scanner(System.in) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u422535245|p00005|0
u422535245|p00005|0
codenet
Compile Error
532
v2_s765434831
s765434831
s765434831
p00005
p00005
u469183706
u469183706
1,499,765,343
2017-07-11T09:29:03
Main.java
import java.util.Scanner; public Main{ public static void main(String[] args) { Scanner stdin = new Scanner(System.in); int[] a = new int[50]; int[] b = new int[50]; int[] newA = new int[50]; int[] newB = new int[50]; int[] gcd = new int[50]; int[] lcm = new int[50]; int num = 0; System.out.print...
Main.java:3: error: class, interface, enum, or record expected public Main{ ^ Main.java:5: 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:76: error: class, interface,...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469183706|p00005|0
u469183706|p00005|0
codenet
Compile Error
1,253
v2_s176157239
s176157239
s176157239
p00005
p00005
u469183706
u469183706
1,501,227,250
2017-07-28T07:34:10
Main.java
import java.util.Scanner; public class Main public static void main(String[] args) { Scanner stdin = new Scanner(System.in); long a = 0; long b = 0; long ab = 0; long r = 0; long gcd = 0; long lcm = 0; long temp = 0; while(stdin.hasNext()) { a = stdin.nextInt(); b = stdin.nextInt(); ab...
Main.java:3: error: '{' expected public class Main ^ Main.java:4: 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:43: error: class, interface, enum, or recor...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u469183706|p00005|2
u469183706|p00005|2
codenet
Compile Error
615
v2_s768732521
s768732521
s768732521
p00005
p00005
u485626876
u485626876
1,529,893,068
2018-06-25T02:17:48
Main.java
#include<stdio.h> int main(void){ long int a,b,k,r,ab; while(scanf("%ld %ld",&a,&b)!=EOF){ if(a<b){//a>b k=a; a=b; b=k; } //最小公倍数*最大公約数=a*b ab=a*b; while((r=a%b)!=0){ a=b; b=r; } printf("%ld %ld\n",b,ab/b); } return 0; }
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:6: error: class, interface, enum, or record expected while(scanf("%ld %ld",&a,&b)!=EOF){ ^ Main.java:9: error: class, interface, enum, or record expecte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u485626876|p00005|0
u485626876|p00005|0
codenet
Compile Error
318
v2_s108226373
s108226373
s108226373
p00005
p00005
u485626876
u485626876
1,529,893,106
2018-06-25T02:18:26
Main.java
#include<stdio.h> int main(void){ long int a,b,k,r,ab; while(scanf("%ld %ld",&a,&b)!=EOF){ if(a<b){ k=a; a=b; b=k; } ab=a*b; while((r=a%b)!=0){ a=b; b=r; } printf("%ld %ld\n",b,ab/b); } return 0; }
Main.java:1: error: illegal character: '#' #include<stdio.h> ^ Main.java:1: error: class, interface, enum, or record expected #include<stdio.h> ^ Main.java:6: error: class, interface, enum, or record expected while(scanf("%ld %ld",&a,&b)!=EOF){ ^ Main.java:9: error: class, interface, enum, or record expecte...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u485626876|p00005|0
u485626876|p00005|0
codenet
Compile Error
265
v2_s565900137
s565900137
s565900137
p00005
p00005
u558348456
u558348456
1,461,132,968
2016-04-20T06:16:08
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner s = new Scanner(System.in); int max,min; int a,b; String str ; String[] result; int counter = 0; while(true){ str = s.nextLine(); if(str.length...
Main.java:43: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u558348456|p00005|0
u558348456|p00005|0
codenet
Compile Error
654
v2_s532448976
s532448976
s532448976
p00005
p00005
u568857484
u568857484
1,479,180,605
2016-11-15T03:30:05
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); ArrayList<String> ans = new ArrayList<>(); while(sc.hasNext()){ int a = sc.nextInt(),b = sc.nextInt(); ans.add(String.format("%d %d",getGCD(a,b),getLCM(a,b)))...
Main.java:11: error: cannot find symbol for(Int i = 0,size = ans.size();i < size;i++){ ^ symbol: class Int location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u568857484|p00005|0
u568857484|p00005|0
codenet
Compile Error
674
v2_s369016390
s369016390
s369016390
p00005
p00005
u605441342
u605441342
1,300,090,492
2011-03-14T08:14:52
Main.java
public class Main { /** * @param args */ public static void main(String[] args) throws IOException { // System.out.println("Hello world"); InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); while(true){ int n = 2; String c = br.readLine(); if...
Main.java:6: error: cannot find symbol public static void main(String[] args) throws IOException { ^ symbol: class IOException location: class Main Main.java:8: error: cannot find symbol InputStreamReader is = new InputStreamReader(System.in); ^ symbol: clas...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u605441342|p00005|0
u605441342|p00005|0
codenet
Compile Error
990
v2_s830091402
s830091402
s830091402
p00005
p00005
u608398757
u608398757
1,460,298,497
2016-04-10T14:28:17
Main.java
import java.io.*; class Main { public static void main (String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); while (str != null) { String[] strArrays = str.split("\\s", 0); long a = Long.parseLong(strArrays[0]); long b...
Main.java:26: error: cannot find symbol Str = br.readLine(); ^ symbol: variable Str location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u608398757|p00005|0
u608398757|p00005|0
codenet
Compile Error
657
v2_s492523088
s492523088
s492523088
p00005
p00005
u708217907
u708217907
1,498,738,186
2017-06-29T12:09:46
Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamRe...
Main.java:25: error: incompatible types: possible lossy conversion from long to int int candidate = a; ^ Main.java:27: error: incompatible types: possible lossy conversion from long to int candidate = b % a; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u708217907|p00005|1
u708217907|p00005|1
codenet
Compile Error
1,084
v2_s162373971
s162373971
s162373971
p00005
p00005
u764432488
u764432488
1,336,382,583
2012-05-07T09:23:03
Main.java
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ int gcd,lcm; BufferedReader br= new BufferedReader (new InputStreamReader(System.in)); String buf; while(true){ if((buf=br.readLine())==null)break; if(buf.length()==0)break; String[] data=buf.split(" ")...
Main.java:32: error: variable gcd might not have been initialized System.out.println(lcm+" "+gcd); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u764432488|p00005|1
u764432488|p00005|1
codenet
Compile Error
683
v2_s764444048
s764444048
s764444048
p00005
p00005
u770686467
u770686467
1,349,078,712
2012-10-01T08:05:12
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); while(true){ long numA = stdIn.nextLong(); long numB = stdIn.nextLong(); long GCD = getGCD(numA,numB); long GCD = getGCD(numA,numB); System.out.println(GCD + " " + LCM); ...
Main.java:11: error: variable GCD is already defined in method main(String[]) long GCD = getGCD(numA,numB); ^ Main.java:12: error: cannot find symbol System.out.println(GCD + " " + LCM); ^ symbol: variable LCM location: class Main Main.java:24: error: incompatible t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00005|1
u770686467|p00005|1
codenet
Compile Error
1,297
v2_s813485300
s813485300
s813485300
p00005
p00005
u770686467
u770686467
1,349,079,146
2012-10-01T08:12:26
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); while(true){ long numA = stdIn.nextLong(); long numB = stdIn.nextLong(); long GCD = getGCD(numA,numB); long LCM = getLCM(numA,numB); System.out.println(GCD + " " + LCM); ...
Main.java:24: error: incompatible types: possible lossy conversion from long to int int temp= numA; ^ Main.java:31: error: cannot find symbol if(NumA % bigNum == 0 && NumB % bigNum == 0){ ^ symbol: variable NumA location: class Main Main.java:31: error: cannot find symbol if(NumA ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00005|1
u770686467|p00005|1
codenet
Compile Error
1,297
v2_s020032782
s020032782
s020032782
p00005
p00005
u770686467
u770686467
1,349,080,061
2012-10-01T08:27:41
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); while(true){ long numA = stdIn.nextLong(); long numB = stdIn.nextLong(); long GCD = getGCD(numA,numB); long LCM = getLCM(numA,numB); System.out.println(GCD + " " + LCM); ...
Main.java:24: error: incompatible types: possible lossy conversion from long to int int temp= numA; ^ Main.java:31: error: cannot find symbol if(NumA % bigNum == 0 && NumB % bigNum == 0){ ^ symbol: variable NumA location: class Main Main.java:31: error: cannot find symbol if(NumA ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00005|1
u770686467|p00005|1
codenet
Compile Error
1,296
v2_s648296790
s648296790
s648296790
p00005
p00005
u770686467
u770686467
1,349,080,537
2012-10-01T08:35:37
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); while(true){ long numA = stdIn.nextLong(); long numB = stdIn.nextLong(); long GCD = getGCD(numA,numB); long LCM = getLCM(numA,numB); System.out.println(GCD + " " + LCM); ...
Main.java:24: error: incompatible types: possible lossy conversion from long to int int temp= numA; ^ Main.java:31: error: cannot find symbol if(NumA % bigNum == 0 && NumB % bigNum == 0){ ^ symbol: variable NumA location: class Main Main.java:31: error: cannot find symbol if(NumA ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00005|1
u770686467|p00005|1
codenet
Compile Error
1,298
v2_s079678831
s079678831
s079678831
p00005
p00005
u770686467
u770686467
1,349,081,314
2012-10-01T08:48:34
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner stdIn = new Scanner(System.in); while(true){ long numA = stdIn.nextLong(); long numB = stdIn.nextLong(); long GCD = getGCD(numA,numB); long LCM = getLCM(numA,numB); System.out.println(GCD + " " + LCM); ...
Main.java:24: error: incompatible types: possible lossy conversion from long to int int temp= numA; ^ Main.java:31: error: cannot find symbol if(NumA % bigNum == 0 && NumB % bigNum == 0){ ^ symbol: variable NumA location: class Main Main.java:31: error: cannot find symbol if(NumA ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00005|1
u770686467|p00005|1
codenet
Compile Error
1,298
v2_s566941461
s566941461
s566941461
p00005
p00005
u770686467
u770686467
1,351,045,432
2012-10-24T02:23:52
Main.java
import java.util.Scanner; &#160; //GCD and LCM public class Main{ &#160; &#160;&#160;&#160;&#160;public static long gcd(long a, long b){ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if(a < b){ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;long tmp = a; &#160;&#160;&#160;&#160;&#160;&#160;&#...
Main.java:2: error: class, interface, enum, or record expected &#160; ^ Main.java:2: error: illegal character: '#' &#160; ^ Main.java:5: error: illegal start of type &#160; ^ Main.java:5: error: illegal character: '#' &#160; ^ Main.java:6: error: illegal start of type &#160;&#160;&#160;&#160;public static long gcd(lo...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u770686467|p00005|4
u770686467|p00005|3
codenet
Compile Error
1,619
v2_s440584271
s440584271
s440584271
p00005
p00005
u804728337
u804728337
1,499,324,354
2017-07-06T06:59:14
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ //?????°??£?¨? Scanner sc; int a; //??\???????????° int b; int c=1; int d; //???????????????????????? int i = 0; //???????????? //int[] haco; //??¨?????¨????????? //String haco = iter.next(); //int [][] haco...
Main.java:84: error: cannot find symbol System.out.print(haco[j][0] + " "); ^ symbol: variable haco location: class Main Main.java:87: error: cannot find symbol System.out.println(haco[0][h]); ^ symbol: variable haco location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u804728337|p00005|2
u804728337|p00005|2
codenet
Compile Error
1,761
v2_s865316520
s865316520
s865316520
p00005
p00005
u814766864
u814766864
1,428,227,813
2015-04-05T09:56:53
Main.java
public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a =scan.nextInt(); int b =scan.nextInt(); int gcd; if(a>b){ gcd = gcd(a,b); }else{ gcd = gcd(b, a); } int gld = a*b/gcd; System.out.println(gcd + " " + gld); scan.close(); } private stat...
Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u814766864|p00005|0
u814766864|p00005|0
codenet
Compile Error
475
v2_s720364122
s720364122
s720364122
p00005
p00005
u907626292
u907626292
1,337,738,241
2012-05-23T01:57:21
Main.java
import java.io.* class Main{ public static void main(String args[]) throws java.io.IOException{ Scanner scan = new Scanner(System.in); while(scan.hasNext()){ int a =nextInt(); int b = nextInt(); System.out.println(gcd(a,b)+" "+a*b/gcd(a,b)); } } public static long gcd(int a,int b){ if(b==0)return a; return gcd(b,a%...
Main.java:1: error: ';' expected import java.io.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00005|0
u907626292|p00005|0
codenet
Compile Error
327
v2_s719858260
s719858260
s719858260
p00005
p00005
u907626292
u907626292
1,337,738,294
2012-05-23T01:58:14
Main.java
import java.io.* class Main{ public static void main(String args[]) throws java.io.IOException{ Scanner scan = new Scanner(System.in); while(scan.hasNext()){ int a =nextInt(); int b = nextInt(); System.out.println(gcd(a,b)+" "+a*b/gcd(a,b)); } } public static long gcd(int a,int b){ if(b==0)return a; return gcd(b,a%...
Main.java:1: error: ';' expected import java.io.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00005|0
u907626292|p00005|0
codenet
Compile Error
327
v2_s909478138
s909478138
s909478138
p00005
p00005
u907626292
u907626292
1,337,738,315
2012-05-23T01:58:35
Main.java
import java.io.* class Main{ public static void main(String args[]) throws java.io.IOException{ Scanner scan = new Scanner(System.in); while(scan.hasNext()){ int a =nextInt(); int b = nextInt(); System.out.println(gcd(a,b)+" "+a*b/gcd(a,b)); } } public static long gcd(int a,int b){ if(b==0)return a; return gcd(b,a%...
Main.java:1: error: ';' expected import java.io.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00005|0
u907626292|p00005|0
codenet
Compile Error
327
v2_s336697364
s336697364
s336697364
p00005
p00005
u907626292
u907626292
1,337,738,325
2012-05-23T01:58:45
Main.java
import java.io.*; class Main{ public static void main(String args[]) throws java.io.IOException{ Scanner scan = new Scanner(System.in); while(scan.hasNext()){ int a =nextInt(); int b = nextInt(); System.out.println(gcd(a,b)+" "+a*b/gcd(a,b)); } } public static long gcd(int a,int b){ if(b==0)return a; return gcd(b,a...
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:8: error: cannot find symbol int ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00005|0
u907626292|p00005|0
codenet
Compile Error
328
v2_s220066951
s220066951
s220066951
p00005
p00005
u907626292
u907626292
1,337,738,363
2012-05-23T01:59:23
Main.java
import java.io.*; class Main{ public static void main(String args[]) throws java.io.IOException{ Scanner scan = new Scanner(System.in); while(scan.hasNext()){ int a =nextInt(); int b = nextInt(); System.out.println(gcd(a,b)+" "+a*b/gcd(a,b)); } } public static long gcd(int a,int b){ if(b==0)return a; return gcd(b,a...
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:8: error: cannot find symbol int ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00005|0
u907626292|p00005|0
codenet
Compile Error
328
v2_s445677909
s445677909
s445677909
p00005
p00005
u907626292
u907626292
1,337,738,403
2012-05-23T02:00:03
Main.java
import java.io.*; import java.util.* class Main{ public static void main(String args[]) throws java.io.IOException{ Scanner scan = new Scanner(System.in); while(scan.hasNext()){ int a =nextInt(); int b = nextInt(); System.out.println(gcd(a,b)+" "+a*b/gcd(a,b)); } } public static long gcd(int a,int b){ if(b==0)retur...
Main.java:2: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00005|0
u907626292|p00005|0
codenet
Compile Error
347
v2_s566958017
s566958017
s566958017
p00005
p00005
u907626292
u907626292
1,337,738,482
2012-05-23T02:01:22
Main.java
import java.io.*; import java.util.*; class Main{ public static void main(String args[]) throws java.io.IOException{ Scanner scan = new Scanner(System.in); while(scan.hasNext()){ int a =nextInt(); int b = nextInt(); System.out.println(gcd(a,b)+" "+a*b/gcd(a,b)); } } public static long gcd(int a,int b){ if(b==0)retu...
Main.java:9: error: cannot find symbol int a =nextInt(); ^ symbol: method nextInt() location: class Main Main.java:10: error: cannot find symbol int b = nextInt(); ^ symbol: method nextInt() location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00005|0
u907626292|p00005|0
codenet
Compile Error
348
v2_s631976212
s631976212
s631976212
p00005
p00005
u907626292
u907626292
1,337,738,621
2012-05-23T02:03:41
Main.java
import java.io.*; import java.util; class Main{ public static void main(String args[]) throws java.io.IOException{ Scanner scan = new Scanner(System.in); while(scan.hasNext()){ int a =nextInt(); int b = nextInt(); System.out.println(gcd(a,b)+" "+a*b/gcd(a,b)); } } public static long gcd(int a,int b){ if(b==0)return...
Main.java:2: error: cannot find symbol import java.util; ^ symbol: class util location: package java Main.java:7: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:7: error: cannot find symbol Scanner scan = new Scanner(System....
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u907626292|p00005|0
u907626292|p00005|0
codenet
Compile Error
346
v2_s131466335
s131466335
s131466335
p00005
p00005
u910223642
u910223642
1,488,512,099
2017-03-03T03:34:59
Main.java
class Main { public static void main( String[] args ) { java.util.Scanner sc = new java.util.Scanner( System.in ); int a = sc.nextInt(); int b = sc.nextInt(); System.out.printf( "%d %d\n" , ??¬?´???°??????( a, b ), ??¬?????°??????( a, b ) ); } static int ??¬?????°??????( int a, int b ) { int ac = a...
Main.java:10: error: illegal start of expression System.out.printf( "%d %d\n" , ???????????????( a, b ), ???????????????( a, b ) ); ^ Main.java:10: error: illegal start of expression System.out.printf( "%d %d\n" , ???????????????( a, b ), ???????????????( a, b ) ); ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910223642|p00005|0
u910223642|p00005|0
codenet
Compile Error
725
v2_s284627640
s284627640
s284627640
p00005
p00005
u910402677
u910402677
1,480,074,338
2016-11-25T11:45:38
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static long gcd(long a, long b){ if(a < b){ long tmp = a; a = b; b = tmp; } while(b > 0){ int r = a % b; a = b; b = r; } return a; } public static long lcm(long a, long b, long g)...
Main.java:13: error: incompatible types: possible lossy conversion from long to int int r = a % b; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00005|0
u910402677|p00005|0
codenet
Compile Error
617
v2_s825716219
s825716219
s825716219
p00005
p00005
u910402677
u910402677
1,480,224,033
2016-11-27T05:20:33
Main.java
import java.util.*; public class Main{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ List<Integer> listG = new ArrayList<Integer>(); List<Integer> listL = new ArrayList<Integer>(); while(scan.hasNext()){ int a = scan.nextInt(); int b = scan.nextInt()...
Main.java:27: error: ';' expected if(b != 0)return gcd(b, a % b) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u910402677|p00005|1
u910402677|p00005|1
codenet
Compile Error
799