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 8
values |
|---|---|---|---|---|---|---|---|
p02389 | #include <stdio.h>
int main(void) {
int a, b, s, l;
scanf("%d %d\n", &a, &b);
s = a * b;
l = (a + b) * 2;
printf("%d &d\n", s, l);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, s, l;
scanf("%d %d\n", &a, &b);
s = a * b;
l = (a + b) * 2;
printf("%d %d\n", s, l);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 144,844 | 144,842 | u666869674 | c |
p02389 | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d,%d\n", a * b, 2 * a + 2 * b);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d %d\n", a * b, 2 * a + 2 * b);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 145,067 | 145,068 | u171663686 | c |
p02389 | #include <stdio.h>
int main() {
int a, b, x, y;
scanf("%d %d", &a, &b);
x = a * b, y = 2 * (a + b);
printf("%d\n", x, y);
return 0;
} | #include <stdio.h>
int main() {
int a, b, x, y;
scanf("%d %d", &a, &b);
x = a * b;
y = 2 * (a + b);
printf("%d %d\n", x, y);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 145,183 | 145,184 | u607795294 | c |
p02389 | #include <stdio.h>
int main() {
int a, b, l, v;
scanf("%d %d", &a, &b);
l = (2 * a) + (2 * b);
v = a * b;
printf("%d %d\n", l, v);
return 0;
} | #include <stdio.h>
int main() {
int a, b, l, v;
scanf("%d %d", &a, &b);
l = (2 * a) + (2 * b);
v = a * b;
printf("%d %d\n", v, l);
return 0;
} | [
"call.arguments.change",
"call.arguments.add"
] | 145,712 | 145,713 | u651355315 | c |
p02389 | #include <stdio.h>
int main() {
int a;
int b;
scanf("%d", &a, &b);
printf("%d", a * b);
printf("%d", a + a + b + b);
return 0;
} | #include <stdio.h>
int main() {
int a;
int b;
scanf("%d%d", &a, &b);
printf("%d ", a * b);
printf("%d\n", a + a + b + b);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 145,768 | 145,769 | u955952206 | c |
p02389 | #include <stdio.h>
int main() {
int a, b, area, round;
scanf("%d", &a);
scanf("%d", &b);
area = a * b;
round = a + a + b + b;
printf("%d???%d", area, round);
return 0;
} | #include <stdio.h>
int main() {
int a, b, area, round;
scanf("%d", &a);
scanf("%d", &b);
area = a * b;
round = a + a + b + b;
printf("%d %d\n", area, round);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 146,263 | 146,264 | u199762173 | c |
p02390 | #include <stdio.h>
int main() {
int s;
scanf("%d", &s);
printf("%d:%d:%d", s / 3600, s / 60, s % 60);
return 0;
}
| #include <stdio.h>
int main() {
int s;
scanf("%d", &s);
printf("%d:%d:%d\n", s / 3600, (s % 3600) / 60, s % 60);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 149,993 | 149,994 | u703122859 | c |
p02390 | #include <stdio.h>
int main() {
int S, s, h, m;
scanf("%d", &S);
s = S % 3600 % 60;
m = S % 3600 / 60;
h = S / 3600;
printf("%d %d %d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main() {
int S, s, h, m;
scanf("%d", &S);
s = S % 3600 % 60;
m = S % 3600 / 60;
h = S / 3600;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 150,561 | 150,562 | u886516142 | c |
p02390 | #include <stdio.h>
int main(void) {
int s, m, h;
scanf("%d", &s);
h = s / 3600;
m = (s - h * 3600) / 60;
s = s % 60;
printf("%d %d %d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int s, m, h;
scanf("%d", &s);
h = s / 3600;
m = (s - h * 3600) / 60;
s = s % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 150,640 | 150,641 | u598577462 | c |
p02390 | #include <stdio.h>
int main() {
int h, m, s;
int S;
scanf("%d", &S);
h = S / 3600;
S = S - h * 3600;
s = S / 60;
S = S - s * 60;
m = S;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main() {
int h, m, s;
int S;
scanf("%d", &S);
h = S / 3600;
S = S - h * 3600;
m = S / 60;
S = S - m * 60;
s = S;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [
"assignment.variable.change",
"identifier.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 150,941 | 150,942 | u517151890 | c |
p02390 | #include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = S % 3600 / 60;
s = S % 60;
printf("%d;%d;%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = S % 3600 / 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 151,316 | 151,317 | u086968634 | c |
p02390 | #include <stdio.h>
int main(void) {
int h, m, s;
scanf("%d", &s);
printf("%d:%d:%d\n", s / 3600, s / 60, s % 60);
return 0;
}
| #include <stdio.h>
int main(void) {
int h, m, s;
scanf("%d", &s);
printf("%d:%d:%d\n", s / 3600, (s / 60) % 60, s % 60);
return 0;
}
| [
"call.arguments.change"
] | 151,497 | 151,498 | u142811975 | c |
p02391 | int main() {
int a, b;
scanf("%d%d", &a, &b);
if (!(a - b)) {
printf("a == b\n");
return 0;
}
if ((a - b) >> 31) {
printf("a < b\n");
} else {
printf("b > a\n");
}
return 0;
} | //等号、不等号は甘え
int main() {
int a, b;
scanf("%d%d", &a, &b);
if (!(a - b)) {
printf("a == b\n");
return 0;
}
if ((a - b) >> 31) {
printf("a < b\n");
} else {
printf("a > b\n");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 154,988 | 154,989 | u911041619 | c |
p02391 | #include <stdio.h>
int main() {
int a, b, x, y;
scanf("%d%d", &x, &y);
if (x < y) {
printf("a<b\n");
} else if (x > y) {
printf("a>b\n");
} else if (x == y) {
printf("a==b\n");
}
return 0;
} | #include <stdio.h>
int main() {
int a, b, x, y;
scanf("%d%d", &x, &y);
if (x < y) {
printf("a < b\n");
} else if (x > y) {
printf("a > b\n");
} else if (x == y) {
printf("a == b\n");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 155,007 | 155,008 | u849340810 | c |
p02391 | #include <stdio.h>
int main() {
int a, b;
scanf("%d%d", a, b);
if (a < b)
printf("a < b\n");
else if (a > b)
printf("a > b\n");
else if (a == b)
printf("a == b\n");
return 0;
}
| #include <stdio.h>
int main() {
int a, b;
scanf("%d%d", &a, &b);
if (a < b)
printf("a < b\n");
else if (a > b)
printf("a > b\n");
else if (a == b)
printf("a == b\n");
return 0;
}
| [
"expression.operation.unary.reference.add"
] | 155,714 | 155,715 | u215304644 | c |
p02391 | #include <stdio.h>
int main() {
int a, b;
scanf("%d%d", a, b);
if (a < b)
printf("a < b \n");
else if (a > b)
printf("a > b \n");
else if (a == b)
printf("a == b \n");
return 0;
}
| #include <stdio.h>
int main() {
int a, b;
scanf("%d%d", &a, &b);
if (a < b)
printf("a < b\n");
else if (a > b)
printf("a > b\n");
else if (a == b)
printf("a == b\n");
return 0;
}
| [
"expression.operation.unary.reference.add",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 155,717 | 155,715 | u215304644 | c |
p02391 | #include <stdio.h>
int main() {
int a, b;
scanf("%d%d", a, b);
if (a < b)
printf("a < b\n");
else if (a > b)
printf("a > b\n");
else if (a == b)
printf("a == b\n");
return 0;
}
| #include <stdio.h>
int main() {
int a, b;
scanf("%d%d", &a, &b);
if (a < b)
printf("a < b\n");
else if (a > b)
printf("a > b\n");
else if (a == b)
printf("a == b\n");
return 0;
} | [
"expression.operation.unary.reference.add"
] | 155,714 | 155,720 | u215304644 | c |
p02391 | #include <stdio.h>
int main() {
int a, b;
scanf("%d%d", a, b);
if (a < b)
printf("a < b \n");
else if (a > b)
printf("a > b \n");
else if (a == b)
printf("a == b \n");
return 0;
}
| #include <stdio.h>
int main() {
int a, b;
scanf("%d%d", &a, &b);
if (a < b)
printf("a < b\n");
else if (a > b)
printf("a > b\n");
else if (a == b)
printf("a == b\n");
return 0;
} | [
"expression.operation.unary.reference.add",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 155,717 | 155,720 | u215304644 | c |
p02391 | #include <stdio.h>
int main() {
int a, b;
scanf("%d,%d", &a, &b);
if (a < b) {
printf("a < b\n");
}
else if (a > b) {
printf("a > b\n");
}
else if (a == b) {
printf("a == b\n");
}
return 0;
} | #include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
if (a < b) {
printf("a < b\n");
}
else if (a > b) {
printf("a > b\n");
}
else if (a == b) {
printf("a == b\n");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change"
] | 155,730 | 155,731 | u979210236 | c |
p02391 | #include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
if (a < b)
printf("a<b\n");
else if (a > b)
printf("a>b\n");
else
printf("a == b\n");
return 0;
} |
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
if (a < b)
printf("a < b\n");
else if (a > b)
printf("a > b\n");
else
printf("a == b\n");
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 156,083 | 156,084 | u168306001 | c |
p02391 | #include <stdio.h>
int main() {
int a;
int b;
scanf("%d%d", &a, &b);
if (a < b) {
printf("a<b\n");
} else if (a > b) {
printf("a>b\n");
} else if (a == b) {
printf("a==b\n");
} else {
printf("An internal error has occured.\n");
}
return 0;
} | #include <stdio.h>
int main() {
int a;
int b;
scanf("%d%d", &a, &b);
if (a < b) {
printf("a < b\n");
} else if (a > b) {
printf("a > b\n");
} else if (a == b) {
printf("a == b\n");
} else {
printf("An internal error has occured.\n");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 156,230 | 156,231 | u955952206 | c |
p02391 | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
if (a < b)
printf("a<b\n", a, b);
if (a > b)
printf("a>b\n", a, b);
if (a == b)
printf("a==b\n", a, b);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d %d", &a, &b);
if (a < b)
printf("a < b\n", a, b);
if (a > b)
printf("a > b\n", a, b);
if (a == b)
printf("a == b\n", a, b);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 156,460 | 156,461 | u144557094 | c |
p02391 | #include <stdio.h>
int main(void) {
int a = 0;
int b = 0;
scanf("%d%d", &a, &b);
if (a > b) {
printf("a???> b\n");
}
if (a < b) {
printf("a < b\n");
} else {
printf("a == b\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
int a = 0;
int b = 0;
scanf("%d %d", &a, &b);
if (a > b) {
printf("a > b\n");
} else if (a < b) {
printf("a < b\n");
} else {
printf("a == b\n");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 156,491 | 156,492 | u455935767 | c |
p02391 | #include <stdio.h>
int main(void) {
int a = 0;
int b = 0;
scanf("%d%d", &a, &b);
if (a > b) {
printf("a???> b\n");
} else if (a < b) {
printf("a < b\n");
} else {
printf("a == b\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
int a = 0;
int b = 0;
scanf("%d %d", &a, &b);
if (a > b) {
printf("a > b\n");
} else if (a < b) {
printf("a < b\n");
} else {
printf("a == b\n");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 156,495 | 156,492 | u455935767 | c |
p02391 | #include <stdio.h>
int main(int argc, const char *argv[]) {
int a, b;
scanf("%d %d", &a, &b);
if (a < b) {
printf("a<b\n");
} else if (a > b) {
printf("a>b\n");
} else {
printf("a==b\n");
}
return 0;
} | #include <stdio.h>
int main(int argc, const char *argv[]) {
int a, b;
scanf("%d %d", &a, &b);
if (a < b) {
printf("a < b\n");
} else if (a > b) {
printf("a > b\n");
} else {
printf("a == b\n");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 156,623 | 156,624 | u053155886 | c |
p02391 | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d%d", &a, &b);
if (a - b < 0) {
printf("a<b\n");
} else if (a - b > 0) {
printf("a>b\n");
} else
printf("a==b\n");
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d%d", &a, &b);
if (a - b < 0) {
printf("a < b\n");
} else if (a - b > 0) {
printf("a > b\n");
} else
printf("a == b\n");
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 157,120 | 157,121 | u599834414 | c |
p02391 | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d%d", &a, &b);
if (a - b < 0) {
printf("a<b\n");
} else if (a - b > 0) {
printf("a>b\n");
} else
printf("a==b\n");
return 0;
} | #include <stdio.h>
int main(void) {
int a, b;
scanf("%d%d", &a, &b);
if (a - b < 0) {
printf("a < b\n");
} else if (a - b > 0) {
printf("a > b\n");
} else
printf("a == b\n");
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 157,124 | 157,121 | u599834414 | c |
p02391 | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
if (a > b) {
printf("a>b\n");
}
if (a < b) {
printf("a<b\n");
}
if (a == b) {
printf("a==b\n");
}
return 0;
} | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
if (a > b) {
printf("a > b\n");
}
if (a < b) {
printf("a < b\n");
}
if (a == b) {
printf("a == b\n");
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 157,263 | 157,264 | u291301362 | c |
p02392 | #include <stdio.h>
int main(void) {
int a;
int b;
int c;
scanf("%d %d %d", &a, &b, &c);
if (a < b < c) {
printf("Yes\n");
} else {
printf("No");
}
return 0;
}
| #include <stdio.h>
int main(void) {
int a;
int b;
int c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
}
| [
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 160,125 | 160,126 | u354973893 | c |
p02392 | #include <stdio.h>
int main(void) {
int a;
int b;
int c;
scanf("%d %d %d", &a, &b, &c);
if (a < b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
}
| #include <stdio.h>
int main(void) {
int a;
int b;
int c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
}
| [
"control_flow.branch.if.condition.change"
] | 160,127 | 160,126 | u354973893 | c |
p02392 | #include <stdio.h>
int main(void) {
int a;
int b;
int c;
scanf("%d %d %d", &a, &b, &c);
if (a < b < c) {
printf("Yes");
} else {
printf("No\n");
}
return 0;
}
| #include <stdio.h>
int main(void) {
int a;
int b;
int c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
}
| [
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 160,128 | 160,126 | u354973893 | c |
p02392 | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c)
printf("yes\n");
else
printf("no\n");
}
| #include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c)
printf("Yes\n");
else
printf("No\n");
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 160,147 | 160,148 | u194571453 | c |
p02392 |
#include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} |
#include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 160,636 | 160,637 | u840640840 | c |
p02392 |
#include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a <= b <= c) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} |
#include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 160,638 | 160,637 | u840640840 | c |
p02392 | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
printf("Yes\n");
} else if (a > b || b > c || a == b == c) {
printf("No\n");
}
return 0;
}
| #include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c) {
printf("Yes\n");
} else if (a > b || b > c || a == b || b == c) {
printf("No\n");
}
return 0;
}
| [
"control_flow.branch.if.condition.change"
] | 161,112 | 161,114 | u893058769 | c |
p02392 | #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d\n", &a);
scanf("%d\n", &b);
scanf("%d", &c);
if (a < b < c)
printf("Yes\n");
else
printf("No\n");
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d\n", &a);
scanf("%d\n", &b);
scanf("%d", &c);
if (a < b && b < c && a < c)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 161,429 | 161,430 | u309410141 | c |
p02392 | #include <stdio.h>
int main(void) {
int a;
int b;
int c;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
if (a < b < c)
puts("Yes");
else
puts("No");
return 0;
} | #include <stdio.h>
int main(void) {
int a;
int b;
int c;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
if (a < b && b < c)
puts("Yes");
else
puts("No");
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 161,555 | 161,556 | u417166788 | c |
p02392 | a, b;
main(c) {
scanf("%d%d%d", &a, &b, &c);
puts((a < b) && (b < c) ? "YES" : "NO");
} | a, b;
main(c) {
scanf("%d%d%d", &a, &b, &c);
puts((a < b) && (b < c) ? "Yes" : "No");
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 161,716 | 161,717 | u401373626 | c |
p02392 | a, b;
main(c) {
scanf("%d%d%d", &a, &b, &c);
puts((a < b) && (b < c) ? "YES" : "NO");
} | a, b;
main(c) {
scanf("%d%d%d", &a, &b, &c);
puts((a < b && b < c) ? "Yes" : "No");
} | [
"call.arguments.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 161,716 | 161,718 | u401373626 | c |
p02392 | a, b;
main(c) {
scanf("%d%d%d", &a, &b, &c);
puts((a < b) && (b < c) ? "YES" : "NO");
} | a, b;
main(c) {
scanf("%d%d%d", &a, &b, &c);
puts(a < b && b < c ? "Yes" : "No");
} | [
"call.arguments.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 161,716 | 161,719 | u401373626 | c |
p02392 |
#include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c)
printf("Yse\n");
else
printf("No\n");
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 162,227 | 162,226 | u895599153 | c |
p02392 |
#include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b || b < c)
printf("Yse\n");
else
printf("No\n");
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [
"misc.opposites",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 162,228 | 162,226 | u895599153 | c |
p02392 | #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b)
if (b < c)
printf("Yse\n");
else
printf("No\n");
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 162,229 | 162,226 | u895599153 | c |
p02392 | #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b & &b < c)
printf("Yse\n");
else
printf("No\n");
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 162,231 | 162,226 | u895599153 | c |
p02392 | #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d\n", &a, &b, &c);
if (a < b && b < c)
printf("Yse\n");
else
printf("No\n");
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
if (a < b && b < c)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 162,232 | 162,226 | u895599153 | c |
p02393 | #include <stdio.h>
int main() {
int a, b, c, temp;
scanf("%d %d &d", &a, &b, &c);
if (a < b) {
temp = a;
a = b;
b = temp;
}
if (b < c) {
temp = b;
b = c;
c = temp;
}
if (a < b) {
temp = a;
a = b;
b = temp;
}
printf("%d %d &d", a, b, c);
return 0;
} | #include <stdio.h>
int main() {
int a, b, c, temp;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
temp = a;
a = b;
b = temp;
}
if (b > c) {
temp = b;
b = c;
c = temp;
}
if (a > b) {
temp = a;
a = b;
b = temp;
}
printf("%d %d %d\n", a, b, c);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"io.output.change",
"io.output.newline.add"
] | 165,430 | 165,431 | u410468809 | c |
p02393 | #include <stdio.h>
int main() {
int a, b, c, temp;
scanf("%d %d &d", &a, &b, &c);
if (a > b) {
temp = a;
a = b;
b = temp;
}
if (b > c) {
temp = b;
b = c;
c = temp;
}
if (a > b) {
temp = a;
a = b;
b = temp;
}
printf("%d %d &d", a, b, c);
return 0;
} | #include <stdio.h>
int main() {
int a, b, c, temp;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
temp = a;
a = b;
b = temp;
}
if (b > c) {
temp = b;
b = c;
c = temp;
}
if (a > b) {
temp = a;
a = b;
b = temp;
}
printf("%d %d %d\n", a, b, c);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 165,433 | 165,431 | u410468809 | c |
p02393 | #include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
d = a;
a = b;
b = d;
}
if (c < a) {
d = a;
a = c;
c = d;
} else if (c > a && c < b) {
d = b;
b = c;
c = d;
}
printf("%d %d %d\n", a, b, c);
return 0;
}
| #include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
d = a;
a = b;
b = d;
}
if (c < a) {
d = a;
a = c;
c = d;
}
if (c < b) {
d = b;
b = c;
c = d;
}
printf("%d %d %d\n", a, b, c);
return 0;
}
| [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove",
"expression.operation.binary.remove"
] | 165,828 | 165,829 | u193103112 | c |
p02393 | #include <stdio.h>
int main(void) {
int a, b, c, x = 0;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
if (a > b) {
x = a;
a = b;
b = x;
}
if (b > c) {
x = b;
b = c;
c = x;
}
if (a > b) {
x = a;
a = b;
b = x;
}
printf("%d%d%d\n", a, b, c);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c, x = 0;
scanf("%d", &a);
scanf("%d", &b);
scanf("%d", &c);
if (a > b) {
x = a;
a = b;
b = x;
}
if (b > c) {
x = b;
b = c;
c = x;
}
if (a > b) {
x = a;
a = b;
b = x;
}
printf("%d %d %d\n", a, b, c);
return 0;
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 165,851 | 165,848 | u462770761 | c |
p02393 | #include <stdio.h>
int main(void) {
int i, j;
int a[3];
scanf("%d %d %d", &a[0], &a[1], &a[2]);
for (i = 0; i < 2; i++) {
for (j - 2; j < i; j--) {
if (a[j - 1] > a[j]) {
int temp = a[j];
a[j] = a[j - 1];
a[j - 1] - temp;
}
}
}
printf("%d %d %d\n", a[0], a[1], a... | #include <stdio.h>
int main(void) {
int i, j;
int a[3];
scanf("%d %d %d", &a[0], &a[1], &a[2]);
for (i = 0; i < 2; i++) {
for (j = 2; j > i; j--) {
if (a[j - 1] > a[j]) {
int temp = a[j];
a[j] = a[j - 1];
a[j - 1] = temp;
}
}
}
printf("%d %d %d\n", a[0], a[1], a... | [
"control_flow.loop.for.initializer.change",
"expression.operation.binary.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change"
] | 166,030 | 166,031 | u513316879 | c |
p02393 | #include <stdio.h>
int main(void) {
int i, j;
int a[3];
scanf("%d %d %d", &a[0], &a[1], &a[2]);
for (i = 0; i < 2; i++) {
for (j = 2; j < i; j--) {
if (a[j - 1] > a[j]) {
int temp = a[j];
a[j] = a[j - 1];
a[j - 1] - temp;
}
}
}
printf("%d %d %d\n", a[0], a[1], a... | #include <stdio.h>
int main(void) {
int i, j;
int a[3];
scanf("%d %d %d", &a[0], &a[1], &a[2]);
for (i = 0; i < 2; i++) {
for (j = 2; j > i; j--) {
if (a[j - 1] > a[j]) {
int temp = a[j];
a[j] = a[j - 1];
a[j - 1] = temp;
}
}
}
printf("%d %d %d\n", a[0], a[1], a... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 166,032 | 166,031 | u513316879 | c |
p02393 | #include <stdio.h>
int main(void) {
int i, j;
int a[3];
scanf("%d %d %d", &a[0], &a[1], &a[2]);
for (i = 0; i < 2; i++) {
for (j = 2; j > i; j--) {
if (a[j - 1] > a[j]) {
int temp = a[j];
a[j] = a[j - 1];
a[j - 1] - temp;
}
}
}
printf("%d %d %d\n", a[0], a[1], a... | #include <stdio.h>
int main(void) {
int i, j;
int a[3];
scanf("%d %d %d", &a[0], &a[1], &a[2]);
for (i = 0; i < 2; i++) {
for (j = 2; j > i; j--) {
if (a[j - 1] > a[j]) {
int temp = a[j];
a[j] = a[j - 1];
a[j - 1] = temp;
}
}
}
printf("%d %d %d\n", a[0], a[1], a... | [
"expression.operation.binary.change"
] | 166,033 | 166,031 | u513316879 | c |
p02393 | #include <stdio.h>
int main() {
int a, b, c, tmp;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
if (b > c) {
tmp = b;
b = c;
c = tmp;
}
if (a > b) {
tmp = b;
a = b;
b = tmp;
}
printf("%d %d %d", a, b, c);
return 0;
} | #include <stdio.h>
int main() {
int a, b, c, tmp;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
if (b > c) {
tmp = b;
b = c;
c = tmp;
}
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
printf("%d %d %d\n", a, b, c);
return 0;
} | [
"assignment.value.change",
"identifier.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 166,225 | 166,226 | u605515851 | c |
p02393 | #include <stdio.h>
int main() {
int a, b, c, tmp;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
if (b > c) {
tmp = b;
b = c;
c = tmp;
}
if (a > b) {
tmp = b;
a = b;
b = tmp;
}
printf("%d %d %d\n", a, b, c);
return 0;
} | #include <stdio.h>
int main() {
int a, b, c, tmp;
scanf("%d %d %d", &a, &b, &c);
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
if (b > c) {
tmp = b;
b = c;
c = tmp;
}
if (a > b) {
tmp = a;
a = b;
b = tmp;
}
printf("%d %d %d\n", a, b, c);
return 0;
} | [
"assignment.value.change",
"identifier.change"
] | 166,228 | 166,226 | u605515851 | c |
p02394 | #include <stdio.h>
int main() {
int W = 0, H = 0, x = 0, y = 0, r = 0;
scanf("%d %d %d %d %d\n", W, H, x, y, r);
if ((x - r) < 0 || (x + r) > W) {
printf("No\n");
} else if ((y - r) < 0 || (y + r) > H) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
}
| #include <stdio.h>
int main() {
int W = 0, H = 0, x = 0, y = 0, r = 0;
scanf("%d %d %d %d %d\n", &W, &H, &x, &y, &r);
if ((x - r) < 0 || (x + r) > W) {
printf("No\n");
} else if ((y - r) < 0 || (y + r) > H) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
}
| [
"expression.operation.unary.reference.add"
] | 168,323 | 168,324 | u940390945 | c |
p02394 | #include <stdio.h>
int main() {
int W = 0, H = 0, x = 0, y = 0, r = 0;
scanf("%d %d %d %d %d\n", W, H, x, y, r);
if ((x - r) < 0 || (x + r) > W) {
printf("No\n");
} else if ((y - r) < 0 || (y + r) > H) {
printf("No\n");
} else {
printf("Yes");
}
return 0;
}
| #include <stdio.h>
int main() {
int W = 0, H = 0, x = 0, y = 0, r = 0;
scanf("%d %d %d %d %d\n", &W, &H, &x, &y, &r);
if ((x - r) < 0 || (x + r) > W) {
printf("No\n");
} else if ((y - r) < 0 || (y + r) > H) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
}
| [
"expression.operation.unary.reference.add",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 168,326 | 168,324 | u940390945 | c |
p02394 | #include <stdio.h>
int main() {
int W = 0, H = 0, x = 0, y = 0, r = 0;
scanf("%d %d %d %d %d", W, H, x, y, r);
if ((x - r) < 0 || (x + r) > W) {
printf("No\n");
} else if ((y - r) < 0 || (y + r) > H) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
}
| #include <stdio.h>
int main() {
int W = 0, H = 0, x = 0, y = 0, r = 0;
scanf("%d %d %d %d %d\n", &W, &H, &x, &y, &r);
if ((x - r) < 0 || (x + r) > W) {
printf("No\n");
} else if ((y - r) < 0 || (y + r) > H) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"expression.operation.unary.reference.add"
] | 168,327 | 168,324 | u940390945 | c |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r, a, b, c, d;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
a = x - r;
b = x + r;
c = y - r;
d = y + r;
if (a > 0 && b < W && c > 0 && d < H) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r, a, b, c, d;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
a = x - r;
b = x + r;
c = y - r;
d = y + r;
if (a >= 0 && b <= W && c >= 0 && d <= H) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 168,400 | 168,401 | u571404136 | c |
p02394 | #include <stdio.h>
int main(void) {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (x - r > 0 && y + r < h && x + r < w && y - r > 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (x - r >= 0 && y + r <= h && x + r <= w && y - r >= 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 168,427 | 168,428 | u752101659 | c |
p02394 | #include <stdio.h>
int main(void) {
int x, y, r, w, h;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (x - r < 0 || x + r > w || y - r < 0 || y + r > h) {
printf("no\n");
} else if (x - r > 0 || x + r < w || y - r > 0 || y + r < h) {
printf("yes\n");
}
return 0;
}
| #include <stdio.h>
int main(void) {
int x, y, r, w, h;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (x - r < 0 || x + r > w || y - r < 0 || y + r > h) {
printf("No\n");
} else if (x - r >= 0 || x + r <= w || y - r >= 0 || y + r <= h) {
printf("Yes\n");
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 168,487 | 168,488 | u509218359 | c |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (x - r >= 0 && x + r < W && y - r >= 0 && y + r < H)
puts("Yes");
puts("No");
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H)
puts("Yes");
else
puts("No");
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 168,909 | 168,910 | u228816757 | c |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H)
puts("Yes");
puts("No");
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H)
puts("Yes");
else
puts("No");
return 0;
} | [
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 168,911 | 168,910 | u228816757 | c |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (x - r > 0 && x + r <= W && y - r > 0 && y + r <= H)
puts("Yes");
puts("No");
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H)
puts("Yes");
else
puts("No");
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 168,912 | 168,910 | u228816757 | c |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if ((x - r <= 0) || (y - r <= 0)) {
printf("No\n");
} else if ((x + r > W) || (y + r > H)) {
printf("No\n");
} else {
printf("Yes\n");
}
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if ((x - r < 0) || (y - r < 0)) {
printf("No\n");
} else if ((x + r > W) || (y + r > H)) {
printf("No\n");
} else {
printf("Yes\n");
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 169,189 | 169,190 | u694685461 | c |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if ((x - r <= 0) || (y - r <= 0)) {
printf("No\n");
} else if ((x + r >= W) || (y + r >= H)) {
printf("No\n");
} else {
printf("Yes\n");
}
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if ((x - r < 0) || (y - r < 0)) {
printf("No\n");
} else if ((x + r > W) || (y + r > H)) {
printf("No\n");
} else {
printf("Yes\n");
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 169,191 | 169,190 | u694685461 | c |
p02394 | #include <stdio.h>
int main(void) {
int W, H, x, y, r, a = 0, b = 0;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (x + r >= 0 && x + r <= W) {
a = 1;
}
if (y + r >= 0 && y + r <= H) {
b = 1;
}
if (a == 1 && b == 1) {
printf("Yes\n");
} else {
printf("NO\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
int W, H, x, y, r, a = 0, b = 0;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (x - r >= 0 && x + r <= W) {
a = 1;
}
if (y - r >= 0 && y + r <= H) {
b = 1;
}
if (a == 1 && b == 1) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 169,192 | 169,193 | u638444351 | c |
p02394 | #include <stdio.h>
int main(void) {
int W, H, x, y, r, a = 0, b = 0;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (x - r >= 0 && x + r <= W) {
a = 1;
}
if (y - r >= 0 && y + r <= H) {
b = 1;
}
if (a == 1 && b == 1) {
printf("Yes\n");
} else {
printf("NO\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
int W, H, x, y, r, a = 0, b = 0;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (x - r >= 0 && x + r <= W) {
a = 1;
}
if (y - r >= 0 && y + r <= H) {
b = 1;
}
if (a == 1 && b == 1) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 169,194 | 169,193 | u638444351 | c |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &y, &y, &r);
if (x + r <= W && H >= y + r && r <= y && r <= x && x >= 0 && y >= 0)
printf("Yes\n");
else
printf("No\n");
return 0;
}
| #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (x + r <= W && H >= y + r && r <= y && r <= x && x >= 0 && y >= 0)
printf("Yes\n");
else
printf("No\n");
return 0;
}
| [
"identifier.change",
"call.arguments.change"
] | 169,293 | 169,294 | u500257793 | c |
p02394 | #include <stdio.h>
int main() {
int W, H, x, y, r, a, b, c, d;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
a = x - r;
b = x + r;
c = y - r;
d = y + r;
if (a > 0 && b <= W && c > 0 && d <= H)
printf("Yes\n");
else
printf("No\n");
return (0);
} | #include <stdio.h>
int main() {
int W, H, x, y, r, a, b, c, d;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
a = x - r;
b = x + r;
c = y - r;
d = y + r;
if (a >= 0 && b <= W && c >= 0 && d <= H)
printf("Yes\n");
else
printf("No\n");
return (0);
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 169,455 | 169,456 | u020581035 | c |
p02394 | #include <stdio.h>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if ((x + r < w) && (x - r > 0) && (y + r < h) && (y - r > 0)) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if ((x + r <= w) && (x - r >= 0) && (y + r <= h) && (y - r >= 0)) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 169,639 | 169,640 | u253923767 | c |
p02396 | #include <stdio.h>
int main(void) {
int x, i;
i = 0;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
i = i + 1;
printf("case%d:%d\n", i, x);
}
return 0;
} | #include <stdio.h>
int main(void) {
int x, i;
i = 0;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
i = i + 1;
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 172,574 | 172,575 | u894192452 | c |
p02396 | #include <stdio.h>
int main(void) {
int x, i;
i = 0;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
i = i + 1;
printf("case%d: %d\n", i, x);
}
return 0;
} | #include <stdio.h>
int main(void) {
int x, i;
i = 0;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
i = i + 1;
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 172,576 | 172,575 | u894192452 | c |
p02396 | #include <stdio.h>
int main(void) {
int x, i;
i = 0;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
i = i + 1;
printf("case %d:%d\n", i, x);
}
return 0;
} | #include <stdio.h>
int main(void) {
int x, i;
i = 0;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
i = i + 1;
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 172,577 | 172,575 | u894192452 | c |
p02396 | #include <stdio.h>
int main(void) {
int x, i;
i = 0;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
i = i + 1;
printf("Case%d: %d\n", i, x);
}
return 0;
} | #include <stdio.h>
int main(void) {
int x, i;
i = 0;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
i = i + 1;
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 172,580 | 172,575 | u894192452 | c |
p02396 | #include <stdio.h>
int main(void) {
int x = 1;
int a = 0;
scanf("%d", &a);
while (a) {
x++;
printf("Case %d: %d\n", x, a);
scanf("%d", &a);
}
return 0;
} | #include <stdio.h>
int main(void) {
int x = 0;
int a = 0;
scanf("%d", &a);
while (a) {
x++;
printf("Case %d: %d\n", x, a);
scanf("%d", &a);
}
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 172,644 | 172,645 | u861616859 | c |
p02396 | #include <stdio.h>
int main(void) {
int i = 0, num;
while (1) {
scanf("%d", &num);
if (num == 0)
break;
printf("Case %d: %d\n", i++, num);
}
return 0;
} | #include <stdio.h>
int main(void) {
int i = 1, num;
while (1) {
scanf("%d", &num);
if (num == 0)
break;
printf("Case %d: %d\n", i++, num);
}
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 172,655 | 172,656 | u670231642 | c |
p02396 | #include <stdio.h>
int main() {
int x = 1, i = 1;
while (x != 0) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case i: %d\n", x);
i++;
}
return 0;
} | #include <stdio.h>
int main() {
int x = 1, i = 1;
while (x != 0) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d\n", i, x);
i++;
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"call.arguments.add"
] | 172,679 | 172,680 | u345822039 | c |
p02396 | #include <stdio.h>
int main() {
int x, i = 1;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
}
return 0;
} | #include <stdio.h>
int main() {
int x, i = 1;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
i++;
}
return 0;
} | [
"expression.unary.arithmetic.add"
] | 173,025 | 173,026 | u301727652 | c |
p02397 | #include <stdio.h>
int main(void) {
int x, y;
int A;
while (1) {
scanf("%d%d", &x, &y);
if ((x == 0) && (y == 0)) {
break;
}
if (x > y) {
A = x;
x = y;
y = A;
printf("%d %d", x, y);
} else {
printf("%d %d", x, y);
}
}
return 0;
}
| #include <stdio.h>
int main(void) {
int x, y;
int A;
while (1) {
scanf("%d%d", &x, &y);
if ((x == 0) && (y == 0)) {
break;
}
if (x > y) {
A = x;
x = y;
y = A;
printf("%d %d\n", x, y);
} else {
printf("%d %d\n", x, y);
}
}
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 176,255 | 176,256 | u765511782 | c |
p02397 | #include <stdio.h>
int main() {
int x, y, r;
while (1) {
scanf("%d %d", &x, &y);
if (x == 0 && y == 0)
break;
if (x > y) {
r = x;
x = y;
y = x;
}
printf("%d %d\n", x, y);
}
return 0;
} | #include <stdio.h>
int main() {
int x, y, r;
while (1) {
scanf("%d %d", &x, &y);
if (x == 0 && y == 0)
break;
if (x > y) {
r = x;
x = y;
y = r;
}
printf("%d %d\n", x, y);
}
return 0;
} | [
"assignment.value.change",
"identifier.change"
] | 176,523 | 176,524 | u245495144 | c |
p02397 | #include <stdio.h>
int main(void) {
int i, x, y;
for (i = 1; 3000; i++) {
scanf("%d %d", &x, &y);
if (x == 0 && y == 0) {
break;
} else if ("x>y") {
printf("%d %d\n", y, x);
} else if (x < y) {
printf("%d %d\n", x, y);
}
}
return 0;
}
| #include <stdio.h>
int main(void) {
int i, x, y;
for (i = 1;; i++) {
scanf("%d %d", &x, &y);
if (x == 0 && y == 0) {
break;
} else if (x >= y) {
printf("%d %d\n", y, x);
} else if (x < y) {
printf("%d %d\n", x, y);
}
}
return 0;
}
| [
"control_flow.loop.for.condition.change"
] | 176,576 | 176,577 | u331491813 | c |
p02397 | #include <stdio.h>
int main(void) {
int i, x, y;
for (i = 1;; i++) {
scanf("%d %d", &x, &y);
if (x == 0 && y == 0) {
break;
} else if ("x>y") {
printf("%d %d\n", y, x);
} else if (x < y) {
printf("%d %d\n", x, y);
}
}
return 0;
}
| #include <stdio.h>
int main(void) {
int i, x, y;
for (i = 1;; i++) {
scanf("%d %d", &x, &y);
if (x == 0 && y == 0) {
break;
} else if (x >= y) {
printf("%d %d\n", y, x);
} else if (x < y) {
printf("%d %d\n", x, y);
}
}
return 0;
}
| [
"control_flow.loop.for.condition.change"
] | 176,578 | 176,577 | u331491813 | c |
p02397 | #include <stdio.h>
int main(void) {
int i, x, y;
for (i = 1;; i++) {
scanf("%d %d", &x, &y);
if (x == 0 && y == 0) {
break;
} else if (x > y) {
printf("%d %d\n", y, x);
} else if (x < y) {
printf("%d %d\n", x, y);
}
}
return 0;
}
| #include <stdio.h>
int main(void) {
int i, x, y;
for (i = 1;; i++) {
scanf("%d %d", &x, &y);
if (x == 0 && y == 0) {
break;
} else if (x >= y) {
printf("%d %d\n", y, x);
} else if (x < y) {
printf("%d %d\n", x, y);
}
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 176,579 | 176,577 | u331491813 | c |
p02397 | #include <stdio.h>
int main(void) {
int x, y;
while (1) {
scanf("%d, %d", &x, &y);
if (x == 0 && y == 0) {
break;
}
}
if (x > y)
printf("%d %d\n", y, x);
else
printf("%d %d\n", x, y);
return (0);
}
| #include <stdio.h>
int main(void) {
int x, y;
while (1) {
scanf("%d %d", &x, &y);
if (x == 0 && y == 0) {
break;
}
if (x > y)
printf("%d %d\n", y, x);
else
printf("%d %d\n", x, y);
}
return (0);
}
| [
"literal.string.change",
"call.arguments.change"
] | 176,583 | 176,584 | u831649807 | c |
p02397 | #include <stdio.h>
int main(void) {
while (1) {
int x, y;
scanf("%d %d", &x, &y);
if (x == 0 && y == 0)
break;
if (x < y) {
printf("%d %d\n", x, y);
} else if (y < x) {
printf("%d %d\n", y, x);
}
}
return 0;
}
| #include <stdio.h>
int main(void) {
while (1) {
int x, y;
scanf("%d %d", &x, &y);
if (x == 0 && y == 0)
break;
if (x <= y) {
printf("%d %d\n", x, y);
} else if (y < x) {
printf("%d %d\n", y, x);
}
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 176,644 | 176,645 | u421356972 | c |
p02397 | #include <stdio.h>
int main() {
int i, a, temp, x[2999], y[2999];
for (i = 0; i <= 2999; i++) {
scanf("%d %d", &x[i], &y[i]);
if (x[i] == 0 && y[i] == 0) {
a = i;
break;
}
}
for (i = 0; i <= a; i++) {
if (x[i] > y[i]) {
temp = x[i];
x[i] = y[i];
y[i] = temp;
... | #include <stdio.h>
int main() {
int i, a, temp, x[2999], y[2999];
for (i = 0; i <= 2999; i++) {
scanf("%d %d", &x[i], &y[i]);
if (x[i] == 0 && y[i] == 0) {
a = i;
break;
}
}
for (i = 0; i < a; i++) {
if (x[i] > y[i]) {
temp = x[i];
x[i] = y[i];
y[i] = temp;
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 176,877 | 176,878 | u379549690 | c |
p02398 | #include <stdio.h>
int main(void) {
int a, b, c, i, n = 1;
scanf("%d %d %d", &a, &b, &c);
for (i = a; i <= b; i++) {
if ((c % i) == 0) {
n++;
}
}
printf("%d\n", n);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c, i, n = 0;
scanf("%d %d %d", &a, &b, &c);
for (i = a; i <= b; i++) {
if ((c % i) == 0) {
n++;
}
}
printf("%d\n", n);
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 179,346 | 179,347 | u212318768 | c |
p02398 | #include <stdio.h>
int main() {
int a, b, c, i, z, count;
scanf("%d %d %c", &a, &b, &c);
for (i = a, count = 0; i <= b; i++) {
if (c % i == 0)
count++;
}
printf("%d\n", count);
return 0;
} | #include <stdio.h>
int main() {
int a, b, c, i, z, count;
scanf("%d %d %d", &a, &b, &c);
for (i = a, count = 0; i <= b; i++) {
if (c % i == 0)
count++;
}
printf("%d\n", count);
return 0;
} | [
"literal.string.change",
"call.arguments.change"
] | 179,348 | 179,349 | u209375244 | c |
p02398 | #include <stdio.h>
int main() {
int a, b, c, i, cnt = 0;
scanf("%d %d %d", &a, &b, &c);
for (i = a; b > a; a++) {
if (c % a == 0)
cnt++;
}
printf("%d\n", cnt);
} | #include <stdio.h>
int main() {
int a, b, c, i, cnt = 0;
scanf("%d %d %d", &a, &b, &c);
for (i = a; b >= a; a++) {
if (c % a == 0)
cnt++;
}
printf("%d\n", cnt);
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 179,376 | 179,377 | u843915147 | c |
p02398 | #include <stdio.h>
int main(void) {
int i, m;
int a;
int b;
int c;
scanf("%d %d %d", &a, &b, &c);
for (i = a; i < b; i++) {
if (c / i == 0) {
m++;
}
}
printf("%d\n", m);
return 0;
}
| #include <stdio.h>
int main(void) {
int i, m;
int a;
int b;
int c;
scanf("%d %d %d", &a, &b, &c);
for (i = a; i <= b; i++) {
if (c % i == 0) {
m++;
}
}
printf("%d\n", m);
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 179,420 | 179,421 | u184624792 | c |
p02398 | #include <stdio.h>
int main(void) {
int i, m;
int a;
int b;
int c;
scanf("%d %d %d", &a, &b, &c);
for (i = a; i <= b; i++) {
if (c / i == 0) {
m++;
}
}
printf("%d\n", m);
return 0;
}
| #include <stdio.h>
int main(void) {
int i, m;
int a;
int b;
int c;
scanf("%d %d %d", &a, &b, &c);
for (i = a; i <= b; i++) {
if (c % i == 0) {
m++;
}
}
printf("%d\n", m);
return 0;
}
| [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 179,422 | 179,421 | u184624792 | c |
p02398 | #include <stdio.h>
int main(void) {
int a, b, c;
int counter = 0;
scanf("%d %d %d", &a, &b, &c);
for (; a <= b; a++) {
if (a % c == 0) {
counter++;
}
}
printf("%d", counter);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c;
int counter = 0;
scanf("%d %d %d", &a, &b, &c);
for (; a <= b; a++) {
if (c % a == 0) {
counter++;
}
}
printf("%d\n", counter);
return 0;
} | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 179,590 | 179,591 | u004140766 | c |
p02398 | #include <stdio.h>
int main(void) {
int a, b, c;
int counter = 0;
scanf("%d %d %d", &a, &b, &c);
for (; a <= b; a++) {
if (a % c == 0) {
counter++;
}
}
printf("%d\n", counter);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c;
int counter = 0;
scanf("%d %d %d", &a, &b, &c);
for (; a <= b; a++) {
if (c % a == 0) {
counter++;
}
}
printf("%d\n", counter);
return 0;
} | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 179,592 | 179,591 | u004140766 | c |
p02398 | #include <stdio.h>
int main(void) {
int a, b, c, i;
scanf("%d %d %d", &a, &b, &c);
i = 0;
for (; a < b; a++) {
if (c % a == 0) {
i++;
}
}
printf("%d", i);
return 0;
} | #include <stdio.h>
int main(void) {
int a, b, c, i;
scanf("%d %d %d", &a, &b, &c);
i = 0;
for (; a <= b; a++) {
if (c % a == 0) {
i++;
}
}
printf("%d\n", i);
return 0;
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 179,606 | 179,607 | u881797787 | c |
p02399 | #include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = 1.0 * a / b;
printf("%d %d %.5fl\n", d, r, f);
return 0;
}
| #include <stdio.h>
int main() {
int a, b, d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = 1.0 * a / b;
printf("%d %d %.5lf\n", d, r, f);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 182,659 | 182,661 | u485112485 | c |
p02399 | #include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %lf\n", a / b, a % b, (double)(a / b));
return 0;
}
| #include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %8.6lf\n", a / b, a % b, (double)a / b);
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 182,762 | 182,764 | u774072955 | c |
p02399 | #include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %8.6lf\n", a / b, a % b, (double)(a / b));
return 0;
}
| #include <stdio.h>
int main() {
int a, b;
scanf("%d %d", &a, &b);
printf("%d %d %8.6lf\n", a / b, a % b, (double)a / b);
return 0;
}
| [
"call.arguments.change"
] | 182,766 | 182,764 | u774072955 | c |
p02399 | #include <stdio.h>
int main(void) {
long int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%ld %ld %lf\n", a / b, a % b, ((float)a) / b);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b;
scanf("%d", &a);
scanf("%d", &b);
printf("%d %d %lf\n", a / b, a % b, ((double)a) / b);
return 0;
}
| [
"variable_declaration.type.narrow.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"variable_declaration.type.primitive.change"
] | 182,954 | 182,951 | u585880498 | c |
p02399 | #include <stdio.h>
int main(void) {
int a, b;
int d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = a / b;
printf("%d %d %lf\n", d, r, f);
return 0;
}
| #include <stdio.h>
int main(void) {
int a, b;
int d, r;
double f;
scanf("%d %d", &a, &b);
d = a / b;
r = a % b;
f = 1.0 * a / b;
printf("%d %d %.8lf\n", d, r, f);
return 0;
}
| [
"assignment.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 182,311 | 182,312 | u184624792 | c |
p02399 | #include <stdio.h>
int main(void)
{
long a, b;
while (scanf("%ld %ld", &a, &b) != EOF)
{
printf("%ld", a / b);
printf("%ld", a % b);
printf("%.5lf\n", ((double)a / (double)b));
}
return 0;
} | #include <stdio.h>
int main(void) {
long a, b;
while (scanf("%ld %ld", &a, &b) != EOF) {
printf("%ld ", a / b);
printf("%ld ", a % b);
printf("%.5lf\n", ((double)a / (double)b));
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 183,301 | 183,302 | u300299759 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.