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 <stdio.h>
int main() {
int i, x;
for (i = 1; i <= 1000000; 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 <= 1000000; 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,008 | 174,009 | u568230574 | cpp |
p02396 | #include <cstdio>
int main() {
int a = 1;
int c = 0;
scanf("%d", &a);
while (a) {
c++;
printf("case %d: %d\n", c, a);
scanf("%d", &a);
}
return 0;
} | #include <cstdio>
int main() {
int a = 1;
int c = 0;
scanf("%d", &a);
while (a) {
c++;
printf("Case %d: %d\n", c, a);
scanf("%d", &a);
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 174,010 | 174,011 | u708862509 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int i, x;
scanf("%d", x);
for (i = 1; x != 0; i++) {
printf("Case %d: %d\n", i, x);
scanf("%d", x);
}
return 0;
} | #include <stdio.h>
int main(void) {
int i, x;
scanf("%d", &x);
for (i = 1; x != 0; i++) {
printf("Case %d: %d\n", i, x);
scanf("%d", &x);
}
return 0;
} | [
"expression.operation.unary.reference.add"
] | 174,014 | 174,015 | u466397792 | cpp |
p02396 | #include <iostream>
#include <vector>
using namespace std;
int main(void) {
vector<int> a;
int tmp;
int j = 0;
while (1) {
cin >> tmp;
a.push_back(tmp);
if (a[j] == 0) {
break;
}
j++;
}
for (int i = 0; i < a.size(); i++) {
cout << "Case " << i + 1 << ": " << a[i] << endl;
... | #include <iostream>
#include <vector>
using namespace std;
int main(void) {
vector<int> a;
int tmp;
int j = 0;
while (1) {
cin >> tmp;
a.push_back(tmp);
if (a[j] == 0) {
break;
}
j++;
}
for (int i = 0; i < a.size() - 1; i++) {
cout << "Case " << i + 1 << ": " << a[i] << endl... | [
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 174,018 | 174,019 | u094497618 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
for (int a, i = 1;; ++i) {
cin >> a;
if (a == 0)
break;
cout << "Case " << i << ": " << a;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
for (int a, i = 1;; ++i) {
cin >> a;
if (a == 0)
break;
cout << "Case " << i << ": " << a << endl;
}
} | [
"io.output.newline.add"
] | 174,020 | 174,021 | u554423044 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, x;
for (i = 1; 1; 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; 1; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,024 | 174,025 | u243480637 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, x;
for (i = 1; 1; 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; 1; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,026 | 174,025 | u243480637 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, x;
for (i = 1; 1; 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; 1; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,027 | 174,025 | u243480637 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
for (int x, t = 1;; t++) {
cin >> x;
if (x == 0)
break;
cout << "case" << t << ":" << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
for (int x, t = 1;; t++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << t << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,030 | 174,029 | u525270056 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
for (int x, t = 1;; t++) {
cin >> x;
if (x == 0)
break;
cout << "Case" << t << ":" << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
for (int x, t = 1;; t++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << t << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,032 | 174,029 | u525270056 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int k = 1;
while (1) {
int a;
cin >> a;
if (a == 0) {
break;
}
cout << "Case " << k << " " << a << endl;
k++;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int k = 1;
while (1) {
int a;
cin >> a;
if (a == 0) {
break;
}
cout << "Case " << k << ": " << a << endl;
k++;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,035 | 174,036 | u178887942 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
int i = 0;
while (1) {
cin >> x;
i++;
if (x != 0) {
cout << "Case"
<< " " << i << " " << x << endl;
} else {
break;
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
int i = 0;
while (1) {
cin >> x;
i++;
if (x != 0) {
cout << "Case"
<< " " << i << ":"
<< " " << x << endl;
} else {
break;
}
}
return 0;
} | [
"io.output.change"
] | 174,046 | 174,047 | u003418593 | cpp |
p02396 | #include <iostream>
int main() {
for (int x, t = 1;; t++) {
std::cin >> x;
if (x == 0)
break;
std::cout << "Case" << t << ": " << x << "\n";
}
return 0;
} | #include <iostream>
int main() {
for (int x, t = 1;; t++) {
std::cin >> x;
if (x == 0)
break;
std::cout << "Case " << t << ": " << x << "\n";
}
return 0;
} | [
"literal.string.change",
"expression.operation.binary.change"
] | 174,048 | 174,049 | u071284416 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, x;
for (i = 0; i < 10000; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << '\n';
/* code */
}
} | #include <iostream>
using namespace std;
int main() {
int i, x;
for (i = 0; i < 10000; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i + 1 << ": " << x << '\n';
/* code */
}
} | [
"expression.operation.binary.add"
] | 174,057 | 174,058 | u530576146 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int i = 0;
int x;
while (cin >> x)
cout << "Case " << ++i << ": " << x << "\n";
} | #include <iostream>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int i = 0;
int x;
while (cin >> x && x != 0)
cout << "Case " << ++i << ": " << x << "\n";
} | [
"control_flow.loop.condition.change"
] | 174,061 | 174,062 | u557138543 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(void) {
int input;
int cnt = 1;
while (true) {
cin >> input;
if (input != 0)
cout << "Case " << cnt++ << ": " << input;
else
break;
}
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int input;
int cnt = 1;
while (true) {
cin >> input;
if (input != 0)
cout << "Case " << cnt++ << ": " << input << endl;
else
break;
}
return 0;
} | [
"io.output.newline.add"
] | 174,063 | 174,064 | u793923674 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int a;
for (int i = 1;; i++) {
scanf("%d", &a);
if (a != 0)
printf("case%d:%d", i, a);
else
break;
}
return 0;
} | #include <stdio.h>
int main(void) {
int a;
for (int i = 1;; i++) {
scanf("%d", &a);
if (a != 0)
printf("Case %d: %d\n", i, a);
else
break;
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,065 | 174,066 | u263256550 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int a;
for (int i = 1;; i++) {
scanf("%d", &a);
if (a != 0)
printf("case%d:%d\n", i, a);
else
break;
}
return 0;
} | #include <stdio.h>
int main(void) {
int a;
for (int i = 1;; i++) {
scanf("%d", &a);
if (a != 0)
printf("Case %d: %d\n", i, a);
else
break;
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,067 | 174,066 | u263256550 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x[10001];
int a, n = 0;
while (1) {
cin >> a;
if (a == 0)
break;
else {
x[n] = a;
n++;
}
}
for (int i = 0; i < n; i++)
cout << "Case " << i << ": " << x[i] << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x[10001];
int a, n = 0;
while (1) {
cin >> a;
if (a == 0)
break;
else {
x[n] = a;
n++;
}
}
for (int i = 0; i < n; i++)
cout << "Case " << i + 1 << ": " << x[i] << endl;
return 0;
} | [
"expression.operation.binary.add"
] | 174,073 | 174,074 | u835844653 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1; cin >> x; i++)
cout << "Case " << i++ << ": " << x << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1; cin >> x, x; i++)
cout << "Case " << i << ": " << x << endl;
return 0;
} | [] | 174,075 | 174,076 | u018567183 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1; cin >> x, x; i++)
cout << "Case " << i++ << ": " << x << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1; cin >> x, x; i++)
cout << "Case " << i << ": " << x << endl;
return 0;
} | [] | 174,077 | 174,076 | u018567183 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 0;
while (1) {
int x;
cin >> x;
if (x == 0) {
break;
}
printf("Case %d:%d\n", ++i, x);
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 0;
while (1) {
int x;
cin >> x;
if (x == 0) {
break;
}
printf("Case %d: %d\n", ++i, x);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,080 | 174,081 | u781942254 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int a;
for (int i = 0;; i++) {
cin >> a;
if (a != 0) {
cout << "case " << i + 1 << ": " << a << endl;
} else {
break;
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a;
for (int i = 0;; i++) {
cin >> a;
if (a != 0) {
cout << "Case " << i + 1 << ": " << a << endl;
} else {
break;
}
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,082 | 174,083 | u069626782 | cpp |
p02396 | #include <iostream>
int main() {
using namespace std;
int x = 1;
int i;
while (1) {
cin >> x;
i++;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | #include <iostream>
int main() {
using namespace std;
int x;
int i = 0;
while (1) {
cin >> x;
i++;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"variable_declaration.value.change"
] | 174,086 | 174,087 | u661497758 | cpp |
p02396 | #include <iostream>
#include <vector>
using namespace std;
int main() {
int i = 1;
vector<int> a(10000);
cin >> a[0];
while (a[i - 1] != 0) {
cin >> a[i];
i++;
}
for (i = 0; a[i] != NULL; i++)
cout << "Case " << i << ": " << a[i] << endl;
return 0;
} | #include <iostream>
#include <vector>
using namespace std;
int main() {
int i = 1;
vector<int> a(10000);
cin >> a[0];
while (a[i - 1] != 0) {
cin >> a[i];
i++;
}
for (i = 0; a[i] != NULL; i++)
cout << "Case " << i + 1 << ": " << a[i] << endl;
return 0;
} | [
"expression.operation.binary.add"
] | 174,089 | 174,090 | u387614087 | cpp |
p02396 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, c = 1;
while (cin >> a && a != 0) {
cout << "Case " << c << ":" << a << endl;
c++;
}
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, c = 1;
while (cin >> a && a != 0) {
cout << "Case " << c << ": " << a << endl;
c++;
}
} | [
"literal.string.change",
"io.output.change"
] | 174,091 | 174,092 | u991310168 | cpp |
p02396 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
int main() {
int x;
int i = 1;
while (cin >> x) {
if (x == 0)
break;
printf(... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
int main() {
int x;
int i = 1;
while (cin >> x) {
if (x == 0)
break;
printf(... | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,093 | 174,094 | u991537731 | cpp |
p02396 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b;
for (a = 0;; a++) {
cin >> b;
if (b == 0)
break;
cout << "Case " << a << ": " << b;
}
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b;
for (a = 1;; a++) {
cin >> b;
if (b == 0)
break;
cout << "Case " << a << ": " << b << endl;
}
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"io.output.newline.add"
] | 174,095 | 174,096 | u357766791 | cpp |
p02396 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b;
for (a = 0;; a++) {
cin >> b;
if (b == 0)
break;
cout << "Case " << a << ": " << b << endl;
}
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b;
for (a = 1;; a++) {
cin >> b;
if (b == 0)
break;
cout << "Case " << a << ": " << b << endl;
}
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 174,097 | 174,096 | u357766791 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int array[10000];
int tmp;
int j = 0;
do {
cin >> tmp;
array[j] = tmp;
j++;
} while (tmp != 0);
for (int i = 0; i < j - 1; i++) {
cout << "Case" << i + 1 << ":" << array[i] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int array[10000];
int tmp;
int j = 0;
do {
cin >> tmp;
array[j] = tmp;
j++;
} while (tmp != 0);
for (int i = 0; i < j - 1; i++) {
cout << "Case " << i + 1 << ": " << array[i] << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,100 | 174,101 | u718605841 | cpp |
p02396 | /*
????????????????????£????????§?????????????????????????????°??????????????°?????\????????????????????????????????????
??£????????????????????£???????????????????????????????????????
???????????\????????????????????????????????°??????????????????????????????????????????????????????????????????
???????????????????????... | /*
????????????????????£????????§?????????????????????????????°??????????????°?????\????????????????????????????????????
??£????????????????????£???????????????????????????????????????
???????????\????????????????????????????????°??????????????????????????????????????????????????????????????????
???????????????????????... | [
"literal.number.change",
"variable_declaration.value.change",
"literal.string.change",
"expression.operation.binary.change"
] | 174,102 | 174,103 | u597207241 | cpp |
p02396 | /*
????????????????????£????????§?????????????????????????????°??????????????°?????\????????????????????????????????????
??£????????????????????£???????????????????????????????????????
???????????\????????????????????????????????°??????????????????????????????????????????????????????????????????
???????????????????????... | /*
????????????????????£????????§?????????????????????????????°??????????????°?????\????????????????????????????????????
??£????????????????????£???????????????????????????????????????
???????????\????????????????????????????????°??????????????????????????????????????????????????????????????????
???????????????????????... | [
"literal.string.change",
"expression.operation.binary.change"
] | 174,104 | 174,103 | u597207241 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int n, i = 1;
for (cin >> n; n != 0; cin >> n) {
cout << "Case " << i++ << ":" << n << "\n";
}
} | #include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int n, i = 1;
for (cin >> n; n != 0; cin >> n) {
cout << "Case " << i++ << ": " << n << "\n";
}
} | [
"literal.string.change",
"io.output.change"
] | 174,107 | 174,108 | u151979683 | cpp |
p02396 | #include <algorithm>
#include <cctype>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int n;
int count = 1;
wh... | #include <algorithm>
#include <cctype>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
int main() {
int n;
int count = 1;
wh... | [
"control_flow.loop.condition.change"
] | 174,109 | 174,110 | u813097547 | cpp |
p02396 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int x;
for (int i = 0; i < 10000; i++) {
cin >> x;
if (x == 0)
break;
else {
cout << "Case " << i << ":" << x << endl;
}
}
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0)
break;
else {
cout << "Case " << i << ": " << x << endl;
}
}
return 0;
} | [
"literal.number.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",
"literal.string.change",
"io.output.change"
] | 174,111 | 174,112 | u185951723 | cpp |
p02396 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0)
break;
else {
cout << "Case " << i << ":" << x << endl;
}
}
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int x;
for (int i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0)
break;
else {
cout << "Case " << i << ": " << x << endl;
}
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,113 | 174,112 | u185951723 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
i = 0;
while (x != 0) {
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;
} | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.condition.change",
"expression.operation.binary.remove"
] | 174,114 | 174,115 | u927873196 | cpp |
p02396 | #include <iostream>
int main() {
int x;
int i = 0;
while (std::cin >> x && x != 0) {
++i;
std::cout << "case " << i << ": " << x << std::endl;
}
return 0;
} | #include <iostream>
int main() {
int x;
int i = 0;
while (std::cin >> x && x != 0) {
++i;
std::cout << "Case " << i << ": " << x << std::endl;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 174,116 | 174,117 | u490319842 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int cnt = 1;
int x;
cin >> x;
while (x != 0) {
cout << "Case " << cnt << ": " << x << endl;
cin >> x;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int cnt = 1;
int x;
cin >> x;
while (x != 0) {
cout << "Case " << cnt++ << ": " << x << endl;
cin >> x;
}
return 0;
} | [] | 174,118 | 174,119 | u891678100 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
// your code goes here
int x;
int i = 0, s = 0;
while (true) {
s = s + i;
i = i + 1;
cin >> x;
if (x == 0) {
break;
}
cout << "case"
<< " " << i << ": " << x << endl;
}
} | #include <iostream>
using namespace std;
int main() {
// your code goes here
int x;
int i = 0, s = 0;
while (true) {
s = s + i;
i = i + 1;
cin >> x;
if (x == 0) {
break;
}
cout << "Case"
<< " " << i << ": " << x << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,124 | 174,125 | u493646413 | cpp |
p02396 | #include <stdio.h>
int main() {
int cnt;
int i;
int x[10000];
while (1) {
scanf("%d", &x[cnt]);
if (x[cnt] == 0)
break;
cnt++;
}
for (i = 0; i <= cnt; i++) {
printf("Case %d: %d\n", i, x[i]);
}
return 0;
} | #include <stdio.h>
int main() {
int cnt;
int i;
int x[10000];
while (1) {
scanf("%d", &x[cnt]);
if (x[cnt] == 0)
break;
cnt++;
}
for (i = 0; i < cnt; i++) {
printf("Case %d: %d\n", i + 1, x[i]);
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 174,126 | 174,127 | u752778725 | cpp |
p02396 | #include <stdio.h>
int main() {
int cnt;
int i;
int x[10000];
while (1) {
scanf("%d", &x[cnt]);
if (x[cnt] == 0)
break;
cnt++;
}
for (i = 0; i <= cnt; i++) {
printf("Case %d: %d\n", i + 1, x[i]);
}
return 0;
} | #include <stdio.h>
int main() {
int cnt;
int i;
int x[10000];
while (1) {
scanf("%d", &x[cnt]);
if (x[cnt] == 0)
break;
cnt++;
}
for (i = 0; i < cnt; i++) {
printf("Case %d: %d\n", i + 1, x[i]);
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 174,128 | 174,127 | u752778725 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, x;
x = 0;
for (i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ":" << x << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int i, x;
x = 0;
for (i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 174,135 | 174,136 | u406950580 | cpp |
p02396 |
#include <iostream>
using namespace std;
int main() {
int i, x;
x = 0;
for (i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ":" << x << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int i, x;
x = 0;
for (i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 174,137 | 174,136 | u406950580 | cpp |
p02396 | #include <bits/stdc++.h>
const long long INF = INT_MAX / 2;
const long long MOD = 1000000007;
const long double PI = 3.1415926;
#define FOR(i, r, n) for (ll i = (ll)(r); i < (ll)(n); i++)
#define RFOR(i, r, n) for (ll i = (ll)(n - 1); i >= r; i--)
#define REP(i, n) FOR(i, 0, n)
#define REP1(i, n) FOR(i, 1, n + 1)
#defi... | #include <bits/stdc++.h>
const long long INF = INT_MAX / 2;
const long long MOD = 1000000007;
const long double PI = 3.1415926;
#define FOR(i, r, n) for (ll i = (ll)(r); i < (ll)(n); i++)
#define RFOR(i, r, n) for (ll i = (ll)(n - 1); i >= r; i--)
#define REP(i, n) FOR(i, 0, n)
#define REP1(i, n) FOR(i, 1, n + 1)
#defi... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,138 | 174,139 | u537083914 | cpp |
p02396 | /*
????????°??§???????????¨????????????
*/
#include <algorithm>
#include <ctype.h>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
#define LLU unsigned long long int
#defin... | /*
????????°??§???????????¨????????????
*/
#include <algorithm>
#include <ctype.h>
#include <iostream>
#include <iterator>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
#define LLU unsigned long long int
#defin... | [
"expression.unary.arithmetic.add"
] | 174,142 | 174,141 | u993397917 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
// your code goes here
int x;
for (int i = 0;; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
}
/*
while(1){
cin >> x;
cnt += 1;
if (x == 0){
br... | #include <iostream>
using namespace std;
int main() {
// your code goes here
int x;
for (int i = 1;; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
}
/*
while(1){
cin >> x;
cnt += 1;
if (x == 0){
br... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 174,143 | 174,144 | u052894422 | cpp |
p02396 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
for (int x, t; t = 1; t++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << t << ": " << x << endl;
}
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
for (int x, t = 1;; t++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << t << ": " << x << endl;
}
return 0;
} | [
"control_flow.loop.for.remove"
] | 174,147 | 174,148 | u585151820 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(void) {
const int num = 10000;
int dataSet[num];
int loopNum;
for (int i = 0; i < num; i++) {
std::cin >> dataSet[i];
if (dataSet[i] == 0) {
loopNum = i + 1;
break;
}
}
for (int i = 0; i < loopNum; i++) {
if (dataSet[i] == 0) ... | #include <iostream>
using namespace std;
int main(void) {
const int num = 10000;
int dataSet[num];
int loopNum;
for (int i = 0; i < num; i++) {
std::cin >> dataSet[i];
if (dataSet[i] == 0) {
loopNum = i + 1;
break;
}
}
for (int i = 0; i < loopNum; i++) {
if (dataSet[i] == 0) ... | [
"literal.string.change",
"io.output.change"
] | 174,155 | 174,156 | u371904152 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
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, i;
for (int i = 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case"
<< " " << i << ":"
<< " " << x << endl;
}
return 0;
} | [
"io.output.change"
] | 174,158 | 174,159 | u677547184 | 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);
}
return 0;
}
| #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);
}
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"
] | 174,160 | 174,161 | u748148939 | 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);
}
return 0;
}
| #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);
}
return 0;
}
| [
"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",
"call.arguments.change",
"io.outpu... | 174,162 | 174,161 | u748148939 | 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);
}
return 0;
}
| #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);
}
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,165 | 174,161 | u748148939 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
for (int i = 1;; i++) {
int x;
cin >> x;
if (x == 0)
break;
else
cout << "Case " << i << " : " << x << "\n" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
for (int i = 1;; i++) {
int x;
cin >> x;
if (x == 0)
break;
else
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change",
"expression.operation.binary.remove"
] | 174,168 | 174,167 | u090339783 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int a;
for (int i = 1;; i++) {
cin >> a;
if (a == 0)
break;
else
cout << "case " << i << ": " << a << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a;
for (int i = 1;; i++) {
cin >> a;
if (a == 0)
break;
else
cout << "Case " << i << ": " << a << endl;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,169 | 174,170 | u506521148 | cpp |
p02396 | #include <iostream>
int main() {
int x;
int i;
i == 1;
while (true) {
std::cin >> x;
if (x == 0)
break;
std::cout << "Case" << i << ":" << x << std::endl;
i++;
}
} | #include <iostream>
int main() {
int x;
int i;
i = 1;
while (true) {
std::cin >> x;
if (x == 0)
break;
std::cout << "Case " << i << ": " << x << std::endl;
i++;
}
} | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo",
"literal.string.change",
"expression.operation.binary.change"
] | 174,171 | 174,172 | u661086350 | cpp |
p02396 | #include <algorithm>
#include <iostream>
#include <vector>
int main() {
int a = 1, b;
while (true) {
std::cin >> b;
if (b == 0)
break;
if (a < 10000) {
std::cout << "Too Large" << std::endl;
break;
}
std::cout << "Case " << a << ": " << b << std::endl;
a++;
}
} | #include <algorithm>
#include <iostream>
#include <vector>
int main() {
int a = 1, b;
while (true) {
std::cin >> b;
if (b == 0)
break;
if (a > 10000) {
std::cout << "Too Large" << std::endl;
break;
}
std::cout << "Case " << a << ": " << b << std::endl;
a++;
}
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 174,173 | 174,174 | u661086350 | cpp |
p02396 | #include <iostream>
using namespace std;
main() {
for (int i = 1;; i++) {
int x;
cin >> x;
if (x == 0) {
break;
} else {
cout << "Case " << i << ": " << x << endl;
}
return 0;
}
} | #include <iostream>
using namespace std;
int main() {
for (int i = 1;; i++) {
int x;
cin >> x;
if (x == 0) {
break;
} else {
cout << "Case " << i << ": " << x << endl;
}
}
return 0;
} | [] | 174,177 | 174,176 | u949389125 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
int num = 0;
while (1) {
cin >> x;
if (x == 0)
break;
num++;
cout << "Case :" << num << ": " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
int num = 0;
while (1) {
cin >> x;
if (x == 0)
break;
num++;
cout << "Case " << num << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,180 | 174,179 | u576629727 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
int i = 1;
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;
int i = 1;
for (i = 1;; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case"
<< " " << i << ":"
<< " " << x << endl;
}
return 0;
} | [
"io.output.change"
] | 174,181 | 174,182 | u517956630 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int a;
int i;
for (i = 0;; i++) {
cin >> a;
if (a == 0)
break;
cout << "Case" << i << ":" << a << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a;
int i;
for (i = 1;; i++) {
cin >> a;
if (a == 0)
break;
cout << "Case " << i << ": " << a << 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,183 | 174,184 | u883196454 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int a;
int i;
for (i = 0;; i++) {
cin >> a;
if (a == 0)
break;
cout << "Case " << i << ": " << a << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a;
int i;
for (i = 1;; i++) {
cin >> a;
if (a == 0)
break;
cout << "Case " << i << ": " << a << endl;
}
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 174,185 | 174,184 | u883196454 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 1; i <= 1000; i++) {
cin >> x;
if (x == 0) {
break;
} else
cout << "Case"
<< " " << i << ":" << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0) {
break;
} else
cout << "Case"
<< " " << i << ": " << x << endl;
}
return 0;
} | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"literal.string.change",
"io.output.change"
] | 174,187 | 174,188 | u304898265 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0) {
break;
} else
cout << "Case"
<< " " << i << ":" << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 1; i <= 10000; i++) {
cin >> x;
if (x == 0) {
break;
} else
cout << "Case"
<< " " << i << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,189 | 174,188 | u304898265 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int kkk[10000], g;
for (int i = 0;; i++) {
cin >> kkk[i];
if (kkk[i] == 0) {
g = i;
break;
}
}
for (int i = 0; i < g; i++) {
cout << "Case " << i << ": " << kkk[i] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int kkk[10000], g;
for (int i = 0;; i++) {
cin >> kkk[i];
if (kkk[i] == 0) {
g = i;
break;
}
}
for (int i = 0; i < g; i++) {
cout << "Case " << i + 1 << ": " << kkk[i] << endl;
}
return 0;
} | [
"expression.operation.binary.add"
] | 174,203 | 174,204 | u370679266 | cpp |
p02396 |
#include <iostream>
using namespace std;
int main() {
int i = 0;
int x = 1;
while (1) {
cin >> x;
i++;
if (x == 0) {
break;
} else {
cout << "case " << i << ": " << x << endl;
}
}
} |
#include <iostream>
using namespace std;
int main() {
int i = 0;
int x = 1;
while (1) {
cin >> x;
i++;
if (x == 0) {
break;
} else {
cout << "Case " << i << ": " << x << endl;
}
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,205 | 174,206 | u358227178 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x = 0;
int 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 = 0;
int 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,214 | 174,215 | u499289652 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x = 0;
int 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 = 0;
int 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,216 | 174,215 | u499289652 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int x, i = 1;
for (;; i++) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d:%d\n", i, x);
}
return 0;
} | #include <stdio.h>
int main(void) {
int x, i = 1;
for (;; 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"
] | 174,217 | 174,218 | u954219015 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
for (int x, t = 1;; t++) {
cin >> x;
if (x == 0)
break;
cout << "Case" << t << ": " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
for (int x, t = 1;; t++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << t << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,220 | 174,221 | u734413170 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int x, i = 1;
for (;;) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d", i, x);
i = i + 1;
}
return 0;
} | #include <stdio.h>
int main(void) {
int x, i = 1;
while (1) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d\n", i, x);
i = i + 1;
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,222 | 174,223 | u589387097 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int x, i = 1;
while (1) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d", i, x);
i = i + 1;
}
return 0;
} | #include <stdio.h>
int main(void) {
int x, i = 1;
while (1) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d\n", i, x);
i = i + 1;
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,224 | 174,223 | u589387097 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
for (i = 0; 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, i;
for (i = 1; i <= 10000; 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",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 174,227 | 174,228 | u166299946 | cpp |
p02396 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int main() {
int x, i = 1;
while (cin >> x) {
if (x == 0) {
break;
}
cout << "Case " << i << ":" << x << endl;
i++;
}
return 0;
} | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int main() {
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"
] | 174,231 | 174,232 | u065542086 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x[10000];
int i = 0;
while (1) {
cin >> x[i];
if (x[i] == 0) {
i += 1;
break;
}
i += 1;
}
for (int q = 0; q < i - 1; q++) {
cout << "Case " << q + 1 << ":" << x[q] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x[10000];
int i = 0;
while (1) {
cin >> x[i];
if (x[i] == 0) {
i += 1;
break;
}
i += 1;
}
for (int q = 0; q < i - 1; q++) {
cout << "Case " << q + 1 << ": " << x[q] << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,240 | 174,241 | u434581790 | cpp |
p02396 | #include <iostream>
#include <string>
using namespace std;
int main() {
long int a = 0, x;
while (1) {
a++;
cin >> x;
if (x == 0)
break;
cout << "case " << a << ": " << x << endl;
}
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int a = 0, x;
while (1) {
a++;
cin >> x;
if (x == 0)
break;
cout << "Case " << a << ": " << x << endl;
}
} | [
"variable_declaration.type.narrow.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,249 | 174,248 | u908899927 | cpp |
p02396 | #include <iostream>
#include <string>
using namespace std;
int main() {
long long int a = 0, x;
while (1) {
a++;
cin >> x;
if (x == 0)
break;
cout << "case " << a << ": " << x << endl;
}
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int a = 0, x;
while (1) {
a++;
cin >> x;
if (x == 0)
break;
cout << "Case " << a << ": " << x << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,250 | 174,248 | u908899927 | cpp |
p02396 | #include <bits/stdc++.h>
#define ll long long int
#define FOR(i, a, b) for (ll i = (ll)(a); i < (ll)(b); i++)
#define REP(i, n) FOR(i, 0, n)
#define REP1(i, n) FOR(i, 1, n)
using namespace std;
int main() {
int n;
for (int i = 1;; i++) {
cin >> n;
if (n == 0)
break;
cout << "Case" << i << ":" << ... | #include <bits/stdc++.h>
#define ll long long int
#define FOR(i, a, b) for (ll i = (ll)(a); i < (ll)(b); i++)
#define REP(i, n) FOR(i, 0, n)
#define REP1(i, n) FOR(i, 1, n)
using namespace std;
int main() {
int n;
for (int i = 1;; i++) {
cin >> n;
if (n == 0)
break;
cout << "Case " << i << ": " <... | [
"literal.string.change",
"io.output.change"
] | 174,251 | 174,252 | u925170719 | cpp |
p02396 | #include <bits/stdc++.h>
#define ll long long int
#define FOR(i, a, b) for (ll i = (ll)(a); i < (ll)(b); i++)
#define REP(i, n) FOR(i, 0, n)
#define REP1(i, n) FOR(i, 1, n)
using namespace std;
int main() {
int n;
for (int i = 1;; i++) {
cin >> n;
if (n == 0)
break;
cout << "Case" << i << ": " <<... | #include <bits/stdc++.h>
#define ll long long int
#define FOR(i, a, b) for (ll i = (ll)(a); i < (ll)(b); i++)
#define REP(i, n) FOR(i, 0, n)
#define REP1(i, n) FOR(i, 1, n)
using namespace std;
int main() {
int n;
for (int i = 1;; i++) {
cin >> n;
if (n == 0)
break;
cout << "Case " << i << ": " <... | [
"literal.string.change",
"io.output.change"
] | 174,253 | 174,252 | u925170719 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, b, c;
for (i = 1; i <= 10000; i++) {
cin >> b;
if (b == 0) {
break;
}
cout << "Case " << i << ":" << b << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int i, b, c;
for (i = 1; i <= 10000; i++) {
cin >> b;
if (b == 0) {
break;
}
cout << "Case " << i << ": " << b << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 174,254 | 174,255 | u529601451 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, x;
for (i = 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x;
}
cout << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i, x;
for (i = 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [] | 174,261 | 174,262 | u606989659 | cpp |
p02396 | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main(void) {
int x = 0, i = 0;
while (true) {
i++;
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d", i, x);
}
return 0;
} | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <stdio.h>
int main(void) {
int x = 0, i = 0;
while (true) {
i++;
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"import.add",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,263 | 174,264 | u873323786 | cpp |
p02396 | #include <iostream>
int main() {
int d = 1;
int count = 1;
while (count <= 10000) {
std::cin >> d;
if (d == 0) {
break;
}
std::cout << "Casev" << count << ": " << d << std::endl;
}
return 0;
} | #include <iostream>
int main() {
int d = 1;
int count = 1;
while (count <= 10000) {
std::cin >> d;
if (d == 0) {
break;
}
std::cout << "Case " << count << ": " << d << std::endl;
count++;
}
return 0;
} | [
"literal.string.change",
"expression.operation.binary.change",
"expression.unary.arithmetic.add"
] | 174,267 | 174,268 | u471204616 | cpp |
p02396 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, i = 1;
while (cin >> a, a) {
cout << "case " << i << ": " << a << endl;
i++;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, i = 1;
while (cin >> a, a) {
cout << "Case " << i << ": " << a << endl;
i++;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,269 | 174,270 | u954682566 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int a[10000];
int i = 0;
while (1) {
cin >> a[i];
if (a[i] == 0)
break;
i++;
}
i = 0;
while (1) {
if (a[i] == 0)
break;
cout << "Case " << i << ": " << a[i] << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a[10000];
int i = 0;
while (1) {
cin >> a[i];
if (a[i] == 0)
break;
i++;
}
i = 0;
while (1) {
if (a[i] == 0)
break;
cout << "Case " << i + 1 << ": " << a[i] << endl;
i++;
}
return 0;
} | [
"expression.operation.binary.add"
] | 174,271 | 174,272 | u438713646 | cpp |
p02396 | #include <stdio.h>
int main() {
int x, i;
i = 0;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
i++;
printf("Case %d:%d\n", i, x);
}
return 0;
} | #include <stdio.h>
int main() {
int x, i;
i = 0;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
i++;
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,273 | 174,274 | u418153188 | cpp |
p02396 | #include <stdio.h>
int main() {
int x = 1, y = 1;
while (x != 0) {
scanf("%d", &x);
if (x != 0) {
printf("case %d: %d\n", y, x);
y++;
}
}
return 0;
} | #include <stdio.h>
int main() {
int x = 1, y = 1;
while (x != 0) {
scanf("%d", &x);
if (x != 0) {
printf("Case %d: %d\n", y, x);
y++;
}
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 174,275 | 174,276 | u739497496 | cpp |
p02396 | #include <stdio.h>
int main() {
int a = 1, b;
while (b != 0) {
scanf("%d", &b);
if (b == 0)
break;
printf("Case %d: %d\n", a, b);
a++;
}
return 0;
} | #include <stdio.h>
int main() {
int a = 1, b;
while (1) {
scanf("%d", &b);
if (b == 0)
break;
printf("Case %d: %d\n", a, b);
a++;
}
return 0;
} | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.condition.change",
"expression.operation.binary.remove"
] | 174,277 | 174,278 | u368018833 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int a[10000] = {};
int count = 0;
for (int i = 0; i < 10000; i++) {
cin >> a[i];
count++;
if (a[i] == 0)
break;
}
for (int j = 0; j < count - 1; j++) {
cout << "Case " << j + 1 << ":" << a[j] << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int a[10001] = {};
int count = 0;
for (int i = 0; i < 10001; i++) {
cin >> a[i];
count++;
if (a[i] == 0)
break;
}
for (int j = 0; j < count - 1; j++) {
cout << "Case " << j + 1 << ": " << a[j] << endl;
}
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"literal.string.change",
"io.output.change"
] | 174,286 | 174,287 | u586448184 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(void) {
int i, n;
i = 1;
while (n != 0) {
cin >> n;
if (n == 0)
break;
cout << "Case"
<< " " << i << ":"
<< " " << n << endl;
i++;
}
} | #include <iostream>
using namespace std;
int main(void) {
int i, n;
i = 1;
while (true) {
cin >> n;
if (n == 0)
break;
cout << "Case"
<< " " << i << ":"
<< " " << n << endl;
i++;
}
} | [
"control_flow.loop.condition.change",
"expression.operation.binary.remove"
] | 174,302 | 174,303 | u795007957 | cpp |
p02396 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main(void) {
int x;
for (int i = 0;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main(void) {
int x;
for (int i = 1;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 174,305 | 174,306 | u559177651 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 1;
int x;
while (1) {
cin >> x;
if (x == 0) {
break;
} else {
cout << "case " << i << ": " << x << endl;
i++;
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 1;
int x;
while (1) {
cin >> x;
if (x == 0) {
break;
} else {
cout << "Case " << i << ": " << x << endl;
i++;
}
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,312 | 174,313 | u799428077 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i = 1;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << " : " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, i = 1;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"literal.string.change",
"io.output.change",
"expression.unary.arithmetic.add"
] | 174,316 | 174,317 | u301911100 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int k;
int i = 1;
while (true) {
cin >> k;
if (k == 0) {
break;
}
cout << "Case " << i << ": " << k << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int k;
int i = 1;
while (true) {
cin >> k;
if (k == 0) {
break;
}
cout << "Case " << i << ": " << k << endl;
i++;
}
} | [
"expression.unary.arithmetic.add"
] | 174,320 | 174,321 | u347187685 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 0;
int x;
int num[10000];
for (int i = 0; i < 10000; i++) {
cin >> x;
if (x == 0)
break;
num[i] = x;
}
for (int h = 0; h < i; h++) {
cout << "Case " << h + 1 << ": " << num[h] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 0;
int x;
int num[10000];
for (i = 0; i < 10000; i++) {
cin >> x;
if (x == 0)
break;
num[i] = x;
}
for (int h = 0; h < i; h++) {
cout << "Case " << h + 1 << ": " << num[h] << endl;
}
return 0;
} | [] | 174,324 | 174,323 | u943896917 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x = 0;
int cnt = 0;
cin >> x;
while (x != 0) {
cnt++;
cout << "Case" << cnt << ":" << x << endl;
cin >> x;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x = 0;
int cnt = 0;
cin >> x;
while (x != 0) {
cnt++;
cout << "Case " << cnt << ": " << x << endl;
cin >> x;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,325 | 174,326 | u745259711 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x[10000];
int num = 0;
int c = 1;
while (c) {
cin >> x[num];
c = x[num];
num++;
}
for (int a = 0; a < num - 1; a++) {
cout << "Case " << a + 1 << ":" << x[a] << "\n";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x[10000];
int num = 0;
int c = 1;
while (c) {
cin >> x[num];
c = x[num];
num++;
}
for (int a = 0; a < num - 1; a++) {
cout << "Case " << a + 1 << ": " << x[a] << "\n";
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,337 | 174,338 | u151651781 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x[10000];
int i;
for (i = 0; i < 10000; i++) {
cin >> x[i];
if (x[i] == 0)
break;
}
for (i = 0; x[i] != 0; i++)
cout << "case " << i + 1 << ": " << x[i] << endl;
} | #include <iostream>
using namespace std;
int main() {
int x[10010];
int i;
for (i = 0; i < 10010; i++) {
cin >> x[i];
if (x[i] == 0)
break;
}
for (i = 0; x[i] != 0; i++)
cout << "Case " << i + 1 << ": " << x[i] << endl;
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,339 | 174,340 | u083853290 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x[10010];
int i;
for (i = 0; i < 10010; i++) {
cin >> x[i];
if (x[i] == 0)
break;
}
for (i = 0; x[i] != 0; i++)
cout << "case " << i + 1 << ": " << x[i] << endl;
} | #include <iostream>
using namespace std;
int main() {
int x[10010];
int i;
for (i = 0; i < 10010; i++) {
cin >> x[i];
if (x[i] == 0)
break;
}
for (i = 0; x[i] != 0; i++)
cout << "Case " << i + 1 << ": " << x[i] << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,341 | 174,340 | u083853290 | cpp |
p02396 | #include <stdio.h>
int main() {
int x;
int i, j;
int y[10000];
for (i = 0; i < 10000; i++) {
scanf("%d", &x);
if (x == 0) {
break;
}
y[i] = x;
}
for (j = 0; j < i; j++) {
printf("Case %d: %d\n", j, y[j]);
}
return 0;
} | #include <stdio.h>
int main() {
int x;
int i, j;
int y[10000];
for (i = 0; i < 10000; i++) {
scanf("%d", &x);
if (x == 0) {
break;
}
y[i] = x;
}
for (j = 0; j < i; j++) {
printf("Case %d: %d\n", j + 1, y[j]);
}
return 0;
} | [
"expression.operation.binary.add"
] | 174,342 | 174,343 | u150821811 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.