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 a;
for (int i = 1; i <= 10000; i++) {
cin >> a;
if (a == 0)
break;
cout << "case" << i << ':' << a << '\n';
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a;
for (int i = 1; i <= 10000; i++) {
cin >> a;
if (a == 0)
break;
cout << "Case " << i << ": " << a << '\n';
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,346 | 174,347 | u996186444 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int num = 10000;
int x[10000] = {0};
int i;
for (i = 0; i < 10000; i++) {
cin >> x[i];
if (x[i] == 0)
break;
}
for (int a = 0; a <= i; a++)
cout << "Case " << a << ": " << x[a] << endl;
} | #include <iostream>
using namespace std;
int main() {
int num = 10000;
int x[10000] = {0};
int i;
for (i = 0; i < 10000; i++) {
cin >> x[i];
if (x[i] == 0)
break;
}
for (int a = 1; a <= i; a++)
cout << "Case " << a << ": " << x[a - 1] << endl;
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"expression.operation.binary.add",
"control_flow.return.add",
"control_flow.return.0.add"
] | 174,348 | 174,349 | u002010345 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int num = 10000;
int x[10000] = {0};
int i;
for (i = 0; i < 10000; i++) {
cin >> x[i];
if (x[i] == 0)
break;
}
for (int a = 1; a <= i + 1; a++)
cout << "Case " << a << ": " << x[a - 1] << endl;
} | #include <iostream>
using namespace std;
int main() {
int num = 10000;
int x[10000] = {0};
int i;
for (i = 0; i < 10000; i++) {
cin >> x[i];
if (x[i] == 0)
break;
}
for (int a = 1; a <= i; a++)
cout << "Case " << a << ": " << x[a - 1] << endl;
return 0;
} | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"control_flow.return.add",
"control_flow.return.0.add"
] | 174,350 | 174,349 | u002010345 | cpp |
p02396 | #include <stdio.h>
int main() {
int i, x;
for (i = 1;; i++) {
scanf("%d", &x);
if (x == 0) {
return 0;
} else {
printf("Case i:%d\n", i, x);
}
}
} | #include <stdio.h>
int main() {
int i, x;
for (i = 1;; i++) {
scanf("%d", &x);
if (x == 0) {
return 0;
} else {
printf("Case %d: %d\n", i, x);
}
}
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,365 | 174,364 | u253376705 | cpp |
p02396 | #include <stdio.h>
int main() {
int i, x;
for (i = 1;; i++) {
scanf("%d", &x);
if (x == 0) {
return 0;
} else {
printf("Case %d:%d\n", i, x);
}
}
} | #include <stdio.h>
int main() {
int i, x;
for (i = 1;; i++) {
scanf("%d", &x);
if (x == 0) {
return 0;
} else {
printf("Case %d: %d\n", i, x);
}
}
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,366 | 174,364 | u253376705 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int n;
for (int i = 0;; i++) {
cin >> n;
if (n == 0) {
break;
}
cout << "Case " << i << ": " << n << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int n;
for (int i = 1;; i++) {
cin >> n;
if (n == 0) {
break;
}
cout << "Case " << i << ": " << n << endl;
}
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 174,367 | 174,368 | u065703534 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, x;
i = 0;
while (1) {
cin >> x;
i++;
if (x == 0)
break;
cout << "Case " << i << ":" << x << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int i, x;
i = 0;
while (1) {
cin >> x;
i++;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
} | [
"literal.string.change",
"io.output.change"
] | 174,369 | 174,370 | u286829185 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 1;
int x;
while (cin >> x) {
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 1;
int x;
while (cin >> x && x) {
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"control_flow.loop.condition.change"
] | 174,371 | 174,372 | u419662829 | 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;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,376 | 174,374 | u333223739 | cpp |
p02396 | #include <iostream>
int main() {
int i = 1, x = 0;
std::cin >> i >> x;
while (x != 0) {
std::cout << "Case " << i << ": " << x << std::endl;
std::cin >> x;
i++;
}
return 0;
} | #include <iostream>
int main() {
int i = 1, x = 0;
std::cin >> x;
while (x != 0) {
std::cout << "Case " << i << ": " << x << std::endl;
std::cin >> x;
i++;
}
return 0;
} | [
"expression.operation.binary.remove"
] | 174,386 | 174,387 | u516689814 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i = 1;
while (1) {
cin >> x;
if (x == 0)
return 0;
cout << "Case " << i << ':' << x << endl;
i++;
}
} | #include <iostream>
using namespace std;
int main() {
int x, i = 1;
while (1) {
cin >> x;
if (x == 0)
return 0;
cout << "Case " << i << ": " << x << endl;
i++;
}
} | [] | 174,388 | 174,389 | u845643816 | cpp |
p02396 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int x;
int cnt = 1;
while (cin >> x, x) {
cout << "Case" << cnt << ":"
<< " " << x << endl;
cnt++;
}
return 0;
} | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int x;
int cnt = 1;
while (cin >> x, x) {
cout << "Case " << cnt << ":"
<< " " << x << endl;
cnt++;
}
return 0;
}
| [
"literal.string.change",
"io.output.change"
] | 174,394 | 174,395 | u578258337 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int x, i;
for (i = 1; i <= 10000; i++) {
scanf("%d", &x);
if (x == 0) {
return 0;
}
printf("Case %d:%d\n", i, x);
}
return 0;
} | #include <stdio.h>
int main(void) {
int x, i;
for (i = 1; i <= 10000; i++) {
scanf("%d", &x);
if (x == 0) {
return 0;
}
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,397 | 174,398 | u829697495 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int x, i;
for (i = 1; i <= 10000; i++) {
scanf("%d", &x);
if (x == 0) {
return 0;
}
printf("Case %d:%d\n", i, x);
}
return 0;
} | #include <stdio.h>
int main(void) {
int x, i;
for (i = 1; i <= 10000; i++) {
scanf("%d", &x);
if (x == 0) {
return 0;
}
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,400 | 174,398 | u829697495 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, n = 0, a[10010] = {};
while (cin >> x, x)
a[n++] = x;
for (int i = 0; i < n; i++) {
cout << "Case " << i + 1 << "; " << a[i] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, n = 0, a[10010] = {};
while (cin >> x, x)
a[n++] = x;
for (int i = 0; i < n; i++) {
cout << "Case " << i + 1 << ": " << a[i] << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,401 | 174,402 | u799746736 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int i, x;
for (i = 1; 0 < i; i++) {
scanf("%d", &x);
if (x == 0)
break;
printf("case %d: %d\n", i, x);
}
return 0;
} | #include <stdio.h>
int main(void) {
int i, x;
for (i = 1; 0 < i; i++) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 174,403 | 174,404 | u059121893 | cpp |
p02396 | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v;
int x = 100000;
int dim = 0;
while (x != 0) {
cin >> x;
v.push_back(x);
dim += 1;
}
int number = 1;
int a = 0;
for (int i = 0; i < dim - 1; i++) {
cout << "case"
<< " " << number << ":" << ... | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v;
int x = 100000;
int dim = 0;
while (x != 0) {
cin >> x;
v.push_back(x);
dim += 1;
}
int number = 1;
int a = 0;
for (int i = 0; i < dim - 1; i++) {
cout << "Case"
<< " " << number << ":"
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,407 | 174,406 | u068682075 | cpp |
p02396 | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v;
int x = 100000;
int dim = 0;
while (x != 0) {
cin >> x;
v.push_back(x);
dim += 1;
}
int number = 1;
int a = 0;
for (int i = 0; i < dim - 1; i++) {
cout << "case"
<< " " << number << ":"
... | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> v;
int x = 100000;
int dim = 0;
while (x != 0) {
cin >> x;
v.push_back(x);
dim += 1;
}
int number = 1;
int a = 0;
for (int i = 0; i < dim - 1; i++) {
cout << "Case"
<< " " << number << ":"
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,409 | 174,406 | u068682075 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x[25565];
x[0] = 1;
int i = 1;
while (x[i - 1] != 0) {
cin >> x[i];
i++;
}
i = 1;
while (x[i - 1] != 0) {
cout << "Case " << i << ": " << x[i] << endl;
i++;
}
} | #include <iostream>
using namespace std;
int main() {
int x[25565];
x[0] = 1;
int i = 1;
while (x[i - 1] != 0) {
cin >> x[i];
i++;
}
i = 1;
while (x[i] != 0) {
cout << "Case " << i << ": " << x[i] << endl;
i++;
}
} | [
"expression.operation.binary.remove"
] | 174,414 | 174,415 | u600321313 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(int argc, const char *argv[]) {
// insert code here...
int i, x;
i = 1;
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 argc, const char *argv[]) {
// insert code here...
int i, x;
i = 1;
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,416 | 174,417 | u528403944 | cpp |
p02396 | #include <cstdio>
#include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
int x;
int i = 1;
while (true) {
cin >> x;
if (x == 0) {
break;
}
printf("Case %d:%d\n", i, x);
i++;
}
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
int x;
int i = 1;
while (true) {
cin >> x;
if (x == 0) {
break;
}
printf("Case %d: %d\n", i, x);
i++;
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,418 | 174,419 | u948774405 | 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;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,420 | 174,421 | u148733050 | cpp |
p02396 | // http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_B
#include <iostream>
using namespace std;
int main() {
int x, i = 0;
while (cin >> x) {
if (x == 0) {
break;
} else {
cout << "Case " << i << ": " << x << endl;
}
}
} | // http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_B
#include <iostream>
using namespace std;
int main() {
int x, i = 1;
while (cin >> x) {
if (x == 0) {
break;
} else {
cout << "Case " << i << ": " << x << endl;
}
i++;
}
} | [
"literal.number.change",
"variable_declaration.value.change",
"expression.unary.arithmetic.add"
] | 174,425 | 174,426 | u681813376 | cpp |
p02396 | // http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_B
#include <iostream>
using namespace std;
int main() {
int x, i = 0;
while (cin >> x) {
if (x == 0) {
break;
} else {
cout << "Case " << i << ": " << x << endl;
}
i++;
}
} | // http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_3_B
#include <iostream>
using namespace std;
int main() {
int x, i = 1;
while (cin >> x) {
if (x == 0) {
break;
} else {
cout << "Case " << i << ": " << x << endl;
}
i++;
}
} | [
"literal.number.change",
"variable_declaration.value.change"
] | 174,427 | 174,426 | u681813376 | cpp |
p02396 | #include <cstdio>
int main() {
int x;
int i = 1;
while (1) {
scanf("%d", x);
if (x = 0)
break;
printf("Case %d: %d\n", i, x);
++i;
}
return 0;
} | #include <cstdio>
int main() {
int x;
int n = 1;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", n, x);
n++;
}
return 0;
}
| [
"variable_declaration.name.change",
"identifier.change",
"expression.operation.unary.reference.add",
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo",
"call.arguments.change",
"io.output.change"
] | 174,428 | 174,429 | u218520956 | cpp |
p02396 | #include <cstdio>
int main() {
int x;
int i = 1;
while (1) {
scanf("%d", x);
if (x = 0)
break;
printf("Case %d: %d\n", i, x);
++i;
}
return 0;
} | #include <cstdio>
int main() {
int x;
int i = 1;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
i++;
}
return 0;
}
| [
"expression.operation.unary.reference.add",
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 174,428 | 174,430 | u218520956 | cpp |
p02396 | #include <cstdio>
using namespace std;
int main() {
int x;
int i = 1;
while (1) {
scanf("%d", x);
if (x = 0)
break;
printf("Case %d: %d\n", i, x);
i++;
}
return 0;
} | #include <cstdio>
int main() {
int x;
int i = 1;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
i++;
}
return 0;
}
| [
"expression.operation.unary.reference.add",
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 174,431 | 174,430 | u218520956 | cpp |
p02396 | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
long i, j, k;
long n;
long cnt = 0;
long left, right, mid;
long ans = 0;
static long e[100000];
for (i = 0;; i++) {
scanf("%ld", &e[i]);
if (e[i] == 0)
break;
}
for (j = 0; j < i; j++) {
printf... | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
long i, j, k;
long n;
long cnt = 0;
long left, right, mid;
long ans = 0;
static long e[100000];
for (i = 0;; i++) {
scanf("%ld", &e[i]);
if (e[i] == 0)
break;
}
for (j = 0; j < i; j++) {
printf... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 174,436 | 174,435 | u075842827 | cpp |
p02396 | //============================================================================
// Name : ku.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <iostrea... | //============================================================================
// Name : ku.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <iostrea... | [
"literal.string.change",
"io.output.change"
] | 174,437 | 174,438 | u897754289 | cpp |
p02396 | #include <iostream>
using namespace std;
int i, x;
int main() {
x = 1;
while (1) {
cin >> i;
if (i != 0) {
cout << "case " << x << ": " << i << endl;
x++;
}
else {
break;
}
}
return 0;
} | #include <iostream>
using namespace std;
int i, x;
int main() {
x = 1;
while (1) {
cin >> i;
if (i != 0) {
cout << "Case " << x << ": " << i << endl;
x++;
}
else {
break;
}
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,439 | 174,440 | u829534266 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
i = 1;
while (cin >> x) {
cout << "Case " << i << ": " << x;
i++;
}
} | #include <iostream>
using namespace std;
int main() {
int x, i;
i = 1;
while (cin >> x, x) {
cout << "Case " << i << ": " << x << endl;
i++;
}
} | [
"control_flow.loop.condition.change",
"io.output.newline.add"
] | 174,445 | 174,446 | u728214655 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int n = 1, i = 1;
while (scanf("%d", &n), n != 0) {
printf("Case %d:%d \n", i++, n);
}
return 0;
}
| #include <stdio.h>
int main(void) {
int n = 1, i = 1;
while (scanf("%d", &n), n != 0) {
printf("Case %d: %d\n", i++, n);
}
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,447 | 174,448 | u535246834 | cpp |
p02396 | #include <stdio.h>
int main() {
int a[100], aa = 0, i;
for (i = 0; aa < 1; i++) {
scanf("%d", &a[i]);
if (a[i] == 0) {
aa = 2;
}
}
for (int j = 1; j < i; j++) {
printf("Case %d: %d\n", j, a[j]);
}
return 0;
} | #include <stdio.h>
int main() {
int a[1000000], aa = 0, i;
for (i = 0; aa < 1; i++) {
scanf("%d", &a[i]);
if (a[i] == 0) {
aa = 2;
}
}
for (int j = 1; j < i; j++) {
printf("Case %d: %d\n", j, a[j - 1]);
}
return 0;
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 174,450 | 174,451 | u702328791 | cpp |
p02396 | // Copyright 2015 KanatoNagayama
#include <iostream>
#include <vector>
using std ::cin;
using std ::cout;
using std ::endl;
using std ::vector;
int main() {
vector<int> v(1);
int i = 0;
while (true) {
cin >> v[i];
if (v[i] == 0)
break;
i++;
}
for (int k = 0; k < i; k++) {
cout << "Case "... | // Copyright 2015 KanatoNagayama
#include <iostream>
#include <vector>
using std ::cin;
using std ::cout;
using std ::endl;
using std ::vector;
int main() {
vector<int> v(10000);
int i = 0;
while (true) {
cin >> v[i];
if (v[i] == 0)
break;
i++;
}
for (int k = 0; k < i; k++) {
cout << "Ca... | [
"literal.number.change",
"call.arguments.change"
] | 174,454 | 174,455 | u788599802 | cpp |
p02396 | // Copyright 2015 KanatoNagayama
#include <iostream>
#include <vector>
using std ::cin;
using std ::cout;
using std ::endl;
using std ::vector;
int main() {
vector<int> v(10000);
int i = 0;
while (true) {
cin >> v[i];
if (v[i] == 0)
break;
i++;
}
for (int k = 0; k < i; k++) {
cout << "Ca... | // Copyright 2015 KanatoNagayama
#include <iostream>
#include <vector>
using std ::cin;
using std ::cout;
using std ::endl;
using std ::vector;
int main() {
vector<int> v(10000);
int i = 0;
while (true) {
cin >> v[i];
if (v[i] == 0)
break;
i++;
}
for (int k = 0; k < i; k++) {
cout << "Ca... | [
"expression.operation.binary.add"
] | 174,456 | 174,455 | u788599802 | cpp |
p02396 | // Copyright 2015 KanatoNagayama
#include <iostream>
#include <vector>
using std ::cin;
using std ::cout;
using std ::endl;
using std ::vector;
int main() {
vector<int> v(10000);
int i = 0;
while (true) {
cin >> v[i];
if (v[i] == 0)
break;
i++;
}
for (int k = 0; k < i; k++) {
cout << "Ca... | // Copyright 2015 KanatoNagayama
#include <iostream>
#include <vector>
using std ::cin;
using std ::cout;
using std ::endl;
using std ::vector;
int main() {
vector<int> v(100000);
int i = 0;
while (true) {
cin >> v[i];
if (v[i] == 0)
break;
i++;
}
for (int k = 0; k < i; k++) {
cout << "C... | [
"literal.number.change",
"call.arguments.change"
] | 174,456 | 174,459 | u788599802 | cpp |
p02396 | #include <iostream>
using namespace std;
main() {
int num;
int i = 1;
while (1) {
cin >> num;
if (num == 0)
break;
cout << "Case " << i << ':' << num << endl;
i++;
}
} | #include <iostream>
using namespace std;
main() {
int num;
int i = 1;
while (1) {
cin >> num;
if (num == 0)
break;
cout << "Case " << i << ": " << num << endl;
i++;
}
} | [] | 174,464 | 174,465 | u598969822 | cpp |
p02396 | #include <iostream>
#include <vector>
using namespace std;
int main(void) {
vector<int> v;
while (1) {
int temp;
cin >> temp;
if (temp == 0)
break;
v.push_back(temp);
}
for (int i = 0; i < v.size(); i++) {
cout << "Case " << i << ":" << v[i];
}
return 0;
} | #include <iostream>
#include <vector>
using namespace std;
int main(void) {
vector<int> v;
while (1) {
int temp;
cin >> temp;
if (temp == 0)
break;
v.push_back(temp);
}
for (int i = 0; i < v.size(); i++) {
cout << "Case " << i + 1 << ": " << v[i] << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change",
"io.output.newline.add"
] | 174,467 | 174,468 | u749946843 | cpp |
p02396 | #include <iostream>
#include <vector>
using namespace std;
int main(void) {
vector<int> v;
while (1) {
int temp;
cin >> temp;
if (temp == 0)
break;
v.push_back(temp);
}
for (int i = 0; i < v.size(); i++) {
cout << "Case " << i << ": " << v[i];
}
return 0;
} | #include <iostream>
#include <vector>
using namespace std;
int main(void) {
vector<int> v;
while (1) {
int temp;
cin >> temp;
if (temp == 0)
break;
v.push_back(temp);
}
for (int i = 0; i < v.size(); i++) {
cout << "Case " << i + 1 << ": " << v[i] << endl;
}
return 0;
} | [
"io.output.newline.add"
] | 174,469 | 174,468 | u749946843 | cpp |
p02396 | #include <iostream>
#include <vector>
using namespace std;
int main(void) {
vector<int> v;
while (1) {
int temp;
cin >> temp;
if (temp == 0)
break;
v.push_back(temp);
}
for (int i = 0; i < v.size(); i++) {
cout << "Case " << i << ": " << v[i] << endl;
}
return 0;
} | #include <iostream>
#include <vector>
using namespace std;
int main(void) {
vector<int> v;
while (1) {
int temp;
cin >> temp;
if (temp == 0)
break;
v.push_back(temp);
}
for (int i = 0; i < v.size(); i++) {
cout << "Case " << i + 1 << ": " << v[i] << endl;
}
return 0;
} | [
"expression.operation.binary.add"
] | 174,471 | 174,468 | u749946843 | cpp |
p02396 | #include <iostream>
#define CI cin >>
#define CO cout <<
#define E << endl;
using namespace std;
int main(void) {
int x = 0;
int i = 1;
while (1) {
CI x;
if (x == 0) {
return 0;
}
CO "case " << i << ":" << x E++ i;
}
} | #include <iostream>
#define CI cin >>
#define CO cout <<
#define E << endl;
using namespace std;
int main(void) {
int x = 0;
int i = 1;
while (1) {
CI x;
if (x == 0) {
return 0;
}
CO "Case " << i << ": " << x E++ i;
}
} | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 174,472 | 174,473 | u017136598 | cpp |
p02396 | #include <iostream>
#define CI cin >>
#define CO cout <<
#define E << endl;
using namespace std;
int main(void) {
int x = 0;
int i = 1;
while (1) {
CI x;
if (x == 0) {
return 0;
}
CO "case " << i << ": " << x E++ i;
}
} | #include <iostream>
#define CI cin >>
#define CO cout <<
#define E << endl;
using namespace std;
int main(void) {
int x = 0;
int i = 1;
while (1) {
CI x;
if (x == 0) {
return 0;
}
CO "Case " << i << ": " << x E++ i;
}
} | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 174,474 | 174,473 | u017136598 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int D[100], C = 0;
while (true) {
cin >> D[C];
if (D[C] == 0) {
goto Exit;
}
C++;
}
Exit:;
for (int i = 0; i < C; i++) {
cout << "Case " << C << ": " << D[C] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int D[10000], C = 0;
while (true) {
cin >> D[C];
if (D[C] == 0) {
goto Exit;
}
C++;
}
Exit:;
for (int i = 0; i < C; i++) {
cout << "Case " << i + 1 << ": " << D[i] << endl;
}
return 0;
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"identifier.change",
"io.output.change",
"variable_access.subscript.index.change"
] | 174,475 | 174,476 | u823513038 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int D[10000], C = 0;
while (true) {
cin >> D[C];
if (D[C] == 0) {
goto Exit;
}
C++;
}
Exit:;
for (int i = 0; i < C; i++) {
cout << "Case " << C << ": " << D[C] << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int D[10000], C = 0;
while (true) {
cin >> D[C];
if (D[C] == 0) {
goto Exit;
}
C++;
}
Exit:;
for (int i = 0; i < C; i++) {
cout << "Case " << i + 1 << ": " << D[i] << endl;
}
return 0;
} | [
"identifier.change",
"io.output.change",
"variable_access.subscript.index.change"
] | 174,477 | 174,476 | u823513038 | cpp |
p02396 | #include <iostream>
class data {
private:
int number;
int data;
public:
void set_number(int num) { this->number = num; }
void set_data(int dat) {
if (dat == 0) {
this->number = 0;
} else {
this->data = dat;
}
}
int get_number(void) { return number; }
int get_data(void) { retur... | #include <iostream>
class data {
private:
int number;
int data;
public:
void set_number(int num) { this->number = num; }
void set_data(int dat) {
if (dat == 0) {
this->number = 0;
} else {
this->data = dat;
}
}
int get_number(void) { return number; }
int get_data(void) { retur... | [
"literal.string.change",
"expression.operation.binary.change"
] | 174,481 | 174,482 | u330582179 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(void) {
int x, i = 1;
while (cin >> x) {
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
} | #include <iostream>
using namespace std;
int main(void) {
int x, i = 1;
while (cin >> x) {
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
} | [
"expression.unary.arithmetic.add"
] | 174,483 | 174,484 | u719874053 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
ios::sync_with_stdio(false);
int x;
for (int i = 0; cin >> x, x; i++) {
cout << "Case " << i << ": " << x << '\n';
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
ios::sync_with_stdio(false);
int x;
for (int i = 1; cin >> x, x; i++) {
cout << "Case " << i << ": " << x << '\n';
}
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 174,485 | 174,486 | u277798389 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
int count = 0;
while (true) {
cin >> x;
count++;
if (x == 0) {
break;
} else {
cout << "Case " << count << ":" << x << '\n';
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
int count = 0;
while (true) {
cin >> x;
count++;
if (x == 0) {
break;
} else {
cout << "Case " << count << ": " << x << '\n';
}
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,489 | 174,488 | u267897253 | cpp |
p02396 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int i;
int a;
for (i = 1;; i++) {
cin >> a;
if (a == 0)
break;
cout << "case " << i << ": " << a << '\n';
}
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int i;
int a;
for (i = 1;; i++) {
cin >> a;
if (a == 0)
break;
cout << "Case " << i << ": " << a << '\n';
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,490 | 174,491 | u328733599 | cpp |
p02396 | #include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int N[65535];
int i = 0;
while (1) {
scanf("%d", &N[i]);
if (N[i] == 0)
break;
i++;
}
for (int j = 0; j < i; j++) {
cout << "Case " << j + 1 << ":" << N[j] << "\n";
}
return 0;
} | #include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int N[65535];
int i = 0;
while (1) {
scanf("%d", &N[i]);
if (N[i] == 0)
break;
i++;
}
for (int j = 0; j < i; j++) {
cout << "Case " << j + 1 << ": " << N[j] << "\n";
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,494 | 174,495 | u258004539 | cpp |
p02396 | #include <algorithm>
#include <cstdio>
using namespace std;
int main() {
int i = 1, x;
while (1) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("case %d: %d\n", i, x);
i++;
}
return (0);
} | #include <cstdio>
using namespace std;
int main() {
int i = 1, x;
while (1) {
scanf("%d", &x);
if (x == 0) {
break;
}
printf("Case %d: %d\n", i, x);
i++;
}
return (0);
} | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 174,498 | 174,499 | u711595837 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i, x;
for (i = 1;; i++) {
cin >> x;
if (x == 0) {
break;
}
cout << "Cace" << i << ":" << x << 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;
} | [
"literal.string.change",
"io.output.change"
] | 174,500 | 174,501 | u289794273 | 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 << 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;
} | [
"literal.string.change",
"io.output.change"
] | 174,502 | 174,501 | u289794273 | cpp |
p02396 | #include <stdbool.h>
#include <stdio.h>
int main(void) {
int i = 0;
while (true) {
i++;
int temp;
scanf("%d", &temp);
if (temp == 0) {
break;
}
printf("Case %d: %d", i, temp);
}
return 0;
} | #include <stdbool.h>
#include <stdio.h>
int main(void) {
int i = 0;
while (true) {
i++;
int temp;
scanf("%d", &temp);
if (temp == 0) {
break;
} else {
printf("Case %d: %d\n", i, temp);
}
}
return 0;
} | [
"control_flow.branch.else.add",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,503 | 174,504 | u232170406 | cpp |
p02396 | #include <stdbool.h>
#include <stdio.h>
int main(void) {
int i = 0;
while (true) {
i++;
int temp;
scanf("%d", &temp);
if (temp == 0) {
break;
} else {
printf("Case %d: %d", i, temp);
}
}
return 0;
} | #include <stdbool.h>
#include <stdio.h>
int main(void) {
int i = 0;
while (true) {
i++;
int temp;
scanf("%d", &temp);
if (temp == 0) {
break;
} else {
printf("Case %d: %d\n", i, temp);
}
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,505 | 174,504 | u232170406 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(void) {
int n, cnt = 1;
while (1) {
cin >> n;
if (n == 0)
break;
cout << "case " << cnt << ": " << n << endl;
cnt++;
}
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int n, cnt = 1;
while (1) {
cin >> n;
if (n == 0)
break;
cout << "Case " << cnt << ": " << n << endl;
cnt++;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,507 | 174,508 | u642143443 | cpp |
p02396 | #include <stdio.h>
int x;
int i;
int main() {
for (i = 0; 1; i++) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
}
return 0;
} | #include <stdio.h>
int x;
int i;
int main() {
for (i = 1; i > 0; i++) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"control_flow.loop.for.remove"
] | 174,509 | 174,510 | u896119248 | cpp |
p02396 | #include <stdio.h>
int x;
int i;
int main() {
for (i = 0; i < 0; i++) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
}
return 0;
} | #include <stdio.h>
int x;
int i;
int main() {
for (i = 1; i > 0; 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",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 174,511 | 174,510 | u896119248 | cpp |
p02396 | #include <stdio.h>
int x;
int i;
int main() {
for (i = 1; i < 0; i++) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
}
return 0;
} | #include <stdio.h>
int x;
int i;
int main() {
for (i = 1; i > 0; i++) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", i, x);
}
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 174,513 | 174,510 | u896119248 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i = 1;
while (true) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ':' << x << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, i = 1;
while (true) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [] | 174,514 | 174,515 | u841770308 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i = 1;
while (true) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ': ' << x << endl;
i++;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, i = 1;
while (true) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,516 | 174,515 | u841770308 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
unsigned int i = 1;
while (true) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
unsigned int i = 1;
while (true) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"expression.unary.arithmetic.add"
] | 174,517 | 174,518 | u053894984 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
for (int i = 0;; 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.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 174,519 | 174,520 | u591165859 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
for (long i = 0;; 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;
}
} | [
"control_flow.loop.for.initializer.change",
"variable_declaration.type.primitive.change",
"literal.number.change",
"variable_declaration.value.change",
"expression.off_by_one"
] | 174,521 | 174,520 | u591165859 | 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;
} // your code goes here
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;
} // your code goes here
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,522 | 174,523 | u336055029 | 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;
} // your code goes here
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;
} // your code goes here
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,524 | 174,523 | u336055029 | cpp |
p02396 | #include <cstdio>
int main(void) {
int n = 1;
int i = 1;
while (1) {
scanf("%d", &n);
if (n == 0)
break;
printf("Case %d: %d\n", i, n);
}
return 0;
} | #include <cstdio>
int main(void) {
int n = 1;
int i = 1;
while (1) {
scanf("%d", &n);
if (n == 0)
break;
printf("Case %d: %d\n", i++, n);
}
return 0;
} | [
"call.arguments.change"
] | 174,525 | 174,526 | u321017034 | cpp |
p02396 | #include <iostream>
#include <queue>
using namespace std;
int main() {
queue<int> q;
int tmp;
while (1) {
cin >> tmp;
if (!tmp)
break;
q.push(tmp);
}
int n = q.size();
for (int i = 1; i <= n; i++) {
cout << "Case" << i << ": " << q.front() << endl;
q.pop();
}
return 0;
} | #include <iostream>
#include <queue>
using namespace std;
int main() {
queue<int> q;
int tmp;
while (1) {
cin >> tmp;
if (!tmp)
break;
q.push(tmp);
}
int n = q.size();
for (int i = 1; i <= n; i++) {
cout << "Case " << i << ": " << q.front() << endl;
q.pop();
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,527 | 174,528 | u389538742 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int data, i;
i = 0;
while (cin >> data) {
if (data != 0) {
i++;
cout << "Case " << i << ":" << data << endl;
} else {
break;
}
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int data, i;
i = 0;
while (cin >> data) {
if (data != 0) {
i++;
cout << "Case " << i << ": " << data << endl;
} else {
break;
}
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,529 | 174,530 | u564420347 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
for (int i = 1; x != 0; i++) {
cout << "Case " << i << ": " << x;
cin >> x;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
for (int i = 1; x != 0; i++) {
cout << "Case " << i << ": " << x << endl;
cin >> x;
}
return 0;
} | [
"io.output.newline.add"
] | 174,531 | 174,532 | u816905840 | cpp |
p02396 | #include <cstdio>
int main() {
int id, data;
id = 1;
while (true) {
scanf("%d", data);
if (data == 0)
break;
printf("Case %d: %d\n", id, data);
++id;
}
return 0;
};
| #include <cstdio>
int main() {
int id, data;
id = 1;
while (true) {
scanf("%d", &data);
if (data == 0)
break;
printf("Case %d: %d\n", id, data);
++id;
}
return 0;
};
| [
"expression.operation.unary.reference.add"
] | 174,535 | 174,536 | u018039367 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
for (int x, i = 1; i++;) {
cin >> x;
if (x == 0)
break;
cout << "Case" << i << ": " << 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;
} | [
"variable_declaration.name.change",
"identifier.change",
"control_flow.loop.for.initializer.change",
"control_flow.loop.for.condition.change",
"control_flow.loop.for.update.change",
"literal.string.change",
"io.output.change"
] | 174,539 | 174,540 | u210148484 | 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 += 1;
}
return 0;
} | [
"assignment.add"
] | 174,541 | 174,542 | u166638887 | cpp |
p02396 | #include <stdio.h>
int main() {
int i = 0, a;
while (scanf("%d", &a) && a) {
printf("Case %d:%d\n", i++, a);
}
return 0;
} |
#include <stdio.h>
int main() {
int i = 1, a;
while (scanf("%d", &a) && a) {
printf("Case %d: %d\n", i++, a);
}
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,543 | 174,544 | u951934992 | cpp |
p02396 | #include <stdio.h>
int main() {
int i = 1, a;
while (scanf("%d", &a) && a) {
printf("Case %d:%d\n", i++, a);
}
return 0;
} |
#include <stdio.h>
int main() {
int i = 1, a;
while (scanf("%d", &a) && a) {
printf("Case %d: %d\n", i++, a);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,545 | 174,544 | u951934992 | cpp |
p02396 | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> x;
int i = 0, n;
while (1) {
cin >> n;
x.push_back(n);
if (x[i] == 0)
break;
i++;
}
for (i = 0; i < x.size(); i++) {
if (x[i] == 0)
break;
cout << "Case" << i + 1 << ": " << x[i] << e... | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> x;
int i = 0, n;
while (1) {
cin >> n;
x.push_back(n);
if (x[i] == 0)
break;
i++;
}
for (i = 0; i < x.size(); i++) {
if (x[i] == 0)
break;
cout << "Case " << i + 1 << ": " << x[i] << ... | [
"literal.string.change",
"io.output.change"
] | 174,546 | 174,547 | u013479944 | cpp |
p02396 | #include <stdio.h>
int main(void) {
int count;
int input;
count = 0;
scanf("%d", &input);
while (input != 0) {
count++;
printf("Case %d: %d", count, input);
scanf("%d", &input);
}
} | #include <stdio.h>
int main(void) {
int count;
int input;
count = 0;
scanf("%d", &input);
while (input != 0) {
count++;
printf("Case %d: %d\n", count, input);
scanf("%d", &input);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add",
"control_flow.return.add",
"control_flow.return.0.add"
] | 174,548 | 174,549 | u120244068 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(void) {
int x, i = 1;
while (1) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x;
++i;
}
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int x, i = 1;
while (1) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << "\n";
++i;
}
return 0;
} | [
"io.output.change"
] | 174,550 | 174,551 | u245508807 | cpp |
p02396 | #include <cmath>
#include <cstdio>
int main(void) {
int n, i = 0;
while (scanf("%d", &n) != EOF) {
if (!n)
return 0;
printf("Case %d:%d\n", ++i, n);
}
return 0;
} | #include <cmath>
#include <cstdio>
int main(void) {
int n, i = 0;
while (scanf("%d", &n) != EOF) {
if (!n)
return 0;
printf("Case %d: %d\n", ++i, n);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,552 | 174,553 | u676009614 | cpp |
p02396 | #include <algorithm>
#include <cstdio>
using namespace std;
int main() {
// freopen("test.txt", "r", stdin);
int num, cas = 1;
while (~scanf("%d", &num)) {
printf("Case %d: %d\n", cas++, num);
}
return 0;
} | #include <algorithm>
#include <cstdio>
using namespace std;
int main() {
// freopen("test.txt", "r", stdin);
int num, cas = 1;
while (~scanf("%d", &num) && num) {
printf("Case %d: %d\n", cas++, num);
}
return 0;
} | [
"control_flow.loop.condition.change"
] | 174,556 | 174,557 | u499079739 | cpp |
p02396 | #include <iostream>
#include <utility>
using namespace std;
int main() {
int x;
int i = 1;
while (1) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x;
i = i + 1;
}
return 0;
} | #include <iostream>
#include <utility>
using namespace std;
int main() {
int x;
int i = 1;
while (1) {
cin >> x;
if (x == 0) {
break;
}
cout << "Case " << i << ": " << x << endl;
i = i + 1;
}
return 0;
} | [
"io.output.newline.add"
] | 174,558 | 174,559 | u176732165 | cpp |
p02396 | #include <iostream>
#include <string>
using namespace std;
int main() {
int i = 1;
int x;
while (true) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int i = 1;
int x;
while (true) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"expression.unary.arithmetic.add"
] | 174,560 | 174,561 | u741328636 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 1, x;
cin >> x;
while (x != 0) {
cout << "Case " << i << ": " << x;
i++;
cin >> x;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 1, x;
cin >> x;
while (x != 0) {
cout << "Case " << i << ": " << x << endl;
i++;
cin >> x;
}
return 0;
} | [
"io.output.newline.add"
] | 174,568 | 174,569 | u924665348 | cpp |
p02396 | #include <iostream>
#include <vector>
using namespace std;
int main(int argc, char *argv[]) {
int input, count;
vector<int> inputs;
while (input != 0) {
cin >> input;
if (input != 0)
inputs.push_back(input);
count++;
}
count = 1;
for (auto value : inputs) {
cout << "Case " << count ... | #include <iostream>
#include <vector>
using namespace std;
int main(int argc, char *argv[]) {
int input, count;
vector<int> inputs;
input = 1;
while (input != 0) {
cin >> input;
if (input != 0) {
inputs.push_back(input);
count++;
}
}
count = 1;
for (auto value : inputs) {
c... | [
"assignment.add"
] | 174,573 | 174,574 | u222957942 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int count = 0, n;
while (cin >> n)
cout << "Case " << ++count << ': ' << n << endl;
} | #include <iostream>
using namespace std;
int main() {
int i = 0, n;
while (cin >> n && n)
cout << "Case " << ++i << ": " << n << endl;
} | [
"variable_declaration.name.change",
"identifier.change",
"control_flow.loop.condition.change",
"io.output.change",
"literal.string.change"
] | 174,577 | 174,578 | u577885507 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int count = 0, n;
while (cin >> n && n)
cout << "Case " << ++count << ': ' << n << endl;
} | #include <iostream>
using namespace std;
int main() {
int i = 0, n;
while (cin >> n && n)
cout << "Case " << ++i << ": " << n << endl;
} | [
"variable_declaration.name.change",
"identifier.change",
"io.output.change",
"literal.string.change"
] | 174,579 | 174,578 | u577885507 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 0, n;
while (cin >> n && n)
cout << "Case " << ++i << ': ' << n << endl;
} | #include <iostream>
using namespace std;
int main() {
int i = 0, n;
while (cin >> n && n)
cout << "Case " << ++i << ": " << n << endl;
} | [
"literal.string.change",
"io.output.change"
] | 174,580 | 174,578 | u577885507 | cpp |
p02396 | #include <iostream>
using namespace std;
int main(void) {
int i, x;
i = 0;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
} | #include <iostream>
using namespace std;
int main(void) {
int i, x;
i = 1;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
return 0;
} | [
"literal.number.change",
"assignment.value.change",
"control_flow.return.add",
"control_flow.return.0.add"
] | 174,583 | 174,582 | u979799212 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
for (int i = 0, x = 0;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ":" << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
for (int i = 1, x = 0;; 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",
"literal.string.change",
"io.output.change"
] | 174,584 | 174,585 | u903504697 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
for (int i = 0, x = 0;; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
for (int i = 1, x = 0;; 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,586 | 174,585 | u903504697 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
;
for (int i = 1; x != 0; i++) {
cout << "case " << i << ": " << x << endl;
cin >> x;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
;
for (int i = 1; x != 0; i++) {
cout << "Case " << i << ": " << x << endl;
cin >> x;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,587 | 174,588 | u078387585 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
int i = 1;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ":" << x << endl;
i++;
}
} | #include <iostream>
using namespace std;
int main() {
int x;
int i = 1;
while (1) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
i++;
}
} | [
"literal.string.change",
"io.output.change"
] | 174,589 | 174,590 | u841723078 | cpp |
p02396 | #include <stdio.h>
int main() {
int i, x, j = 1;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d", &j, &x);
j++;
}
return 0;
} | #include <stdio.h>
int main() {
int i, x, j = 1;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", j, x);
j++;
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,593 | 174,592 | u908917838 | cpp |
p02396 | #include <stdio.h>
int main() {
int i, x, j = 1;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d", j, x);
j++;
}
return 0;
} | #include <stdio.h>
int main() {
int i, x, j = 1;
while (1) {
scanf("%d", &x);
if (x == 0)
break;
printf("Case %d: %d\n", j, x);
j++;
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 174,594 | 174,592 | u908917838 | cpp |
p02396 | #include <stdio.h>
int main() {
int i = 0, n;
while (1) {
i++;
scanf("%d", &n);
if (n == 0)
break;
printf("Case %d:%d\n", i, n);
}
return 0;
} | #include <stdio.h>
int main() {
int i = 0, n;
while (1) {
i++;
scanf("%d", &n);
if (n == 0)
break;
printf("Case %d: %d\n", i, n);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 174,595 | 174,596 | u784626891 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
for (int 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 x;
for (int i = 1; 1; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,597 | 174,598 | u977882124 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x;
for (int 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 x;
for (int i = 1; 1; i++) {
cin >> x;
if (x == 0)
break;
cout << "Case " << i << ": " << x << endl;
}
return 0;
} | [
"literal.string.change",
"io.output.change"
] | 174,599 | 174,598 | u977882124 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int i = 1;
int x;
for (;;) {
cin >> x;
if (x == 0)
break;
cout << "case"
<< " " << i << ":"
<< " " << x << endl;
++i;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i = 1;
int x;
for (;;) {
cin >> x;
if (x == 0)
break;
cout << "Case"
<< " " << i << ":"
<< " " << x << endl;
++i;
}
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 174,600 | 174,601 | u233319994 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, y;
y = 0;
while (1) {
cin >> x;
if (x == 0)
break;
y = y + 1;
cout << "Case"
<< " " << y << ":" << x << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int x, y;
y = 0;
while (1) {
cin >> x;
if (x == 0)
break;
y = y + 1;
cout << "Case"
<< " " << y << ":"
<< " " << x << endl;
}
} | [
"io.output.change"
] | 174,606 | 174,607 | u908905250 | cpp |
p02396 | #include <iostream>
using namespace std;
int main() {
int x, i;
cin >> x;
i = 0;
while (1) {
cin >> x;
if (x == 0)
break;
i++;
cout << "Case"
<< " " << i << ":"
<< " " << x << endl;
}
} | #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;
}
} | [] | 174,608 | 174,609 | u908905250 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.