bug_id
stringlengths
8
8
faulty_code
stringlengths
152
314k
correct_code
stringlengths
173
314k
fault_location
stringclasses
164 values
bug_type
stringclasses
3 values
junit_test
stringlengths
1.31k
8.69k
faulty_runtime_info
dict
36706818
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.print((int)Math.pow(32,(double)a/b)); sc.close(); } }
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.print((int)Math.pow(32,a-b)); sc.close(); } }
8
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_36706818 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 5, 6, 7, 8, 9, 10 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_0\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 1, 1, 1, 1, 1 ], "num_failures": 3, "output": "JUnit version 4.13.2...
37447678
import java.io.PrintWriter; import java.math.*; import java.time.*; import java.time.format.DateTimeFormatter; import java.util.*; class Main { static void solve (Scanner in, PrintWriter out) { int a = in.nextInt(), b = in.nextInt(); out.println(Math.pow(32, a-b)); } public static void main(String[] arg...
import java.io.PrintWriter; import java.math.*; import java.time.*; import java.time.format.DateTimeFormatter; import java.util.*; class Main { static void solve (Scanner in, PrintWriter out) { int a = in.nextInt(), b = in.nextInt(); out.println((int)(Math.pow(32, a-b))); } public static void main(Strin...
11
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_37447678 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 10, 11, 13, 16, 17, 18, 19, 20, 21 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_1\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, ...
37724455
import java.util.*; import java.io.*; class Main { public static void main(String[] args) { ContestScanner sc = new ContestScanner(); ContestPrinter ou = new ContestPrinter(); int A = sc.nextInt(); int B = sc.nextInt(); ou.println(Math.pow(32,A-B)); ...
import java.util.*; import java.io.*; class Main { public static void main(String[] args) { ContestScanner sc = new ContestScanner(); ContestPrinter ou = new ContestPrinter(); int A = sc.nextInt(); int B = sc.nextInt(); ou.println((int)Math.pow(32,A-B)); ...
10
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_37724455 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 5, 6, 8, 9, 10, 14, 15, 21, 22, 23, 29, 30, 31, 38, 39, 42, 43, 45, 47, 50, 51, 55, 59, 60, 66, 70, 72, 88, 90, 91, 92, 93, 97, 101, ...
38114865
import java.util.*; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n=scan.nextInt(); int k =scan.nextInt(); System.out.println(Math.pow(32,(n-k))); } }
import java.util.*; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n=scan.nextInt(); int k =scan.nextInt(); System.out.println((int)Math.pow(32,(n-k))); } }
7
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_38114865 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 4, 5, 6, 7, 9 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_3\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 1, 1, 1, 0, 1 ], "num_failures": 3, "output": "JUnit version 4.13.2\n.E.E.E\nTime:...
38271049
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a==b) System.out.println(1); else System.out.println(Math.pow(32,Math.abs(a-b))); } }
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a==b) System.out.println(1); else System.out.println((int)Math.pow(32,Math.abs(a-b))); } }
10
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_38271049 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 4, 6, 7, 9, 10, 11 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_4\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1 ], "num_failures": 2, "output": "JUnit versio...
38748942
import java.util.Scanner; public class Main{ public static void main(String []args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int n = a - b; if (a > b) { System.out.println(Ma...
import java.util.Scanner; public class Main{ public static void main(String []args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int n = a - b; if (a > b) { System.out.println((i...
9
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_38748942 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 4, 5, 6, 7, 8, 9, 11, 12, 15 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_5\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1 ...
41497748
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); int a=scanner.nextInt(); int b=scanner.nextInt(); System.out.println(Math.pow(32,a-b)); } }
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); int a=scanner.nextInt(); int b=scanner.nextInt(); System.out.println((int)Math.pow(32,a-b)); } }
7
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_41497748 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 4, 5, 6, 7, 8 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_6\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 1, 1, 1, 1 ], "num_failures": 3, "output": "JUnit version 4.13.2\n.E.E.E\nTime: 0.075\...
45490610
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double a = sc.nextDouble(); double b = sc.nextDouble(); double ans = Math.pow(32.0, a - b); System.out.println(ans); } }
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double a = sc.nextDouble(); double b = sc.nextDouble(); double ans = Math.pow(32.0, a - b); System.out.println((int)ans); } }
8
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_45490610 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 4, 5, 6, 7, 8, 9 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_7\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 1, 1, 1, 1, 1 ], "num_failures": 3, "output": "JUnit version 4.13.2\n.E.E.E...
35808560
import java.util.*; import java.io.*; import java.math.*; import java.text.*; public class Main{ public static void main(String args[]) throws IOException{ Read sc=new Read(); String s=sc.next(); String t=sc.next(); sc.println(ok(s,t)?"Yes":"No"); //sc.print(0); sc.bw...
import java.util.*; import java.io.*; import java.math.*; import java.text.*; public class Main{ public static void main(String args[]) throws IOException{ Read sc=new Read(); String s=sc.next(); String t=sc.next(); sc.println(ok(s,t)?"Yes":"No"); //sc.print(0); sc.bw...
29
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35808560 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 7, 8, 9, 10, 12, 13, 14, 16, 17, 18, 19, 22, 23, 25, 26, 39, 40, 41, 42, 43, 48, 49, 51, 88, 89, 90 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_...
37614473
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 flag = true; boolean cflag = false; for (int i = 0; i < s.length(); i++) { if (...
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 flag = true; boolean cflag = false; for (int i = 0; i < s.length(); i++) { if (...
18
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_37614473 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 23, 24, 25 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_9\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 1, 1...
38131848
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan=new Scanner(System.in); var s=new StringBuilder(scan.next()); var t=new StringBuilder(scan.next()); scan.close(); var can=false; var n=s.length(); for(int ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan=new Scanner(System.in); var s=new StringBuilder(scan.next()); var t=new StringBuilder(scan.next()); scan.close(); var can=false; var n=s.length(); for(int ...
30
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_38131848 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 6, 8, 9, 11, 13, 14, 15, 16, 17, 18, 19, 22, 23, 26, 27, 30, 31, 32 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_10\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, ...
37193350
import java.util.*; import java.io.*; class Main{ public static final int [] x8 = {0 , 1,1,1,0,-1,-1,-1}; public static final int [] y8 = {-1,-1,0,1,1, 1, 0,-1}; public static final int [] y4 = {0,1,0,-1}; public static final int [] x4 = {1,0,-1,0}; public static final int MOD = 1000000007; pu...
import java.util.*; import java.io.*; class Main{ public static final int [] x8 = {0 , 1,1,1,0,-1,-1,-1}; public static final int [] y8 = {-1,-1,0,1,1, 1, 0,-1}; public static final int [] y4 = {0,1,0,-1}; public static final int [] x4 = {1,0,-1,0}; public static final int MOD = 1000000007; pu...
29
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_37193350 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 5, 6, 7, 8, 11, 12, 15, 16, 17, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 38, 39, 40, 41, 46, 47, 48, 49, ...
38678051
import java.util.Scanner; class Main { static int max; public static void main(String args[]) { Scanner sc=new Scanner(System.in); char[] ch=sc.next().toCharArray(); permute(ch, 0, ch.length-1); System.out.println(max); } static void permute(char[] ch, int l, int r) { if(l==r) { for(in...
import java.util.Scanner; class Main { static int max; public static void main(String args[]) { Scanner sc=new Scanner(System.in); char[] ch=sc.next().toCharArray(); permute(ch, 0, ch.length-1); System.out.println(max); } static void permute(char[] ch, int l, int r) { if(l==r) { for(in...
12
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_38678051 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 21, 22, 23, 24, 27, 29, 30, 31, 32 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_12\\jacoco.xml", "line_bitmap": [ 0, 0, ...
37124101
import java.util.*; import java.util.HashMap; import java.io.*; import java.math.*; public class Main { private static PrintWriter wr = new PrintWriter(System.out); private static long privateNum; public static void write(Object obj) { wr.println(obj); } public static void flush(...
import java.util.*; import java.util.HashMap; import java.io.*; import java.math.*; public class Main { private static PrintWriter wr = new PrintWriter(System.out); private static long privateNum; public static void write(Object obj) { wr.println(obj); } public static void flush(...
84
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_37124101 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 51, "executed_lines": [ 8, 19, 20, 35, 37, 41, 43, 46, 48, 50, 51, 53, 54, 56, 57, 61, 62, 63, 65, 66, 69, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, ...
37078836
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigDecimal; import java.math.BigInteger; import java.text.DecimalFormat; import java.util.*; public class Main { static final long MOD1=1000000007; static final long MOD=998244353; static final int NTT_MOD1 = 99824...
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigDecimal; import java.math.BigInteger; import java.text.DecimalFormat; import java.util.*; public class Main { static final long MOD1=1000000007; static final long MOD=998244353; static final int NTT_MOD1 = 99824...
37
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_37078836 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 305, "executed_lines": [ 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 77,...
37602331
import java.util.*; import java.io.*; import java.math.BigInteger; public class Main { public static FastReader cin; public static PrintWriter out; public static SegmentTree[] tree; public static long[] discretizationArr; public static int MOD = 998244353; public static long base = qpow(2, MOD ...
import java.util.*; import java.io.*; import java.math.BigInteger; public class Main { public static FastReader cin; public static PrintWriter out; public static SegmentTree[] tree; public static long[] discretizationArr; public static int MOD = 998244353; public static long base = qpow(2, MOD ...
32
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_37602331 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 199, "executed_lines": [ 10, 11, 13, 14, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 31, 32, 33, 36, 37, 38, 40, 41, 42, 43, 44, 46, 60, 61, 63, 66, 68, 71, 73,...
38084739
import java.io.*; import java.util.*; import java.util.function.*; public class Main{ /* 定数 */ static int infI = (int) 1e9; static long infL = (long) 1e18; // static long mod = (int) 1e9 +7; static long mod = 998244353; static String yes = "Yes"; static String no = "No"; /* 入出力とか */ long st = System...
import java.io.*; import java.util.*; import java.util.function.*; public class Main{ /* 定数 */ static int infI = (int) 1e9; static long infL = (long) 1e18; // static long mod = (int) 1e9 +7; static long mod = 998244353; static String yes = "Yes"; static String no = "No"; /* 入出力とか */ long st = System...
38
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_38084739 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 175, "executed_lines": [ 5, 7, 8, 10, 11, 12, 15, 16, 17, 18, 21, 22, 23, 26, 27, 30, 31, 33, 34, 35, 36, 38, 39, 40, 41, 42, 43, 44, 47, 65, 66, 68, 75, 76, ...
26308476
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.*; import java.util.function.IntUnaryOperator; import java.util.function.LongUnaryOperator; import java.util.stream.Collectors; public class Main { static In in = new In(); ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.*; import java.util.function.IntUnaryOperator; import java.util.function.LongUnaryOperator; import java.util.stream.Collectors; public class Main { static In in = new In(); ...
44
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_26308476 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 199, "executed_lines": [ 10, 11, 12, 16, 20, 73, 131, 132, 137, 138, 141, 142, 146, 226, 227, 228, 230, 231, 232, 233, 234, 235, 242, 243, 244 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_e...
28191474
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.NoSuchElementException; public class Main implements Runnable { //Runnableを実装する public static void main(String[] args) { new Thread(null, new Main(), "",...
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.NoSuchElementException; public class Main implements Runnable { //Runnableを実装する public static void main(String[] args) { new Thread(null, new Main(), "",...
51
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_28191474 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 8, 10, 11, 12, 34, 35, 99, 100, 101, 102, 103, 105, 108 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_18\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 0, 1, 0...
26322629
import java.math.BigInteger; import java.util.*; @SuppressWarnings("unused") public class Main { private static void solve() { int n = ni(); int a = ni(); int b = ni(); int[] d = na(n); int sd = Arrays.stream(d).sum(); int tmpA = a + b + sd; int tmpB = a - b + sd; a = tmpA; b = ...
import java.math.BigInteger; import java.util.*; @SuppressWarnings("unused") public class Main { private static void solve() { int n = ni(); int a = ni(); int b = ni(); int[] d = na(n); int sd = Arrays.stream(d).sum(); int tmpA = a + b + sd; int tmpB = a - b + sd; a = tmpA; b = ...
28
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_26322629 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 84, "executed_lines": [ 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 22, 23, 24, 25, 28, 33, 34, 35, 36, 37, 39, 40, 41, 45, 46, 47, 48, 50, 51, 54, 57, 58, 59, ...
35828090
import java.util.Scanner; public class Main {//A - Four Digits public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); String s = "" + x; String result = ""; if(s.length() == 4) { result = "" + x; }else if(s.length() == 3) { result = "0" + x; }el...
import java.util.Scanner; public class Main {//A - Four Digits public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); String s = "" + x; String result = ""; if(s.length() == 4) { result = "" + x; }else if(s.length() == 3) { result = "0" + x; }el...
21
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35828090 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 7, 8, 10, 11, 13, 15, 17, 18, 21, 25, 26 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_20\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, ...
36163929
import java.util.Scanner; public class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); System.out.println(String.format("%4d",n)); } }
import java.util.Scanner; public class Main{ public static void main(String []args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); System.out.println(String.format("%04d",n)); } }
6
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_36163929 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 4, 5, 6, 7 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_21\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 1, 1, 1 ], "num_failures": 3, "output": "JUnit version 4.13.2\n.E.E.E\nTime: 0.074\nThere were 3...
30976853
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String input1 = scanner.nextLine(); String[] numList = input1.split(" "); String input2 = scanner.nextLine(); String[] humanList = input2.split(" ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String input1 = scanner.nextLine(); String[] numList = input1.split(" "); String input2 = scanner.nextLine(); String[] humanList = input2.split(" ...
12
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_30976853 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 5, 6, 7, 8, 9, 11, 12, 13, 14, 17, 18 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_22\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, ...
38739262
import java.io.*; import java.util.*; import java.util.function.*; class Main{ /* 定数 */ static int infI = (int) 1e9; static long infL = (long) 1e18; static long mod = (int) 1e9 +7; // static long mod = 998244353; static String yes = "Yes"; static String no = "No"; static boolean local = false; /* ...
import java.io.*; import java.util.*; import java.util.function.*; class Main{ /* 定数 */ static int infI = (int) 1e9; static long infL = (long) 1e18; static long mod = (int) 1e9 +7; // static long mod = 998244353; static String yes = "Yes"; static String no = "No"; static boolean local = false; /* ...
48
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_38739262 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 5, 8, 9, 10, 12, 13, 14, 18, 19, 20, 21, 25, 26, 27, 30, 31, 32, 34, 35, 36, 37, 38, 39, 40, 41, 43, 46, 47, 48, 50, 54, 55, 56, 57, ...
46182551
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); BufferedWriter wr=new BufferedWriter(new OutputStreamWriter(System.out)); String[]temp; int N=...
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); BufferedWriter wr=new BufferedWriter(new OutputStreamWriter(System.out)); String[]temp; int N=...
20
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_46182551 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 30, 31, 32, 33, 34 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_2...
31947563
import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; public class Main { private static int[] counts; private static List<Path>[] tree; private static final int MOD = 998244353; public static void main(String[] args) { ...
import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; public class Main { private static int[] counts; private static List<Path>[] tree; private static final int MOD = 998244353; public static void main(String[] args) { ...
43
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31947563 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 962, "executed_lines": [ 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 47, 48, 49, 50, 53, 55,...
31441839
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigDecimal; import java.math.RoundingMode; import java.util.*; public class Main { static final long MOD=1000000007; static final long MOD1=998244353; static int size = 0; static long MAX = 1000000000000000000l; ...
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.math.BigDecimal; import java.math.RoundingMode; import java.util.*; public class Main { static final long MOD=1000000007; static final long MOD1=998244353; static int size = 0; static long MAX = 1000000000000000000l; ...
115
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31441839 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 13, 14, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 35, 36, 46, 47, 48, 49, 50, 51, 52, 53, 54, 57, 60, 63, 66, 67,...
26462462
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; public class Main { static InputStream is; static PrintWriter out; static String INPUT = "1 4013"; static long go(int k) { i...
import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.InputMismatchException; public class Main { static InputStream is; static PrintWriter out; static String INPUT = ""; static long go(int k) { if(k % ...
11
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_26462462 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 11, 15, 16, 17, 18, 21, 23, 28, 29, 30, 31, 32, 39, 40, 41, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 58, 64, 68, 69, 70, 71, 73, 74,...
31150133
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int X = sc.nextInt(); if( X%100 == 0 ) System.out.println("Yes"); else System.out.println("No"); } }
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int X = sc.nextInt(); if( X%100 == 0 && X > 0 ) System.out.println("Yes"); else System.out.println("No"); } ...
10
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31150133 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 7, 8, 10, 13 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_28\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1 ], "num_failures": 0, "output": "JUnit vers...
31487156
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner in = new Scanner(System.in); int X = in.nextInt(); System.out.println((X >= 100) ? "Yes":"No"); } }
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner in = new Scanner(System.in); int X = in.nextInt(); System.out.println((X%100 == 0 && X != 0) ? "Yes":"No"); } }
10
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31487156 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 6, 8, 10, 11 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_29\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1 ], "num_failures": 0, "output": "JUnit version 4.13.2\n.....
31762060
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x < 100) { System.out.println("No"); }else { System.out.println("Yes"); } sc.close(); } }
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x == 0 || x % 100 != 0) { System.out.println("No"); }else { System.out.println("Yes"); } sc.close(); } }
7
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31762060 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 4, 5, 7, 10, 12, 13 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_30\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1 ], "num_failures": 0, "outpu...
35164437
import java.util.*; public class Main { public static HashSet<String> set = new HashSet<>(); public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x%100==0)System.out.println("Yes"); else System.out.println("No")...
import java.util.*; public class Main { public static HashSet<String> set = new HashSet<>(); public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x%100==0 && x!=0)System.out.println("Yes"); else System.out.print...
8
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35164437 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 4, 6, 7, 8, 10, 11 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_31\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1 ], "num_failures": 0, "output": "JUnit vers...
35363685
import java.util.*; public class Main { public static void main (String[]args) { Scanner scan=new Scanner(System.in); int c= scan.nextInt(); int s=c%100; if(s==0){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
import java.util.*; public class Main { public static void main (String[]args) { Scanner scan=new Scanner(System.in); int c= scan.nextInt(); int s=c%100; if(s==0&&c>0){ System.out.println("Yes"); }else{ System.out.println("No"); } } }
8
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35363685 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 5, 6, 7, 8, 9, 13 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_32\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1 ], "num_failures": 0, "output"...
35826648
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int X = scan.nextInt(); String result = ""; if(X == 0) { result = "No"; } else if(X < 100) { result = "No"; } else if(X > 100 && X % 100 ==0) { result = "Yes"; }...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int X = scan.nextInt(); String result = ""; if(X == 0) { result = "No"; } else if(X < 100 || (X > 100 && X % 100 != 0)) { result = "No"; } else if(X > 100 && X % 100 ...
13
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35826648 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 7, 8, 9, 11, 13, 15, 16, 18, 20 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_33\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, ...
35827798
import java.util.Scanner; public class Main {//A - Exact Price public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); String result = ""; if(x % 100 == 0) { result = "Yes"; }else { result = "No"; } System.out.println(result); } }
import java.util.Scanner; public class Main {//A - Exact Price public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); String result = ""; if(x % 100 == 0 && x != 0) { result = "Yes"; }else { result = "No"; } System.out.println(result); } }
11
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35827798 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 7, 8, 9, 11, 12, 16, 17 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_34\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, ...
35856161
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int en = sc.nextInt(); if (en < 100) { System.out.println("No"); } else { System.out.println("Yes"); } } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int en = sc.nextInt(); if (en < 100) { System.out.println("No"); } else if (en % 100 != 0) { System.out.println("No"); } else { System.out.println("Yes"); } } }
11
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35856161 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 5, 7, 9, 12, 14 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_35\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1 ], "num_failures": 0, "output...
36006854
import java.util.*; import java.io.*; public class Main { private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); private static PrintWriter out = new PrintWriter(System.out); //解答作成用 public static void solve() throws IOException{ // io int x = Convert.s...
import java.util.*; import java.io.*; public class Main { private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); private static PrintWriter out = new PrintWriter(System.out); //解答作成用 public static void solve() throws IOException{ // io int x = Convert.s...
12
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_36006854 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 550, "executed_lines": [ 5, 6, 10, 11, 12, 13, 15, 16, 19, 20, 21, 29, 63 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_36\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 1, 0, 0, 0, 1...
36337380
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x%100 == 0) { System.out.println("Yes"); }else { System.out.println("No"); } sc.close(); } }
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x%100 == 0&&x != 0) { System.out.println("Yes"); }else { System.out.println("No"); } sc.close(); } }
6
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_36337380 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 4, 5, 6, 7, 11, 12 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_37\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1 ], "num_failures": 0, "output": "JUn...
36844497
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x%100==0) System.out.println("Yes"); else System.out.println("No"); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x%100==0&&x!=0) System.out.println("Yes"); else System.out.println("No"); } }
7
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_36844497 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 5, 6, 7, 8, 11 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_38\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1 ], "num_failures": 0, "output": "JUnit version 4.13...
37414176
import java.util.*; public class Main { public static void main(String[] args) { IOHandler io = new IOHandler(); String x = io.nextStr(); io.close(); io.output(x.matches("[1-9]{1,}00") ? "Yes" : "No"); } private static class IOHandler { private Scanner sc = new Sc...
import java.util.*; public class Main { public static void main(String[] args) { IOHandler io = new IOHandler(); String x = io.nextStr(); io.close(); io.output(x.matches("[0-9]{1,}00") ? "Yes" : "No"); } private static class IOHandler { private Scanner sc = new Sc...
9
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_37414176 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 6, 7, 8, 9, 10, 13, 14, 15, 17, 19 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_39\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, ...
40575091
import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.nio.Buffer; /* * Solution: 1m * Coding: 4m * Time: 5m * */ public class Main { public static void main(String[] args) throws IOException { //BufferedReader br = new Buffe...
import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.nio.Buffer; /* * Solution: 1m * Coding: 4m * Time: 5m * */ public class Main { public static void main(String[] args) throws IOException { //BufferedReader br = new Buffe...
20
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_40575091 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 16, 18, 20, 21, 25, 26 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_40\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, ...
29546969
import java.util.*; import java.util.stream.*; import java.io.*; public class Main{ static int[] order = new int[26]; public static void main(String[] args)throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Scanner sc = new Scanner(System.in); String S = sc.next...
import java.util.*; import java.util.stream.*; import java.io.*; public class Main{ static int[] order = new int[26]; public static void main(String[] args)throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Scanner sc = new Scanner(System.in); String S = sc.next...
14
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_29546969 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 6, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18, 19 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_41\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, ...
36786321
import java.util.Scanner; import java.util.Arrays; import java.util.List; import java.util.ArrayList; class Main { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); List<Integer> A= new ArrayList<>(), B = new ArrayList<>(...
import java.util.Scanner; import java.util.Arrays; import java.util.List; import java.util.ArrayList; class Main { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); List<Integer> A= new ArrayList<>(), B = new ArrayList<>(...
0
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_36786321 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 962, "executed_lines": [ 7, 8, 9, 11, 12, 13, 14, 15 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_42\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, ...
36331322
import java.io.*; import java.util.*; public class Main { static Main2 admin = new Main2(); public static void main(String[] args) { admin.start(); } } class Main2 { //---------------------------------INPUT READER-----------------------------------------// public BufferedReader br; St...
import java.io.*; import java.util.*; public class Main { static Main2 admin = new Main2(); public static void main(String[] args) { admin.start(); } } class Main2 { //---------------------------------INPUT READER-----------------------------------------// public BufferedReader br; St...
84
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_36331322 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 199, "executed_lines": [ 5, 8, 9, 12, 15, 17, 18, 20, 23, 38, 39, 42, 43, 44, 47, 48, 54, 56, 57, 60, 61, 62, 63, 64, 65, 66, 67, 70, 72, 73, 76, 78, 79, 80, ...
40450955
//package Codeforces; import java.util.*; import java.lang.*; import java.io.*; public class Main { public static void main (String[] args) throws java.lang.Exception { PrintWriter out=new PrintWriter(System.out); FastReader sc = new FastReader(); int testCases=1; // testCases=sc.nextInt(); ...
//package Codeforces; import java.util.*; import java.lang.*; import java.io.*; public class Main { public static void main (String[] args) throws java.lang.Exception { PrintWriter out=new PrintWriter(System.out); FastReader sc = new FastReader(); int testCases=1; // testCases=sc.nextInt(); ...
35
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_40450955 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 17, 18, 19, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 39, 40, 41, 42, 43, 44, 45, 46, 47, 50, 52, 53, 56, 57, 58, 143, 14...
26669422
import java.util.*; public class Main { public static final int MOD998 = 998244353; public static final int MOD100 = 1000000007; public static void main(String[] args) throws Exception { ContestScanner sc = new ContestScanner(); ContestPrinter cp = new ContestPrinter(); long X = s...
import java.util.*; public class Main { public static final int MOD998 = 998244353; public static final int MOD100 = 1000000007; public static void main(String[] args) throws Exception { ContestScanner sc = new ContestScanner(); ContestPrinter cp = new ContestPrinter(); long X = s...
28
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_26669422 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 28, 29, 31, 2022, 2023, 2024, 2030, 2031, 2032, 2035, 2036, 2039, 2040, 2042, ...
27540642
import java.util.*; class Main { Scanner sc = new Scanner(System.in); long X, Y, A, B, C; String calc() { X = sc.nextLong(); Y = sc.nextLong(); A = sc.nextLong(); B = sc.nextLong(); C = sc.nextLong(); if (check(X, Y, A, B, C) || check(Y, X, A, B, C) || check(X, Y, B, A, C) || check(Y, X, B...
import java.util.*; class Main { Scanner sc = new Scanner(System.in); long X, Y, A, B, C; String calc() { X = sc.nextLong(); Y = sc.nextLong(); A = sc.nextLong(); B = sc.nextLong(); C = sc.nextLong(); if (check(X, Y, A, B, C) || check(Y, X, A, B, C) || check(X, Y, B, A, C) || check(Y, X, B...
29
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_27540642 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 3, 4, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 24, 25, 29, 30, 31, 35, 36 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_46\\jacoco.xml", "line_bitmap": [ 0...
29839067
import java.util.*; import java.io.*; public class Main { public static Scanner sc = new Scanner(System.in); public static PrintWriter pw = new PrintWriter(System.out); public static void main(String[] args) { int t = 1; while( t > 0 ) { solve(); t...
import java.util.*; import java.io.*; public class Main { public static Scanner sc = new Scanner(System.in); public static PrintWriter pw = new PrintWriter(System.out); public static void main(String[] args) { int t = 1; while( t > 0 ) { solve(); t...
28
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_29839067 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 962, "executed_lines": [ 6, 7, 11, 12, 13, 14, 17, 19, 23, 24, 25, 26, 27, 28, 31, 35, 36, 37, 38, 40 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_47\\jacoco.xml", "line_bitmap": [ 0, 0...
26648625
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.*; import java.util.function.IntUnaryOperator; import java.util.function.LongUnaryOperator; import java.util.stream.Collectors; public class Main { static In in = new In(); ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.*; import java.util.function.IntUnaryOperator; import java.util.function.LongUnaryOperator; import java.util.stream.Collectors; public class Main { static In in = new In(); ...
36
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_26648625 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 199, "executed_lines": [ 10, 11, 12, 16, 26, 84, 85, 90, 91, 94, 95, 99, 179, 180, 181, 183, 184, 185, 186, 187, 188, 195, 196, 197 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_48...
35855999
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); char[] arr1 = {'e','r'}; char[] arr2 = {'s','t'}; int count = 0; int j = 0; int k = 0; for(int i = str.length()-2; i < str.length(); i++) { if (str...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); char[] arr1 = {'e','r'}; char[] arr2 = {'s','t'}; int count = 0; int j = 0; int k = 0; for(int i = str.length()-2; i < str.length(); i++) { if (str...
17
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35855999 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20, 21, 25 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_49\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 0, 1, 1...
38289964
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.next(); if(str.substring(str.length()-2) == "er") System.out.println("er"); else System.out.println("ist"); } }
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.next(); if(str.substring(str.length()-2).equals("er")) System.out.println("er"); else System.out.println("ist"); } }
7
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_38289964 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 4, 6, 7, 8, 9 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_50\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 0, 1, 1, 1, 1 ], "num_failures": 2, "output": "JUnit version 4.13.2\n.E..E\nTime:...
44389301
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); a = a.substring(a.length()-2); if(a == "er"){ System.out.println(a); }else{ System.out.println("ist"); } } }
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String a = sc.next(); a = a.substring(a.length()-2); if(a.equals("er")){ System.out.println(a); }else{ System.out.println("ist"); } } }
7
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_44389301 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 4, 5, 6, 7, 10, 12 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_51\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1 ], "num_failures": 2, "output": "JUni...
36028662
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan=new Scanner (System.in); int h=scan.nextInt(); int w=scan.nextInt(); int [][]ar2=new int[h][w]; for(in...
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan=new Scanner (System.in); int h=scan.nextInt(); int w=scan.nextInt(); int [][]ar2=new int[h][w]; for(in...
21
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_36028662 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 7, 8, 9, 10, 11, 12, 13, 16, 17, 18, 19, 20, 21, 25, 31, 33 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_52\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, ...
31583621
import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.security.cert.X509CRL; import java.util.*; import java.lang.*; import java.util.stream.Collector; import java.util.stream.Collectors; ...
import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.security.cert.X509CRL; import java.util.*; import java.lang.*; import java.util.stream.Collector; import java.util.stream.Collectors; ...
42
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31583621 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 141, "executed_lines": [ 17, 18, 26, 27, 28, 29, 30, 50, 51, 52, 58, 72, 73, 74, 75, 136, 137, 141, 142, 143, 144, 145, 147, 201, 202, 203, 204, 205, 206, 210, 211, 213...
39201786
import java.io.*; import java.math.*; import java.time.*; import java.time.format.DateTimeFormatter; import java.util.*; import java.util.Map.Entry; import java.util.regex.Pattern; import java.util.stream.Collectors; class Main { public static void solve () { int n = nextInt(); Point[] p = new Point[n]; fo...
import java.io.*; import java.math.*; import java.time.*; import java.time.format.DateTimeFormatter; import java.util.*; import java.util.Map.Entry; import java.util.regex.Pattern; import java.util.stream.Collectors; class Main { public static void solve () { int n = nextInt(); Point[] p = new Point[n]; fo...
36
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_39201786 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 199, "executed_lines": [ 14, 15, 16, 17, 18, 41, 42, 43, 44, 57, 58, 92, 93, 95, 97, 101, 103, 110, 167 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_54\\jacoco.xml", "line_bitmap": [ 0, 0, ...
31106697
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { InputReader reader = new InputReader(System.in); PrintWriter writer = new PrintWriter(System.out, false); int H = reader.nextInt(); int W = reader.nextInt(); int N = reader.nex...
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { InputReader reader = new InputReader(System.in); PrintWriter writer = new PrintWriter(System.out, false); int H = reader.nextInt(); int W = reader.nextInt(); int N = reader.nex...
19
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31106697 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 38, 44, 45, 46, 47, ...
31603705
import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.security.cert.X509CRL; import java.util.*; import java.lang.*; import java.util.stream.Collector; import java.util.stream.Collectors; ...
import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.security.cert.X509CRL; import java.util.*; import java.lang.*; import java.util.stream.Collector; import java.util.stream.Collectors; ...
55
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31603705 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 169, "executed_lines": [ 17, 18, 26, 29, 31, 32, 33, 35, 37, 38, 39, 40, 41, 43, 46, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 69, 70,...
26780084
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.NoSuchElementException; class Main implements Runnable { public static void main(String[] args) { new Main().run(); } final long p=998244353; long[] pow2=new long[(int)2e5+10]; lon...
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.NoSuchElementException; class Main implements Runnable { public static void main(String[] args) { new Main().run(); } final long p=998244353; long[] pow2=new long[(int)2e5+10]; lon...
40
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_26780084 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 7, 10, 11, 13, 15, 16, 18, 19, 20, 21, 22, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 51, 52, 53, 54, 55, 57, 58, 60,...
26809838
import java.util.*; public class Main { void solve() { Scanner in = new Scanner(System.in); long n = in.nextLong(); long s = n + 1 - in.nextLong(); long t = n + 1 - in.nextLong(); long b = in.nextLong(); long a = in.nextLong(); double left = 0; double...
import java.util.*; public class Main { void solve() { Scanner in = new Scanner(System.in); long n = in.nextLong(); long s = n + 1 - in.nextLong(); long t = n + 1 - in.nextLong(); long b = in.nextLong(); long a = in.nextLong(); double left = 0; double...
12
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_26809838 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 24, 25, 26, 28, 29, 32, 33 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_58\\jacoco.xml", "...
27511818
import java.util.*; @SuppressWarnings("unused") public class Main { private static void solve() { double n = ni(); double s = ni(); double t = ni(); double a = ni(); double b = ni(); double ret = s <= t ? (t - s) * a : Double.MAX_VALUE; double x = Math.sqrt(2 * n * b / a); x = Math...
import java.util.*; @SuppressWarnings("unused") public class Main { private static void solve() { double n = ni(); double s = ni(); double t = ni(); double a = ni(); double b = ni(); double ret = s <= t ? (t - s) * a : Double.MAX_VALUE; double x = Math.sqrt(2 * n * b / a); x = Math...
19
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_27511818 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 56, "executed_lines": [ 7, 8, 9, 10, 11, 13, 15, 16, 18, 19, 22, 23, 26, 29, 30, 31, 38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 52, 54, 55, 56, 57, 59, 109, 113, ...
31905604
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner in = new Scanner(System.in); int N = in.nextInt(); int[] L = new int [N + 1]; for (int i = 0; i < 2*N - 2; i++) { int idx = in.ne...
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner in = new Scanner(System.in); int N = in.nextInt(); int[] L = new int [N + 1]; for (int i = 0; i < 2*N - 2; i++) { int idx = in.ne...
16
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31905604 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 962, "executed_lines": [ 6, 7, 9, 10, 11, 12, 15, 16, 17, 20, 21 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_60\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, ...
37898752
import java.io.PrintWriter; import java.math.*; import java.time.*; import java.time.format.DateTimeFormatter; import java.util.*; import java.util.stream.Collectors; class Main { static void solve () { //n = 5 の場合、1~5までで必ず構成される //スターの場合、いずれかがn-1回、他がそれぞれ1回ずつ登場する //個数カウントでいけそうだけどな~ //1のみ通して、1以外が来たらそれがn-1である...
import java.io.PrintWriter; import java.math.*; import java.time.*; import java.time.format.DateTimeFormatter; import java.util.*; import java.util.stream.Collectors; class Main { static void solve () { //n = 5 の場合、1~5までで必ず構成される //スターの場合、いずれかがn-1回、他がそれぞれ1回ずつ登場する //個数カウントでいけそうだけどな~ //1のみ通して、1以外が来たらそれがn-1である...
36
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_37898752 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 15, 16, 17, 18, 19, 21, 22, 23, 26, 31, 32, 33, 35, 36, 37, 44, 45, 47, 49, 52, 56, 83, 84, 86, 87, 88, 89 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_exec...
38476918
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int m=sc.nextInt(); boolean check=true; int[][] arr=new int[n][m]; for(int i=0;i<n;i++) { for(int j=0;j<m;j++) { arr[i][j]=sc.nextInt(); ...
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int m=sc.nextInt(); boolean check=true; int[][] arr=new int[n][m]; for(int i=0;i<n;i++) { for(int j=0;j<m;j++) { arr[i][j]=sc.nextInt(); ...
16
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_38476918 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 962, "executed_lines": [ 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, 17, 18 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_62\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, ...
41892231
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); boolean isTrue = true; int[] num = new int[M]; for(int i=0;i<M;i++) num[i] = sc.nextInt()-1; for(int i=1;i<M;i++) isTru...
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); boolean isTrue = true; int[] num = new int[M]; for(int i=0;i<M;i++) num[i] = sc.nextInt()-1; for(int i=1;i<M;i++) isTru...
12
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_41892231 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 962, "executed_lines": [ 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20, 21 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_63\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 1, 1, 1, 1,...
44932029
import java.util.*; import java.io.*; import java.util.function.*; import java.util.stream.*; import java.math.*; public final class Main { private static Scanner scanner; private static PrintWriter writer; // private static final long PRIME = 1000000007; // private static final long PRIME = 998244353; sta...
import java.util.*; import java.io.*; import java.util.function.*; import java.util.stream.*; import java.math.*; public final class Main { private static Scanner scanner; private static PrintWriter writer; // private static final long PRIME = 1000000007; // private static final long PRIME = 998244353; sta...
23
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_44932029 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 962, "executed_lines": [ 15, 16, 17, 20, 21, 74, 90, 118, 122 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_64\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
45269340
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner entrada = new Scanner(System.in); int m = entrada.nextInt(); int n = entrada.nextInt(); int [][] mat = new int[m][n]; for (int i = 0; i < m; i++) { for (int j = 0; j < ...
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner entrada = new Scanner(System.in); int m = entrada.nextInt(); int n = entrada.nextInt(); int [][] mat = new int[m][n]; for (int i = 0; i < m; i++) { for (int j = 0; j < ...
29
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_45269340 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 962, "executed_lines": [ 5, 6, 7, 8, 9, 11, 12, 15, 16, 17, 18, 20, 22, 23 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_65\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 1, 1, 1, 1, ...
29931120
import java.util.*; import java.io.*; public class Main { public static Scanner sc = new Scanner(System.in); public static PrintWriter pw = new PrintWriter(System.out); public static void main(String[] args) { int t = 1; while( t > 0 ) { solve(); t...
import java.util.*; import java.io.*; public class Main { public static Scanner sc = new Scanner(System.in); public static PrintWriter pw = new PrintWriter(System.out); public static void main(String[] args) { int t = 1; while( t > 0 ) { solve(); t...
39
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_29931120 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 962, "executed_lines": [ 6, 7, 11, 12, 13, 14, 17, 19, 23, 24, 25, 26, 27, 28, 29, 30, 31, 34, 35, 36, 37, 38, 39, 43, 45, 53, 55, 56, 58 ], "jacoco_xml": "D:/Mockbel/sectest/A...
31492602
import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.*; @SuppressWarnings("unused") public class Main { static InputStream is; static PrintWriter out; static String INPUT = ""; ...
import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.*; @SuppressWarnings("unused") public class Main { static InputStream is; static PrintWriter out; static String INPUT = ""; ...
23
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31492602 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 13, 14, 22, 23, 24, 28, 29, 30, 36, 39, 40, 41, 43, 101, 102, 106, 107, 108, 109, 110, 112, 115, 117, 119, 124, 125, 126, 127, 128, 130 ], "jacoco_...
35824355
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double x = scan.nextDouble(); scan.close(); System.out.println((int)Math.ceil(x)); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double x = scan.nextDouble(); scan.close(); System.out.println((int)Math.round(x)); } }
12
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35824355 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 7, 9, 10, 12, 15 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_68\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1 ], "num_failures": 1, ...
35825007
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double a = scan.nextDouble(); int answer = (int)a; System.out.println(answer); } }
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double a = scan.nextDouble(); int answer = (int) Math.round(a); System.out.println(answer); } }
8
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35825007 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 6, 7, 8, 9, 10 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_69\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 1, 1, 1, 1, 1 ], "num_failures": 1, "output": "JUnit version 4.13.2\n..E....
35931888
import java.util.Scanner; public class Main {//반올림 소수 public static void main(String[] args) { Scanner scan = new Scanner(System.in); double X = scan.nextDouble(); double round = Math.round(X); System.out.println(round); }//main }//class
import java.util.Scanner; public class Main {//반올림 소수 public static void main(String[] args) { Scanner scan = new Scanner(System.in); double X = scan.nextDouble(); int round = (int)(Math.round(X)); System.out.println(round); }//main }//class
12
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35931888 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 8, 10, 12, 13, 18 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_70\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1 ], ...
45935806
import java.util.*; import java.io.PrintWriter; import java.math.BigDecimal; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); BigDecimal x = sc.nextBigDecimal(); double result = x.setScale(0,BigDecimal.ROUND_HALF_UP).doubleVa...
import java.util.*; import java.io.PrintWriter; import java.math.BigDecimal; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); BigDecimal x = sc.nextBigDecimal(); int result = x.setScale(0,BigDecimal.ROUND_HALF_UP).intValue();...
11
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_45935806 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 7, 9, 11, 12, 13 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_71\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1 ], "num_failures": 3, "output": "JUn...
31782536
import java.util.*; public class Main { public static void main(String[] args){ //入力の読み込み Scanner sc = new Scanner(System.in); int N = sc.nextInt(); sc.nextLine(); String[] L= new String[N]; HashMap map = new HashMap(); for(int i=0;i<N;i++){ String tmp = sc.nextLine(); System.out.println(tmp); ...
import java.util.*; public class Main { public static void main(String[] args){ //入力の読み込み Scanner sc = new Scanner(System.in); int N = sc.nextInt(); sc.nextLine(); String[] L= new String[N]; HashMap map = new HashMap(); for(int i=0;i<N;i++){ String tmp = sc.nextLine(); //System.out.println(tmp);...
13
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31782536 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 23, 25 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_72\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, ...
33022279
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Set<String> set = new HashSet<String>(); for(int i=0; i<=N; i++) { //配列内の要素 //行ごと...
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Set<String> set = new HashSet<String>(); for(int i=0; i<=N; i++) { //配列内の要素 //行ごと...
19
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_33022279 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 11, 12, 13, 14, 18, 19, 20, 22, 23 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_73\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, ...
34484492
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main( String args[]) { Scanner scn = new Scanner( System.in); int N = scn.nextInt(); Set<String> arraySet = new HashSet<>(); for ( int i = 0; i < N; i++) { a...
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main( String args[]) { Scanner scn = new Scanner( System.in); int N = Integer.parseInt( scn.nextLine()); Set<String> arraySet = new HashSet<>(); for ( int i = 0; i < N; ...
9
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_34484492 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 8, 9, 10, 11, 12, 14, 15 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_74\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1 ], "num_...
41218375
import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.nio.Buffer; import java.util.HashSet; import java.util.StringTokenizer; /* * Solution: 1m * Coding: 4m * Time: 5m * */ public class Main { public static void main(String[] args) ...
import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.nio.Buffer; import java.util.HashSet; import java.util.StringTokenizer; /* * Solution: 1m * Coding: 4m * Time: 5m * */ public class Main { public static void main(String[] args) ...
28
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_41218375 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 18, 20, 21, 23, 24, 25, 26, 27, 28, 30, 33, 35, 36 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_75\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
33751949
import java.util.ArrayDeque; import java.util.ArrayList; import java.util.List; import java.util.Queue; public class Main { public static void main(String[] args) throws Exception { final NextScanner sc = new NextScanner(System.in); final int n = Integer.parseInt(sc.next()); final List<List<Integer>> sk...
import java.util.ArrayDeque; import java.util.ArrayList; import java.util.List; import java.util.Queue; public class Main { public static void main(String[] args) throws Exception { final NextScanner sc = new NextScanner(System.in); final int n = Integer.parseInt(sc.next()); final List<List<Integer>> sk...
39
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_33751949 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 24, 25, 26, 28, 29, 30, 31, 32, 35, 36, 38, 39, 42, 43, 44, 45, 56, 58, 59, 60, 65, 66, ...
27130108
import java.io.*; import java.util.*; public class Main { static long MOD = 998244353; static long[] degrees; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); ...
import java.io.*; import java.util.*; public class Main { static long MOD = 998244353; static long[] degrees; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); ...
94
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_27130108 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 6, 12, 13, 15, 16, 18, 19, 20, 22, 24, 26, 28, 30, 31, 33, 34, 36, 37, 38, 39, 40, 41, 45, 46, 48, 50, 52, 54, 56, 57, 59, 66, 67, 69, ...
27483977
import java.io.*; import java.util.*; public class Main { static class InputReader { BufferedReader reader; StringTokenizer tokenizer; public InputReader(InputStream stream) { reader = new BufferedReader(new InputStreamReader(stream), 32768); tokenizer = null; } String next() { // reads in the next s...
import java.io.*; import java.util.*; public class Main { static class InputReader { BufferedReader reader; StringTokenizer tokenizer; public InputReader(InputStream stream) { reader = new BufferedReader(new InputStreamReader(stream), 32768); tokenizer = null; } String next() { // reads in the next s...
68
security
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_27483977 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 199, "executed_lines": [ 9, 10, 11, 12, 14, 16, 19, 21, 24, 33, 34, 38, 39, 40, 41, 43, 45, 46, 47, 48, 50, 51, 52, 54, 56, 57, 58, 60, 61, 62, 68, 69, 70, 73, ...
29208094
import java.io.DataInputStream; import java.io.FileInputStream; import java.io.IOException; import java.util.Arrays; import java.util.Random; public final class Main { private static final class UnionFind { private final int[] parent; private final int[] size; private int count; ...
import java.io.DataInputStream; import java.io.FileInputStream; import java.io.IOException; import java.util.Arrays; import java.util.Random; public final class Main { private static final class UnionFind { private final int[] parent; private final int[] size; private int count; ...
79
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_29208094 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 16, 17, 18, 19, 20, 21, 22, 24, 28, 29, 30, 32, 36, 37, 38, 39, 42, 43, 44, 45, 47, 48, 49, 51, 52, 62, 63, 64, 65, 66, 67, 68, 69, 70...
52905648
import static java.lang.Math.*; import static java.util.Arrays.*; import java.io.*; import java.lang.reflect.*; import java.util.*; import java.util.concurrent.*; import java.util.function.*; public final class Main{ public static void main(String[] args) throws Exception{ MyReader in = new MyReader(System.in);...
import static java.lang.Math.*; import static java.util.Arrays.*; import java.io.*; import java.lang.reflect.*; import java.util.*; import java.util.concurrent.*; import java.util.function.*; public final class Main{ public static void main(String[] args) throws Exception{ MyReader in = new MyReader(System.in);...
36
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_52905648 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 1360, "executed_lines": [ 12, 13, 14, 15, 16, 17, 18, 22, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 47, 51, 52, 53, 54, 55...
38303537
import java.io.*; import java.math.BigInteger; import java.util.*; import java.util.function.IntUnaryOperator; import java.util.function.LongUnaryOperator; import java.util.stream.Collectors; public class Main { static In in = new FastIn(); static Out out = new Out(false); static final long inf = 0x1ffffff...
import java.io.*; import java.math.BigInteger; import java.util.*; import java.util.function.IntUnaryOperator; import java.util.function.LongUnaryOperator; import java.util.stream.Collectors; public class Main { static In in = new FastIn(); static Out out = new Out(false); static final long inf = 0x1ffffff...
18
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_38303537 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 57, "executed_lines": [ 8, 9, 10, 14, 16, 17, 18, 19, 21, 34, 35, 36, 39, 40, 41, 42, 43, 46, 47, 49, 51, 52, 53, 56, 57, 59, 63, 64, 65, 68, 69, 70, 72, 120, ...
40574325
import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.nio.Buffer; import java.util.StringTokenizer; /* * Solution: 1m * Coding: 4m * Time: 5m * */ public class Main { public static void main(String[] args) throws IOException { ...
import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.nio.Buffer; import java.util.StringTokenizer; /* * Solution: 1m * Coding: 4m * Time: 5m * */ public class Main { public static void main(String[] args) throws IOException { ...
27
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_40574325 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 17, 19, 20, 21, 22, 23, 24, 27, 28, 30, 33, 34 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_82\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
36884154
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner kbs = new Scanner(System.in); long n1 = kbs.nextLong(); long n2 = kbs.nextLong(); do { if (n1 % 10 + n2 % 10 > 10) { System.out.println("Hard"); ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner kbs = new Scanner(System.in); long n1 = kbs.nextLong(); long n2 = kbs.nextLong(); do { if (n1 % 10 + n2 % 10 >= 10) { System.out.println("Hard"); ...
9
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_36884154 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 5, 6, 7, 9, 10, 11, 13, 14, 15, 16, 17 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_83\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, ...
39538384
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.Arrays; import java.util.Scanner; class Main { private static void solve() throws IOException { long A = IO.nextLong(); long B = IO.nextLong(); while (...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.Arrays; import java.util.Scanner; class Main { private static void solve() throws IOException { long A = IO.nextLong(); long B = IO.nextLong(); while (...
15
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_39538384 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 962, "executed_lines": [ 11, 12, 14, 15, 16, 17, 19, 20, 27, 28, 29, 31, 32, 33, 46 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_84\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 0, ...
45939520
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[] aarr = a.split(""); String[] barr = b.split(""); int n = aarr.length <...
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[] aarr = a.split(""); String[] barr = b.split(""); int n = aarr.length <...
19
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_45939520 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 5, 7, 8, 10, 11, 13, 15, 16, 17, 18, 19, 20, 24, 25 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_85\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 0, 1, 1, 0...
45800810
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(), w = scan.nextInt(); int [] [] cheese = new int[n][2]; // long bc = 0, long count = 0; for (int i = 0; i < n; i++) { ...
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(), w = scan.nextInt(); int [] [] cheese = new int[n][2]; // long bc = 0, long count = 0; for (int i = 0; i < n; i++) { ...
20
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_45800810 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 5, 6, 7, 9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 25, 28, 29 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_86\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 1, ...
45894544
import java.util.*; public class Main { static ArrayList<Cheese> list = new ArrayList<>(); public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(), w = sc.nextInt(); for (int i = 0; i < n; i++) { int a = sc.nextInt(); i...
import java.util.*; public class Main { static ArrayList<Cheese> list = new ArrayList<>(); public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(), w = sc.nextInt(); for (int i = 0; i < n; i++) { int a = sc.nextInt(); i...
19
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_45894544 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 4, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 26, 27, 28, 29 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_87\\jacoco.xml", "line_bitmap": [ 0, 0, ...
46037911
import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Scanner; class tts{ public int a; public int b; tts(int aa, int bb){ a=aa; b=bb; } public String toString(){ return a+" "+b+" "; } } public class Main { public static...
import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Scanner; class tts{ public int a; public int b; tts(int aa, int bb){ a=aa; b=bb; } public String toString(){ return a+" "+b+" "; } } public class Main { public static...
25
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_46037911 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 9, 10, 11, 12, 20, 21, 22, 25, 26, 28, 29, 30, 31, 32, 34, 35, 38, 39, 42, 44, 45, 47 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_88\\jacoco.xml", "line_bitma...
36116766
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String s = scan.nextLine(); int cnt = scan.nextInt(); int start = 0; int end = 0; int maxCnt = 0; while(end > s.length()){ if(s.charAt(end) == 'X'){ end++; ...
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String s = scan.nextLine(); int cnt = scan.nextInt(); int start = 0; int end = 0; int maxCnt = 0; while(end < s.length()){ if(s.charAt(end) == 'X'){ end++; ...
9
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_36116766 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 5, 6, 7, 9, 31, 32 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_89\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
42793131
import java.io.*; import java.lang.reflect.Array; import java.math.BigInteger; import java.util.*; import java.util.concurrent.ThreadLocalRandom; import java.util.function.*; import java.util.stream.*; import java.awt.Point; import static java.lang.Math.*; import static java.util.Arrays.*; import static java.util.Coll...
import java.io.*; import java.lang.reflect.Array; import java.math.BigInteger; import java.util.*; import java.util.concurrent.ThreadLocalRandom; import java.util.function.*; import java.util.stream.*; import java.awt.Point; import static java.lang.Math.*; import static java.util.Arrays.*; import static java.util.Coll...
146
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_42793131 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": null, "executed_lines": [ 14, 15, 17, 21, 22, 24, 25, 26, 28, 29, 30, 31, 34, 35, 36, 38, 39, 40, 43, 44, 45, 46, 48, 49, 50, 51, 54, 137, 138, 139, 142, 146, 147, ...
46163023
import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collections; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) { Main o = new Main(); o.solve(); } public void solve() { FastScanner sc = new FastScanner(Syst...
import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collections; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) { Main o = new Main(); o.solve(); } public void solve() { FastScanner sc = new FastScanner(Syst...
70
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_46163023 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 106, "executed_lines": [ 7, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 25, 27, 28, 29, 32, 33, 34, 35, 36, 37, 41, 43, 44, 47, 48, 55, 56, 57, 58, 60, 61, ...
31370501
import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.*; @SuppressWarnings("unused") public class Main { static InputStream is; static PrintWriter out; static String INPUT = ""; ...
import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.*; @SuppressWarnings("unused") public class Main { static InputStream is; static PrintWriter out; static String INPUT = ""; ...
26
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_31370501 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 14, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 34, 35, 36, 42, 44, 45, 46, 48, 89, 90, 94, 95, 96, 97, 98, 100, 154, 155, 156, 157, 163, 164, ...
32625539
import java.util.*; public class Main{ public static void main(String[] args) throws Exception{ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); if(N > 41){ N ++; } System.out.println("AGC0" + N); } }
import java.util.*; public class Main{ public static void main(String[] args) throws Exception{ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); if(N > 41){ N ++; } System.out.println("AGC0" + String.format("%02d", N)); } }
11
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_32625539 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 6, 7, 8, 9, 11, 12 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_93\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1 ], "num_failures": 1, "output": "JUni...
34682793
class Main{ public static void main(String[] args){ int N = new java.util.Scanner(System.in).nextInt(); System.out.println(N>41?N+1:N); } }
class Main{ public static void main(String[] args){ int N = new java.util.Scanner(System.in).nextInt(); System.out.println("AGC0"+(N>41?N+1:(N>9?N:"0"+N))); } }
4
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_34682793 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 3, 4, 5 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_94\\jacoco.xml", "line_bitmap": [ 0, 0, 1, 1, 1 ], "num_failures": 3, "output": "JUnit version 4.13.2\n.E.E.E\nTime: 0.083\nThere were 3 failures:\n1) testCa...
35820796
import java.util.Scanner; public class Main { public static void main(String[] args) { //整数の入力を受け付ける Scanner scanner = new Scanner(System.in); int num = scanner.nextInt(); //42を超える数字であった場合は+1する if(num>42) { num = num+1; } //数字を0埋めして表示する String formatStr = String.format("AGC%03d", num); ...
import java.util.Scanner; public class Main { public static void main(String[] args) { //整数の入力を受け付ける Scanner scanner = new Scanner(System.in); int num = scanner.nextInt(); //42を超える数字であった場合は+1する if(num>=42) { num = num+1; } //数字を0埋めして表示する String formatStr = String.format("AGC%03d", num); ...
13
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35820796 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 9, 10, 13, 18, 20, 21 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_95\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, ...
35821843
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int num = scan.nextInt(); if(num > 42) num += 1; System.out.printf("AGC%03d", num); } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int num = scan.nextInt(); if(num >= 42) num += 1; System.out.printf("AGC%03d", num); } }
11
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35821843 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 7, 9, 11, 13, 15 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_96\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ], "num_failures": 1, ...
35821976
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); String[] arr = {"A", "G", "C", "0", null, null}; for(int i = 1; i <= 54; i++) { String i1 = String.valueOf(x); if(x < 10) { ...
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); String[] arr = {"A", "G", "C", "0", null, null}; for(int i = 1; i <= 54; i++) { String i1 = String.valueOf(x); if(x < 10) { ...
20
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35821976 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 8, 9, 11, 12, 13, 14, 15, 16, 18, 19, 20, 28, 29, 30, 32, 33 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_97\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, ...
35822273
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); scan.close(); int a = 0; String s = ""; if(n >= 42) { a = n + 1; } else { a = n; } if(a <= 99) { // s = "0" + String.valueOf(a); Syste...
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); scan.close(); int a = 0; String s = ""; if(n >= 42) { a = n + 1; } else { a = n; } if(a <= 99) { // s = "0" + String.valueOf(a); Syste...
22
syntax
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35822273 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 6, 8, 9, 11, 12, 14, 15, 17, 20, 22, 33 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_98\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, ...
35822468
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); sc.close(); if( n >= 42) { System.out.println("AGC0"+ (n+1)); }else { System.out.println("AGC0"+ n); } } }
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); sc.close(); if( n >= 42) { System.out.println("AGC0"+ (n+1)); }else if(1<= n && n<=9){ System.out.println("AGC00"+ n); }else { System.out.print...
13
logic
import org.junit.Test; import static org.junit.Assert.*; import java.io.*; public class Test_35822468 { private String runProgram(String input) throws Exception { InputStream oldIn = System.in; PrintStream oldOut = System.out; ByteArrayInputStream in = new ByteArrayInputStream(input.getB...
{ "exception_line": 117, "executed_lines": [ 7, 8, 9, 11, 12, 14, 17 ], "jacoco_xml": "D:/Mockbel/sectest/ASABD/temp_execs\\sample_99\\jacoco.xml", "line_bitmap": [ 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1...