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... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 5