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 |
|---|---|---|---|---|---|---|---|
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
int counter = 0;
while (1) {
cin >> x;
if (x == 0)
break;
counter++; // counter = counter +1;
// counter +=1;
cout << "case : " << counter << " " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
int counter = 0;
while (1) {
cin >> x;
if (x == 0)
break;
counter++; // counter = counter +1;
// counter +=1;
cout << "Case " << counter << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,610 | 174,611 | u908905250 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
int counter = 0;
while (1) {
cin >> x;
if (x == 0)
break;
counter++; // counter = counter +1;
// counter +=1;
cout << "case " << counter << ": " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
int counter = 0;
while (1) {
cin >> x;
if (x == 0)
break;
counter++; // counter = counter +1;
// counter +=1;
cout << "Case " << counter << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,612 | 174,611 | u908905250 | cpp |
p02396 | #include <stdio.h>
int main() {
int x[255], cnt = 0;
while (1) {
cnt++;
scanf("%d", &x[cnt]);
if (x[cnt] == 0)
break;
}
cnt = 0;
while (1) {
cnt++;
if (x[cnt] == 0)
break;
else
printf("Case %d:%d\n", cnt, x[cnt]);
}
} | #include <stdio.h>
int main() {
int x[25556], cnt = 0;
while (1) {
cnt++;
scanf("%d", &x[cnt]);
if (x[cnt] == 0)
break;
}
cnt = 0;
while (1) {
cnt++;
if (x[cnt] == 0)
break;
else
printf("Case %d: %d\n", cnt, x[cnt]);
}
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,613 | 174,614 | u460911277 | cpp |
p02396 | #include <stdio.h>
int main() {
int x[25556], cnt = 0;
while (1) {
cnt++;
scanf("%d", &x[cnt]);
if (x[cnt] == 0)
break;
}
cnt = 0;
while (1) {
cnt++;
if (x[cnt] == 0)
break;
else
printf("Case %d:%d\n", cnt, x[cnt]);
}
} | #include <stdio.h>
int main() {
int x[25556], cnt = 0;
while (1) {
cnt++;
scanf("%d", &x[cnt]);
if (x[cnt] == 0)
break;
}
cnt = 0;
while (1) {
cnt++;
if (x[cnt] == 0)
break;
else
printf("Case %d: %d\n", cnt, x[cnt]);
}
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,616 | 174,614 | u460911277 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
long long i = 0;
while (true) {
int x;
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int i = 1;
while (true) {
int x;
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.narrow.change",
"literal.number.change",
"variable_declaration.value.change"
] | 174,622 | 174,621 | u737796120 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
long long i = 0;
while (true) {
int x;
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int i = 1;
while (true) {
int x;
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.narrow.change",
"literal.number.change",
"variable_declaration.value.change"
] | 174,623 | 174,621 | u737796120 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, a;
i = 0;
cin >> a;
while (a) {
i++;
cout << "Case:" << i << " " << a << endl;
cin >> a;
};
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int i, a;
i = 0;
cin >> a;
while (a) {
i++;
cout << "Case " << i << ": " << a << endl;
cin >> a;
};
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 174,625 | 174,626 | u986478725 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, a;
i = 0;
cin >> a;
while (a) {
i++;
cout << "Case :" << i << " " << a << endl;
cin >> a;
};
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int i, a;
i = 0;
cin >> a;
while (a) {
i++;
cout << "Case " << i << ": " << a << endl;
cin >> a;
};
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 174,627 | 174,626 | u986478725 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int x, i;
for (int i = 1;; i++) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", x, i);
}
return 0;
} | #include <stdio.h>
int main(void) {
int x, i;
for (int i = 1;; i++) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"call.arguments.change",
"call.arguments.add"
] | 174,628 | 174,629 | u338380084 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 0, x;
while (true) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 1, x;
while (true) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 174,630 | 174,631 | u613519776 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 0, x;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 1, x;
while (true) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.condition.change"
] | 174,632 | 174,631 | u613519776 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, x;
while (true) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 1, x;
while (true) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"variable_declaration.value.change"
] | 174,635 | 174,631 | u613519776 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
int i = 0;
while (1) {
i++;
cin >> x;
if (!x)
break;
cout << "Case " << i << ":" << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
int i = 0;
while (1) {
i++;
cin >> x;
if (!x)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,636 | 174,637 | u490245276 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int n, i = 1;
while (true) {
cin >> n;
if (n != 0) {
cout << "case " << i << ": " << n << endl;
i++;
} else {
break;
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int n, i = 1;
while (true) {
cin >> n;
if (n != 0) {
cout << "Case " << i << ": " << n << endl;
i++;
} else {
break;
}
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,640 | 174,641 | u912640158 | cpp |
p02396 | #include <iostream>
int main() {
int i = 1, x;
while (1) {
std::cin >> x;
if (x == 0) {
break;
}
std::cout << "case " << i << ": " << x << "\n";
i++;
}
return 0;
} | #include <iostream>
int main() {
int i = 1, x;
while (true) {
std::cin >> x;
if (x == 0) {
break;
}
std::cout << "Case " << i << ": " << x << "\n";
i++;
}
return 0;
} | [
"control_flow.loop.condition.change",
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 174,642 | 174,643 | u437193897 | cpp |
p02396 | #include <iostream>
int main() {
int i = 1, x;
while (true) {
std::cin >> x;
if (x == 0)
break;
std::cout << "case " << i << ": " << x << "\n";
i++;
}
return 0;
} | #include <iostream>
int main() {
int i = 1, x;
while (true) {
std::cin >> x;
if (x == 0) {
break;
}
std::cout << "Case " << i << ": " << x << "\n";
i++;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 174,644 | 174,643 | u437193897 | cpp |
p02396 | #include <iostream>
int main() {
int i = 1, x;
while (true) {
std::cin >> x;
if (x == 0) {
break;
}
std::cout << "case " << i << ": " << x << "\n";
i++;
}
return 0;
} | #include <iostream>
int main() {
int i = 1, x;
while (true) {
std::cin >> x;
if (x == 0) {
break;
}
std::cout << "Case " << i << ": " << x << "\n";
i++;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 174,645 | 174,643 | u437193897 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int str[10000], i;
str[1] = 1;
for (int i = 1; i < i + 1; i++) {
cin >> str[i];
if (str[i] == 0) {
for (int a = 1; a <= i; a++) {
cout << "Case " << a << ": " << str[a] << endl;
}
break;
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int str[10000], i;
str[1] = 1;
for (int i = 1; i < i + 1; i++) {
cin >> str[i];
if (str[i] == 0) {
for (int a = 1; a < i; a++) {
cout << "Case " << a << ": " << str[a] << endl;
}
break;
}
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 174,646 | 174,647 | u085815515 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 0; i++;) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case" << i << ":" << x << endl;
}
return 0;
} |
#include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 1;; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"literal.string.change",
"io.output.change"
] | 174,648 | 174,649 | u459663658 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 0; i++;) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case" << i << ": " << x << endl;
}
return 0;
} |
#include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 1;; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"literal.string.change",
"io.output.change"
] | 174,650 | 174,649 | u459663658 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 1, x;
for (;;) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 1, x;
for (;;) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"expression.unary.arithmetic.add"
] | 174,651 | 174,652 | u459663658 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(void) {
int x = -1;
int cnt = 1;
while (true) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case" << cnt << ": " << x << endl;
cnt++;
}
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int x = -1;
int cnt = 1;
while (true) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << cnt << ": " << x << endl;
cnt++;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,653 | 174,654 | u879226672 | cpp |
p02396 | #include <iostream>
int main() {
int i = 0, x = 1;
while (x == 0) {
std::cin >> x;
if (x != 0) {
i++;
std::cout << "Case " << i << ": " << x << std::endl;
}
}
return 0;
} | #include <iostream>
int main() {
int i = 0, x = 1;
while (x != 0) {
std::cin >> x;
if (x != 0) {
i++;
std::cout << "Case " << i << ": " << x << std::endl;
}
}
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 174,655 | 174,656 | u722929725 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int a = 2;
while (1) {
int x;
cin >> x;
if (x == 0)
break;
cout << "Case " << a << ": " << x << endl;
a += 2;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a = 1;
while (1) {
int x;
cin >> x;
if (x == 0)
break;
cout << "Case " << a << ": " << x << endl;
a++;
}
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 174,658 | 174,659 | u419061066 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(int argc, char **argv) {
int x = 0;
int i = 1;
while (cin >> x) {
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main(int argc, char **argv) {
int x = 0;
int i = 1;
while (cin >> x, x) {
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"control_flow.loop.condition.change"
] | 174,660 | 174,661 | u385991569 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int c = 0;
while (1) {
int p;
cin >> p;
if (p == 0)
break;
c++;
cout << "Cace " << c << " " << p << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int c = 0;
while (1) {
int p;
cin >> p;
if (p == 0)
break;
c++;
cout << "Case " << c << ": " << p << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 174,666 | 174,667 | u961466146 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int c = 0;
while (1) {
int p;
cin >> p;
if (p == 0)
break;
c++;
cout << "Cace " << c << ": " << p << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int c = 0;
while (1) {
int p;
cin >> p;
if (p == 0)
break;
c++;
cout << "Case " << c << ": " << p << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 174,668 | 174,667 | u961466146 | cpp |
p02396 | #include <iostream>
using namespace std;
int x;
int main() {
for (int i = 0; i < 10000; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ":"
<< " " << x << endl;
}
} | #include <iostream>
using namespace std;
int x;
int main() {
for (int i = 1; i < 10001; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ":"
<< " " << x << endl;
}
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 174,677 | 174,678 | u667297321 | cpp |
p02396 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
int coun = 0, z;
int main() {
while (1) {
cin >> z;
if (!z)
return 0;
cout << "case " << ++coun << ": ... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
int coun = 0, z;
int main() {
while (1) {
cin >> z;
if (!z)
return 0;
cout << "Case " << ++coun << ": ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,682 | 174,683 | u045619227 | cpp |
p02396 | #include <stdio.h>
int main() {
int x, i;
for (i = 0; i < 1000; i++) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("case %d: %d\n", i, x);
}
} | #include <stdio.h>
int main() {
int x, i;
for (i = 1; i <= 10000; i++) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d\n", i, x);
}
} | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"control_flow.loop.for.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 174,684 | 174,685 | u467541030 | cpp |
p02396 | #include <stdio.h>
int main() {
int x, i;
for (i = 0; i < 10000; i++) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("case %d: %d\n", i, x);
}
} | #include <stdio.h>
int main() {
int x, i;
for (i = 1; i <= 10000; i++) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d\n", i, x);
}
} | [
"literal.number.change",
"assignment.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",
"literal.string.change",
"literal.string.case.change",
"cal... | 174,686 | 174,685 | u467541030 | cpp |
p02396 | #include <stdio.h>
int main() {
int x, i;
for (i = 1; i <= 10000; i++) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("case %d: %d\n", i, x);
}
} | #include <stdio.h>
int main() {
int x, i;
for (i = 1; i <= 10000; i++) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d\n", i, x);
}
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 174,687 | 174,685 | u467541030 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
for (int i = 1;; ++i) {
int x;
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
for (int i = 1;; ++i) {
int x;
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"io.output.newline.add"
] | 174,688 | 174,689 | u625445668 | cpp |
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;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"expression.unary.arithmetic.add"
] | 174,690 | 174,691 | u105694406 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
// your code goes here
int x = 100, i = 1;
while (x) {
cin >> x;
if (x)
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
// your code goes here
int x = 100, i = 1;
while (x) {
cin >> x;
if (x)
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"expression.unary.arithmetic.add"
] | 174,700 | 174,701 | u063871479 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 1;
while (1) {
int x;
cin >> x;
if (x == 0)
break;
cout << "Cace"
<< " " << i << ":"
<< " " << x << endl;
++i;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 1;
while (1) {
int x;
cin >> x;
if (x == 0)
break;
cout << "Case"
<< " " << i << ":"
<< " " << x << endl;
++i;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,702 | 174,703 | u948229170 | cpp |
p02396 | #include <stdio.h>
#include <iostream>
using namespace std;
int main() {
int i = 1;
int x;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case" << ' ' << i << ':' << ' ' << x;
i++;
}
return 0;
} | #include <stdio.h>
#include <iostream>
using namespace std;
int main() {
int i = 1;
int x;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case" << ' ' << i << ':' << ' ' << x << endl;
i++;
}
return 0;
} | [
"io.output.newline.add"
] | 174,704 | 174,705 | u301707458 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, x;
for (i = 1; i < 10000; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ":" << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i, x;
for (i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"literal.string.change",
"io.output.change"
] | 174,712 | 174,713 | u356896389 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 0;
int num;
while (num > 0) {
cin >> num;
if (num == 0) {
break;
}
i++;
cout << "Case " << i << ": " << num << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 0;
int num;
while (true) {
cin >> num;
if (num == 0) {
break;
}
i++;
cout << "Case " << i << ": " << num << endl;
}
return 0;
} | [
"control_flow.loop.condition.change",
"expression.operation.binary.remove"
] | 174,717 | 174,718 | u091820616 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int testCases[10000] = {0};
int testNum = 0;
for (int i = 0; i < 10000; i++) {
scanf("%d", &testCases[i]);
if (testCases[i] == 0) {
break;
}
testNum++;
}
for (int i = 0; i < testNum; i++) {
printf("Case %d: %d\n", i, testCases[i]);
}
return... | #include <stdio.h>
int main(void) {
int testCases[10001] = {0};
int testNum = 0;
for (int i = 0; i < 10001; i++) {
scanf("%d", &testCases[i]);
if (testCases[i] == 0) {
break;
}
testNum++;
}
for (int i = 0; i < testNum; i++) {
printf("Case %d: %d\n", (i + 1), testCases[i]);
}
... | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"call.arguments.change"
] | 174,719 | 174,720 | u686222307 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int testCases[10001] = {0};
int testNum = 0;
for (int i = 0; i < 10001; i++) {
scanf("%d", &testCases[i]);
if (testCases[i] == 0) {
break;
}
testNum++;
}
for (int i = 0; i < testNum; i++) {
printf("Case %d: %d\n", i, testCases[i]);
}
return... | #include <stdio.h>
int main(void) {
int testCases[10001] = {0};
int testNum = 0;
for (int i = 0; i < 10001; i++) {
scanf("%d", &testCases[i]);
if (testCases[i] == 0) {
break;
}
testNum++;
}
for (int i = 0; i < testNum; i++) {
printf("Case %d: %d\n", (i + 1), testCases[i]);
}
... | [
"call.arguments.change"
] | 174,721 | 174,720 | u686222307 | cpp |
p02396 | #include <stdio.h>
int main() {
int n, j, i = 0;
int set[10000] = {0};
while (1) {
scanf("%d", &set[i]);
if (set[i] == 0) {
break;
}
i++;
}
for (j = 0; j <= i; j++) {
printf("Case %d: %d\n", j, set[j]);
}
return 0;
} | #include <stdio.h>
int main() {
int n, j, i = 0;
int set[12000] = {0};
while (1) {
scanf("%d", &set[i]);
if (set[i] == 0) {
break;
}
i++;
}
for (j = 0; j < i; j++) {
printf("Case %d: %d\n", j + 1, set[j]);
}
return 0;
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 174,730 | 174,726 | u409281567 | cpp |
p02396 | #include <stdio.h>
int main() {
int n, j, i = 0;
int set[15000] = {0};
while (1) {
scanf("%d", &set[i]);
if (set[i] == 0) {
break;
}
i++;
}
for (j = 0; j <= i; j++) {
printf("Case %d: %d\n", j + 1, set[j]);
}
return 0;
} | #include <stdio.h>
int main() {
int n, j, i = 0;
int set[12000] = {0};
while (1) {
scanf("%d", &set[i]);
if (set[i] == 0) {
break;
}
i++;
}
for (j = 0; j < i; j++) {
printf("Case %d: %d\n", j + 1, set[j]);
}
return 0;
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 174,732 | 174,726 | u409281567 | cpp |
p02396 | #include <stdio.h>
int main() {
int j, i = 0;
int set[15000] = {0};
while (1) {
scanf("%d", &set[i]);
if (set[i] == 0) {
break;
}
i++;
}
for (j = 0; j <= i; j++) {
printf("Case %d: %d\n", j + 1, set[j]);
}
return 0;
} | #include <stdio.h>
int main() {
int n, j, i = 0;
int set[12000] = {0};
while (1) {
scanf("%d", &set[i]);
if (set[i] == 0) {
break;
}
i++;
}
for (j = 0; j < i; j++) {
printf("Case %d: %d\n", j + 1, set[j]);
}
return 0;
} | [
"variable_declaration.add",
"literal.number.change",
"variable_declaration.array_dimensions.change",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 174,733 | 174,726 | u409281567 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x = 1;
int i = 1;
while (x != 0) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case"
<< " " << i << " " << x << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x = 1;
int i = 1;
while (x != 0) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case"
<< " " << i << ":"
<< " " << x << endl;
i++;
}
return 0;
} | [
"io.output.change"
] | 174,742 | 174,741 | u622377948 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i = 0;
while (1) {
cin >> x;
i++;
if (x == 0)
break;
cout << "Case" << i << ":" << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, i = 0;
while (1) {
cin >> x;
i++;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,745 | 174,744 | u533387709 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 0, x;
while (1) { // while(1)?????????while(0)???????????¨???
cin >> x;
i++;
if (x == 0)
break;
cout << "Case " << i << "???" << x << "\n";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 0, x;
while (1) {
cin >> x;
i++;
if (x == 0)
break;
cout << "Case " << i << ": " << x << "\n";
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,749 | 174,750 | u960548659 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int a, b;
b = 1;
while (1) {
cin >> a;
if (a == 0)
break;
cout << "case " << b << ": " << a << endl;
b++;
}
} | #include <iostream>
using namespace std;
int main() {
int a, b;
a = 0;
b = 1;
while (1) {
cin >> a;
if (a == 0)
break;
cout << "Case " << b << ": " << a << endl;
b++;
}
} | [
"assignment.add",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,755 | 174,756 | u198366233 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int x, c;
c = 1;
while (scanf("%d", &x), x != 0) {
if (x == 0)
break;
printf("Case %d:%d\n", c, x);
c++;
}
return 0;
} | #include <stdio.h>
int main(void) {
int x, c;
c = 1;
while (scanf("%d", &x), x != 0) {
if (x == 0)
break;
printf("Case %d: %d\n", c, x);
c++;
}
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,757 | 174,758 | u117098586 | cpp |
p02396 | #include <cstdio>
using namespace std;
int main() {
int i = 0;
int dataArr[10000];
while (scanf("%d", &dataArr[i]), dataArr[i])
i++;
for (int j = 0; j <= i - 1; j++)
printf("case %d: %d\n", j + 1, dataArr[j]);
return 0;
} | #include <cstdio>
using namespace std;
int main() {
int i = 0;
int dataArr[10000];
while (scanf("%d", &dataArr[i]), dataArr[i])
i++;
for (int j = 0; j <= i - 1; j++)
printf("Case %d: %d\n", j + 1, dataArr[j]);
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 174,761 | 174,762 | u948204119 | cpp |
p02396 | #include <cstdio>
using namespace std;
int main() {
int i = 0;
int dataArr[10000];
while (scanf("%d", &dataArr[i]), dataArr[i])
i++;
for (int j = 0; j <= i - 1; j++)
printf("case %d : %d\n", j + 1, dataArr[j]);
return 0;
} | #include <cstdio>
using namespace std;
int main() {
int i = 0;
int dataArr[10000];
while (scanf("%d", &dataArr[i]), dataArr[i])
i++;
for (int j = 0; j <= i - 1; j++)
printf("Case %d: %d\n", j + 1, dataArr[j]);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,763 | 174,762 | u948204119 | cpp |
p02396 | #include <iostream>
using namespace std;
main() {
int A[10000], i = 0;
while (cin >> A[i]) {
if (A[i] == 0)
break;
else
cout << "Case " << i + 1 << ": " << A[i];
++i;
}
return 0;
} | #include <iostream>
using namespace std;
main() {
int A[10000], i = 0;
while (cin >> A[i]) {
if (A[i] == 0)
break;
else
cout << "Case " << i + 1 << ": " << A[i] << endl;
i++;
}
return 0;
} | [
"expression.unary.arithmetic.add"
] | 174,764 | 174,765 | u008204061 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 0;
int x;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "case " << ++i << ": "
<< "x" << '\n';
}
} | #include <iostream>
using namespace std;
int main() {
int i = 0;
long x;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case " << ++i << ": " << x << '\n';
}
} | [
"variable_declaration.type.primitive.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,768 | 174,767 | u233012353 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int num[10000];
for (int i = 0; i < 10000; i++) {
cin >> num[i];
if (num[i] == 0)
break;
}
for (int j = 0; j < 10000; j++) {
if (num[j] == 0)
break;
cout << "Case " << j << " " << num[j] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int num[10000];
for (int i = 0; i < 10000; i++) {
cin >> num[i];
if (num[i] == 0)
break;
}
for (int j = 0; j < 10000; j++) {
if (num[j] == 0)
break;
cout << "Case " << j + 1 << ": " << num[j] << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,779 | 174,780 | u896006100 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int num[10000];
for (int i = 0; i < 10000; i++) {
cin >> num[i];
if (num[i] == 0)
break;
}
for (int j = 0; j < 10000; j++) {
if (num[j] == 0)
break;
cout << "Case " << j << ": " << num[j] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int num[10000];
for (int i = 0; i < 10000; i++) {
cin >> num[i];
if (num[i] == 0)
break;
}
for (int j = 0; j < 10000; j++) {
if (num[j] == 0)
break;
cout << "Case " << j + 1 << ": " << num[j] << endl;
}
return 0;
} | [
"expression.operation.binary.add"
] | 174,782 | 174,780 | u896006100 | cpp |
p02396 | #include <stdio.h>
int main() {
int i, x;
for (i = 1; i < 10000; i++) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d", i, x);
}
return 0;
} | #include <stdio.h>
int main() {
int i, x;
for (i = 1; i <= 10000; i++) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
}
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"
] | 174,784 | 174,785 | u493744046 | cpp |
p02396 | #include <iostream>
int main() {
for (int i = 0; true; ++i) {
int x;
std::cin >> x;
if (x == 0) {
break;
}
std::cout << "Case " << i << ": " << x << std::endl;
}
return 0;
} | #include <iostream>
int main() {
for (int i = 0; true; ++i) {
int x;
std::cin >> x;
if (x == 0) {
break;
}
std::cout << "Case " << (i + 1) << ": " << x << std::endl;
}
return 0;
} | [] | 174,792 | 174,793 | u710536902 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
for (int i = 1;; i++) {
int x;
cin >> x;
if (x == 0)
break;
cout << "case " << i << ": " << x << endl;
}
} | #include <iostream>
using namespace std;
int main() {
for (int i = 1;; i++) {
int x;
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,799 | 174,800 | u228348812 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
;
int x, i;
i = 1;
while (1) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case" << i << ":" << x << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
;
int x, i;
i = 1;
while (1) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,803 | 174,804 | u793590364 | cpp |
p02396 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
ios::sync_with_stdio(false);
int a, i = 1;
while (1) {
cin >> a;
if (a == 0)
break;
cout << "case " << i << ": " << a << endl;
i++;
}
return 0;
} | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
ios::sync_with_stdio(false);
int a, i = 1;
while (1) {
cin >> a;
if (a == 0)
break;
cout << "Case " << i << ": " << a << endl;
i++;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,827 | 174,828 | u765853485 | cpp |
p02396 | // C++14 (Clang 3.8.0)
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#includ... | // C++14 (Clang 3.8.0)
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#includ... | [
"literal.string.change",
"io.output.change"
] | 174,829 | 174,830 | u444102531 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
i = 0;
while (1) {
cin >> x;
if (x == 0) {
break;
}
i++;
cout << "Case " << i << ":" << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, i;
i = 0;
while (1) {
cin >> x;
if (x == 0) {
break;
}
i++;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,831 | 174,832 | u965211739 | cpp |
p02396 | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> a;
int b = 0;
do {
cin >> b;
a.push_back(b);
} while (b != 0);
for (int i = 1; a[i] != 0; ++i) {
cout << "Case " << i << ": " << a[i - 1] << endl;
}
return 0;
} | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> a;
int b = 0;
do {
cin >> b;
a.push_back(b);
} while (b != 0);
for (int i = 1; a[i - 1] != 0; ++i) {
cout << "Case " << i << ": " << a[i - 1] << endl;
}
return 0;
} | [
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 174,833 | 174,834 | u892856616 | cpp |
p02396 | #include <bits/stdc++.h>
using namespace std;
#define lli long long
#define FOR(i, a, b) for (lli i = (a); i < (b); i++)
#define REP(i, n) for (lli i = 0; i < (n); i++)
#define rep(i, n) for (lli i = 0; i < (n); i++)
#define INF INT_MAX / 3
#define PB push_back
#define pb push_back
#define all(a) (a).begin(), (a), en... | #include <bits/stdc++.h>
using namespace std;
#define lli long long
#define FOR(i, a, b) for (lli i = (a); i < (b); i++)
#define REP(i, n) for (lli i = 0; i < (n); i++)
#define rep(i, n) for (lli i = 0; i < (n); i++)
#define INF INT_MAX / 3
#define PB push_back
#define pb push_back
#define all(a) (a).begin(), (a), en... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"io.output.newline.add"
] | 174,835 | 174,836 | u231583749 | cpp |
p02396 | #include <bits/stdc++.h>
using namespace std;
#define lli long long
#define FOR(i, a, b) for (lli i = (a); i < (b); i++)
#define REP(i, n) for (lli i = 0; i < (n); i++)
#define rep(i, n) for (lli i = 0; i < (n); i++)
#define INF INT_MAX / 3
#define PB push_back
#define pb push_back
#define all(a) (a).begin(), (a), en... | #include <bits/stdc++.h>
using namespace std;
#define lli long long
#define FOR(i, a, b) for (lli i = (a); i < (b); i++)
#define REP(i, n) for (lli i = 0; i < (n); i++)
#define rep(i, n) for (lli i = 0; i < (n); i++)
#define INF INT_MAX / 3
#define PB push_back
#define pb push_back
#define all(a) (a).begin(), (a), en... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 174,837 | 174,836 | u231583749 | cpp |
p02396 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; ++i)
#define FOR(i, a, b) for (int i = a; i... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; ++i)
#define FOR(i, a, b) for (int i = a; i... | [
"control_flow.loop.condition.change"
] | 174,838 | 174,839 | u346550152 | cpp |
p02396 | #include <iostream>
int main(void) {
int i = 0;
int x[10000];
while (1) {
std::cin >> x[i];
if (x[i] == 0)
break;
i = i + 1;
}
for (int j = 0; j < i; j++)
std::cout << "Case " << j + 1 << ":" << x[j] << std::endl;
return 0;
} | #include <iostream>
int main(void) {
int i = 0;
int x[10000];
while (1) {
std::cin >> x[i];
if (x[i] == 0)
break;
i = i + 1;
}
for (int j = 0; j < i; j++)
std::cout << "Case " << j + 1 << ": " << x[j] << std::endl;
return 0;
} | [
"literal.string.change",
"expression.operation.binary.change"
] | 174,840 | 174,841 | u589311443 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
for (i == 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "case " << i << "; " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,845 | 174,846 | u838833552 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << "; " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,847 | 174,846 | u838833552 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case"
<< " " << i << ";"
<< " " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case"
<< " " << i << ":"
<< " " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,848 | 174,849 | u162784334 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 1;
int x = 0;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x;
i = i + 1;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 1;
int x = 0;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << "\n";
i = i + 1;
}
return 0;
} | [
"io.output.change"
] | 174,852 | 174,853 | u328607523 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int n, count = 1;
while (cin >> n) {
if (n == 0)
return 0;
cout << "Case " << count << ": " << n << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int n, count = 1;
while (cin >> n) {
if (n == 0)
return 0;
cout << "Case " << count << ": " << n << endl;
count++;
}
} | [
"expression.unary.arithmetic.add"
] | 174,854 | 174,855 | u754367965 | cpp |
p02396 | #include <stdio.h>
int main() {
int i = 0;
int x;
while (1) {
x++;
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d", i, x);
}
return 0;
} | #include <stdio.h>
int main() {
int i = 0;
int x;
while (1) {
i++;
scanf("%d ", &x);
if (x == 0) {
break;
}
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"identifier.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,856 | 174,857 | u598769450 | cpp |
p02396 | #include <stdio.h>
int main() {
int i = 0;
int x;
while (1) {
i++;
scanf("%d ", &x);
if (x == 0) {
break;
}
printf("Case %d: %d", i, x);
}
return 0;
} | #include <stdio.h>
int main() {
int i = 0;
int x;
while (1) {
i++;
scanf("%d ", &x);
if (x == 0) {
break;
}
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,858 | 174,857 | u598769450 | cpp |
p02396 | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <math.h>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define INF 100000000
#define MAX_N 10000
#define MAX_M 100
typedef long long int ll;
using namespace std;
int main() {
int x;
int i = 0;
while (true) {
scanf("... | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <math.h>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define INF 100000000
#define MAX_N 10000
#define MAX_M 100
typedef long long int ll;
using namespace std;
int main() {
int x;
int i = 0;
while (true) {
scanf("... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,859 | 174,860 | u130326505 | cpp |
p02396 | #include <iostream>
int main() {
int x;
for (int i = 0; std::cin >> x, x; ++i) {
std::cout << "Case " << i << ": " << x << std::endl;
}
} | #include <iostream>
int main() {
int x;
for (int i = 1; std::cin >> x, x; ++i) {
std::cout << "Case " << i << ": " << x << std::endl;
}
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 174,861 | 174,862 | u301021544 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(void) {
int input, inc = 1;
while (1) {
cin >> input;
if (input == 0) {
break;
}
cout << "Case " << inc << "; " << input << "\n";
inc++;
}
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int input, inc = 1;
while (1) {
cin >> input;
if (input == 0) {
break;
}
cout << "Case " << inc << ": " << input << "\n";
inc++;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,867 | 174,868 | u958686232 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, cnt = 1;
for (;;) {
cin >> x;
if (x == 0) {
break;
} else {
cout << "Case"
<< " " << cnt << ":"
<< " " << x << endl;
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, cnt = 1;
for (;;) {
cin >> x;
if (x == 0) {
break;
} else {
cout << "Case"
<< " " << cnt << ":"
<< " " << x << endl;
}
cnt++;
}
return 0;
} | [
"expression.unary.arithmetic.add"
] | 174,869 | 174,870 | u548915908 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i = 0;
while (1) {
cin >> x;
if (x == 0)
break;
else
i++;
cout << "Case " << i << ":" << x << "\n";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, i = 0;
while (1) {
cin >> x;
if (x == 0)
break;
else
i++;
cout << "Case " << i << ": " << x << "\n";
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,873 | 174,874 | u261573393 | cpp |
p02396 | #include <iostream>
using namespace std;
int x;
int i = 1;
int main() {
cin >> x;
while (x != 0) {
cout << "Case " << i << ": " << x;
++i;
cin >> x;
}
} | #include <iostream>
using namespace std;
int x;
int i = 1;
int main() {
cin >> x;
while (x != 0) {
cout << "Case " << i << ": " << x << endl;
++i;
cin >> x;
}
} | [
"io.output.newline.add"
] | 174,877 | 174,878 | u416632581 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int c;
for (int i = 1;; i++) {
scanf("%d", &c);
if (c == 0) {
break;
}
printf("Case %d:%d", i, c);
}
return 0;
} | #include <stdio.h>
int main(void) {
int c;
for (int i = 1;; i++) {
scanf("%d", &c);
if (c == 0) {
break;
}
printf("Case %d: %d\n", i, c);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,879 | 174,880 | u076578107 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int c;
for (int i = 1;; i++) {
scanf("%d", &c);
if (c == 0) {
break;
}
printf("Case %d: %d", i, c);
}
return 0;
} | #include <stdio.h>
int main(void) {
int c;
for (int i = 1;; i++) {
scanf("%d", &c);
if (c == 0) {
break;
}
printf("Case %d: %d\n", i, c);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,881 | 174,880 | u076578107 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int data[10000], i;
while (1) {
cin >> data[i];
if (data[i] == 0)
break;
i++;
}
for (int j = 0; j < i; j++) {
cout << "Case" << j << ':' << data[j] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int data[10000], i;
while (1) {
cin >> data[i];
if (data[i] == 0)
break;
i++;
}
for (int j = 0; j < i; j++) {
cout << "Case " << j + 1 << ": " << data[j] << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 175,106 | 175,107 | u400978996 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int data[10000], i;
while (1) {
cin >> data[i];
if (data[i] == 0)
break;
i++;
}
for (int j = 0; j < i; j++) {
cout << "Case" << j + 1 << ':' << data[j] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int data[10000], i;
while (1) {
cin >> data[i];
if (data[i] == 0)
break;
i++;
}
for (int j = 0; j < i; j++) {
cout << "Case " << j + 1 << ": " << data[j] << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 175,108 | 175,107 | u400978996 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int data[10000], i;
while (1) {
cin >> data[i];
if (data[i] == 0)
break;
i++;
}
for (int j = 0; j < i; j++) {
cout << "Case " << j + 1 << ': ' << data[j] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int data[10000], i;
while (1) {
cin >> data[i];
if (data[i] == 0)
break;
i++;
}
for (int j = 0; j < i; j++) {
cout << "Case " << j + 1 << ": " << data[j] << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 175,109 | 175,107 | u400978996 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1;; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ":" << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1;; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ":"
<< " " << x << endl;
}
return 0;
} | [
"io.output.change"
] | 175,114 | 175,115 | u829609117 | cpp |
p02396 | #include <iostream>
int main(void) {
using namespace std;
int x, i = 1;
while (cin >> x) {
if (x == 0)
break;
cout << "Case " << i << " " << x << endl;
i++;
}
return 0;
} | #include <iostream>
int main(void) {
using namespace std;
int x, i = 1;
while (cin >> x) {
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 175,116 | 175,117 | u550955112 | cpp |
p02396 | #include <iostream>
int main(void) {
using namespace std;
int x, i = 1;
while (cin >> x) {
if (x == 0)
break;
cout << "Case :" << i << " " << x << endl;
i++;
}
return 0;
} | #include <iostream>
int main(void) {
using namespace std;
int x, i = 1;
while (cin >> x) {
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 175,118 | 175,117 | u550955112 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int a[10000];
int i = 0;
cin >> a[i];
while (a[i] != 0) {
cout << "Case " << i + 1 << ": " << a[i];
i++;
cin >> a[i];
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a[10000];
int i = 0;
cin >> a[i];
while (a[i] != 0) {
cout << "Case " << i + 1 << ": " << a[i] << endl;
i++;
cin >> a[i];
}
return 0;
} | [
"io.output.newline.add"
] | 175,130 | 175,128 | u530448577 | cpp |
p02396 | #include <iostream>
#include <string>
using namespace std;
namespace Domain {
class Result {
int value;
public:
Result(int value = 0) : value(value) {}
int disp() { return value; }
bool isEnd() { return !value; }
};
} // namespace Domain
using namespace Domain;
namespace InterfaceAdapter {
class ResultDisp {
... | #include <iostream>
#include <string>
using namespace std;
namespace Domain {
class Result {
int value;
public:
Result(int value = 0) : value(value) {}
int disp() { return value; }
bool isEnd() { return !value; }
};
} // namespace Domain
using namespace Domain;
namespace InterfaceAdapter {
class ResultDisp {
... | [
"literal.string.change",
"io.output.change"
] | 175,133 | 175,134 | u456081859 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
int n = 1; //??\????????????x(?????????)?????° ?????????1
int d[10000]; //?????????????????????
cin >> x;
while (x != 0) {
d[n] = x;
n++;
cin >> x;
}
for (int i = 1; i < n; i++) {
cout << "case"
<< " " << i << ":"... | #include <iostream>
using namespace std;
int main() {
int x;
int n = 1;
int d[10000];
cin >> x;
while (x != 0) {
d[n] = x;
n++;
cin >> x;
}
for (int i = 1; i < n; i++) {
cout << "Case"
<< " " << i << ":"
<< " " << d[i] << "\n";
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 175,136 | 175,137 | u325884252 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
int n = 1;
int d[10000];
cin >> x;
while (x != 0) {
d[n] = x;
n++;
cin >> x;
}
for (int i = 1; i < n; i++) {
cout << "case"
<< " " << i << ":"
<< " " << d[i] << "\n";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
int n = 1;
int d[10000];
cin >> x;
while (x != 0) {
d[n] = x;
n++;
cin >> x;
}
for (int i = 1; i < n; i++) {
cout << "Case"
<< " " << i << ":"
<< " " << d[i] << "\n";
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 175,138 | 175,137 | u325884252 | cpp |
p02396 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int count = 0;
int a[1000];
while (true) {
cin >> a[count];
if (a[count] == 0) {
break;
}
count++;
}
for (int i = 0; i < count; i++) {
cout << "Case " << i << ": " << a[i] << endl;
}
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int count = 1;
int a[10000];
while (true) {
cin >> a[count];
if (a[count] == 0) {
break;
}
count++;
}
for (int i = 1; i < count; i++) {
cout << "Case " << i << ": " << a[i] << endl;
}
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"variable_declaration.array_dimensions.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 175,147 | 175,148 | u273450632 | cpp |
p02396 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int count = 0;
int a[100000];
while (true) {
cin >> a[count];
if (a[count] == 0) {
break;
}
count++;
}
for (int i = 0; i < count; i++) {
cout << "Case " << i << ": " << a[i] << endl;
}
return 0;
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int count = 1;
int a[10000];
while (true) {
cin >> a[count];
if (a[count] == 0) {
break;
}
count++;
}
for (int i = 1; i < count; i++) {
cout << "Case " << i << ": " << a[i] << endl;
}
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"variable_declaration.array_dimensions.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 175,149 | 175,148 | u273450632 | cpp |
p02396 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a[256], i = 0;
while (cin >> a[i] && a[i])
i++;
for (int j = 0; j <= i; j++)
printf("Case %d: %d\n", j, a[j]);
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a[10000], i = 1;
while (cin >> a[i] && a[i])
i++;
for (int j = 1; j < i; j++)
printf("Case %d: %d\n", j, a[j]);
} | [
"literal.number.change",
"variable_declaration.array_dimensions.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"
] | 175,152 | 175,153 | u998770609 | cpp |
p02396 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a[1145141919810931893], i = 0;
while (cin >> a[i] && a[i])
i++;
for (int j = 0; j <= i; j++)
printf("Case %d: %d\n", j, a[j]);
} | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a[10000], i = 1;
while (cin >> a[i] && a[i])
i++;
for (int j = 1; j < i; j++)
printf("Case %d: %d\n", j, a[j]);
} | [
"literal.number.change",
"variable_declaration.array_dimensions.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"
] | 175,154 | 175,153 | u998770609 | cpp |
p02396 | // case.cpp
#include <iostream>
using namespace std;
int main() {
int num, a = 0;
while (true) {
cin >> num;
if (num == 0) {
break;
}
a++;
cout << "Case " << a << ": " << num;
}
}
| // case.cpp
#include <iostream>
using namespace std;
int main() {
int num, a = 0;
while (true) {
cin >> num;
if (num == 0) {
break;
}
a++;
cout << "Case " << a << ": " << num << endl;
}
}
| [
"io.output.newline.add"
] | 175,162 | 175,163 | u447739101 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
}
| [
"io.output.newline.add"
] | 175,164 | 175,165 | u711765449 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ":" << x << endl;
}
}
| #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
}
| [
"literal.string.change",
"io.output.change"
] | 175,166 | 175,167 | u726779212 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int i, j, x;
int a[10000];
for (i = 1;; i++) {
scanf("%d", &x);
if (x == 0) {
break;
}
a[i] = x;
}
for (j = 1; j < i + 1; j++) {
printf("Case %d: %d\n", j, x);
}
return 0;
}
| #include <stdio.h>
int main(void) {
int i, j, x;
int a[10000];
for (i = 1;; i++) {
scanf("%d", &x);
if (x == 0) {
break;
}
a[i] = x;
}
for (j = 1; j < i; j++) {
printf("Case %d: %d\n", j, a[j]);
}
return 0;
}
| [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"call.arguments.change",
"io.output.change"
] | 175,168 | 175,169 | u949566118 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.