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 |
|---|---|---|---|---|---|---|---|
p02406 | #include <iostream>
using namespace std;
int main() {
int x, y;
y = 1;
cin >> x;
for (; y <= x; y = y + 1) {
if (y % 3 == 0) {
cout << " " << y;
} else if (y % 10 == 3) {
cout << " " << y;
} else if (y / 10 == 3 || y / 100 == 3 || y / 1000 == 3) {
cout << " " << y;
}
}
cout... | #include <iostream>
using namespace std;
int main() {
int x, y;
y = 1;
cin >> x;
for (; y <= x; y = y + 1) {
if (y % 3 == 0) {
cout << " " << y;
} else if (y % 10 == 3) {
cout << " " << y;
} else if (y % 100 / 10 == 3 || y % 1000 / 100 == 3 ||
y % 10000 / 1000 == 3) {
... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 203,121 | 203,122 | u018364665 | cpp |
p02406 | #include <iostream>
using namespace std;
int GetDigit(int num) {
int digit = 0;
while (num != 0) {
num /= 10;
digit++;
}
return digit;
}
int main() {
int n, dig;
int x;
cin >> n;
for (int i = 3; i <= n; i++) {
dig = GetDigit(i);
if ((i % 3) == 0) {
cout << " " << i;
} else ... | #include <iostream>
using namespace std;
int GetDigit(int num) {
int digit = 0;
while (num != 0) {
num /= 10;
digit++;
}
return digit;
}
int main() {
int n, dig;
int x;
cin >> n;
// 331 is overlaps
for (int i = 3; i <= n; i++) {
dig = GetDigit(i);
if ((i % 3) == 0) {
cout << "... | [
"control_flow.break.add"
] | 203,307 | 203,308 | u692182465 | cpp |
p02406 | #include <iostream>
using namespace std;
void call(int n) {
int i = 1;
for (i; i <= n; i++) {
if (i % 3 == 0 || i % 10 == 3 || i / 10 == 3 || i / 100 == 3 ||
i / 1000 == 3) {
cout << " " << i;
}
}
cout << endl;
}
int main() {
int n;
cin >> n;
call(n);
return 0;
}
| #include <iostream>
using namespace std;
void call(int n) {
int i = 1;
for (i; i <= n; i++) {
if (i % 3 == 0 || i % 10 == 3 || i / 10 % 10 == 3 || i / 100 % 10 == 3 ||
i / 1000 % 10 == 3) {
cout << " " << i;
}
}
cout << endl;
}
int main() {
int n;
cin >> n;
call(n);
return 0;
}
| [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 203,309 | 203,310 | u694546441 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int i = 0, x;
while (++i <= n) {
x = i;
if (i % 3 == 0) {
cout << " " << i;
continue;
}
while (x) {
if (x % 10 == 3)
cout << " " << i;
x /= 10;
}
}
cout << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int i = 0, x;
while (++i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
while (x) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
}
cout << e... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 203,316 | 203,317 | u420044323 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int i, x;
for (i = 0; i <= n; ++i) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
while (x) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
}
cout ... | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int i, x;
for (i = 1; i <= n; ++i) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
while (x) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
}
cout ... | [
"literal.number.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 203,318 | 203,319 | u420044323 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n, i, x;
cin >> n;
for (i = 0; i < n; i++) {
x = i;
while (x) {
if (x % 3 == 0) {
cout << " " << i;
x = 0;
}
while (x) {
if (x % 10 == 3) {
cout << " " << i;
x = 0;
} else {
... | #include <iostream>
using namespace std;
int main() {
int n, i, x;
cin >> n;
for (i = 0; i <= n; i++) {
x = i;
while (x) {
if (x % 3 == 0) {
cout << " " << i;
x = 0;
}
while (x) {
if (x % 10 == 3) {
cout << " " << i;
x = 0;
} else {
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 203,700 | 203,701 | u886726907 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n, i, x;
cin >> n;
for (i = 0; i < n; i++) {
x = i;
while (x) {
if (x % 3 == 0) {
cout << " " << i;
x = 0;
}
while (x) {
if (x % 10 == 3) {
cout << " " << i;
x = 0;
} else {
... | #include <iostream>
using namespace std;
int main() {
int n, i, x;
cin >> n;
for (i = 0; i <= n; i++) {
x = i;
while (x) {
if (x % 3 == 0) {
cout << " " << i;
x = 0;
}
while (x) {
if (x % 10 == 3) {
cout << " " << i;
x = 0;
} else {
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 203,703 | 203,701 | u886726907 | cpp |
p02406 | #include <algorithm>
#include <cmath>
#include <complex>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define ll long long
#define vvi vector<vector<int>>
#define vi vector<int>
#define All(X) X.begin... | #include <algorithm>
#include <cmath>
#include <complex>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define ll long long
#define vvi vector<vector<int>>
#define vi vector<int>
#define All(X) X.begin... | [
"identifier.change",
"io.output.change"
] | 203,708 | 203,709 | u220216937 | cpp |
p02406 | // Structured Programming
#include <cassert>
#include <iostream>
void call(int n) {
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
std::cout << " " << n;
continue;
}
int digit = i;
while (digit != 0) {
if (digit % 10 == 3) {
std::cout << " " << n;
break;
}
... | // Structured Programming
#include <cassert>
#include <iostream>
void call(int n) {
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
std::cout << " " << i;
continue;
}
int digit = i;
while (digit != 0) {
if (digit % 10 == 3) {
std::cout << " " << i;
break;
}
... | [
"identifier.change",
"expression.operation.binary.change"
] | 203,715 | 203,716 | u967356771 | cpp |
p02406 | #include <stdio.h>
void call(int n) {
for (int i = 1; i <= n; i++) {
int x = 3;
if (x % 3 == 0) {
printf(" %d", i);
continue;
}
do {
if (x % 10 == 3) {
printf(" %d", i);
break;
}
x /= 10;
} while (x);
}
printf("\n");
}
int main() {
int n;
sca... | #include <stdio.h>
void call(int n) {
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
printf(" %d", i);
continue;
}
do {
if (x % 10 == 3) {
printf(" %d", i);
break;
}
x /= 10;
} while (x);
}
printf("\n");
}
int main() {
int n;
sca... | [
"variable_declaration.value.change",
"identifier.replace.add",
"literal.replace.remove"
] | 203,721 | 203,722 | u764707670 | cpp |
p02406 | #include <algorithm>
#include <cctype>
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
int x = i;
if (i % 3 == 0)
cout << " " << i;
else {
while (x >= 10) {
if (x / 10 == 3... | #include <algorithm>
#include <cctype>
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
/*void call(int n){
int i = 1;
CHECK_NUM:
int x = i;
if ( x % 3 == 0 ){
cout << " " << i;
goto END_CHECK_NUM;
}
INCLUDE3:
if ( x % 10 == 3 ){
cout << " " << i;
... | [
"control_flow.break.add"
] | 203,723 | 203,724 | u746860079 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n, i, buf;
cin >> n;
for (i = 1; i <= n; i++) {
buf = i;
if (i % 3 == 0) {
cout << " " << i;
} else {
while (buf != 0) {
if (buf % 10 == 3) {
cout << " " << i;
}
buf /= 10;
}
}
}
co... | #include <iostream>
using namespace std;
int main() {
int n, i, buf;
cin >> n;
for (i = 1; i <= n; i++) {
buf = i;
if (i % 3 == 0) {
cout << " " << i;
} else {
while (buf != 0) {
if (buf % 10 == 3) {
cout << " " << i;
break;
}
buf /= 10;
... | [
"control_flow.break.add"
] | 203,729 | 203,730 | u552648582 | cpp |
p02406 | // include----------------------------------------------------------------------------------------------------------------------
#include <bits/stdc++.h>
// using
// namespace--------------------------------------------------------------------------------------------------------------
using namespace std;
// define---... | // include----------------------------------------------------------------------------------------------------------------------
#include <bits/stdc++.h>
// using
// namespace--------------------------------------------------------------------------------------------------------------
using namespace std;
// define---... | [
"expression.operation.binary.remove"
] | 203,731 | 203,732 | u145643522 | cpp |
p02406 | // include----------------------------------------------------------------------------------------------------------------------
#include <bits/stdc++.h>
// using
// namespace--------------------------------------------------------------------------------------------------------------
using namespace std;
// define---... | // include----------------------------------------------------------------------------------------------------------------------
#include <bits/stdc++.h>
// using
// namespace--------------------------------------------------------------------------------------------------------------
using namespace std;
// define---... | [
"expression.operation.binary.remove"
] | 203,733 | 203,732 | u145643522 | cpp |
p02406 | #include <iostream>
using namespace std;
bool isInclude3(int n) {
while (n) {
if (n % 10 == 3)
return true;
n /= 10;
}
return false;
}
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0 || isInclude3(n))
cout << " " << i;
}
return 0;
} | #include <iostream>
using namespace std;
bool isInclude3(int n) {
while (n) {
if (n % 10 == 3)
return true;
n /= 10;
}
return false;
}
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0 || isInclude3(i))
cout << " " << i;
}
cout << endl;
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 203,734 | 203,735 | u324171823 | cpp |
p02406 | #include <iostream>
using namespace std;
bool isInclude3(int n) {
while (n) {
if (n % 10 == 3)
return true;
n /= 10;
}
return false;
}
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0 || isInclude3(n))
cout << " " << i;
}
cout << endl;
return 0;
} | #include <iostream>
using namespace std;
bool isInclude3(int n) {
while (n) {
if (n % 10 == 3)
return true;
n /= 10;
}
return false;
}
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0 || isInclude3(i))
cout << " " << i;
}
cout << endl;
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 203,736 | 203,735 | u324171823 | cpp |
p02406 | #include <iostream>
int main() {
int n;
std::cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0) {
std::cout << " " << i;
} else {
int x = i;
do {
if (x % 10 == 3) {
std::cout << " " << x;
}
} while (x /= 10);
}
}
std::cout << std::endl;
ret... | #include <iostream>
int main() {
int n;
std::cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0) {
std::cout << " " << i;
} else {
int x = i;
do {
if (x % 10 == 3) {
std::cout << " " << i;
break;
}
} while (x /= 10);
}
}
std::cout <<... | [
"identifier.change",
"expression.operation.binary.change"
] | 203,739 | 203,740 | u491970714 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (i % 3 == 0) {
cout << " " << i;
} else if (i % 10 == 3) {
cout << " " << i;
} else {
x /= 10;
while (x > 0) {
if (i % 10 == 3) {
cout << "... | #include <iostream>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else if (x % 10 == 3) {
cout << " " << i;
} else {
x /= 10;
while (x) {
if (x % 10 == 3) {
cout << " " <... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 203,745 | 203,746 | u972048028 | cpp |
p02406 | #include <cstdio>
using namespace std;
int main(void) {
int i, n, x;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0)
printf(" %d", i);
else {
do {
if (x % 10 == 3)
printf(" %d", i);
x /= 10;
} while (x);
}
}
printf("\n");
ret... | #include <cstdio>
using namespace std;
int main(void) {
int i, n, x;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0)
printf(" %d", i);
else {
do {
if (x % 10 == 3) {
printf(" %d", i);
break;
}
x /= 10;
} while (x);
... | [
"control_flow.break.add"
] | 203,748 | 203,749 | u659086853 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
for (; x == 1; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
}
}
}
cout << endl;
return 0;
... | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
for (; x > 0; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
}
}
cout << endl... | [
"control_flow.loop.for.condition.change"
] | 203,750 | 203,751 | u017272236 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
for (; x > 10; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
}
}
}
cout << endl;
return 0;
... | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
for (; x > 0; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
}
}
cout << endl... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 203,752 | 203,751 | u017272236 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
for (; x > 0; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
}
}
}
cout << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
for (; x > 0; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
}
}
cout << endl... | [
"control_flow.break.add"
] | 203,753 | 203,751 | u017272236 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (true) {
if (x % 10 == 3) {
cout << " " << i;
}
x /= 10;
if (x) {
} else {
... | #include <iostream>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (true) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
if (x) {
... | [
"control_flow.break.add"
] | 203,754 | 203,755 | u764363131 | cpp |
p02406 | #include <iostream>
using namespace std;
void call(int n) {
int i;
for (i = 1; i < n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
for (; x; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
}
}
cout << endl;
}
int main() ... | #include <iostream>
using namespace std;
void call(int n) {
int i;
for (i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
for (; x; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
}
}
cout << endl;
}
int main()... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 203,757 | 203,758 | u251148376 | cpp |
p02406 | #include <iostream>
using namespace std;
void call(int n) {
int i;
for (i = 1; i < n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
for (; x; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
}
}
cout << n << endl;
}
int ma... | #include <iostream>
using namespace std;
void call(int n) {
int i;
for (i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
for (; x; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
}
}
cout << endl;
}
int main()... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 203,759 | 203,758 | u251148376 | cpp |
p02406 | #include <iostream>
using namespace std;
bool Include3(int n) {
if (n % 10 == 3) {
return true;
}
n /= 10;
if (n) {
Include3(n);
}
return false;
}
void CheckNum(int n) {
if (n % 3 == 0) {
cout << " " << n;
}
if (n > 9) {
if (Include3(n)) {
cout << " " << n;
}
}
}
int main... | #include <iostream>
using namespace std;
bool Include3(int n) {
if (n % 10 == 3) {
return true;
}
n /= 10;
if (n) {
return Include3(n);
}
return false;
}
void CheckNum(int n) {
if (n % 3 == 0) {
cout << " " << n;
return;
}
if (n > 9) {
if (Include3(n)) {
cout << " " << n;
... | [
"control_flow.return.add"
] | 203,764 | 203,765 | u080308822 | cpp |
p02406 | #include <iostream>
using namespace std;
bool Include3(int n) {
if (n % 10 == 3) {
return true;
}
n /= 10;
if (n) {
return Include3(n);
}
return false;
}
void CheckNum(int n) {
if (n % 3 == 0) {
cout << " " << n;
}
if (n > 9) {
if (Include3(n)) {
cout << " " << n;
}
}
}
i... | #include <iostream>
using namespace std;
bool Include3(int n) {
if (n % 10 == 3) {
return true;
}
n /= 10;
if (n) {
return Include3(n);
}
return false;
}
void CheckNum(int n) {
if (n % 3 == 0) {
cout << " " << n;
return;
}
if (n > 9) {
if (Include3(n)) {
cout << " " << n;
... | [
"control_flow.return.add"
] | 203,766 | 203,765 | u080308822 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n;
int i;
cin >> n;
i = 1;
do {
int x = i;
if (0 == x % 3) {
cout << " " << i;
} else {
do {
if (3 == x % 10) {
cout << " " << i;
}
x /= 10;
} while (0 != x);
}
} while (++i <= n... | #include <iostream>
using namespace std;
int main() {
int n;
int i;
cin >> n;
i = 1;
do {
int x = i;
if (0 == x % 3) {
cout << " " << i;
} else {
do {
if (3 == x % 10) {
cout << " " << i;
break;
}
x /= 10;
} while (0 != x);
}
... | [
"control_flow.break.add"
] | 203,767 | 203,768 | u604774382 | cpp |
p02406 | #include <iostream>
using namespace std;
void call(int n) {
int i, x;
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else if (x % 10 == 3) {
cout << " " << i;
} else {
while (x /= 10) {
if (x % 10 == 3)
cout << " " << i;
}
}
}... | #include <iostream>
using namespace std;
void call(int n) {
int i, x;
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else if (x % 10 == 3) {
cout << " " << i;
} else {
while (x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
break... | [
"control_flow.break.add"
] | 203,771 | 203,772 | u660367323 | cpp |
p02406 | #include <iostream>
using namespace std;
int call(int n) {
int x;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x) {
if (x % 10 == 3) {
cout << " " << i;
}
x /= 10;
}
}
}
cout << endl;
return 0;
}... | #include <iostream>
using namespace std;
int call(int n) {
int x;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
}
}
cout << en... | [
"control_flow.break.add"
] | 203,775 | 203,776 | u049242937 | cpp |
p02406 | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
if ((i % 3) == 0 || (i % 10) == 3)
cout << " " << i;
else {
for (x = i; x > 0; x /= 10) {
if ((x % 10) == 3)
cout << " " << i;
... | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
if ((i % 3) == 0 || (i % 10) == 3)
cout << " " << i;
else {
for (x = i; x > 0; x /= 10) {
if ((x % 10) == 3) {
cout << " " << i;
... | [
"control_flow.break.add"
] | 203,777 | 203,778 | u004641776 | cpp |
p02406 | // ITP1_5_D
#include <iostream>
using namespace std;
int main() {
int i, x, n;
cin >> n;
for (i = 1; i <= n; i++) {
if (0 == i % 3)
cout << " " << i;
else
for (x = i; x != 0; x /= 10) {
if (3 == x % 10)
cout << " " << i;
}
}
cout << endl;
return 0;
} | // ITP1_5_D
#include <iostream>
using namespace std;
int main() {
int i, x, n;
cin >> n;
for (i = 1; i <= n; i++) {
if (0 == i % 3)
cout << " " << i;
else
for (x = i; x != 0; x /= 10) {
if (3 == x % 10) {
cout << " " << i;
break;
}
}
}
cout << en... | [
"control_flow.break.add"
] | 203,779 | 203,780 | u399801521 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int i, n, x;
cin >> n;
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << ' ' << i;
continue;
}
if (x % 10 == 3) {
cout << ' ' << i;
continue;
}
for (x /= 10; x > 0; x /= 10) {
if (x % 10 == 3) {... | #include <iostream>
using namespace std;
int main() {
int i, n, x;
cin >> n;
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << ' ' << i;
continue;
}
if (x % 10 == 3) {
cout << ' ' << i;
continue;
}
for (x /= 10; x > 0; x /= 10) {
if (x % 10 == 3) {... | [
"control_flow.continue.remove",
"control_flow.break.add"
] | 203,781 | 203,782 | u625204421 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int i, n, x;
cin >> n;
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << ' ' << i;
continue;
}
if (x % 10 == 3) {
cout << ' ' << i;
continue;
}
for (x /= 10; x > 10; x /= 10) {
if (x % 10 == 3) ... | #include <iostream>
using namespace std;
int main() {
int i, n, x;
cin >> n;
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << ' ' << i;
continue;
}
if (x % 10 == 3) {
cout << ' ' << i;
continue;
}
for (x /= 10; x > 0; x /= 10) {
if (x % 10 == 3) {... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"control_flow.continue.remove",
"control_flow.break.add"
] | 203,783 | 203,782 | u625204421 | cpp |
p02406 | #include <stdio.h>
int main(void) {
int x, n;
scanf("%d", &n);
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
printf(" %d", x);
continue;
}
do {
if (x % 10 == 3) {
printf(" %d", x);
break;
}
x /= 10;
} while (x);
}
printf("\n");
re... | #include <stdio.h>
int main(void) {
int x, n;
scanf("%d", &n);
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
printf(" %d", i);
continue;
}
do {
if (x % 10 == 3) {
printf(" %d", i);
break;
}
x /= 10;
} while (x);
}
printf("\n");
re... | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 203,788 | 203,789 | u182576515 | cpp |
p02406 | #include <iostream>
int n;
int main() {
std::cin >> n;
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
std::cout << " " << i;
} else
for (int j = i; j > 0; j /= 10) {
if (j % 10 == 3) {
std::cout << " " << j;
}
}
}
std::cout << std::endl;
return 0;
} | #include <iostream>
int n;
int main() {
std::cin >> n;
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
std::cout << " " << i;
} else
for (int j = i; j > 0; j /= 10) {
if (j % 10 == 3) {
std::cout << " " << i;
break;
}
}
}
std::cout << std::endl;
r... | [
"identifier.change",
"expression.operation.binary.change"
] | 203,794 | 203,795 | u368840743 | cpp |
p02406 | #include <iostream>
int n;
int main() {
std::cin >> n;
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
std::cout << " " << i;
} else
for (int j = i; j > 0; j /= 10) {
if (j % 10 == 3) {
std::cout << " " << j;
break;
}
}
}
std::cout << std::endl;
r... | #include <iostream>
int n;
int main() {
std::cin >> n;
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
std::cout << " " << i;
} else
for (int j = i; j > 0; j /= 10) {
if (j % 10 == 3) {
std::cout << " " << i;
break;
}
}
}
std::cout << std::endl;
r... | [
"identifier.change",
"expression.operation.binary.change"
] | 203,796 | 203,795 | u368840743 | cpp |
p02406 | //
// main.cpp
// ITP1_5-D
//
// Created by ?????¶??? on 15/8/14.
// Copyright (c) 2015??´ ?????¶???. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
int main(int argc, const char *argv[]) {
int num;
cin >> num;
for (int i = 1; i <= num; i++) {
if (i % 3 == 0) {
... | //
// main.cpp
// ITP1_5-D
//
// Created by ?????¶??? on 15/8/14.
// Copyright (c) 2015??´ ?????¶???. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
int main(int argc, const char *argv[]) {
int num;
cin >> num;
for (int i = 1; i <= num; i++) {
if (i % 3 == 0) {
... | [
"control_flow.break.add"
] | 203,797 | 203,798 | u759763199 | cpp |
p02406 | #include <iostream>
using namespace std;
int main(int argc, const char *argv[]) {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
do {
if (x % 10 == 3) {
cout << " " << i;
}
x /= 10;
} while (x... | #include <iostream>
using namespace std;
int main(int argc, const char *argv[]) {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
do {
if (x % 10 == 3) {
cout << " " << i;
break;
} else {
... | [
"control_flow.branch.else.add"
] | 203,799 | 203,800 | u528403944 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i < n + 1; i++) {
if (i % 3 == 0)
cout << " " << i;
else if (i % 10 == 3)
cout << " " << i;
else
for (x = i; x != 0; x /= 10) {
if (x == 3) {
cout << " " << i;
break... | #include <iostream>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i < n + 1; i++) {
if (i % 3 == 0)
cout << " " << i;
else if (i % 10 == 3)
cout << " " << i;
else {
for (x = i; x != 0; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 203,807 | 203,808 | u064467943 | cpp |
p02406 | #include <cstdio>
#include <iostream>
using namespace std;
void call(int n) {
for (int i = 1; i <= n; ++i) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
do {
if (x % 10 == 3) {
cout << " " << i;
}
x /= 10;
} while (x);
}
}
cout << ... | #include <cstdio>
#include <iostream>
using namespace std;
void call(int n) {
for (int i = 1; i <= n; ++i) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
do {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
} while (x);
... | [
"control_flow.break.add"
] | 203,809 | 203,810 | u036277779 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0)
cout << " " << i;
int x = i;
while (1) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
if (x == 0)
break;
}
}
c... | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0)
cout << " " << i;
else {
int x = i;
while (1) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
if (x == 0)
... | [
"control_flow.branch.else.add"
] | 203,813 | 203,814 | u799949149 | cpp |
p02406 | #include <iostream>
void call(int n) {
int x;
for (int i = 1; i <= n; i++) {
x = i;
// check 3no baisuu
if (x % 3 == 0) {
std::cout << " " << i;
}
else {
// check include 3
for (; x != 0; x /= 10) {
if (x % 10 == 3) {
std::cout << " " << i;
}
... | #include <iostream>
void call(int n) {
int x;
for (int i = 1; i <= n; i++) {
x = i;
// check 3no baisuu
if (x % 3 == 0) {
std::cout << " " << i;
}
else {
// check include 3
for (; x != 0; x /= 10) {
if (x % 10 == 3) {
std::cout << " " << i;
break... | [
"control_flow.break.add"
] | 203,815 | 203,816 | u630615728 | cpp |
p02406 | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int n, i = 1, x = 0;
cin >> n;
while (i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x) {
if (x % 10 == 3) {
cout << " " << i;
}
x /= 10;
}
}
i++;... | #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int n, i = 1, x = 0;
cin >> n;
while (i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
... | [
"control_flow.break.add"
] | 203,819 | 203,820 | u905165344 | cpp |
p02406 | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define rep(i, a) REP(i, 0, a)
#define REP(i, a, b) for (int i = a; i < b; ++i)
t... | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define rep(i, a) REP(i, 0, a)
#define REP(i, a, b) for (int i = a; i < b; ++i)
t... | [
"control_flow.break.add"
] | 203,823 | 203,824 | u426260581 | cpp |
p02406 | #include <stdio.h>
int main(int argc, char const *argv[]) {
int i, n;
scanf("%d", &n);
for (i = 3; i <= n; i++) {
if (i % 3 == 0) {
printf(" %d", i);
} else {
int temp = i;
do {
if (temp == 3) {
printf(" %d", i);
break;
}
temp /= 10;
} ... | #include <stdio.h>
int main(int argc, char const *argv[]) {
int i, n;
scanf("%d", &n);
for (i = 3; i <= n; i++) {
if (i % 3 == 0) {
printf(" %d", i);
} else {
int temp = i;
do {
if (temp % 10 == 3) {
printf(" %d", i);
break;
}
temp /= 10;
... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 203,825 | 203,826 | u000228958 | cpp |
p02406 | #include <algorithm>
#include <climits>
#include <cstring>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
void call(int n) {
for (int i = 1; i <= n; ++i) {
int x = i;
if (x % 3 == 0) {
cout << " " << x;
} else {
while (x) {
if (x % 10 == 3)... | #include <algorithm>
#include <climits>
#include <cstring>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
void call(int n) {
for (int i = 1; i <= n; ++i) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x) {
if (x % 10 == 3)... | [
"identifier.change",
"io.output.change"
] | 203,827 | 203,828 | u703196441 | cpp |
p02406 | #include <algorithm>
#include <climits>
#include <cstring>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
void call(int n) {
for (int i = 1; i <= n; ++i) {
int x = i;
if (x % 3 == 0) {
cout << " " << x;
} else {
while (x) {
if (x % 10 == 3)... | #include <algorithm>
#include <climits>
#include <cstring>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
void call(int n) {
for (int i = 1; i <= n; ++i) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x) {
if (x % 10 == 3)... | [
"identifier.change",
"io.output.change"
] | 203,829 | 203,828 | u703196441 | cpp |
p02406 | #include <iostream>
using namespace std;
int main(void) {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else
while (x) {
if (x % 10 == 3) {
cout << " " << i;
}
x /= 10;
}
}
cout << endl;
} | #include <iostream>
using namespace std;
int main(void) {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else
while (x) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
}
cou... | [
"control_flow.break.add"
] | 203,830 | 203,831 | u719874053 | cpp |
p02406 | #include <iostream>
using namespace std;
void check_num(int i) {
int x = i;
if (x % 3 == 0 || x % 10 == 3) {
cout << ' ' << i;
} else {
do {
x /= 10;
if (x) {
if (x % 10 == 3)
cout << ' ' << i;
break;
}
} while (x);
}
}
int main() {
int n, i = 1;
cin ... | #include <iostream>
using namespace std;
void check_num(int i) {
int x = i;
if (x % 3 == 0 || x % 10 == 3) {
cout << ' ' << i;
} else {
do {
x /= 10;
if (x && x % 10 == 3) {
cout << ' ' << i;
break;
}
} while (x);
}
}
int main() {
int n, i = 1;
cin >> n;
for ... | [
"control_flow.branch.if.condition.change"
] | 203,834 | 203,835 | u823517752 | cpp |
p02406 | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <string>
#define rep(i, start, n) for (int i = start; i < n; i++)
#define And &&
#define Or ||
#define Lb cout << endl
using namespace std;
int main() {
int n;
cin >> n;
rep(i, 1, n + 1) {
int x = i;
... | #define _USE_MATH_DEFINES
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <string>
#define rep(i, start, n) for (int i = start; i < n; i++)
#define And &&
#define Or ||
#define Lb cout << endl
using namespace std;
int main() {
int n;
cin >> n;
rep(i, 1, n + 1) {
int x = i;
... | [
"control_flow.break.add"
] | 203,839 | 203,840 | u267238909 | cpp |
p02406 | #include <iostream>
using namespace std;
void call(int n) {
for (int i = 1; i <= n; i++) {
if (i % 3 == 0 || i % 10 == 3) {
cout << " " << i;
} else {
int x = i;
while (x >= 10) {
x /= 10;
if (x % 10 == 3)
cout << " " << i;
}
}
}
cout << endl;
}
int ... | #include <iostream>
using namespace std;
void call(int n) {
for (int i = 1; i <= n; i++) {
if (i % 3 == 0 || i % 10 == 3) {
cout << " " << i;
} else {
int x = i;
while (x >= 10) {
x /= 10;
if (x % 10 == 3) {
cout << " " << i;
break;
}
}
... | [
"control_flow.break.add"
] | 203,841 | 203,842 | u851513436 | cpp |
p02406 | #include <cstdio>
int main() {
int n;
scanf("%d", &n);
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0 || i % 10 == 3)
printf(" %d", i);
else {
int x = i;
while (x) {
x /= 10;
if (i % 10 == 3) {
printf(" %d", i);
break;
}
}
}
}
p... | #include <cstdio>
int main() {
int n;
scanf("%d", &n);
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0 || i % 10 == 3)
printf(" %d", i);
else {
int x = i;
while (x) {
x /= 10;
if (x % 10 == 3) {
printf(" %d", i);
break;
}
}
}
}
p... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 203,843 | 203,844 | u472197678 | cpp |
p02406 | // x??????????????°??§????????¨??????????????????
//????????????????????????????????´??°???????????¨??????????????????
//????????????????????????
#include <iostream>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
while (1) {
if (x % 3 == 0) {
co... | // x??????????????°??§????????¨??????????????????
//????????????????????????????????´??°???????????¨??????????????????
//????????????????????????
#include <iostream>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
while (1) {
if (x % 3 == 0) {
co... | [] | 203,847 | 203,846 | u218520956 | cpp |
p02406 | #include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
#define CI cin >>
#define CO cout <<
#define E << endl;
using namespace std;
void call(int n) {
int i = 1;
int x = i;
while (1) {
if (x % 3 == 0) {
CO " " << i;
} else {
if (x % 10 == 3) {
... | #include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
#define CI cin >>
#define CO cout <<
#define E << endl;
using namespace std;
void call(int n) {
int i = 1;
int x = i;
while (1) {
if (x % 3 == 0) {
CO " " << i;
} else {
if (x % 10 == 3) {
... | [
"control_flow.branch.else.add"
] | 203,848 | 203,849 | u017136598 | cpp |
p02406 | #include <cstdio>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
#include <vector>
using namespace std;
void solve() {
int n;
cin >> n;
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
cout << " " << i;
}
int x = i;
while (x) {
if (x % 10 == 3) {
cout << " " ... | #include <cstdio>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
#include <vector>
using namespace std;
void solve() {
int n;
cin >> n;
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
cout << " " << i;
continue;
}
int x = i;
while (x) {
if (x % 10 == 3) {
... | [
"control_flow.break.add"
] | 203,850 | 203,851 | u285015144 | cpp |
p02406 | #include <cstdio>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
#include <vector>
using namespace std;
void solve() {
int n;
cin >> n;
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
cout << " " << i;
continue;
}
int x = i;
while (x) {
if (x % 10 == 3) {
... | #include <cstdio>
#include <iostream>
#define _USE_MATH_DEFINES
#include <math.h>
#include <vector>
using namespace std;
void solve() {
int n;
cin >> n;
for (int i = 1; i <= n; ++i) {
if (i % 3 == 0) {
cout << " " << i;
continue;
}
int x = i;
while (x) {
if (x % 10 == 3) {
... | [
"control_flow.break.add"
] | 203,852 | 203,851 | u285015144 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; ++i) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
if (x % 10 == 0) {
cout << " " << i;
continue;
}
x /= 10;
for (;;) {
if (x) {
if (x %... | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; ++i) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
if (x % 10 == 3) {
cout << " " << i;
continue;
}
x /= 10;
for (;;) {
if (x) {
if (x %... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 203,853 | 203,854 | u580607517 | cpp |
p02406 | #include <cmath>
#include <iostream>
using namespace std;
void nabeatsu(int n);
int main() {
int n;
cin >> n;
nabeatsu(n);
}
void nabeatsu(int n) {
for (int i = 1; i <= n; ++i) {
int x = i;
if (!(x % 3)) {
cout << " " << i;
} else {
do {
if (x % 10 == 3)
cout << " ... | #include <cmath>
#include <iostream>
using namespace std;
void nabeatsu(int n);
int main() {
int n;
cin >> n;
nabeatsu(n);
}
void nabeatsu(int n) {
for (int i = 1; i <= n; ++i) {
int x = i;
if (!(x % 3)) {
cout << " " << i;
} else {
do {
if (x % 10 == 3) {
cout << ... | [
"control_flow.break.add"
] | 203,858 | 203,859 | u652295168 | cpp |
p02406 | #include <iostream>
using namespace std;
int main(void) {
int n, x, i = 1;
cin >> n;
while (i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else
while (x > 10) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
i++;
}... | #include <iostream>
using namespace std;
int main(void) {
int n, x, i = 1;
cin >> n;
while (i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else
while (x > 1) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
i++;
}
... | [
"literal.number.change",
"control_flow.loop.condition.change"
] | 203,860 | 203,861 | u994113796 | cpp |
p02406 | #include <iostream>
using namespace std;
void call(int n) {
int i;
for (i = 1; i <= n; i++) {
int tmp = i;
if (tmp % 3 == 0)
cout << ' ' << i;
else
for (; tmp; tmp /= 10)
if (tmp % 10 == 3)
cout << ' ' << i;
}
cout << endl;
}
int main() {
int n;
cin >> n;
call(n... | #include <iostream>
using namespace std;
void call(int n) {
int i;
for (i = 1; i <= n; i++) {
int tmp = i;
if (tmp % 3 == 0)
cout << ' ' << i;
else
for (; tmp; tmp /= 10)
if (tmp % 10 == 3) {
cout << ' ' << i;
break;
}
}
cout << endl;
}
int main() {
... | [
"control_flow.break.add"
] | 203,862 | 203,863 | u856983407 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n, x, y;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
if (x % 10 == 3) {
cout << " " << i;
continue;
}
for (x; x > 1; x /= 10) {
if (x == 3) {
... | #include <iostream>
using namespace std;
int main() {
int n, x, y;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
continue;
}
if (x % 10 == 3) {
cout << " " << i;
continue;
}
for (x; x > 1; x /= 10) {
if (x % 10 == 3) {
... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 203,864 | 203,865 | u055040191 | cpp |
p02406 | #include <bits/stdc++.h>
#define range(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, b) range(i, 0, b)
#define debug(x) cout << "debug" << x << endl;
using namespace std;
int main() {
int n;
while (cin >> n) {
range(i, 1, n + 1) {
int x = i;
if (x % 3 == 0)
cout << " " << x;
... | #include <bits/stdc++.h>
#define range(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, b) range(i, 0, b)
#define debug(x) cout << "debug" << x << endl;
using namespace std;
int main() {
int n;
while (cin >> n) {
range(i, 1, n + 1) {
int x = i;
if (x % 3 == 0)
cout << " " << x;
... | [
"identifier.change",
"io.output.change"
] | 203,870 | 203,871 | u452212317 | cpp |
p02406 | #include <iostream>
#include <vector>
int main() {
int n;
std::cin >> n;
std::vector<int> vec(n);
for (int i = 0; i <= vec.size(); i++) {
if (i % 3 == 0) {
std::cout << " " << i;
continue;
}
int j = i;
while (j > 0) {
if (j % 10 == 3) {
std::cout << " " << i;
... | #include <iostream>
#include <vector>
int main() {
int n;
std::cin >> n;
std::vector<int> vec(n);
for (int i = 1; i <= vec.size(); i++) {
if (i % 3 == 0) {
std::cout << " " << i;
continue;
}
int j = i;
while (j > 0) {
if (j % 10 == 3) {
std::cout << " " << i;
... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 203,872 | 203,873 | u615080706 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n;
int i = 1;
int x;
cin >> n;
while (i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else if (x % 10 == 3) {
cout << " " << i;
} else {
x /= 10;
while (x) {
if (x % 10 == 3) {
cout <... | #include <iostream>
using namespace std;
int main() {
int n;
int i = 1;
int x;
cin >> n;
while (i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else if (x % 10 == 3) {
cout << " " << i;
} else {
x /= 10;
while (x) {
if (x % 10 == 3) {
cout <... | [
"control_flow.break.add"
] | 203,875 | 203,876 | u978168830 | cpp |
p02406 | #include <stdio.h>
int main(void) {
int i, n, x;
scanf("%d", &n);
for (i = 0; i < n; ++i) {
x = i + 1;
if (x % 3 == 0) {
printf(" %d", i);
} else {
while (x) {
if (x % 10 == 3) {
printf(" %d", i);
}
x /= 10;
}
}
}
putchar('\n');
} | #include <stdio.h>
int main(void) {
int i, n, x;
scanf("%d", &n);
for (i = 0; i < n; ++i) {
x = i + 1;
if (x % 3 == 0) {
printf(" %d", i + 1);
} else {
while (x) {
if (x % 10 == 3) {
printf(" %d", i + 1);
break;
}
x /= 10;
}
}
}
put... | [
"expression.operation.binary.add",
"control_flow.break.add"
] | 203,877 | 203,878 | u008057082 | cpp |
p02406 | #include <stdio.h>
int main(void) {
int i, n, x;
scanf("%d", &n);
for (i = 0; i < n; ++i) {
x = i + 1;
if (x % 3 == 0) {
printf(" %d", i + 1);
} else {
while (x) {
if (x % 10 == 3) {
printf(" %d", i + 1);
}
x /= 10;
}
}
}
putchar('\n');
} | #include <stdio.h>
int main(void) {
int i, n, x;
scanf("%d", &n);
for (i = 0; i < n; ++i) {
x = i + 1;
if (x % 3 == 0) {
printf(" %d", i + 1);
} else {
while (x) {
if (x % 10 == 3) {
printf(" %d", i + 1);
break;
}
x /= 10;
}
}
}
put... | [
"control_flow.break.add"
] | 203,879 | 203,878 | u008057082 | cpp |
p02406 | #include <iostream>
#include <string>
using namespace std;
bool judge1(int x);
bool judge2(int x);
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (judge1(x) || judge2(x)) {
cout << " " << i;
continue;
}
while (x) {
x /= 10;
if (judge2(x)) {
... | #include <iostream>
#include <string>
using namespace std;
bool judge1(int x);
bool judge2(int x);
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (judge1(x) || judge2(x)) {
cout << " " << i;
continue;
}
while (x) {
x /= 10;
if (judge2(x)) {
... | [
"control_flow.break.add"
] | 203,880 | 203,881 | u101721273 | cpp |
p02406 | #include <stdio.h>
using namespace std;
int main(void) {
int n, x;
scanf("%d", &n);
for (int i = 1; i <= n; ++i) {
x = i;
if (x % 3 == 0) {
printf(" %d", i);
} else {
do {
if (x % 10 == 3) {
printf(" %d", i);
}
x = x / 10;
} while (x);
}
}
p... | #include <stdio.h>
using namespace std;
int main(void) {
int n, x;
scanf("%d", &n);
for (int i = 1; i <= n; ++i) {
x = i;
if (x % 3 == 0) {
printf(" %d", i);
} else {
do {
if (x % 10 == 3) {
printf(" %d", i);
break;
}
x = x / 10;
} while (... | [
"control_flow.break.add"
] | 203,884 | 203,885 | u245508807 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i < n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
x = 0;
}
while (x) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
}
cout << end... | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
x = 0;
}
while (x) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
}
cout << en... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 203,888 | 203,889 | u920406124 | cpp |
p02406 | #include <stdio.h>
int main() {
int i, n, x;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
x = i;
if (i % 3 == 0) {
printf(" %d", i);
continue;
}
while (x != 0) {
if (x % 10 == 3) {
printf(" %d", i);
}
x = x / 10;
}
}
printf("\n");
return 0;
} | #include <stdio.h>
int main() {
int i, n, x;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
x = i;
if (i % 3 == 0) {
printf(" %d", i);
continue;
}
while (x != 0) {
if (x % 10 == 3) {
printf(" %d", i);
break;
}
x = x / 10;
}
}
printf("\n");
retur... | [
"control_flow.break.add"
] | 203,890 | 203,891 | u784626891 | cpp |
p02406 | #include <iostream>
using namespace std;
void call(int n) {
int i;
for (i = 1; i <= n; i++) {
if (i % 3 == 0 || i % 10 == 0) {
cout << " " << i;
} else {
int x = i;
while (x > 10) {
x /= 10;
if (x % 10 == 3) {
cout << " " << i;
break;
}
}... | #include <iomanip>
#include <iostream>
using namespace std;
void call(int n) {
int i;
for (i = 1; i <= n; i++) {
if (i % 3 == 0 || i % 10 == 3) {
cout << " " << i;
} else {
int x = i;
while (x > 10) {
x /= 10;
if (x % 10 == 3) {
cout << " " << i;
break... | [
"import.add",
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 203,892 | 203,893 | u407273977 | cpp |
p02406 | #include <algorithm>
#include <iostream>
#include <vector>
int main() {
std::ios::sync_with_stdio(false);
std::cin.tie(0);
int n;
std::cin >> n;
for (int i = 1; i < n; ++i) {
bool flag = false;
if (i % 3 == 0)
flag = true;
int x = i;
while (x) {
if (x % 10 == 3) {
flag = ... | #include <algorithm>
#include <iostream>
#include <vector>
int main() {
std::ios::sync_with_stdio(false);
std::cin.tie(0);
int n;
std::cin >> n;
for (int i = 1; i <= n; ++i) {
bool flag = false;
if (i % 3 == 0)
flag = true;
int x = i;
while (x) {
if (x % 10 == 3) {
flag =... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 203,901 | 203,902 | u409125597 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int N;
int temp;
cin >> N;
for (int i = 1; i <= N; i++) {
temp = i;
if (i % 3 == 0) {
cout << " " << i;
} else {
while (temp) {
if (temp % 10 == 3)
cout << " " << i;
temp /= 10;
}
}
}
cout << e... | #include <iostream>
using namespace std;
int main() {
int N;
int temp;
cin >> N;
for (int i = 1; i <= N; i++) {
temp = i;
if (i % 3 == 0) {
cout << " " << i;
} else {
while (temp) {
if (temp % 10 == 3) {
cout << " " << i;
break;
}
temp /= 10;
... | [
"control_flow.break.add"
] | 203,905 | 203,906 | u584505060 | cpp |
p02406 | /*
* ITP1_5_D.cpp
*
* Created on: 2016/05/15
* Author: suna
*/
#include <iostream>
using namespace std;
//??¢??°??????
// 1??????n?????§????????§???3??§?????????????????°???????????????1?????????3??§????????°???????????????
// 3??§?????????????????°??????????????????
void call(int n) {
int x;
for (int... | /*
* ITP1_5_D.cpp
*
* Created on: 2016/05/15
* Author: suna
*/
#include <iostream>
using namespace std;
//??¢??°??????
// 1??????n?????§????????§???3??§?????????????????°???????????????1?????????3??§????????°???????????????
// 3??§?????????????????°??????????????????
void call(int n) {
int x;
for (int... | [
"identifier.change",
"io.output.change"
] | 203,907 | 203,908 | u560211345 | cpp |
p02406 | #include <stdio.h>
int main(void) {
int n, i, k;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
if (i % 3 == 0) {
printf(" %d\n", i);
continue;
} else {
int j = i;
for (k = 10000; k >= 10; k /= 10) {
if (j / k == 3) {
printf(" %d\n", i);
break;
}... | #include <stdio.h>
int main(void) {
int n, i, k;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
if (i % 3 == 0) {
printf(" %d", i);
continue;
} else {
int j = i;
for (k = 10000; k >= 1; k /= 10) {
if (j / k == 3) {
printf(" %d", i);
break;
}
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.remove",
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 203,913 | 203,914 | u470328896 | cpp |
p02406 | #include <stdio.h>
int main(void) {
int n, i, k;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
if (i % 3 == 0) {
printf(" %d", i);
continue;
} else {
int j = i;
for (k = 10000; k >= 10; k /= 10) {
if (j / k == 3) {
printf(" %d", i);
break;
}
... | #include <stdio.h>
int main(void) {
int n, i, k;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
if (i % 3 == 0) {
printf(" %d", i);
continue;
} else {
int j = i;
for (k = 10000; k >= 1; k /= 10) {
if (j / k == 3) {
printf(" %d", i);
break;
}
... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 203,915 | 203,914 | u470328896 | cpp |
p02406 | #include <iostream>
int main() {
int n;
std::cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0) {
std::cout << " " << i;
continue;
} else if (i % 10 == 3) {
std::cout << " " << i;
continue;
}
int a = i / 10;
if (a % 10 == 3) {
std::cout << " " << a;
... | #include <iostream>
int main() {
int n;
std::cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0) {
std::cout << " " << i;
continue;
} else if (i % 10 == 3) {
std::cout << " " << i;
continue;
}
int a = i / 10;
if (a % 10 == 3) {
std::cout << " " << i;
... | [
"identifier.change",
"expression.operation.binary.change"
] | 203,924 | 203,925 | u317873956 | cpp |
p02406 | #include <stdio.h>
int main() {
int n;
scanf("%d", &n);
for (int i = 1; i <= n; i++) {
int x = i;
if (i % 3 == 0)
printf(" %d", i);
else if (i % 10 == 3)
printf(" %d", i);
while (1) {
if (x == 0)
break;
if (x % 10 == 3) {
printf(" %d", i);
break;
... | #include <stdio.h>
int main() {
int n;
scanf("%d", &n);
for (int i = 1; i <= n; i++) {
int x = i;
if (i % 3 == 0)
printf(" %d", i);
else if (i % 10 == 3)
printf(" %d", i);
else {
while (1) {
if (x == 0)
break;
if (x % 10 == 3) {
printf(" %d", ... | [
"control_flow.branch.else.add"
] | 203,926 | 203,927 | u105694406 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0)
cout << " " << i;
else {
while (x) {
if (x % 10 == 3)
cout << " " << i;
x /= 10;
}
}
}
cout << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0)
cout << " " << i;
else {
while (x) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
}
}
cout... | [
"control_flow.break.add"
] | 203,932 | 203,933 | u962476081 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n, i, x;
cin >> n;
for (i = 1; i < n + 1; i++) {
x = i;
if (i % 3 == 0) {
cout << " " << i;
} else {
while (x > 0) {
if (i % 10 == 3) {
cout << " " << i;
break;
} else {
x /= 10;
... | #include <iostream>
using namespace std;
int main() {
int n, i, x;
cin >> n;
for (i = 1; i < n + 1; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x > 0) {
if (x % 10 == 3) {
cout << " " << i;
break;
} else {
x /= 10;
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 203,934 | 203,935 | u890344471 | cpp |
p02406 | #include <iostream>
using namespace std;
int n;
int main() {
cin >> n;
for (int i = 1; i <= n; ++i) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x > 0) {
if (x % 10 == 3) {
cout << " " << i;
}
x = x / 10;
}
}
}
cout << end... | #include <iostream>
using namespace std;
int n;
int main() {
cin >> n;
for (int i = 1; i <= n; ++i) {
int x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x > 0) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x = x / 10;
}
}
... | [
"control_flow.break.add"
] | 203,937 | 203,938 | u667297321 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int i, j, n;
cin >> n;
for (i = 3; i <= n; i++) {
if (i % 3 == 0) {
cout << " " << i;
} else {
for (j = 10; j < n; j *= 10) {
if ((i % j) == 3 || (i / j) == 3) {
cout << " " << i;
}
}
}
}
cout << endl... | #include <iostream>
using namespace std;
int main() {
int i, j, n;
cin >> n;
for (i = 3; i <= n; i++) {
if (i % 3 == 0) {
cout << " " << i;
} else {
for (j = 10; j < i; j *= 10) {
if ((i % j) == 3 || (i / j) % 10 == 3) {
cout << " " << i;
break;
}
}
... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 203,941 | 203,942 | u801535964 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int i, n, x;
i = 1;
cin >> n;
while (i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
for (x = i; x; x /= 10) {
if (x % 10 == 3)
cout << " " << i;
}
}
i++;
}
cout << endl;
return 0;
... | #include <iostream>
using namespace std;
int main() {
int i, n, x;
i = 1;
cin >> n;
while (i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
for (x = i; x; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
}
}
i++;
}... | [
"control_flow.break.add"
] | 203,945 | 203,946 | u971905595 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int i, n, x;
i = 1;
cin >> n;
while (i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
for (x = i; x; x /= 10) {
if (x % 10 == 3)
cout << " " << i;
break;
}
}
i++;
}
cout << end... | #include <iostream>
using namespace std;
int main() {
int i, n, x;
i = 1;
cin >> n;
while (i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
for (x = i; x; x /= 10) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
}
}
i++;
}... | [] | 203,947 | 203,946 | u971905595 | cpp |
p02406 | #include <stdio.h>
int main(void) {
int n, i, x;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0)
printf(" %d", i);
else {
while (x / 10) {
if (x % 10 == 3) {
printf(" %d", i);
break;
}
x /= 10;
}
}
}
putchar('\n')... | #include <stdio.h>
int main(void) {
int n, i, x;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0)
printf(" %d", i);
else {
while (x) {
if (x % 10 == 3) {
printf(" %d", i);
break;
}
x /= 10;
}
}
}
putchar('\n');
r... | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 203,950 | 203,951 | u505651850 | cpp |
p02406 | #include <stdio.h>
int main() { // 1??????n?????§???3????????°??¨3???????????°??????????????????
int n, i, x, j, p, y;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
x = i;
if (i % 3 == 0) {
printf(" %d", i);
continue;
}
for (j = 0;; j++) {
if (x % 10 == 3) {
printf(" %d"... | #include <stdio.h>
int main() { // 1??????n?????§???3????????°??¨3???????????°??????????????????
int n, i, x, j, p, y;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
x = i;
if (i % 3 == 0) {
printf(" %d", i);
continue;
}
for (j = 0;; j++) {
if (x % 10 == 3) {
printf(" %d"... | [
"control_flow.break.add"
] | 203,952 | 203,953 | u409281567 | cpp |
p02406 | #include <iostream>
using namespace std;
void call(int n);
int main(void) {
int n;
cin >> n;
call(n);
return 0;
}
void call(int n) {
for (int i = 1; i <= n; i++) {
if ((i % 3) == 0) {
cout << " " << i;
} else {
int x = i;
while (x) {
if ((x % 10) == 3) {
cout ... | #include <iostream>
using namespace std;
void call(int n);
int main(void) {
int n;
cin >> n;
call(n);
return 0;
}
void call(int n) {
for (int i = 1; i <= n; i++) {
if ((i % 3) == 0) {
cout << " " << i;
} else {
int x = i;
while (x) {
if ((x % 10) == 3) {
cout ... | [
"control_flow.break.add"
] | 203,957 | 203,958 | u686222307 | cpp |
p02406 | #include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 3; i <= n; i++) {
if (i % 3 == 0) {
cout << " " << i;
} else {
ostringstream os;
string s;
os << i;
s = os.str();
for (int j =... | #include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 3; i <= n; i++) {
if (i % 3 == 0) {
cout << " " << i;
} else {
ostringstream os;
string s;
os << i;
s = os.str();
for (int j =... | [
"control_flow.break.add"
] | 203,959 | 203,960 | u854806656 | cpp |
p02406 | #include <iostream>
using namespace std;
int main(void) {
int i, n, x;
cin >> n;
for (i = 1; i < 31; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x != 0) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
}... | #include <iostream>
using namespace std;
int main(void) {
int i, n, x;
cin >> n;
for (i = 1; i < n + 1; i++) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x != 0) {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
}
... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"misc.off_by_one"
] | 203,961 | 203,962 | u904431093 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int input, i = 1, x, n;
cin >> n;
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0)
cout << " " << i;
else {
while (x) {
if (x % 10 == 3)
cout << " " << i;
x /= 10;
}
}
}
cout << "\n";
} | #include <iostream>
using namespace std;
int main() {
int input, i = 1, x, n;
cin >> n;
for (i = 1; i <= n; i++) {
x = i;
if (x % 3 == 0)
cout << " " << i;
else {
while (x) {
if (x % 10 == 3) {
cout << " " << i;
break;
} else
x /= 10;
... | [
"control_flow.branch.else.add"
] | 203,963 | 203,964 | u724565233 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int i, n, x;
cin >> n;
for (i = 3; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << ' ' << i;
break;
}
if (x % 10 == 3) {
cout << ' ' << i;
break;
}
for (x /= 10; x > 0; x /= 10) {
if (x % 10 == 3) {
... | #include <iostream>
using namespace std;
int main() {
int i, n, x;
cin >> n;
for (i = 3; i <= n; i++) {
x = i;
if (x % 3 == 0) {
cout << ' ' << i;
continue;
}
if (x % 10 == 3) {
cout << ' ' << i;
continue;
}
for (x /= 10; x > 0; x /= 10) {
if (x % 10 == 3)... | [
"control_flow.break.remove",
"control_flow.continue.add"
] | 203,970 | 203,971 | u403618837 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int num, x;
cin >> num;
for (int i = 1; i < num; i++) {
x = i;
// 3????????°??§????????°??????
if (x % 3 == 0)
cout << " " << i;
// x???????????????3(10??§?????£????????????3)??§????????°????????????while?????????????¬??????°???
//... | #include <iostream>
using namespace std;
int main() {
int num, x;
cin >> num;
for (int i = 1; i <= num; i++) {
x = i;
// 3????????°??§????????°??????
if (x % 3 == 0)
cout << " " << i;
// x???????????????3(10??§?????£????????????3)??§????????°????????????while?????????????¬??????°???
/... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 203,972 | 203,973 | u104169194 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
long long int n;
cin >> n;
for (long long int i = 1; i <= n; i++) {
if (i % 3 == 0) {
cout << " " << i;
continue;
}
long long int j = i;
while (j) {
if (j % 10 == 3) {
cout << " " << j;
break;
}
... | #include <iostream>
using namespace std;
int main() {
long long int n;
cin >> n;
for (long long int i = 1; i <= n; i++) {
if (i % 3 == 0) {
cout << " " << i;
continue;
}
long long int j = i;
while (j) {
if (j % 10 == 3) {
cout << " " << i;
break;
}
... | [
"identifier.change",
"io.output.change"
] | 203,974 | 203,975 | u346042277 | cpp |
p02406 | #include <iostream>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << x;
} else {
while (x) {
if (x % 10 == 3) {
cout << " " << x;
break;
} else {
x ... | #include <iostream>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
int x = i;
if (x % 3 == 0) {
cout << " " << x;
} else {
while (x) {
if (x % 10 == 3) {
cout << " " << i;
break;
} else {
x ... | [
"identifier.change",
"io.output.change"
] | 203,976 | 203,977 | u364509382 | cpp |
p02406 | #include <stdio.h>
main() {
int n;
int i, j;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
if (i % 3 == 0) {
printf(" %d", i);
} else {
j = i;
while (j > 0) {
if (j % 10 == 3)
printf(" %d", i);
j /= 10;
}
}
}
printf("\n");
} | #include <stdio.h>
main() {
int n;
int i, j;
scanf("%d", &n);
for (i = 1; i <= n; i++) {
if (i % 3 == 0) {
printf(" %d", i);
} else {
j = i;
while (j > 0) {
if (j % 10 == 3) {
printf(" %d", i);
break;
}
j /= 10;
}
}
}
printf("\n... | [
"control_flow.break.add"
] | 203,980 | 203,981 | u217294278 | cpp |
p02406 | #include <iostream>
using namespace std;
void call(int n);
void judge1(int a);
void judge2(int b);
void judge3(int c);
int main() {
int input;
cin >> input;
call(input);
return 0;
}
void call(int n) {
int i;
for (i = 1; i <= n; i++) {
judge1(i);
}
cout << endl;
}
void judge1(int a) {
if (a % 3... | #include <iostream>
using namespace std;
void call(int n);
void judge1(int a);
void judge2(int b);
void judge3(int c);
int main() {
int input;
cin >> input;
call(input);
return 0;
}
void call(int n) {
int i;
for (i = 1; i <= n; i++) {
judge1(i);
}
cout << endl;
}
void judge1(int a) {
if (a % 3... | [
"control_flow.break.add"
] | 203,984 | 203,985 | u974788383 | cpp |
p02406 | #include <iostream>
using namespace std;
void call(int n);
int main() {
int n;
do {
cin >> n;
} while (n < 3 || n > 10000);
call(n);
return (0);
}
void call(int n) {
int i = 1;
int x;
while (++i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x != ... | #include <iostream>
using namespace std;
void call(int n);
int main() {
int n;
do {
cin >> n;
} while (n < 3 || n > 10000);
call(n);
return (0);
}
void call(int n) {
int i = 1;
int x;
while (++i <= n) {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
while (x != ... | [
"control_flow.break.add"
] | 203,988 | 203,989 | u945864238 | cpp |
p02406 | #include <iostream>
using namespace std;
void call(int n) {
int i = 1, x;
do {
x = 1;
if (x % 3 == 0) {
cout << " " << i;
} else {
do {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
} while (x);
}
} while (++i <= n);
cout <<... | #include <iostream>
using namespace std;
void call(int n) {
int i = 1, x;
do {
x = i;
if (x % 3 == 0) {
cout << " " << i;
} else {
do {
if (x % 10 == 3) {
cout << " " << i;
break;
}
x /= 10;
} while (x);
}
} while (++i <= n);
cout <<... | [
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove"
] | 203,997 | 203,998 | u793590364 | cpp |
p02406 | #include <iostream>
using namespace std;
int main() {
int n, j;
cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0) {
cout << ' ' << i;
} else if (i % 10 == 3) {
cout << ' ' << i;
} else {
for (j = i / 10; j > 0; j = j / 10) {
if (j % 10 == 3) {
cout << ' ' << ... | #include <iostream>
using namespace std;
int main() {
int n, j;
cin >> n;
for (int i = 1; i <= n; i++) {
if (i % 3 == 0) {
cout << ' ' << i;
} else if (i % 10 == 3) {
cout << ' ' << i;
} else {
for (j = i / 10; j > 0; j = j / 10) {
if (j % 10 == 3) {
cout << ' ' << ... | [
"control_flow.break.add"
] | 203,999 | 204,000 | u102411741 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.