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_s211750966
s211750966
s211750966
p02681
p02681
u018773111
u018773111
1,593,002,211
2020-06-24T12:36:51
Main.java
import java.util*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); String[] aa = new String[a.length()]; String[] bb = new String[b.length()]; int ans = 0; for(int i = 0; i < a.length(); i++){ ...
Main.java:1: error: ';' expected import java.util*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u018773111|p02681|0
u018773111|p02681|0
codenet
Compile Error
409
v2_s613587018
s613587018
s613587018
p02681
p02681
u038781275
u038781275
1,589,182,558
2020-05-11T07:35:58
Main.java
private static boolean canBeAppended(String s1, String s2) { if (s1 == null || s2 == null) { return false; } int m = s1.length(), n = s2.length(), i = 0; while (i < m && i < n) { if (s1.charAt(i) != s2.charAt(i)) { return false; ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. private static boolean canBeAppended(String s1, String s2) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u038781275|p02681|0
u038781275|p02681|0
codenet
Compile Error
623
v2_s257672281
s257672281
s257672281
p02681
p02681
u038781275
u038781275
1,589,182,779
2020-05-11T07:39:39
Main.java
public class Main { private static boolean canBeAppended(String s1, String s2) { if (s1 == null || s2 == null) { return false; } int m = s1.length(), n = s2.length(), i = 0; while (i < m && i < n) { if (s1.charAt(i) != s2.charAt(i)) { return ...
Main.java:20: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:20: 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
u038781275|p02681|0
u038781275|p02681|0
codenet
Compile Error
659
v2_s228694698
s228694698
s228694698
p02681
p02681
u041533916
u041533916
1,589,159,542
2020-05-11T01:12:22
Main.java
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String id1 = br.readLine(); String id2 = br.readLine(); if(id1.length() == id2.length() -1) { System.out.pr...
Main.java:13: error: cannot find symbol System.out.prinlnt("Yes"); ^ symbol: method prinlnt(String) location: variable out of type PrintStream 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u041533916|p02681|0
u041533916|p02681|0
codenet
Compile Error
568
v2_s579724997
s579724997
s579724997
p02681
p02681
u044982943
u044982943
1,589,159,325
2020-05-11T01:08:45
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); String S = scan.next(); String T = scan.next(); if (S.contains(T.substring(0, S.length())) && T.length() == S.length() + 1 && S.length() <= 10 && ...
Main.java:15: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u044982943|p02681|0
u044982943|p02681|0
codenet
Compile Error
453
v2_s871264013
s871264013
s871264013
p02681
p02681
u047746316
u047746316
1,591,117,132
2020-06-02T16:58:52
Main.java
public class Main { public static void main(String[] args) { StringBuilder s = new StringBuilder(); StringBuilder t = new StringBuilder(); // Tの末尾から1文字削除でSとなる if (s.setLength==(t.length()-1)) { System.out.println("No"); } else{ System.out.println("No"); } } }
Main.java:8: error: cannot find symbol if (s.setLength==(t.length()-1)) { ^ symbol: variable setLength location: variable s of type StringBuilder 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u047746316|p02681|0
u047746316|p02681|0
codenet
Compile Error
344
v2_s979142323
s979142323
s979142323
p02681
p02681
u047746316
u047746316
1,591,118,314
2020-06-02T17:18:34
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner t = new Scanner(System.in); Scanner s = new Scanner(System.in); String = t; String s=t-1; if(s.equals(t)) { System.out.println("Yes"); } else{ ...
Main.java:8: error: cannot find symbol String = t; ^ symbol: variable String location: class Main Main.java:9: error: variable s is already defined in method main(String[]) String s=t-1; ^ Main.java:9: error: bad operand types for binary operator '-' String s=t-1; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u047746316|p02681|0
u047746316|p02681|0
codenet
Compile Error
370
v2_s712207106
s712207106
s712207106
p02681
p02681
u047746316
u047746316
1,591,129,078
2020-06-02T20:17:58
Main.java
[16:14] 中嶋莉子 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); String T1 = t.substring(s.length() - 0); //tの末尾一文字だ...
Main.java:1: error: class, interface, enum, or record expected [16:14] ???? ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u047746316|p02681|1
u047746316|p02681|0
codenet
Compile Error
552
v2_s657663323
s657663323
s657663323
p02681
p02681
u056043043
u056043043
1,589,659,230
2020-05-16T20:00:30
Test.java
public class Test { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.nextLine(); String s1 = sc.nextLine(); if(s.equals(s1.substring(0,s1.length()-1))){ System.out.println("Yes"); } else { System.out.p...
Test.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Test Test.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Test 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056043043|p02681|0
u056043043|p02681|0
codenet
Compile Error
351
v2_s057561475
s057561475
s057561475
p02681
p02681
u056043043
u056043043
1,589,659,368
2020-05-16T20:02:48
Main.java
public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.nextLine(); String s1 = sc.nextLine(); if(s.equals(s1.substring(0,s1.length()-1))){ System.out.println("Yes"); } else { System.out.println("No"); } ...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[] args) { ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u056043043|p02681|0
u056043043|p02681|0
codenet
Compile Error
325
v2_s090229472
s090229472
s090229472
p02681
p02681
u083824251
u083824251
1,591,126,959
2020-06-02T19:42:39
Main.java
public class Main{ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String S = scanner.next(); String T = scanner.next(); if (T.length() == S.length()+1 && T.indexOf(S) != -1) { System.out.println("Yes"); } else{ System.out.println...
Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u083824251|p02681|0
u083824251|p02681|0
codenet
Compile Error
359
v2_s814964887
s814964887
s814964887
p02681
p02681
u083824251
u083824251
1,591,127,021
2020-06-02T19:43:41
Main.java
public class Main{ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String S = scanner.next(); String T = scanner.next(); if (T.length() == S.length()+1 && T.indexOf(S) != -1) { System.out.println("Yes"); } else{ System.out.println...
Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner scanner = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u083824251|p02681|0
u083824251|p02681|0
codenet
Compile Error
359
v2_s647643963
s647643963
s647643963
p02681
p02681
u087075373
u087075373
1,589,163,498
2020-05-11T02:18:18
Solution.java
import java.util.*; public class Solution{ public static Scanner scanner = new Scanner(System.in); public static void main(String[] args) { String S = scanner.nextLine(); String T = scanner.nextLine(); if(res(S,T)){ System.out.println("Yes"); } ...
Solution.java:18: error: cannot find symbol if(S.eqauls("")) ^ symbol: method eqauls(String) location: variable S of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u087075373|p02681|0
u087075373|p02681|0
codenet
Compile Error
1,019
v2_s419176522
s419176522
s419176522
p02681
p02681
u096249502
u096249502
1,590,155,737
2020-05-22T13:55:37
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String a=sc.next(); String b=sc.next(); if(a.equals(b.substring(0,b.length())) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:7: error: ')' expected if(a.equals(b.substring(0,b.length())) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u096249502|p02681|0
u096249502|p02681|0
codenet
Compile Error
286
v2_s806452629
s806452629
s806452629
p02681
p02681
u096249502
u096249502
1,590,155,843
2020-05-22T13:57:23
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String a=sc.next(); String b=sc.next(); if(a.equals(b.substring(0,a.length())) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:7: error: ')' expected if(a.equals(b.substring(0,a.length())) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u096249502|p02681|0
u096249502|p02681|0
codenet
Compile Error
286
v2_s549062831
s549062831
s549062831
p02681
p02681
u114053864
u114053864
1,592,881,968
2020-06-23T03:12:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String a = scan.next(); String b = scan.next(); for (int j = 0; j<a.length();j++){ if (a.charAt(j)!=b.charAt(j)){ System.out.println("No"); return; } }...
Main.java:14: error: ';' expected System.out.println("Yes") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u114053864|p02681|0
u114053864|p02681|0
codenet
Compile Error
357
v2_s278595161
s278595161
s278595161
p02681
p02681
u131335254
u131335254
1,589,159,370
2020-05-11T01:09:30
Main.java
public static void main(String[]args){ Scanner input = new Scanner(System.in); String s = input.nextLine(); String t = input.nextLine(); System.out.println(compare(s,t)); } public static boolean compare(String S , String T){ char[] chars1 = S.toCharArray(); ch...
Main.java:1: error: unnamed classes are a preview feature and are disabled by default. public static void main(String[]args){ ^ (use --enable-preview to enable unnamed classes) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u131335254|p02681|0
u131335254|p02681|0
codenet
Compile Error
543
v2_s294747809
s294747809
s294747809
p02681
p02681
u131335254
u131335254
1,589,159,459
2020-05-11T01:10:59
Main.java
public class Main { public static void main(String[]args){ Scanner input = new Scanner(System.in); String s = input.nextLine(); String t = input.nextLine(); System.out.println(compare(s,t)); } public static boolean compare(String S , String T){ char[] chars1 = S.to...
Main.java:4: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:4: error: cannot find symbol Scanner input = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u131335254|p02681|0
u131335254|p02681|0
codenet
Compile Error
569
v2_s983830958
s983830958
s983830958
p02681
p02681
u135572611
u135572611
1,589,482,442
2020-05-14T18:54:02
Main.java
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); String s = sc.nextLine(); String t = sc.nextLine(); String t2 = t.substring(0, s.length - 1); if(s.equals(t2)) System.out.println("Yes"); ...
Main.java:8: error: cannot find symbol String t2 = t.substring(0, s.length - 1); ^ symbol: variable length location: variable s of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u135572611|p02681|0
u135572611|p02681|0
codenet
Compile Error
364
v2_s947551594
s947551594
s947551594
p02681
p02681
u172482961
u172482961
1,589,766,653
2020-05-18T01:50:53
Main.java
System.out.print("hello")
Main.java:1: error: class, interface, enum, or record expected System.out.print("hello") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u172482961|p02681|0
u172482961|p02681|0
codenet
Compile Error
25
v2_s586102712
s586102712
s586102712
p02681
p02681
u182708119
u182708119
1,589,163,233
2020-05-11T02:13:53
Main.java
import java.util.*; public static void main(String [] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); if(s==t-1 && s.length == t.length-1) { System.out.println("Yes"); } else { System.out.println("No"); } }
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) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u182708119|p02681|0
u182708119|p02681|0
codenet
Compile Error
277
v2_s487101604
s487101604
s487101604
p02681
p02681
u196369401
u196369401
1,589,159,288
2020-05-11T01:08:08
Main.java
import java.io*; class Registration { public static void main(String args[])throws IOException { InputStreamReader ab = new InputStreamReader(System.in); BufferedReader cd = new BufferedReader(ab); String s = cd.readLine(); String t = cd.readLine(); int l1 = s.length(); int l2= t.length(); ...
Main.java:1: error: ';' expected import java.io*; ^ Main.java:25: error: reached end of file while parsing }} ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u196369401|p02681|0
u196369401|p02681|0
codenet
Compile Error
577
v2_s729586942
s729586942
s729586942
p02681
p02681
u198693633
u198693633
1,589,206,124
2020-05-11T14:08:44
Main.java
public class Main { public static void main(String[] args) { Scanner file = new Scanner(System.in); String s = file.next(), t = file.next(); System.out.println(s.equals(t.substring(0, t.length() - 1)) ? "Yes" : "No"); file.close(); } }
Main.java:3: error: cannot find symbol Scanner file = new Scanner(System.in); ^ symbol: class Scanner location: class Main Main.java:3: error: cannot find symbol Scanner file = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u198693633|p02681|0
u198693633|p02681|0
codenet
Compile Error
266
v2_s603667069
s603667069
s603667069
p02681
p02681
u199120400
u199120400
1,589,159,041
2020-05-11T01:04:01
Main.java
import java.utiimport java.util.*; import java.io.*; public class Main { public static void main (final String[] args) { final Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); if (t.startsWith(s) && s.length() == t.length()-1) System.out.prin...
Main.java:1: error: ';' expected import java.utiimport java.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u199120400|p02681|0
u199120400|p02681|0
codenet
Compile Error
377
v2_s565548846
s565548846
s565548846
p02681
p02681
u208733542
u208733542
1,589,347,964
2020-05-13T05:32:44
Main.java
import java.io.*; import java.util.ArrayList; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws Exception { new Main().go(); } PrintWriter out; Reader in; BufferedReader br; Main() throws IOException { try { //b...
Main.java:64: error: package Solution does not exist static class Pair<A extends Comparable<A>, B extends Comparable<B>> implements Comparable<Solution.Pair<A, B>> { ^ Main.java:74: error: package Solution does not...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u208733542|p02681|0
u208733542|p02681|0
codenet
Compile Error
6,220
v2_s033692987
s033692987
s033692987
p02681
p02681
u212397344
u212397344
1,590,712,226
2020-05-29T00:30:26
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); char[] S = sc.next().toCharArray(); char[] T = sc.next().toCharArray(); for(int i=0; i<S.length; i++){ if(S[i] != T[i]){ System.out.print("No"); return; } } ...
Main.java:13: error: cannot find symbol if(T.lenth - S.length == 1 ){ ^ symbol: variable lenth location: variable T of type char[] 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u212397344|p02681|0
u212397344|p02681|0
codenet
Compile Error
433
v2_s193626532
s193626532
s193626532
p02681
p02681
u214701107
u214701107
1,589,745,657
2020-05-17T20:00:57
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.nextLine(); String b = sc.nextLine(); System.out.println(b.startsWith(a) ? "Yes" : "No"); } } import java.util.Scanner; public class Main { public static void main(...
Main.java:13: error: class, interface, enum, or record expected import java.util.Scanner; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u214701107|p02681|0
u214701107|p02681|0
codenet
Compile Error
494
v2_s781645061
s781645061
s781645061
p02681
p02681
u253165929
u253165929
1,589,299,140
2020-05-12T15:59:00
Main.java
import java.util.Scanner public class Main { Scanner sc = new Scanner(System.in); String S = sc.next(); String T = sc.next(); System.out.println(S+S.length()) }
Main.java:1: error: ';' expected import java.util.Scanner ^ Main.java:7: error: <identifier> expected System.out.println(S+S.length()) ^ Main.java:7: error: <identifier> expected System.out.println(S+S.length()) ^ 3 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u253165929|p02681|0
u253165929|p02681|0
codenet
Compile Error
174
v2_s150540561
s150540561
s150540561
p02681
p02681
u260354145
u260354145
1,589,167,331
2020-05-11T03:22:11
Main.java
import java.io.*; class contest{ public static void main(String args[]){ Scanner s = new Scanner(System.in); String str1 = s.nextLine(); String str2 = s.nextLine(); char arr1[] = str1.toCharArray(); char arr2[] = str2.toCharArray(); for(int i=0;i<arr1.length;i++...
Main.java:5: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class contest Main.java:5: error: cannot find symbol Scanner s = new Scanner(System.in); ^ symbol: class Scanner location: class contest Main.java:17: error: canno...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u260354145|p02681|0
u260354145|p02681|0
codenet
Compile Error
528
v2_s668930747
s668930747
s668930747
p02681
p02681
u260354145
u260354145
1,589,167,393
2020-05-11T03:23:13
Main.java
import java.io.*; import java.util.*; class contest{ public static void main(String args[]){ Scanner s = new Scanner(System.in); String str1 = s.nextLine(); String str2 = s.nextLine(); char arr1[] = str1.toCharArray(); char arr2[] = str2.toCharArray(); for(int i...
Main.java:18: error: cannot find symbol if(i==arr1.length){ ^ symbol: variable i location: class contest 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u260354145|p02681|0
u260354145|p02681|0
codenet
Compile Error
548
v2_s769048497
s769048497
s769048497
p02681
p02681
u268467094
u268467094
1,589,238,062
2020-05-11T23:01:02
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); do{ String s = sc.nextLine(); String t = sc.nextLine(); }while(s.length() < 1 || s.length() > 10) String s = sc.nextLine...
Main.java:10: error: ';' expected }while(s.length() < 1 || s.length() > 10) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u268467094|p02681|0
u268467094|p02681|0
codenet
Compile Error
627
v2_s523569387
s523569387
s523569387
p02681
p02681
u268467094
u268467094
1,589,238,104
2020-05-11T23:01:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); do{ String s = sc.nextLine(); String t = sc.nextLine(); }while(s.length() < 1 || s.length() > 10); String s = sc.nextLin...
Main.java:10: error: cannot find symbol }while(s.length() < 1 || s.length() > 10); ^ symbol: variable s location: class Main Main.java:10: error: cannot find symbol }while(s.length() < 1 || s.length() > 10); ^ symbol: variable s location: class...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u268467094|p02681|0
u268467094|p02681|0
codenet
Compile Error
628
v2_s284862357
s284862357
s284862357
p02681
p02681
u268467094
u268467094
1,589,238,173
2020-05-11T23:02:53
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s; String t; do{ String s = sc.nextLine(); String t = sc.nextLine(); }while(s.length() < 1 || s.length() > 10); Strin...
Main.java:11: error: variable s is already defined in method main(String[]) String s = sc.nextLine(); ^ Main.java:12: error: variable t is already defined in method main(String[]) String t = sc.nextLine(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u268467094|p02681|0
u268467094|p02681|0
codenet
Compile Error
575
v2_s105973402
s105973402
s105973402
p02681
p02681
u278381434
u278381434
1,589,159,034
2020-05-11T01:03:54
InVoker.java
// No sorceries shall prevail. // import java.util.*; import javafx.util.*; import java.io.*; public class InVoker { //Variables static long mod = 1000000007; static long mod2 = 998244353; static FastReader inp= new FastReader(); static PrintWriter out= new PrintWriter(System.out); public static void m...
InVoker.java:3: error: package javafx.util does not exist import javafx.util.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u278381434|p02681|0
u278381434|p02681|0
codenet
Compile Error
24,263
v2_s043692912
s043692912
s043692912
p02681
p02681
u278381434
u278381434
1,589,166,815
2020-05-11T03:13:35
Main.java
// No sorceries shall prevail. // import java.util.*; import javafx.util.*; import java.io.*; public class Main { //Variables static long mod = 1000000007; static long mod2 = 998244353; static FastReader inp= new FastReader(); static PrintWriter out= new PrintWriter(System.out); public static void main...
Main.java:3: error: package javafx.util does not exist import javafx.util.*; ^ Main.java:24: error: cannot find symbol Pair<Integer,Integer> pos[]=new Pair[n]; ^ symbol: class Pair location: class Main Main.java:24: error: cannot find symbol Pair<Integer,Integer> pos[]=new Pair[n]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u278381434|p02681|1
u278381434|p02681|0
codenet
Compile Error
4,256
v2_s850631437
s850631437
s850631437
p02681
p02681
u278381434
u278381434
1,589,166,872
2020-05-11T03:14:32
Main.java
// No sorceries shall prevail. // import java.util.*; import javafx.util.*; import java.io.*; public class Main { //Variables static long mod = 1000000007; static long mod2 = 998244353; static FastReader inp= new FastReader(); static PrintWriter out= new PrintWriter(System.out); public static void main...
Main.java:3: error: package javafx.util does not exist import javafx.util.*; ^ Main.java:24: error: cannot find symbol Pair<Integer,Integer> pos[]=new Pair[n]; ^ symbol: class Pair location: class Main Main.java:24: error: cannot find symbol Pair<Integer,Integer> pos[]=new Pair[n]; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u278381434|p02681|1
u278381434|p02681|0
codenet
Compile Error
4,256
v2_s620031513
s620031513
s620031513
p02681
p02681
u284795785
u284795785
1,591,720,781
2020-06-09T16:39:41
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String k=sc.next(); String l=sc.next(); String[] a=s.split(""); String[] b=s.split(""); int c=0; for(int c=0;c<k.length();c++){ if(!a[c].equals(b[c])){ int=1; ...
Main.java:14: error: not a statement int=1; ^ Main.java:14: error: ';' expected int=1; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u284795785|p02681|0
u284795785|p02681|0
codenet
Compile Error
492
v2_s507363825
s507363825
s507363825
p02681
p02681
u284795785
u284795785
1,591,720,837
2020-06-09T16:40:37
Main.java
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String k=sc.next(); String l=sc.next(); String[] a=s.split(""); String[] b=s.split(""); int c=0; for(int c=0;c<k.length();c++){ if(!a[c].equals(b[c])){ c=1; ...
Main.java:8: error: cannot find symbol String[] a=s.split(""); ^ symbol: variable s location: class Main Main.java:9: error: cannot find symbol String[] b=s.split(""); ^ symbol: variable s location: class Main Main.java:12: error: variable c is already defined in method mai...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u284795785|p02681|0
u284795785|p02681|0
codenet
Compile Error
492
v2_s462148561
s462148561
s462148561
p02681
p02681
u285734280
u285734280
1,595,856,072
2020-07-27T13:21:12
Main.java
public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S = sc.next(); String T = sc.next(); String x = S.substring(0,S.length()); String y = T.substring(0,S.length()); if(x.equals(y)) { System.out.println("Yes"); }else { System.out.println("No"); ...
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
u285734280|p02681|0
u285734280|p02681|0
codenet
Compile Error
331
v2_s419156929
s419156929
s419156929
p02681
p02681
u308800552
u308800552
1,589,160,999
2020-05-11T01:36:39
Main.java
import java.util.*; Class Compare{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String s1 = sc.nextLine(); String s2 = sc.nextLine(); String s3 = s1.subString(0,s1.length()); if(s1.equalsTo(s3)){ System.out.println("Yes"); }else{ System.out.println("No");...
Main.java:3: error: class, interface, enum, or record expected Class Compare{ ^ 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:15: error: class, interface, enu...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u308800552|p02681|0
u308800552|p02681|0
codenet
Compile Error
337
v2_s628782562
s628782562
s628782562
p02681
p02681
u308800552
u308800552
1,589,161,068
2020-05-11T01:37:48
Main.java
import java.util.*; class Compare{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String s1 = sc.nextLine(); String s2 = sc.nextLine(); String s3 = s1.subString(0,s1.length()); if(s1.equalsTo(s3)){ System.out.println("Yes"); }else{ System.out.println("No")...
Main.java:8: error: cannot find symbol String s3 = s1.subString(0,s1.length()); ^ symbol: method subString(int,int) location: variable s1 of type String Main.java:9: error: cannot find symbol if(s1.equalsTo(s3)){ ^ symbol: method equalsTo(String) location: variable s1 of typ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u308800552|p02681|0
u308800552|p02681|0
codenet
Compile Error
336
v2_s730950790
s730950790
s730950790
p02681
p02681
u308800552
u308800552
1,589,161,244
2020-05-11T01:40:44
Main.java
import java.util.*; class Compare{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String s1 = sc.nextLine(); String s2 = sc.nextLine(); String s3 = s1.substring(0,s1.length()); if(s1.equalsTo(s3)){ System.out.println("Yes"); }else{ System.out.println("No")...
Main.java:9: error: cannot find symbol if(s1.equalsTo(s3)){ ^ symbol: method equalsTo(String) location: variable s1 of type String 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u308800552|p02681|0
u308800552|p02681|0
codenet
Compile Error
336
v2_s231314398
s231314398
s231314398
p02681
p02681
u325206354
u325206354
1,591,478,302
2020-06-06T21:18:22
Main.java
import java.util.*; class Main { private static Scanner sc; public static void main(final String[] args) { sc = new Scanner(System.in); String a = sc.next(),b = sc.next(); if(a.equals(b.substring(0,a.length())) System.out.println("Yes"); else System.out.println("No"); } } ...
Main.java:9: error: ')' expected if(a.equals(b.substring(0,a.length())) System.out.println("Yes"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u325206354|p02681|0
u325206354|p02681|0
codenet
Compile Error
325
v2_s918851074
s918851074
s918851074
p02681
p02681
u345351125
u345351125
1,589,773,893
2020-05-18T03:51:33
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner in = new Scanner(System.in); String S = in.nextLine(); String T = in.nextLine(); if (S.equals(T.substring(0,(S.length()))){ System.out.println("Yes"); } ...
Main.java:9: error: ')' expected if (S.equals(T.substring(0,(S.length()))){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u345351125|p02681|0
u345351125|p02681|0
codenet
Compile Error
388
v2_s990534907
s990534907
s990534907
p02681
p02681
u358093272
u358093272
1,589,319,046
2020-05-12T21:30:46
Main.java
return T.substring(0,t.length()-1).equals(S);
Main.java:1: error: class, interface, enum, or record expected return T.substring(0,t.length()-1).equals(S); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358093272|p02681|0
u358093272|p02681|0
codenet
Compile Error
45
v2_s102802612
s102802612
s102802612
p02681
p02681
u358093272
u358093272
1,589,363,691
2020-05-13T09:54:51
Main.java
class Runner { public static void main(String[] args){ Scanner scan = new Scanner(System.in); String s = scan.nextLine(); String t = scan.nextLine(); if(t.substring(0,t.length()-1).equals(s)){ System.out.println("Yes"); } else { System.out.println("No"); } } }
Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Runner Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Runner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358093272|p02681|1
u358093272|p02681|1
codenet
Compile Error
318
v2_s475522942
s475522942
s475522942
p02681
p02681
u358093272
u358093272
1,589,364,054
2020-05-13T10:00:54
Main.java
class Runner { public static void main(String[] args){ Scanner scan = new Scanner(System.in); String s = scan.nextLine(); String t = scan.nextLine(); if(t.substring(0,t.length()-1).equals(s)){ System.out.println("Yes"); } else { System.out.println("No"); } } }
Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Runner Main.java:5: error: cannot find symbol Scanner scan = new Scanner(System.in); ^ symbol: class Scanner location: class Runner 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u358093272|p02681|1
u358093272|p02681|1
codenet
Compile Error
318
v2_s651945804
s651945804
s651945804
p02681
p02681
u372633838
u372633838
1,589,703,465
2020-05-17T08:17:45
Main.java
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double Double; #define rep(i, n) for (int i = 0; i < (int)(n); i++) // chmax, chmin template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; return 1; } return 0; } template <class T> inline bool chmin(T &a, T ...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:4: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:5: error: class, interface, enum, or record expected t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u372633838|p02681|0
u372633838|p02681|0
codenet
Compile Error
568
v2_s683813431
s683813431
s683813431
p02681
p02681
u372633838
u372633838
1,589,703,622
2020-05-17T08:20:22
Main.java
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double Double; #define rep(i, n) for (int i = 0; i < (int)(n); i++) // chmax, chmin template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; return 1; } return 0; } template <class T> inline bool chmin(T &a, T ...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:4: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:5: error: class, interface, enum, or record expected t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u372633838|p02681|0
u372633838|p02681|0
codenet
Compile Error
568
v2_s810739429
s810739429
s810739429
p02681
p02681
u372633838
u372633838
1,589,705,985
2020-05-17T08:59:45
Main.java
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double Double; #define rep(i, n) for (int i = 0; i < (int)(n); i++) // chmax, chmin template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; return 1; } return 0; } template <class T> inline bool chmin(T &a, T ...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:4: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:5: error: class, interface, enum, or record expected t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u372633838|p02681|0
u372633838|p02681|0
codenet
Compile Error
568
v2_s125620826
s125620826
s125620826
p02681
p02681
u372633838
u372633838
1,589,705,995
2020-05-17T08:59:55
Main.java
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double Double; #define rep(i, n) for (int i = 0; i < (int)(n); i++) // chmax, chmin template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; return 1; } return 0; } template <class T> inline bool chmin(T &a, T ...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:4: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:5: error: class, interface, enum, or record expected t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u372633838|p02681|0
u372633838|p02681|0
codenet
Compile Error
568
v2_s778810805
s778810805
s778810805
p02681
p02681
u372633838
u372633838
1,589,706,377
2020-05-17T09:06:17
Main.java
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double Double; #define rep(i, n) for (int i = 0; i < (int)(n); i++) // chmax, chmin template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; return 1; } return 0; } template <class T> inline bool chmin(T &a, T ...
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:4: error: class, interface, enum, or record expected typedef long long ll; ^ Main.java:5: error: class, interface, enum, or record expected t...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u372633838|p02681|0
u372633838|p02681|0
codenet
Compile Error
568
v2_s073989967
s073989967
s073989967
p02681
p02681
u383217711
u383217711
1,589,212,341
2020-05-11T15:52:21
Main.java
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); String s=sc.next(); String s1=sc.next(); if(s1.length()-1!=s.length()) {System.out.println("No");return 0;} if(s1.contains(s)) System.out.println("Yes"); else ...
Main.java:10: error: incompatible types: unexpected return value {System.out.println("No");return 0;} ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u383217711|p02681|0
u383217711|p02681|0
codenet
Compile Error
361
v2_s907942221
s907942221
s907942221
p02681
p02681
u420622981
u420622981
1,589,159,264
2020-05-11T01:07:44
Main.java
import java.util.regex.Pattern; Class Main { public static void main(String...args) { Pattern p = Pattern.compile(S + "[a-z]$"); return p.matcher(T).find() ? "Yes" : "No"; } }
Main.java:3: error: class, interface, enum, or record expected 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:10: error: class, interface, enum, ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420622981|p02681|0
u420622981|p02681|0
codenet
Compile Error
191
v2_s229258146
s229258146
s229258146
p02681
p02681
u420622981
u420622981
1,589,159,440
2020-05-11T01:10:40
Main.java
import java.util.regex.Pattern; import java.util.*; public class Main { public static void main(String[] args){ Pattern p = Pattern.compile(S + "[a-z]$"); return p.matcher(T).find() ? "Yes" : "No"; } }
Main.java:5: error: cannot find symbol Pattern p = Pattern.compile(S + "[a-z]$"); ^ symbol: variable S location: class Main Main.java:6: error: incompatible types: unexpected return value return p.matcher(T).find() ? "Yes" : "No"; ^ Main.java:6: error...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420622981|p02681|0
u420622981|p02681|0
codenet
Compile Error
213
v2_s372003862
s372003862
s372003862
p02681
p02681
u420622981
u420622981
1,589,159,571
2020-05-11T01:12:51
Main.java
import java.util.regex.Pattern; import java.util.*; public class Main { public static void main(String[] args){ Scanner S = new Scanner(System.in); Scanner T = new Scanner(System.in); Pattern p = Pattern.compile(S + "[a-z]$"); return p.matcher(T).find() ? "Yes" : "No"; } }
Main.java:8: error: incompatible types: unexpected return value return p.matcher(T).find() ? "Yes" : "No"; ^ Main.java:8: error: incompatible types: Scanner cannot be converted to CharSequence return p.matcher(T).find() ? "Yes" : "No"; ^ Note: Some messages have been ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420622981|p02681|0
u420622981|p02681|0
codenet
Compile Error
301
v2_s035512718
s035512718
s035512718
p02681
p02681
u420622981
u420622981
1,589,159,664
2020-05-11T01:14:24
Main.java
import java.util.regex.Pattern; import java.util.*; public class Main { public static void main(String[] args){ Scanner s = new Scanner(System.in); String S = s.next(); String T = s.next(); Pattern p = Pattern.compile(S + "[a-z]$"); return p.matcher(T).find() ? "Yes" : "No"; } }
Main.java:9: error: incompatible types: unexpected return value return p.matcher(T).find() ? "Yes" : "No"; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420622981|p02681|0
u420622981|p02681|0
codenet
Compile Error
314
v2_s975031106
s975031106
s975031106
p02681
p02681
u420622981
u420622981
1,589,159,767
2020-05-11T01:16:07
Main.java
import java.util.regex.Pattern; import java.util.*; public class Main { public static void main(String[] args){ Scanner s = new Scanner(System.in); String S = s.next(); String T = s.next(); Pattern p = Pattern.compile(S + "[a-z]$"); if(p.matcher(T).find()){ return "Yes"; ...
Main.java:10: error: incompatible types: unexpected return value return "Yes"; ^ Main.java:12: error: incompatible types: unexpected return value return "No"; ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u420622981|p02681|0
u420622981|p02681|0
codenet
Compile Error
369
v2_s563647540
s563647540
s563647540
p02681
p02681
u429342487
u429342487
1,591,107,421
2020-06-02T14:17:01
Main.java
public class Main { public static void main(String[] args) { string s = "No"; string t = "Yes"; t = t+1; System.out.println("s:"+s.ToString()); System.out.println("t:"+t.ToString()); if(t.equals(s)){ System.out.println("[equals]条件一致"); } else{ System.out.p...
Main.java:3: error: cannot find symbol string s = "No"; ^ symbol: class string location: class Main Main.java:4: error: cannot find symbol string t = "Yes"; ^ symbol: class string location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u429342487|p02681|0
u429342487|p02681|0
codenet
Compile Error
378
v2_s821160956
s821160956
s821160956
p02681
p02681
u429342487
u429342487
1,591,107,456
2020-06-02T14:17:36
Main.java
public class Main { public static void main(String[] args) { string s = "No"; string t = "Yes"; t = t+1; System.out.println("s:"+s.ToString()); System.out.println("t:"+t.ToString()); if(t.equals(s)){ System.out.println("[equals]条件一致"); } else{ System.out.p...
Main.java:3: error: cannot find symbol string s = "No"; ^ symbol: class string location: class Main Main.java:4: error: cannot find symbol string t = "Yes"; ^ symbol: class string location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u429342487|p02681|0
u429342487|p02681|0
codenet
Compile Error
378
v2_s961031349
s961031349
s961031349
p02681
p02681
u429342487
u429342487
1,591,118,210
2020-06-02T17:16:50
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner t = new Scanner(System.in); Scanner s = new Scanner(System.in); String = t; String s=t-1; if(s.equals(t)) { System.out.println("Yes"); } else{ ...
Main.java:8: error: cannot find symbol String = t; ^ symbol: variable String location: class Main Main.java:9: error: variable s is already defined in method main(String[]) String s=t-1; ^ Main.java:9: error: bad operand types for binary operator '-' String s=t-1; ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u429342487|p02681|1
u429342487|p02681|0
codenet
Compile Error
370
v2_s245206432
s245206432
s245206432
p02681
p02681
u445916016
u445916016
1,589,159,237
2020-05-11T01:07:17
Main.java
def main(): first_try = input() second_try = input() if first_try == second_try[:-1]: print('Yes') else: print('No') if __name__ == '__main__': main()
Main.java:6: error: unclosed character literal print('Yes') ^ Main.java:6: error: unclosed character literal print('Yes') ^ Main.java:8: error: unclosed character literal print('No') ^ Main.java:8: error: unclosed character literal print('No'...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u445916016|p02681|0
u445916016|p02681|0
codenet
Compile Error
190
v2_s067274843
s067274843
s067274843
p02681
p02681
u454049857
u454049857
1,589,159,790
2020-05-11T01:16:30
Main.java
import java.util.* public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); String S = scanner.nextLine(); String T = scanner.nextLine(); if(T.length() != S.length() && T.substring(0,S.length()).equals(S)){ System.out.println("Yes"); }else{ ...
Main.java:1: error: ';' expected import java.util.* ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u454049857|p02681|0
u454049857|p02681|0
codenet
Compile Error
366
v2_s350296681
s350296681
s350296681
p02681
p02681
u532252958
u532252958
1,592,629,647
2020-06-20T05:07:27
Main.java
#include <bits/stdc++.h> 2 using namespace std; 3 4 string S, T; 5 void input() { 6 cin >> S >> T; 7 } 8 9 void solve() { 10 T.pop_back(); 11 if(S == T) cout << "Yes" << endl; 12 else cout << "No" << endl; 13 } 14 15 int main() { 16 input(); 17 solve(); 18 return 0; 19 }
Main.java:1: error: illegal character: '#' #include <bits/stdc++.h> ^ Main.java:1: error: class, interface, enum, or record expected #include <bits/stdc++.h> ^ Main.java:3: error: class, interface, enum, or record expected 3 ^ Main.java:5: error: class, interface, enum, or record expected 5 void input() { ^ Ma...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u532252958|p02681|0
u532252958|p02681|0
codenet
Compile Error
271
v2_s097078669
s097078669
s097078669
p02681
p02681
u538283043
u538283043
1,589,160,314
2020-05-11T01:25:14
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.next(); String T = sc.next(); int check =0; for (int i=0; i<S.length(); i++) { if (S.charAt(i) == T.charAt(i)) check++; } if...
Main.java:17: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u538283043|p02681|0
u538283043|p02681|0
codenet
Compile Error
436
v2_s823134715
s823134715
s823134715
p02681
p02681
u539465520
u539465520
1,590,770,204
2020-05-29T16:36:44
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S = sc.next(); String T = sc.nest(); if (S.length() == T.length() + 1) System.out.println(T.contains((S) ? "YES" : "NO"); } }
Main.java:10: error: ')' or ',' expected System.out.println(T.contains((S) ? "YES" : "NO"); ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539465520|p02681|0
u539465520|p02681|0
codenet
Compile Error
270
v2_s338323063
s338323063
s338323063
p02681
p02681
u539465520
u539465520
1,590,770,268
2020-05-29T16:37:48
Main.java
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S = sc.next(); String T = sc.nest(); if (S.length() == T.length() + 1) System.out.println(T.contains(S) ? "YES" : "NO"); } }
Main.java:7: error: cannot find symbol String T = sc.nest(); ^ symbol: method nest() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539465520|p02681|0
u539465520|p02681|0
codenet
Compile Error
270
v2_s343236559
s343236559
s343236559
p02681
p02681
u539465520
u539465520
1,590,772,081
2020-05-29T17:08:01
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String[] S = sc.next().split(""); String[] T = sc.next().split(""); sc.close(); if (S.length + 1 == T.length) { for (int i = 0; i < S.length; i++) { if (! S[i].equals(T[i]...
Main.java:20: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u539465520|p02681|0
u539465520|p02681|0
codenet
Compile Error
462
v2_s958856425
s958856425
s958856425
p02681
p02681
u543709442
u543709442
1,589,159,009
2020-05-11T01:03:29
Main.java
import javafx.util.Pair; import java.io. *; import java.lang.reflect.Array; import java.util.*; import static java.lang.Math.*; public class Main { static int visited[]; static ArrayList<ArrayList<Integer>> adjlist; static class edge implements Comparator<edge>{ int dest; int cost; ...
Main.java:1: error: package javafx.util does not exist import javafx.util.Pair; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u543709442|p02681|0
u543709442|p02681|0
codenet
Compile Error
10,764
v2_s190345400
s190345400
s190345400
p02681
p02681
u547407782
u547407782
1,589,159,109
2020-05-11T01:05:09
Main.java
import java.util.*; class solution{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String s = sc.nextInt(); String t = sc.nextInt(); for(int i=0;i<s.length();i++) { if(s.charAt(i)!=t.charAt(i)) { System.out.println("No"); break; } ...
Main.java:5: error: incompatible types: int cannot be converted to String String s = sc.nextInt(); ^ Main.java:6: error: incompatible types: int cannot be converted to String String t = sc.nextInt(); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547407782|p02681|0
u547407782|p02681|0
codenet
Compile Error
366
v2_s914350755
s914350755
s914350755
p02681
p02681
u547407782
u547407782
1,589,159,891
2020-05-11T01:18:11
Main.java
import java.util.*; import java.util.regex; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); for(int i=0;i<s.length();i++){ if(s.charAt(i)!=t.charAt(i)){ System.out.println("No"); return; ...
Main.java:2: error: cannot find symbol import java.util.regex; ^ symbol: class regex location: package java.util 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u547407782|p02681|0
u547407782|p02681|0
codenet
Compile Error
374
v2_s102525646
s102525646
s102525646
p02681
p02681
u567771677
u567771677
1,589,159,453
2020-05-11T01:10:53
Main.java
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan; String S; String T; int Ss; String Sc; scan = new Scanner(System.in); S = scan.next(); T = scan.next(); Ss = S.length(); Sc = T.substring(0, Ss); if (Sc = S){ System....
Main.java:18: error: incompatible types: String cannot be converted to boolean if (Sc = S){ ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u567771677|p02681|0
u567771677|p02681|0
codenet
Compile Error
397
v2_s910735505
s910735505
s910735505
p02681
p02681
u593014976
u593014976
1,589,381,131
2020-05-13T14:45:31
Main.java
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String S = scan.nextLine(); String T = scan.nextLine(); int amt = S.length(); String T_part = T.substring(0, amt); if(T_part.equals(S) && T.length() == (amt + 1)){ System.out.pr...
Main.java:15: error: ';' expected System.out.println("No") ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u593014976|p02681|0
u593014976|p02681|0
codenet
Compile Error
396
v2_s880421113
s880421113
s880421113
p02681
p02681
u597558557
u597558557
1,592,192,941
2020-06-15T03:49:01
Main.java
import java.util.*; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner in = new Scanner(System.in); String s=in.next(); String str=in.next(); if(s.compareToIgnoreCase(str.substring(0,str.length()-1))==0) { System.out.println("yes"); } else { ...
Main.java:19: error: class, interface, enum, or record expected import java.util.*; ^ Main.java:37: error: class, interface, enum, or record expected Submission Info ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u597558557|p02681|0
u597558557|p02681|0
codenet
Compile Error
731
v2_s566536614
s566536614
s566536614
p02681
p02681
u603504022
u603504022
1,589,159,223
2020-05-11T01:07:03
Main.java
import java.io; import java.util; class Solution{ public static void main(String args[]){ Scanner sc=new Scanner(); String s=sc.sscan(); String t=sc.scan(); t=t.substring(0,t.length-1); if(s.equals(t)) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:1: error: cannot find symbol import java.io; ^ symbol: class io location: package java Main.java:2: error: cannot find symbol import java.util; ^ symbol: class util location: package java Main.java:5: error: cannot find symbol Scanner sc=new Scanner(); ^ symbol: c...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u603504022|p02681|0
u603504022|p02681|0
codenet
Compile Error
304
v2_s411420109
s411420109
s411420109
p02681
p02681
u603504022
u603504022
1,589,161,190
2020-05-11T01:39:50
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int t=sc.nextInt(); long k=sc.nextLong(); int arr[]=new int[t]; int vis[]=new int[t]; for(int i=0;i<t;i++){ arr[i]=sc.nextInt()-1; vis[i]=0; } ...
Main.java:17: error: cannot find symbol curr=a[curr]; ^ symbol: variable a location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u603504022|p02681|0
u603504022|p02681|0
codenet
Compile Error
424
v2_s933317990
s933317990
s933317990
p02681
p02681
u603504022
u603504022
1,589,161,235
2020-05-11T01:40:35
Main.java
import java.io.*; import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int t=sc.nextInt(); long k=sc.nextLong(); int arr[]=new int[t]; int vis[]=new int[t]; for(int i=0;i<t;i++){ arr[i]=sc.nextInt()-1; vis[i]=0; } ...
Main.java:21: error: reached end of file while parsing } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u603504022|p02681|0
u603504022|p02681|0
codenet
Compile Error
424
v2_s643717251
s643717251
s643717251
p02681
p02681
u610146401
u610146401
1,595,135,124
2020-07-19T05:05:24
Main.java
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S=sc.next(); String T=sc.next(); boolean U=false; for(char v='a';c<='z';v++){ if((S+c).equals(T)){ U=true; } } System.out.print...
Main.java:8: error: cannot find symbol for(char v='a';c<='z';v++){ ^ symbol: variable c location: class Main Main.java:9: error: cannot find symbol if((S+c).equals(T)){ ^ symbol: variable c location: class Main Main.java:13: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u610146401|p02681|0
u610146401|p02681|0
codenet
Compile Error
345
v2_s836826127
s836826127
s836826127
p02681
p02681
u610146401
u610146401
1,595,135,191
2020-07-19T05:06:31
Main.java
import java.util.Scanner*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S=sc.next(); String T=sc.next(); boolean U=false; for(char v='a';c<='z';v++){ if((S+c).equals(T)){ U=true; } } System.ou...
Main.java:1: error: ';' expected import java.util.Scanner*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u610146401|p02681|0
u610146401|p02681|0
codenet
Compile Error
352
v2_s563052889
s563052889
s563052889
p02681
p02681
u610146401
u610146401
1,595,135,680
2020-07-19T05:14:40
Main.java
import java.util.*; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S=sc.next(); String T=sc.next(); boolean U=false; for(char v='a';c<='z';v++){ if((S+c).equals(T)){ U=true; } } System.out.println(b...
Main.java:8: error: cannot find symbol for(char v='a';c<='z';v++){ ^ symbol: variable c location: class Main Main.java:9: error: cannot find symbol if((S+c).equals(T)){ ^ symbol: variable c location: class Main Main.java:13: error: cannot find symbol ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u610146401|p02681|0
u610146401|p02681|0
codenet
Compile Error
341
v2_s791276777
s791276777
s791276777
p02681
p02681
u610146401
u610146401
1,595,136,401
2020-07-19T05:26:41
Main.java
import java.util.Scanner*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S=sc.next(); String T=sc.next(); if(t.substring(0,T.length()-1).equals(s)){ System.out.println("Yes"); }else{ System.out.println("No"); } ...
Main.java:1: error: ';' expected import java.util.Scanner*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u610146401|p02681|0
u610146401|p02681|0
codenet
Compile Error
327
v2_s692193507
s692193507
s692193507
p02681
p02681
u610146401
u610146401
1,595,136,461
2020-07-19T05:27:41
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S=sc.next(); String T=sc.next(); if(t.substring(0,T.length()-1).equals(s)){ System.out.println("Yes"); }else{ System.out.println("No"); } ...
Main.java:7: error: cannot find symbol if(t.substring(0,T.length()-1).equals(s)){ ^ symbol: variable s location: class Main Main.java:7: error: cannot find symbol if(t.substring(0,T.length()-1).equals(s)){ ^ symbol: variable t location: class ...
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u610146401|p02681|0
u610146401|p02681|0
codenet
Compile Error
326
v2_s219774751
s219774751
s219774751
p02681
p02681
u616130131
u616130131
1,589,181,418
2020-05-11T07:16:58
Solution.java
/*** * ██████╗=====███████╗====███████╗====██████╗= * ██╔══██╗====██╔════╝====██╔════╝====██╔══██╗ * ██║==██║====█████╗======█████╗======██████╔╝ * ██║==██║====██╔══╝======██╔══╝======██╔═══╝= * ██████╔╝====███████╗====███████╗====██║===== * ╚═════╝=====╚══════╝====╚══════╝====╚═╝===== * ===...
Solution.java:10: error: package com.sun.org.apache.bcel.internal.generic is not visible import com.sun.org.apache.bcel.internal.generic.ANEWARRAY; ^ (package com.sun.org.apache.bcel.internal.generic is declared in module java.xml, which does not export it) 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u616130131|p02681|0
u616130131|p02681|0
codenet
Compile Error
8,320
v2_s745002560
s745002560
s745002560
p02681
p02681
u625729753
u625729753
1,589,159,122
2020-05-11T01:05:22
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String res = ""; String s = sc.next(); String t = sc.next(); if (t.startsWith(s) && t.length()-1 == s.length()) { res = "true"; } else res = "false"; } System.out.print...
Main.java:18: error: <identifier> expected System.out.printf("%d", res); ^ Main.java:18: error: illegal start of type System.out.printf("%d", res); ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u625729753|p02681|0
u625729753|p02681|0
codenet
Compile Error
336
v2_s893003309
s893003309
s893003309
p02681
p02681
u653887921
u653887921
1,589,827,212
2020-05-18T18:40:12
Main.java
import java.util.*; class Main { public static void main(String[]args) { Scanner sc = new Scanner(System.in) String S = sc.next(); String T = sc.next(); if(S.epuals(T.substring(0, T.length(), +1))) System.out.println("Yes"); else System.out.println("No") } ...
Main.java:5: error: ';' expected Scanner sc = new Scanner(System.in) ^ Main.java:11: error: ';' expected System.out.println("No") ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653887921|p02681|1
u653887921|p02681|1
codenet
Compile Error
321
v2_s735070735
s735070735
s735070735
p02681
p02681
u653887921
u653887921
1,589,827,425
2020-05-18T18:43:45
Main.java
import java.util.*; class Main { public static void main(String[]args) { Scanner sc = new Scanner(System.in) String S = sc.next(); String T = sc.next(); if(S.epuals(T.substring(0, T.length() - 1))) System.out.println("Yes"); else System.out.println("No") }...
Main.java:5: error: ';' expected Scanner sc = new Scanner(System.in) ^ Main.java:11: error: ';' expected System.out.println("No") ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653887921|p02681|1
u653887921|p02681|1
codenet
Compile Error
322
v2_s957098143
s957098143
s957098143
p02681
p02681
u653887921
u653887921
1,589,827,473
2020-05-18T18:44:33
Main.java
import java.util.*; class Main { public static void main(String[]args) { Scanner sc = new Scanner(System.in) String S = sc.next(); String T = sc.next(); if(S.epuals(T.substring(0, T.length() - 1))) { System.out.println("Yes"); } else{ System.out.println("No")...
Main.java:5: error: ';' expected Scanner sc = new Scanner(System.in) ^ Main.java:12: error: ';' expected System.out.println("No") ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u653887921|p02681|1
u653887921|p02681|1
codenet
Compile Error
336
v2_s559126731
s559126731
s559126731
p02681
p02681
u678048156
u678048156
1,589,758,986
2020-05-17T23:43:06
Main.java
S = input() T = input() if T.startswith(S): print("Yes") else: print("No")
Main.java:1: error: class, interface, enum, or record expected S = input() ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u678048156|p02681|0
u678048156|p02681|0
codenet
Compile Error
83
v2_s875505121
s875505121
s875505121
p02681
p02681
u680301971
u680301971
1,589,890,903
2020-05-19T12:21:43
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.next(); String T = sc.next(); System.out.println("str = " + str); if (str.length() == 1) { System.out.println("Yes"); ...
Main.java:10: error: cannot find symbol System.out.println("str = " + str); ^ symbol: variable str location: class Main Main.java:11: error: cannot find symbol if (str.length() == 1) { ^ symbol: variable str location: class Main 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u680301971|p02681|0
u680301971|p02681|0
codenet
Compile Error
407
v2_s482562024
s482562024
s482562024
p02681
p02681
u688601504
u688601504
1,593,735,971
2020-07-03T00:26:11
ArrayIntro.java
import java.in.*; import java.util.*; public class ArrayIntro { public static void main(String[] args) { Scanner sc=new Scanner(System.in); String s=sc.nextLine(); String x=sc.nextLine(); int n=x.length(); String r=x.substring(0,n-1); if(r.equals(s)) {System.out.println("Yes");} else ...
ArrayIntro.java:1: error: package java.in does not exist import java.in.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u688601504|p02681|0
u688601504|p02681|0
codenet
Compile Error
374
v2_s917351263
s917351263
s917351263
p02681
p02681
u688601504
u688601504
1,593,736,230
2020-07-03T00:30:30
Main.java
import java.in.*; import java.util.*; import java.lang.*; class ArrayIntro { public static void main(String[] args) { Scanner sc=new Scanner(System.in); String s=sc.nextLine(); String x=sc.nextLine(); int n=x.length(); String r=x.substring(0,n-1); if(r.equals(s)) {System.out.println("Y...
Main.java:1: error: package java.in does not exist import java.in.*; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u688601504|p02681|0
u688601504|p02681|0
codenet
Compile Error
388
v2_s371965597
s371965597
s371965597
p02681
p02681
u690487796
u690487796
1,589,160,368
2020-05-11T01:26:08
Main.java
package java -Xss256M; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String userS=""; do{ userS = scan.nextLine(); }while (userS.length() <= 0 || userS.length() >= 10); String userT = scan.nextLine();; if(canSet(userS, u...
Main.java:1: error: ';' expected package java -Xss256M; ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u690487796|p02681|0
u690487796|p02681|0
codenet
Compile Error
708
v2_s458306385
s458306385
s458306385
p02681
p02681
u705459860
u705459860
1,589,160,047
2020-05-11T01:20:47
Codechef.java
import java.util.Scanner; public class Codechef{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); s = s.toLowerCase(); t=t.toLowerCase(); t=t.replace(s,""); t=t.trim(); if(t.length()==1) { System.out.println("Yes"); } else ...
Codechef.java:19: error: class, interface, enum, or record expected } ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u705459860|p02681|0
u705459860|p02681|0
codenet
Compile Error
361
v2_s485462085
s485462085
s485462085
p02681
p02681
u710255953
u710255953
1,589,187,561
2020-05-11T08:59:21
Solution.java
import java.util.*; public class Solution{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String s = sc.next(); String c = sc.next(); int l = c.length(); String g = c.substring(0,l-1); if(s.equals(g) System.out.println("Yes"); else System.o...
Solution.java:9: error: ')' expected if(s.equals(g) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u710255953|p02681|0
u710255953|p02681|0
codenet
Compile Error
355
v2_s387688411
s387688411
s387688411
p02681
p02681
u710255953
u710255953
1,589,187,606
2020-05-11T09:00:06
Solution.java
ort java.util.*; public class Solution{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); String s = sc.next(); String c = sc.next(); int l = c.length; String g = c.substring(0,l-1); if(s.equals(g) System.out.println("Yes"); else System.out.pr...
Solution.java:1: error: class, interface, enum, or record expected ort java.util.*; ^ Solution.java:9: error: ')' expected if(s.equals(g) ^ 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u710255953|p02681|0
u710255953|p02681|0
codenet
Compile Error
350
v2_s382777720
s382777720
s382777720
p02681
p02681
u721366706
u721366706
1,589,159,663
2020-05-11T01:14:23
Main.java
import java.util.Scanner; class Solution { public static void main(String[] args) { Scanner sc= new Scanner(System.in); String S= sc.nextLine(); String T= sc.nextline(); if(S.compareTo(T)==1) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:8: error: cannot find symbol String T= sc.nextline(); ^ symbol: method nextline() location: variable sc of type Scanner 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u721366706|p02681|0
u721366706|p02681|0
codenet
Compile Error
293
v2_s508893298
s508893298
s508893298
p02681
p02681
u721366706
u721366706
1,589,159,959
2020-05-11T01:19:19
Main.java
class Solution { public static void main(String[] args) { Scanner sc= new Scanner(System.in); String S= sc.nextLine(); String T= sc.nextLine(); if(S.compareTo(T)>=1) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:6: error: cannot find symbol Scanner sc= new Scanner(System.in); ^ symbol: class Scanner location: class Solution Main.java:6: error: cannot find symbol Scanner sc= new Scanner(System.in); ^ symbol: class Scanner location: class Solution 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u721366706|p02681|0
u721366706|p02681|0
codenet
Compile Error
268
v2_s217326987
s217326987
s217326987
p02681
p02681
u721366706
u721366706
1,589,160,122
2020-05-11T01:22:02
Main.java
class Solution { public static void main(String[] args) { Scanner sc= new Scanner(System.in); String S= sc.nextLine(); String T= sc.nextLine(); if(S.compareTo(T)>=0) System.out.println("Yes"); else System.out.println("No"); } }
Main.java:6: error: cannot find symbol Scanner sc= new Scanner(System.in); ^ symbol: class Scanner location: class Solution Main.java:6: error: cannot find symbol Scanner sc= new Scanner(System.in); ^ symbol: class Scanner location: class Solution 2 errors
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u721366706|p02681|0
u721366706|p02681|0
codenet
Compile Error
268
v2_s420752450
s420752450
s420752450
p02681
p02681
u721366706
u721366706
1,589,162,093
2020-05-11T01:54:53
Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc= new Scanner(System.in); String S= sc.nextLine(); String T= sc.nextLine(); if(S.length()+1==T.length()&& S.equals(T.substring(0,( S.length()-1)) System.out.println("Yes"); else System.out...
Main.java:9: error: ')' or ',' expected if(S.length()+1==T.length()&& S.equals(T.substring(0,( S.length()-1)) ^ 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u721366706|p02681|0
u721366706|p02681|0
codenet
Compile Error
347
v2_s164845223
s164845223
s164845223
p02681
p02681
u763187086
u763187086
1,589,603,084
2020-05-16T04:24:44
Main.java
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); String S = input.nextLine(); String T = input.nextLine(); new Solution().solve(S, T); } private void solve(String s, String t) { int low = 0; int high =...
Main.java:8: error: cannot find symbol new Solution().solve(S, T); ^ symbol: class Solution location: class Main 1 error
compile_error
1
OpenJDK 21.0.12.1
unlabelled
2.1
u763187086|p02681|0
u763187086|p02681|0
codenet
Compile Error
485