problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k ⌀ | fixed_code stringlengths 12 526k ⌀ | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M ⌀ | fixed_submission_id int64 2 1.54M ⌀ | user_id stringlengths 10 10 ⌀ | language stringclasses 9
values |
|---|---|---|---|---|---|---|---|
p02390 | import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int S = scan.nextInt();
int m = S % 60;
int s = S % 3600;
int h = S / 3600;
System.out.println(h + ":" + s + ":" + m);
}
} | import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int S = scan.nextInt();
int m = S % 60;
int s = S / 60 % 60;
int h = S / 3600;
System.out.println(h + ":" + s + ":" + m);
}
} | [
"literal.number.integer.change",
"expression.operation.binary.change"
] | 149,276 | 149,277 | u620468594 | java |
p02391 | import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
int a = Integer.parseInt(scan.next());
int b = Integer.parseInt(scan.next());
if (a > b) {
System.out.println("a>b");
} else if (a < b) {
... | import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
int a = Integer.parseInt(scan.next());
int b = Integer.parseInt(scan.next());
if (a > b) {
System.out.println("a > b");
} else if (a < b) {
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 153,244 | 153,245 | u594593404 | java |
p02391 | import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
int a = Integer.parseInt(scan.next());
int b = Integer.parseInt(scan.next());
if (a > b) {
System.out.println(" a> b");
} else if (a < b) {
... | import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
int a = Integer.parseInt(scan.next());
int b = Integer.parseInt(scan.next());
if (a > b) {
System.out.println("a > b");
} else if (a < b) {
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 153,246 | 153,245 | u594593404 | java |
p02391 | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a;
a = sc.nextInt();
int b;
b = sc.nextInt();
if (a < b)
System.out.println("a < b");
else if (a > b)
System.out.println("a>b");
else
System.out.p... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a;
a = sc.nextInt();
int b;
b = sc.nextInt();
if (a < b)
System.out.println("a < b");
else if (a > b)
System.out.println("a > b");
else
System.out... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 153,483 | 153,484 | u019828441 | java |
p02391 | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a;
a = sc.nextInt();
int b;
b = sc.nextInt();
if (a < b)
System.out.println("a < b");
else if (a > b)
System.out.println("a > b");
else
System.out... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a;
a = sc.nextInt();
int b;
b = sc.nextInt();
if (a < b)
System.out.println("a < b");
else if (a > b)
System.out.println("a > b");
else
System.out... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 153,485 | 153,484 | u019828441 | java |
p02391 | import java.util.*;
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("a <b ");
else if (b > a)
System.out.println("a > b");
else
System.out.println("a == b");
... | import java.util.*;
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("a < b");
else if (a > b)
System.out.println("a > b");
else
System.out.println("a == b");
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 153,572 | 153,573 | u287407095 | java |
p02391 | import java.util.*;
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("a <b ");
else if (a > b)
System.out.println("a > b");
else
System.out.println("a == b");
... | import java.util.*;
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("a < b");
else if (a > b)
System.out.println("a > b");
else
System.out.println("a == b");
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 153,574 | 153,573 | u287407095 | java |
p02391 | import java.util.*;
class Main {
public static void main(String args[]) {
try {
Scanner sc = new Scanner(System.in);
int a = Integer.parseInt(sc.next());
int b = Integer.parseInt(sc.next());
if (a > b) {
System.out.println("a>b");
} else if (a < b) {
System.out.p... | import java.util.*;
class Main {
public static void main(String args[]) {
try {
Scanner sc = new Scanner(System.in);
int a = Integer.parseInt(sc.next());
int b = Integer.parseInt(sc.next());
if (a > b) {
System.out.println("a > b");
} else if (a < b) {
System.out... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 153,595 | 153,596 | u824882323 | java |
p02391 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int m, n;
m = in.nextInt();
n = in.nextInt();
if (m < n)
System.out.println("a<b");
else if (m == n)
System.out.println("a==b");
else {
System.out... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int m, n;
m = in.nextInt();
n = in.nextInt();
if (m < n)
System.out.println("a < b");
else if (m == n)
System.out.println("a == b");
else {
System... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 153,612 | 153,613 | u458974936 | java |
p02391 | import java.util.*;
class Main {
public static void main(String args[]) {
Scanner s = new Scanner(System.in);
int a = s.nextInt();
int b = s.nextInt();
String x = a > b ? ">" : a < b ? "<" : "==";
System.out.println(a + " " + x + " " + b);
}
} | import java.util.*;
class Main {
public static void main(String args[]) {
Scanner s = new Scanner(System.in);
int a = s.nextInt();
int b = s.nextInt();
String x = a > b ? ">" : a < b ? "<" : "==";
System.out.println("a " + x + " b");
}
} | [
"expression.operation.binary.remove",
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 153,732 | 153,731 | u078519975 | java |
p02391 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int a, b;
Scanner scan = new Scanner(System.in);
a = Integer.parseInt(scan.next());
b = Integer.parseInt(scan.next());
if (a < b) {
System.out.println("a<b");
} else if (a > b) {
System.out.print... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int a, b;
Scanner scan = new Scanner(System.in);
a = Integer.parseInt(scan.next());
b = Integer.parseInt(scan.next());
if (a < b) {
System.out.println("a < b");
} else if (a > b) {
System.out.pri... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 153,850 | 153,851 | u398390801 | java |
p02391 | 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();
if (-1000 <= a && b <= 1000) {
if (a < b) {
System.out.println("a<b");
} else if (a > b) {
System.out.pr... | 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();
if (-1000 <= a && b <= 1000) {
if (a < b) {
System.out.println("a < b");
} else if (a > b) {
System.out.... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 153,893 | 153,894 | u245835636 | java |
p02392 | 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 c = sc.nextInt();
if (a < b && b < c)
System.out.println("yes");
else
System.out.println("no");
sc.close... | 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 c = sc.nextInt();
if (a < b && b < c)
System.out.println("Yes");
else
System.out.println("No");
sc.close... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 160,038 | 160,039 | u297604151 | java |
p02392 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int c = scanner.nextInt();
if (a < b && b < c) {
System.out.println("YES");
} else {
System.out.pri... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
int c = scanner.nextInt();
if (a < b && b < c) {
System.out.println("Yes");
} else {
System.out.pri... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 160,072 | 160,073 | u332713050 | java |
p02392 | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner st = new Scanner(System.in);
int a = st.nextInt();
int b = st.nextInt();
int c = st.nextInt();
if (a < b && b < c) {
System.out.println("YES");
} else {
System.out.println("NO");
}
}
} | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner st = new Scanner(System.in);
int a = st.nextInt();
int b = st.nextInt();
int c = st.nextInt();
if ((a < b) && (b < c)) {
System.out.println("Yes");
} else {
System.out.println("No");
}
... | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 160,098 | 160,099 | u495607670 | java |
p02392 | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner st = new Scanner(System.in);
int a = st.nextInt();
int b = st.nextInt();
int c = st.nextInt();
if ((a < b) && (b < c)) {
System.out.println("YES");
} else {
System.out.println("NO");
}
... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner st = new Scanner(System.in);
int a = st.nextInt();
int b = st.nextInt();
int c = st.nextInt();
if ((a < b) && (b < c)) {
System.out.println("Yes");
} else {
System.out.println("No");
}
... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 160,100 | 160,099 | u495607670 | java |
p02392 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int number[] = new int[3];
int count = 0;
String word = br.... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int number[] = new int[3];
int count = 0;
String word = br.... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 160,101 | 160,102 | u495607670 | java |
p02392 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int number[] = new int[3];
int count = 0;
String word = br.... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int number[] = new int[3];
int count = 0;
String word = br.... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 160,103 | 160,102 | u495607670 | java |
p02393 | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] integar = new int[3];
for (int i = 0; i < integar.length; i++) {
integar[i] = scan.nextInt();
}
for (int j = 0; j < integar.length; j++) {
for (int k = integar.l... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] integar = new int[3];
for (int i = 0; i < integar.length; i++) {
integar[i] = scan.nextInt();
}
for (int j = 0; j < integar.length; j++) {
for (int k = integar.l... | [
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 164,955 | 164,956 | u869688911 | java |
p02394 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String x = "";
try {
x = in.readLine();
}... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String x = "";
try {
x = in.readLine();
}... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"literal.string.change",
"io.output.change"
] | 167,727 | 167,728 | u491334076 | java |
p02394 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String x = "";
try {
x = in.readLine();
}... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String x = "";
try {
x = in.readLine();
}... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"call.arguments.change"
] | 167,729 | 167,728 | u491334076 | java |
p02394 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
private static BufferedReader buf;
public static void main(String[] args) throws IOException {
buf = new BufferedReader(new InputStreamReader(System.in));
String str = buf.readLine();
String[] s = ... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
private static BufferedReader buf;
public static void main(String[] args) throws IOException {
buf = new BufferedReader(new InputStreamReader(System.in));
String str = buf.readLine();
String[] s = ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"misc.opposites",
"expression.operator.arithmetic.change"
] | 167,739 | 167,740 | u546285759 | java |
p02394 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
private static BufferedReader buf;
public static void main(String[] args) throws IOException {
buf = new BufferedReader(new InputStreamReader(System.in));
String str = buf.readLine();
String[] s = ... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
private static BufferedReader buf;
public static void main(String[] args) throws IOException {
buf = new BufferedReader(new InputStreamReader(System.in));
String str = buf.readLine();
String[] s = ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 167,741 | 167,740 | u546285759 | java |
p02394 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner i = new Scanner(System.in);
int w = i.nextInt();
int h = i.nextInt();
int x = i.nextInt();
int y = i.nextInt();
int r = i.nextInt();
if ((x - r < 0) || (y - r < 0) || (w < x + r) || (h < y + r))
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner i = new Scanner(System.in);
int w = i.nextInt();
int h = i.nextInt();
int x = i.nextInt();
int y = i.nextInt();
int r = i.nextInt();
if ((x - r < 0) || (y - r < 0) || (w < x + r) || (h < y + r))
... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 168,100 | 168,101 | u031022603 | java |
p02394 | import java.util.Scanner;
public class Main {
static public void main(String args[]) {
Scanner sc = new Scanner(System.in);
sc.useDelimiter("\\s");
int W = sc.nextInt();
int H = sc.nextInt();
int x = sc.nextInt();
int y = sc.nextInt();
int r = sc.nextInt();
if (x + r < W && x - r > 0... | import java.util.Scanner;
class Main {
static public void main(String args[]) {
Scanner sc = new Scanner(System.in);
sc.useDelimiter("\\s");
int W = sc.nextInt();
int H = sc.nextInt();
int x = sc.nextInt();
int y = sc.nextInt();
int r = sc.nextInt();
if (x + r <= W && x - r >= 0 && y... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 168,200 | 168,201 | u126119552 | java |
p02394 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int w = Integer.parseInt(scanner.next());
int h = Integer.parseInt(scanner.next());
int x = Integer.parseInt(scanner.next());
int y = Integer.parseInt(scanner.next());... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int w = Integer.parseInt(scanner.next());
int h = Integer.parseInt(scanner.next());
int x = Integer.parseInt(scanner.next());
int y = Integer.parseInt(scanner.next());... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"expression.off_by_one"
] | 168,244 | 168,245 | u964416376 | java |
p02396 | import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
import java.util.stream.Stream;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int count = 1;
while (x != 0) {
... | import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
import java.util.stream.Stream;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int count = 1;
while (x != 0) {
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 171,494 | 171,495 | u041637479 | java |
p02396 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
private BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in), 1);
private ArrayList<Integer> cases = new ArrayList<Integer>();
private String ... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
private BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in), 1);
private ArrayList<Integer> cases = new ArrayList<Integer>();
private String ... | [
"call.arguments.change"
] | 171,533 | 171,534 | u211135121 | java |
p02396 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
private BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in), 1);
private ArrayList<Integer> cases = new ArrayList<Integer>();
private String ... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
private BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in), 1);
private ArrayList<Integer> cases = new ArrayList<Integer>();
private String ... | [
"call.arguments.change"
] | 171,535 | 171,534 | u211135121 | java |
p02396 | import java.util.Scanner;
class Main {
int i, x;
public void aaaa() {
Scanner sc = new Scanner(System.in);
x = sc.nextInt();
for (i = 1; x == 0; i++) {
System.out.println("Case " + i + ": " + x);
x = sc.nextInt();
}
}
public static void main(String[] args) { new Main().aaaa(); }
} | import java.util.Scanner;
class Main {
int i, x;
public void aaaa() {
Scanner sc = new Scanner(System.in);
x = sc.nextInt();
for (i = 1; x != 0; i++) {
System.out.println("Case " + i + ": " + x);
x = sc.nextInt();
}
}
public static void main(String[] args) { new Main().aaaa(); }
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 171,827 | 171,828 | u367059629 | java |
p02396 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int num = Integer.parseInt(br.readLine());
for (int i = 1;... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int num = Integer.parseInt(br.readLine());
for (int i = 1;... | [
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 171,993 | 171,994 | u627927231 | java |
p02396 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuffer str = new StringBuffer();
int i = 1;
wh... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuffer str = new StringBuffer();
int i = 1;
whil... | [
"literal.string.change",
"call.arguments.change"
] | 172,254 | 172,255 | u411888544 | java |
p02396 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuffer str = new StringBuffer();
int i = 1;
wh... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuffer str = new StringBuffer();
int i = 1;
whil... | [
"literal.string.change",
"call.arguments.change"
] | 172,256 | 172,255 | u411888544 | java |
p02397 | import java.util.Scanner;
public class Main {
void swap() {
int x, y;
Scanner s = new Scanner(System.in);
x = s.nextInt();
y = s.nextInt();
while (x != 0 && y != 0) {
if (x < y) {
System.out.println(x + " " + y);
} else {
System.out.println(y + " " + x);
}
x... | import java.util.Scanner;
public class Main {
void swap() {
int x, y;
Scanner s = new Scanner(System.in);
x = s.nextInt();
y = s.nextInt();
while (x != 0 || y != 0) {
if (x < y) {
System.out.println(x + " " + y);
} else {
System.out.println(y + " " + x);
}
x... | [
"misc.opposites",
"control_flow.loop.condition.change"
] | 176,076 | 176,077 | u371383254 | java |
p02397 | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
int x, y;
while (true) {
x = in.nextInt();
y = in.nextInt();
if (x == 0 && y == 0)
break;
if (x < y)
System.out.println(x + " " + y);
... | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
int x, y;
while (true) {
x = in.nextInt();
y = in.nextInt();
if (x == 0 && y == 0)
break;
if (x <= y)
System.out.println(x + " " + y);
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 176,226 | 176,227 | u750316130 | java |
p02398 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a, b, c;
int count = 0;
a = in.nextInt();
b = in.nextInt();
c = in.nextInt();
for (int i = a; i < b; i++) {
if (c % i == 0) {
count++;
}
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a, b, c;
int count = 0;
a = in.nextInt();
b = in.nextInt();
c = in.nextInt();
for (int i = a; i <= b; i++) {
if (c % i == 0) {
count++;
}
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 178,609 | 178,610 | u305660980 | java |
p02398 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
int x = 0;
for (int i = a; i <= b; i++) {
if ((c % i) == 0) {
x++;
}
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
int x = 0;
for (int i = a; i <= b; i++) {
if ((c % i) == 0) {
x++;
}
}
... | [] | 178,625 | 178,624 | u044034654 | java |
p02398 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
sc.useDelimiter("\\s");
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int con = 0;
for (int i = a; b == i; i++) {
if (c % i == 0) {
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
sc.useDelimiter("\\s");
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int x = 0;
for (int i = a; b >= i; i++) {
if (c % i == 0) {
x... | [
"variable_declaration.name.change",
"identifier.change",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"call.arguments.change",
"io.output.change"
] | 178,642 | 178,643 | u148455300 | java |
p02398 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
sc.useDelimiter("\\s");
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int x = 0;
for (int i = a; b == i; i++) {
if (c % i == 0) {
x... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
sc.useDelimiter("\\s");
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int x = 0;
for (int i = a; b >= i; i++) {
if (c % i == 0) {
x... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 178,644 | 178,643 | u148455300 | java |
p02398 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
sc.useDelimiter("\\s");
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int x = 0;
for (int i = a; b > i; i++) {
if (c % i == 0) {
x ... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
sc.useDelimiter("\\s");
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int x = 0;
for (int i = a; b >= i; i++) {
if (c % i == 0) {
x... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 178,646 | 178,643 | u148455300 | java |
p02398 | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);
int a, b, c;
a = cin.nextInt();
b = cin.nextInt();
c = cin.nextInt();
int res = serch_divisor_number(a, b, c);
System.out.println(res);
}
private static int serch_div... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);
int a, b, c;
a = cin.nextInt();
b = cin.nextInt();
c = cin.nextInt();
int res = serch_divisor_number(a, b, c);
System.out.println(res);
}
private static int serch_div... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 178,736 | 178,737 | u241151548 | java |
p02398 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
int a = 0;
int b = 0;
int c = 0;
int answer = 0;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
int a = 0;
int b = 0;
int c = 0;
int answer = 0;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));... | [] | 178,756 | 178,757 | u231662285 | java |
p02398 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
int a = 0;
int b = 0;
int c = 0;
int answer = 0;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
int a = 0;
int b = 0;
int c = 0;
int answer = 0;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));... | [] | 178,758 | 178,757 | u231662285 | java |
p02398 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
int z = sc.nextInt();
int cnt = 0;
int i;
for (i = x; x < y; x++) {
if (z % x == 0) {
cnt++;
}
}... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
int z = sc.nextInt();
int cnt = 0;
int i;
for (i = x; x <= y; x++) {
if (z % x == 0) {
cnt++;
}
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 178,807 | 178,808 | u419045841 | java |
p02399 | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
double d = (double)a / (double)b;
System.out.println((a / b) + " " + (a % b) + " " +
String.format("%.5d", d));
... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
double d = (double)a / (double)b;
System.out.print((a / b) + " " + (a % b) + " " + String.format("%.5f", d));
}
} | [
"identifier.change",
"call.function.change",
"io.output.change",
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 181,563 | 181,564 | u211598122 | java |
p02399 | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
double d = (double)a / (double)b;
System.out.print((a / b) + " " + (a % b) + " " + String.format("%.5d", d));
}
} | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
double d = (double)a / (double)b;
System.out.print((a / b) + " " + (a % b) + " " + String.format("%.5f", d));
}
} | [
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 181,565 | 181,564 | u211598122 | java |
p02399 | 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();
int d = a / b;
int r = a % b;
String f = String.format("%.5f", a / b);
System.out.println(d + " " + r + " " + f... | 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();
int d = a / b;
int r = a % b;
String f = String.format("%.5f", (double)a / b);
System.out.println(d + " " + r +... | [
"type_conversion.add"
] | 183,096 | 183,097 | u162151793 | java |
p02400 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
double r = new Scanner(System.in).nextDouble();
double cir = 2 * Math.PI * r;
double vol = Math.PI * Math.pow(r, 2);
System.out.printf("%.6f %.6f", cir, vol);
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
double r = new Scanner(System.in).nextDouble();
double cir = 2 * Math.PI * r;
double vol = Math.PI * Math.pow(r, 2);
System.out.printf("%.6f %.6f", vol, cir);
}
} | [
"call.arguments.change",
"call.arguments.add"
] | 185,064 | 185,065 | u294922877 | java |
p02400 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
*
*/
/**
* @author cthanh
*
*/
public class Main {
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// TODO ????????????????????????????????????... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
*
*/
/**
* @author cthanh
*
*/
public class Main {
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// TODO ????????????????????????????????????... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 185,209 | 185,210 | u660501524 | java |
p02400 | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
double r = Double.parseDouble(str);
System.out.printf("%6f %6f", 2 * r * Math.PI, r * r * Math.PI)... | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
double r = Double.parseDouble(str);
System.out.printf("%6f %6f", r * r * Math.PI, 2 * r * Math.PI)... | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 185,227 | 185,228 | u926285912 | java |
p02400 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double PI = 3.14159275;
double r = sc.nextInt();
double A = PI * r * r;
double P = 2 * PI * r;
System.out.printf("%5.5f %5.5f\n", A, P);
sc.close();
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double PI = Math.PI;
double r = sc.nextDouble();
double A = PI * r * r;
double P = 2 * PI * r;
System.out.printf("%5.5f %5.5f ", A, P);
sc.close();
}
} | [
"identifier.replace.add",
"literal.replace.remove",
"identifier.change",
"call.function.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove"
] | 185,264 | 185,265 | u319288834 | java |
p02400 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double PI = 3.14159275;
double r = sc.nextDouble();
double A = PI * r * r;
double P = 2 * PI * r;
System.out.printf("%5.5f %5.5f\n", A, P);
sc.close();
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double PI = Math.PI;
double r = sc.nextDouble();
double A = PI * r * r;
double P = 2 * PI * r;
System.out.printf("%5.5f %5.5f ", A, P);
sc.close();
}
} | [
"identifier.replace.add",
"literal.replace.remove",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove"
] | 185,266 | 185,265 | u319288834 | java |
p02402 | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int min = 1000000;
int max = -1000000;
int sum = 0;
for (int i = 0; i < n; i++) {
int x = scanner.nextInt();
if (x < min)
... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int min = 1000000;
int max = -1000000;
long sum = 0;
for (int i = 0; i < n; i++) {
int x = scanner.nextInt();
if (x < min)
... | [
"variable_declaration.type.primitive.change"
] | 191,745 | 191,746 | u517414491 | java |
p02402 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
String[] arrStr;
try {
// 1 line
str = br.read... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
String[] arrStr;
try {
// 1 line
str = br.read... | [
"variable_declaration.type.primitive.change"
] | 191,780 | 191,781 | u215982958 | java |
p02402 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int count = scanner.nextInt();
int min = Integer.MAX_VALUE;
int max = Integer.MIN_VALUE;
int sum = 0;
for (int i = 0; i < count; i++) {
int t = scanner.nex... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int count = scanner.nextInt();
long min = Integer.MAX_VALUE;
long max = Integer.MIN_VALUE;
long sum = 0;
for (int i = 0; i < count; i++) {
long t = scanner... | [
"variable_declaration.type.primitive.change"
] | 191,859 | 191,860 | u706064542 | java |
p02402 | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String line1 = sc.nextLine();
int n = Integer.parseInt(line1);
String line2 = sc.nextLine();
String[] set1 = line2.split(" ");
int[] set = new... | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String line1 = sc.nextLine();
int n = Integer.parseInt(line1);
String line2 = sc.nextLine();
String[] set1 = line2.split(" ");
int[] set = new... | [
"variable_declaration.type.primitive.change"
] | 192,122 | 192,123 | u383671372 | java |
p02402 | import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(buf.readLine());
String num[] = buf.readLine().split(" ");
int max = -9999, min = 9999;
int sum = 0;
... | import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(buf.readLine());
String num[] = buf.readLine().split(" ");
int max = -99999999, min = 99999999;
long s... | [
"literal.number.integer.change",
"variable_declaration.value.change",
"variable_declaration.type.primitive.change"
] | 192,154 | 192,155 | u129532107 | java |
p02402 | import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(buf.readLine());
String num[] = buf.readLine().split(" ");
int max = -99999999, min = 99999999;
int su... | import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(buf.readLine());
String num[] = buf.readLine().split(" ");
int max = -99999999, min = 99999999;
long s... | [
"variable_declaration.type.primitive.change"
] | 192,156 | 192,155 | u129532107 | java |
p02402 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int a = sc.nextInt();
int s = a; //????°????
int b = a; //?????§???
int num = a; //????¨????
for (i... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int a = sc.nextInt();
int s = a; //????°????
int b = a; //?????§???
long num = a; //????¨????
for... | [
"variable_declaration.type.primitive.change"
] | 192,171 | 192,172 | u544449239 | java |
p02402 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
String[] line =... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
String[] line =... | [
"variable_declaration.type.primitive.change"
] | 192,286 | 192,287 | u672327380 | java |
p02402 | import java.util.*;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
int n = sc.nextInt();
int[] ints = new int[n];
int sum = 0;
int min = Integer.MAX_VALUE;
int max = Integer.MIN_VALUE;
for (int i = 0; i < n; i++) {
ints[i] = sc... | import java.util.*;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
int n = sc.nextInt();
int[] ints = new int[n];
long sum = 0;
int min = Integer.MAX_VALUE;
int max = Integer.MIN_VALUE;
for (int i = 0; i < n; i++) {
ints[i] = s... | [
"variable_declaration.type.primitive.change"
] | 192,324 | 192,325 | u791921413 | java |
p02402 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int min = 1000000, max = -1000000, sum = 0;
for (int i = 0; i < n; i++) {
int a = scanner.nextInt();
min = Math.min(min, a);
m... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
long min = 1000000, max = -1000000, sum = 0;
for (int i = 0; i < n; i++) {
long a = scanner.nextLong();
min = Math.min(min, a);
... | [
"variable_declaration.type.primitive.change",
"identifier.change",
"call.function.change"
] | 192,332 | 192,333 | u312158419 | java |
p02402 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 0; i < n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
int sum = 0;
... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 0; i < n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
long sum = 0;
... | [
"variable_declaration.type.primitive.change",
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove",
"call.function.change",
"io.output.newline.add"
] | 192,387 | 192,388 | u712472338 | java |
p02402 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 0; i < n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
int sum = 0;
... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 0; i < n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
long sum = 0;
... | [
"variable_declaration.type.primitive.change",
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 192,390 | 192,388 | u712472338 | java |
p02402 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 0; i < n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
int sum = 0;
... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 0; i < n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
long sum = 0;
... | [
"variable_declaration.type.primitive.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 192,391 | 192,388 | u712472338 | java |
p02402 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 0; i < n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
int sum = 0;
... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 0; i < n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
long sum = 0;
... | [
"variable_declaration.type.primitive.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 192,392 | 192,388 | u712472338 | java |
p02402 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 0; i <= n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
int sum = 0;
... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 0; i < n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
long sum = 0;
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"variable_declaration.type.primitive.change",
"control_flow.branch.if.condition.change"
] | 192,393 | 192,388 | u712472338 | java |
p02402 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 1; i <= n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
int sum = 0;
... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] num = new int[n];
for (int i = 0; i < n; i++) {
num[i] = sc.nextInt();
}
int max = num[0];
int min = num[0];
long sum = 0;
... | [
"literal.number.integer.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"variable_declaration.type.primitive.change",... | 192,394 | 192,388 | u712472338 | java |
p02402 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int num = sc.nextInt();
int[] x = new int[num];
for (int i = 0; i < x.length; i++) {
x[i] = sc.nextInt();
}
long min = 10000000, max = -1000000, sum = 0;
for... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int num = sc.nextInt();
int[] x = new int[num];
for (int i = 0; i < x.length; i++) {
x[i] = sc.nextInt();
}
long min = 10000000, max = -1000000, sum = 0;
for... | [
"assignment.value.change",
"expression.operation.unary.arithmetic.remove"
] | 192,409 | 192,410 | u103389826 | java |
p02406 | import java.io.*;
import java.util.*;
public class Main {
void run() {
int N = readInt();
for (int i = 1; i <= N; i++) {
int x = i;
if (x % 3 == 0) {
sysout.print(" " + x);
continue;
}
while (x > 0) {
boolean end = false;
if (x % 10 == 3) {
sy... | import java.io.*;
import java.util.*;
public class Main {
void run() {
int N = readInt();
for (int i = 1; i <= N; i++) {
int x = i;
if (x % 3 == 0) {
sysout.print(" " + i);
continue;
}
while (x > 0) {
boolean end = false;
if (x % 10 == 3) {
sy... | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 202,899 | 202,900 | u434428594 | java |
p02406 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int i = 1;
int a;
while (true) {
if (i % 3 == 0) {
System.out.printf(" %d", i);
} else {
a = i;
while (true) {
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int i = 1;
int a;
while (true) {
if (i % 3 == 0) {
System.out.printf(" %d", i);
} else {
a = i;
while (true) {
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 202,960 | 202,961 | u051348716 | java |
p02406 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int i = 1;
do {
int x = i;
if (x % 3 == 0) {
System.out.print("" + i);
} else {
do {
if (x % 10 == 3) {
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int i = 1;
do {
int x = i;
if (x % 3 == 0) {
System.out.print(" " + i);
} else {
do {
if (x % 10 == 3) {
... | [
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 202,981 | 202,982 | u071759777 | java |
p02406 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int i = 1;
do {
int x = i;
if (x % 3 == 0) {
System.out.printf("" + i);
} else {
do {
if (x % 10 == 3) {
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int i = 1;
do {
int x = i;
if (x % 3 == 0) {
System.out.print(" " + i);
} else {
do {
if (x % 10 == 3) {
... | [
"identifier.change",
"call.function.change",
"io.output.change",
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 202,983 | 202,982 | u071759777 | java |
p02406 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int i = 1;
do {
int x = i;
if (x % 3 == 0) {
System.out.print("" + i);
} else {
do {
if (x % 10 == 3) {
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int i = 1;
do {
int x = i;
if (x % 3 == 0) {
System.out.print(" " + i);
} else {
do {
if (x % 10 == 3) {
... | [
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.change",
"call.function.change"
] | 202,986 | 202,982 | u071759777 | java |
p02406 | import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
System.out.print(" " + i);
} else {
for (x = i; x != 0; x /= 10) {... | import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
System.out.print(" " + i);
} else {
for (x = i; x != 0; x /= 10) {... | [
"control_flow.break.add"
] | 203,133 | 203,134 | u031194354 | java |
p02406 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0)
System.out.print(" " + i);
else {
int temp = i;
while (temp != 0)... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0)
System.out.print(" " + i);
else {
int temp = i;
while (temp > 0) ... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 203,274 | 203,275 | u302336079 | java |
p02406 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int flag = 0;
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
System.out.print(" " + i);
} else {
char[] c = String.valueOf(i... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int flag = 0;
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
System.out.print(" " + i);
} else {
char[] c = String.valueOf(i... | [
"identifier.change",
"call.function.change",
"io.output.change"
] | 203,290 | 203,291 | u055233486 | java |
p02408 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
boolean cards[][];
cards = new boolean[4][13];
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 13; j++) {
cards[i][j] = false;
}
}
Scanner sc = new Scanner(System.in);
int n = sc.next... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
boolean cards[][];
cards = new boolean[4][13];
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 13; j++) {
cards[i][j] = false;
}
}
Scanner sc = new Scanner(System.in);
int n = sc.next... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 206,657 | 206,658 | u745110271 | java |
p02408 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String[] mar;
int[] num;
num = new int[54];
int n = scan.nextInt();
int i, q;
for (i = 1; i <= n; ++i) {
String m = scan.next();
int x = scan.nextInt();... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String[] mar;
int[] num;
num = new int[54];
int n = scan.nextInt();
int i, q;
for (i = 1; i <= n; ++i) {
String m = scan.next();
int x = scan.nextInt();... | [
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 206,707 | 206,708 | u338092584 | java |
p02409 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
static InputReader in;
static PrintWriter out;
static class Solution {
void solve() throws IOException {
... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
static InputReader in;
static PrintWriter out;
static class Solution {
void solve() throws IOException {
... | [
"literal.number.integer.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 208,835 | 208,836 | u860843819 | java |
p02411 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int m = s.nextInt();
int f = s.nextInt();
int r = s.nextInt();
while (m != -1 || f != -1 || r != -1) {
if (m == -1 || f == -1) {
System.out.println("F");
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int m = s.nextInt();
int f = s.nextInt();
int r = s.nextInt();
while (m != -1 || f != -1 || r != -1) {
if (m == -1 || f == -1) {
System.out.println("F");
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 211,272 | 211,273 | u428579644 | java |
p02413 | import java.util.Scanner;
class Main {
public static void main(String[] args) {
int r, c;
int total = 0;
Scanner sc = new Scanner(System.in);
r = sc.nextInt();
c = sc.nextInt();
int[][] a = new int[r + 1][c + 1];
for (int i = 0; i < r; i++) {
for (int j = 0; j < c + 1; j++) {
... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
int r, c;
int total = 0;
Scanner sc = new Scanner(System.in);
r = sc.nextInt();
c = sc.nextInt();
int[][] a = new int[r + 1][c + 1];
for (int i = 0; i < r; i++) {
for (int j = 0; j < c + 1; j++) {
... | [
"control_flow.branch.else.add"
] | 214,025 | 214,026 | u498691676 | java |
p02417 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
String input;
int[][] a = new int[26][2];
for (int i = 0; i < 26; i++) {
a[i][0] = 97 + i;
}
char[] c2;
BufferedReader br... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
String input;
int[][] a = new int[26][2];
for (int i = 0; i < 26; i++) {
a[i][0] = 97 + i;
}
char[] c2;
BufferedReader br... | [
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 220,000 | 220,001 | u498691676 | java |
p02419 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
public class Main {
public static void main(String[] args) throws IOException {
Buff... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
public class Main {
public static void main(String[] args) throws IOException {
Buff... | [
"identifier.change",
"call.function.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 222,204 | 222,205 | u397596432 | java |
p02419 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int cnt = 0;
String pattern;
String first = in.nextLine();
while (in.hasNext()) {
pattern = in.next();
if (pattern.equals(first))
cnt++;
else if (... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int cnt = 0;
String pattern;
String first = in.nextLine();
while (in.hasNext()) {
pattern = in.next();
if (pattern.equalsIgnoreCase(first))
cnt++;
... | [
"identifier.change",
"call.function.change",
"control_flow.branch.if.condition.change"
] | 222,275 | 222,276 | u750316130 | java |
p02420 | import java.util.Scanner;
class Main {
Scanner sc = new Scanner(System.in);
public void run() {
while (true) {
String s = sc.nextLine();
if ("-".equals(s))
break;
int count = sc.nextInt();
for (int i = 0; i < count; i++) {
int index = sc.nextInt();
s = s.substr... | import java.util.Scanner;
class Main {
Scanner sc = new Scanner(System.in);
public void run() {
while (true) {
String s = sc.nextLine();
if ("-".equals(s))
break;
int count = sc.nextInt();
for (int i = 0; i < count; i++) {
int index = sc.nextInt();
s = s.substr... | [
"call.add"
] | 222,620 | 222,621 | u418253672 | java |
p02479 | import java.util.Scanner;
public class Main {
static Scanner in = new Scanner(System.in);
public static void main(String[] args) {
long r = in.nextLong();
double a = r * r * Math.PI;
double b = (r * 2) * Math.PI;
System.out.println(String.format("%f %f", a, b));
}
} | import java.util.Scanner;
public class Main {
static Scanner in = new Scanner(System.in);
public static void main(String[] args) {
double r = in.nextDouble();
double a = r * r * Math.PI;
double b = (r * 2) * Math.PI;
System.out.println(String.format("%f %f", a, b));
}
} | [
"variable_declaration.type.primitive.change",
"identifier.change",
"call.function.change"
] | 225,485 | 225,486 | u220139062 | java |
p02479 | import java.io.*;
import java.lang.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf;
try {
buf = br.readLine();
} catch (IOException e) ... | import java.io.*;
import java.lang.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf;
try {
buf = br.readLine();
} catch (IOException e) ... | [
"variable_declaration.type.primitive.change",
"identifier.change",
"call.function.change"
] | 225,487 | 225,488 | u856983256 | java |
p02479 | import java.io.*;
import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws java.io.IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(in.readLine());
System.out.printf("%.6f %.6f%n", 2.0 *... | import java.io.*;
import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws java.io.IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
double r = Double.parseDouble(in.readLine());
System.out.printf("%.6f %.6f%n", r * r... | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.replace.remove",
"literal.replace.add"
] | 225,615 | 225,616 | u650820910 | java |
p02489 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
outer:
for (int i = 1;; i++) {
int x = sc.nextInt();
if (x == 0) {
break outer;
} else {
System.out.printf("Case %d: %d", i, x);
}
}
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
outer:
for (int i = 1;; i++) {
int x = sc.nextInt();
if (x == 0) {
break outer;
} else {
System.out.printf("Case %d: %d\n", i, x);
}
}
}
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 232,031 | 232,029 | u105396483 | java |
p02489 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for (int i = 1;; i++) {
int x = sc.nextInt();
if (x == 0) {
break;
}
System.out.printf("Case %d: %d", i, x);
}
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for (int i = 1;; i++) {
int x = sc.nextInt();
if (x == 0) {
break;
}
System.out.printf("Case %d: %d\n", i, x);
}
}
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 232,083 | 232,084 | u853655495 | java |
p02489 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for (int i = 1;; i++) {
int x = sc.nextInt();
if (x == 0) {
break;
} else {
System.out.printf("Case %d: %d", i, x);
}
}
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for (int i = 1;; i++) {
int x = sc.nextInt();
if (x == 0) {
break;
} else {
System.out.printf("Case %d: %d\n", i, x);
}
}
}
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 232,088 | 232,089 | u006871906 | java |
p02489 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int i = 0;
while (true) {
int x = sc.nextInt();
if (x == 0) {
break;
}
System.out.println("Case" + (i + 1) + ":" + x);
i++;
}
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int i = 0;
while (true) {
int x = sc.nextInt();
if (x == 0) {
break;
}
System.out.println("Case " + (i + 1) + ": " + x);
i++;
}
}
} | [
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 232,122 | 232,123 | u997985705 | java |
p02549 | import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author silviase
*/
public class Main {
public static void main(String[] ar... | import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author silviase
*/
public class Main {
public static void main(String[] ar... | [
"expression.operation.binary.add"
] | 245,757 | 245,758 | u902576227 | java |
p02556 | import java.util.*;
public class Main {
public static void main(String[] args) {
int INF = Integer.MAX_VALUE;
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
long xmax = 0, xmin = INF, ymax = 0, ymin = INF;
for (int i = 0; i < N; i++) {
int x = sc.nextInt();
int y = sc.next... | import java.util.*;
public class Main {
public static void main(String[] args) {
long INF = Long.MAX_VALUE;
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
long xmax = -INF, xmin = INF, ymax = -INF, ymin = INF;
for (int i = 0; i < N; i++) {
int x = sc.nextInt();
int y = sc.... | [
"variable_declaration.type.primitive.change",
"identifier.change",
"expression.operation.unary.add"
] | 253,865 | 253,866 | u912599273 | java |
p02570 | import java.util.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int D = Integer.parseInt(scan.next());
int T = Integer.parseInt(scan.next());
int S = Integer.parseInt(scan.next());
if (D / S <= T) {
System.out... | import java.util.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int D = Integer.parseInt(scan.next());
int T = Integer.parseInt(scan.next());
int S = Integer.parseInt(scan.next());
if (D <= T * S) {
System.out... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 256,833 | 256,834 | u785463294 | java |
p02570 | import java.io.*;
import java.util.*;
public class Main {
private static final BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
private static final PrintWriter pw =
new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
private static StringTokenizer st;
... | import java.io.*;
import java.util.*;
public class Main {
private static final BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
private static final PrintWriter pw =
new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
private static StringTokenizer st;
... | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 258,755 | 258,754 | u818510343 | java |
p02571 | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
String s = sc.next();
String t = sc.next();
char[] sChar = s.toCharArray();
char[] tChar = t.toCharArray();
int len = tChar.length;
for (int i ... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
String s = sc.next();
String t = sc.next();
char[] sChar = s.toCharArray();
char[] tChar = t.toCharArray();
int len = tChar.length;
for (int i ... | [
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 261,268 | 261,269 | u542279262 | java |
p02571 |
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String s = in.next();
String t = in.next(); // s muss t enthaalen
int count = 0;
int min = 9999;
for (int i = 0; i < s.length() - t.length(); ... |
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String s = in.next();
String t = in.next(); // s muss t enthaalen
int count = 0;
int min = 9999;
for (int i = 0; i <= s.length() - t.length();... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 261,286 | 261,287 | u136030915 | java |
p02571 | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
int min = Integer.MAX_VALUE;
int count = 0;
for (int i = 0; i <= s.length() - t.length(); i++) {
String sis = s.substring(i, ... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
String t = sc.next();
int min = Integer.MAX_VALUE;
int count = 0;
for (int i = 0; i <= s.length() - t.length(); i++) {
String sis = s.substring(i, ... | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 262,183 | 262,184 | u665650665 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.