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 |
|---|---|---|---|---|---|---|---|
p03834 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string a;
cin >> a;
a[5] == ',', a[13] == ',';
cout << a << endl;
return 0;
} | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string a;
cin >> a;
a[5] = ' ', a[13] = ' ';
cout << a << endl;
return 0;
} | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo",
"literal.string.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 1,453,458 | 1,453,457 | u842842118 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s.at(5) == ' ';
s.at(13) == ' ';
cout << s << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s.at(5) = ' ';
s.at(13) = ' ';
cout << s << endl;
}
| [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,453,459 | 1,453,460 | u552201227 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s.at(6) = s.at(14) = ' ';
cout << s << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s.at(5) = s.at(13) = ' ';
cout << s << endl;
} | [
"literal.number.change",
"assignment.variable.change",
"call.arguments.change"
] | 1,453,464 | 1,453,465 | u607465351 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
string s;
for (int i = 0; i < s.size(); i++) {
if (s[i] == ',')
s[i] = ' ';
}
cout << s << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
if (s[i] == ',')
s[i] = ' ';
}
cout << s << endl;
return 0;
}
| [] | 1,453,484 | 1,453,485 | u341488930 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string ans = s;
s.at(5) = ' ';
s.at(13) = ' ';
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string ans = s;
ans.at(5) = ' ';
ans.at(13) = ' ';
cout << ans << endl;
} | [
"assignment.variable.change",
"identifier.change"
] | 1,453,486 | 1,453,487 | u811472478 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, a) for (int i = 0; i < (a); i++)
#define ALL(a) (a).begin(), (a).end()
typedef long long ll;
typedef pair<int, int> P;
const int INF = 1e9;
const int MOD = 1e9 + 7;
signed main() {
string s;
cin >> s;
REP(i, 5) { cout << s[i]; }
cout << " ";
REP(i,... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, a) for (int i = 0; i < (a); i++)
#define ALL(a) (a).begin(), (a).end()
typedef long long ll;
typedef pair<int, int> P;
const int INF = 1e9;
const int MOD = 1e9 + 7;
signed main() {
string s;
cin >> s;
REP(i, 5) { cout << s[i]; }
cout << " ";
REP(i,... | [
"expression.operation.binary.add"
] | 1,453,501 | 1,453,502 | u366398972 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
S.at(5) == ' ';
S.at(13) == ' ';
cout << S << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
S.at(5) = ' ';
S.at(13) = ' ';
cout << S << endl;
} | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,453,508 | 1,453,509 | u983062344 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 5; ++i) {
cout << s[i];
}
cout << " ";
for (int i = 6; i < 7; ++i) {
cout << s[i];
}
cout << " ";
for (int i = 14; i < 5; ++i) {
cout << s[i];
}
cout << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 5; ++i) {
cout << s[i];
}
cout << " ";
for (int i = 6; i < 13; ++i) {
cout << s[i];
}
cout << " ";
for (int i = 14; i < 19; ++i) {
cout << s[i];
}
cout << endl;
return 0;
}
| [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,453,512 | 1,453,513 | u018434698 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
const long long N = 1e8;
int d() {
int ret;
scanf("%d", &ret);
return ret;
}
long long lld() {
long long ret;
scanf("%lld", &ret);
return ret;
}
bool cmp(pair<int, int> s, pair<int, int> f) {
if (f.first > s.first)
return true;
else if (f.first == f.seco... | #include <bits/stdc++.h>
using namespace std;
const long long N = 1e8;
int d() {
int ret;
scanf("%d", &ret);
return ret;
}
long long lld() {
long long ret;
scanf("%lld", &ret);
return ret;
}
bool cmp(pair<int, int> s, pair<int, int> f) {
if (f.first > s.first)
return true;
else if (f.first == f.seco... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"assignment.variable.change"
] | 1,453,535 | 1,453,536 | u085949939 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = s[13] = ',';
cout << s << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = s[13] = ' ';
cout << s << endl;
} | [
"literal.string.change",
"assignment.value.change"
] | 1,453,553 | 1,453,554 | u679366464 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
for (int i = 0; i < s.length(); i++) {
if (i == 4 || i == 13)
cout << ' ';
else
cout << s[i];
}
cout << endl;
} | #include <bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
for (int i = 0; i < s.length(); i++) {
if (i == 5 || i == 13)
cout << ' ';
else
cout << s[i];
}
cout << endl;
}
| [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,453,555 | 1,453,556 | u943070796 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s[6] = s[14] = ' ';
cout << s << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = s[13] = ' ';
cout << s << endl;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,557 | 1,453,558 | u842596864 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s.at(5) = ' ';
s.at(9) = ' ';
cout << s;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s.at(5) = ' ';
s.at(13) = ' ';
cout << s;
} | [
"literal.number.change",
"assignment.variable.change",
"call.arguments.change"
] | 1,453,572 | 1,453,573 | u341447450 | cpp |
p03834 | #include <algorithm>
#include <array>
#include <cfloat>
#include <iostream>
#include <stdio.h>
#include <string.h>
using namespace std;
int main() {
string a;
cin >> a;
a[7] = ' ';
a[15] = ' ';
cout << a;
} | #include <algorithm>
#include <array>
#include <cfloat>
#include <iostream>
#include <stdio.h>
#include <string.h>
using namespace std;
int main() {
string a;
cin >> a;
a[5] = ' ';
a[13] = ' ';
cout << a;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,574 | 1,453,575 | u379928983 | cpp |
p03834 | #include <algorithm>
#include <array>
#include <cfloat>
#include <iostream>
#include <stdio.h>
#include <string.h>
using namespace std;
int main() {
string a;
cin >> a;
a[6] = ' ';
a[14] = ' ';
cout << a;
} | #include <algorithm>
#include <array>
#include <cfloat>
#include <iostream>
#include <stdio.h>
#include <string.h>
using namespace std;
int main() {
string a;
cin >> a;
a[5] = ' ';
a[13] = ' ';
cout << a;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,576 | 1,453,575 | u379928983 | cpp |
p03834 | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = ' ';
s[14] = ' ';
cout << s << "\n";
return 0;
} | #include <cstdio>
#include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = ' ';
s[13] = ' ';
cout << s << "\n";
return 0;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,577 | 1,453,578 | u377547585 | cpp |
p03834 | #include <algorithm>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < (n); i++)
#define FOR(i, a, n) for (int i = (a); i < (n); i++)
using namespace std;
int main() {
string s;
cin >> s;
s[6] = ' ';
... | #include <algorithm>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < (n); i++)
#define FOR(i, a, n) for (int i = (a); i < (n); i++)
using namespace std;
int main() {
string s;
cin >> s;
s[5] = ' ';
... | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,579 | 1,453,580 | u254766083 | cpp |
p03834 | #include <stdio.h>
int main(void) {
char s[20];
scanf("%d", &s);
s[6] = ' ';
s[13] = ' ';
printf("%s\n", s);
return 0;
} | #include <stdio.h>
int main(void) {
char s[20];
scanf("%s", &s);
s[5] = ' ';
s[13] = ' ';
printf("%s\n", s);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,581 | 1,453,582 | u644911355 | cpp |
p03834 | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int comp(const void *a, const void *b) { return *(int *)a - *(int *)b; }
int main() {
string s;
cin >> s;
s[5] = ',';
s[13] = ',';
cout << s << endl;
} | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int comp(const void *a, const void *b) { return *(int *)a - *(int *)b; }
int main() {
string s;
cin >> s;
s[5] = ' ';
s[13] = ' ';
cout << s << endl;
} | [
"literal.string.change",
"assignment.value.change"
] | 1,453,585 | 1,453,586 | u373164102 | cpp |
p03834 | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <regex>
#include <set>
#include <stack>
#include <string>
#inclu... | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <regex>
#include <set>
#include <stack>
#include <string>
#inclu... | [] | 1,453,598 | 1,453,599 | u598050616 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = s[14] = ' ';
cout << s;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = s[13] = ' ';
cout << s;
return 0;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,602 | 1,453,603 | u058348416 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s1;
cin >> s1;
s1.replace(5, 1, " ");
s1.replace(12, 1, " ");
cout << s1;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string s1;
cin >> s1;
s1.replace(5, 1, " ");
s1.replace(13, 1, " ");
cout << s1;
} | [
"literal.number.change",
"call.arguments.change"
] | 1,453,607 | 1,453,608 | u251181305 | cpp |
p03834 | #include <iostream>
using namespace std;
int main() {
char s[25];
cin >> s;
for (int i = 0; i < 21; i++) {
if (i == 5 || i == 13) {
cout << ' ';
} else {
cout << s[i];
}
}
cout << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
char s[25];
cin >> s;
for (int i = 0; i < 19; i++) {
if (i == 5 || i == 13) {
cout << ' ';
} else {
cout << s[i];
}
}
cout << endl;
return 0;
} | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,453,609 | 1,453,610 | u227379863 | cpp |
p03834 | #include <iostream>
using namespace std;
int main() {
char s[22];
cin >> s;
for (int i = 0; i < 21; i++) {
if (i == 5 || i == 13) {
cout << ' ';
} else {
cout << s[i];
}
}
cout << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
char s[25];
cin >> s;
for (int i = 0; i < 19; i++) {
if (i == 5 || i == 13) {
cout << ' ';
} else {
cout << s[i];
}
}
cout << endl;
return 0;
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,453,611 | 1,453,610 | u227379863 | cpp |
p03834 | #include <algorithm>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i... | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,612 | 1,453,613 | u407614884 | cpp |
p03834 | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
s[6] = ' ';
s[14] = ' ';
cout << s << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = s[13] = ' ';
cout << s << endl;
return 0;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change",
"assignment.change"
] | 1,453,622 | 1,453,623 | u341347211 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
cin >> str;
str.at(6) = ' ';
str.at(14) = ' ';
cout << str << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
cin >> str;
str.at(5) = ' ';
str.at(13) = ' ';
cout << str << endl;
}
| [
"literal.number.change",
"assignment.variable.change",
"call.arguments.change"
] | 1,453,624 | 1,453,625 | u912534104 | cpp |
p03834 | // https://atcoder.jp/contests/
#include <iostream>
using namespace std;
int main() {
/* Magic word */
cin.tie(0);
ios::sync_with_stdio(false);
/* ---------- */
string s;
cin >> s;
for (size_t i = 0; i < s.length(); i++) {
if (s[i] == ',')
s[i] == ' ';
}
cout << s << "\n";
return 0;... | // https://atcoder.jp/contests/
#include <iostream>
using namespace std;
int main() {
/* Magic word */
cin.tie(0);
ios::sync_with_stdio(false);
/* ---------- */
string s;
cin >> s;
for (size_t i = 0; i < s.length(); i++) {
if (s[i] == ',')
s[i] = ' ';
}
cout << s << "\n";
return 0;
... | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,453,626 | 1,453,627 | u414220724 | cpp |
p03834 | #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 19; i++) {
if (s[i] == ',')
cout << ' ';
else
cout << s[i];
}
cout << endl;
}
| #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 19; i++) {
if (s[i] == ',')
cout << ' ';
else
cout << s[i];
}
cout << endl;
}
| [
"literal.string.change",
"io.output.change"
] | 1,453,630 | 1,453,631 | u572012241 | cpp |
p03834 | #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 20; i++) {
if (s[i] == ',')
cout << ' ';
else
cout << s[i];
}
cout << endl;
}
| #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 19; i++) {
if (s[i] == ',')
cout << ' ';
else
cout << s[i];
}
cout << endl;
}
| [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"literal.string.change",
"io.output.change"
] | 1,453,632 | 1,453,631 | u572012241 | cpp |
p03834 | #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 21; i++) {
if (s[i] == ',')
cout << ' ';
else
cout << s[i];
}
cout << endl;
}
| #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 19; i++) {
if (s[i] == ',')
cout << ' ';
else
cout << s[i];
}
cout << endl;
}
| [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"literal.string.change",
"io.output.change"
] | 1,453,633 | 1,453,631 | u572012241 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, a, b) for (i = a; i < b; i++)
#define rep(i, n) REP(i, 0, n)
int main() {
string s;
cin >> s;
s.replace(s.begin(), s.end(), ',', ' ');
cout << s << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define REP(i, a, b) for (i = a; i < b; i++)
#define rep(i, n) REP(i, 0, n)
int main() {
string s;
cin >> s;
replace(s.begin(), s.end(), ',', ' ');
cout << s << endl;
} | [] | 1,453,636 | 1,453,637 | u854612287 | cpp |
p03834 | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
s[6] = ' ';
s[14] = ' ';
cout << s << endl;
} | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = ' ';
s[13] = ' ';
cout << s << endl;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,651 | 1,453,652 | u321029637 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
string S;
S[5] = ' ';
S[13] = ' ';
cout << S << endl;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
S[5] = ' ';
S[13] = ' ';
cout << S << endl;
} | [] | 1,453,653 | 1,453,654 | u498467508 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i > 20; i++) {
if (s[i] == ',')
s[i] = ' ';
}
cout << s << endl;
return (0);
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 20; i++) {
if (s[i] == ',')
s[i] = ' ';
}
cout << s << endl;
return (0);
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,453,655 | 1,453,656 | u849317024 | cpp |
p03834 | #include <iostream>
using namespace std;
int main() {
string s;
for (int i = 0; i < 19; i++) {
if (s[i] == ',') {
s[i] = ' ';
}
}
cout << s << '\n';
return 0;
} | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 19; i++) {
if (s[i] == ',') {
s[i] = ' ';
}
}
cout << s << '\n';
return 0;
} | [] | 1,453,657 | 1,453,658 | u539485388 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
string num;
cin >> num;
num[7] = ' ';
num[15] = ' ';
cout << num;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
string num;
cin >> num;
num[5] = ' ';
num[13] = ' ';
cout << num;
return 0;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,659 | 1,453,660 | u777201860 | cpp |
p03834 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> plglg;
typedef pair<double, ll> pdlg;
typedef tuple<int, int, int> tiii;
typedef tuple<ll, ll, ll> tlglglg;
typedef tup... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> plglg;
typedef pair<double, ll> pdlg;
typedef tuple<int, int, int> tiii;
typedef tuple<ll, ll, ll> tlglglg;
typedef tup... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 1,453,663 | 1,453,664 | u746560455 | cpp |
p03834 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> plglg;
typedef pair<double, ll> pdlg;
typedef tuple<int, int, int> tiii;
typedef tuple<ll, ll, ll> tlglglg;
typedef tup... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> plglg;
typedef pair<double, ll> pdlg;
typedef tuple<int, int, int> tiii;
typedef tuple<ll, ll, ll> tlglglg;
typedef tup... | [
"control_flow.loop.for.condition.change",
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,453,665 | 1,453,664 | u746560455 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
string S;
int main() {
cin >> S;
cout << S.substr(0, 5) << " " << S.substr(7, 7) << " " << S.substr(15, 5)
<< endl;
} | #include <iostream>
#include <string>
using namespace std;
string S;
int main() {
cin >> S;
cout << S.substr(0, 5) << " " << S.substr(6, 7) << " " << S.substr(14, 5)
<< endl;
} | [
"literal.number.change",
"io.output.change"
] | 1,453,671 | 1,453,672 | u623954643 | cpp |
p03834 | #include <iostream>
using namespace std;
#define FOR(i, n) for (i = 0; i < n; ++i)
int i, j;
int main(void) {
string s;
cin >> s;
cout << s[0] << s[1] << s[2] << s[3] << s[4] << " " << s[7] << s[8] << s[9]
<< s[10] << s[11] << s[12] << " " << s[14] << s[15] << s[16] << s[17]
<< s[18];
return 0;
... | #include <iostream>
using namespace std;
#define FOR(i, n) for (i = 0; i < n; ++i)
int i, j;
int main(void) {
string s;
cin >> s;
cout << s[0] << s[1] << s[2] << s[3] << s[4] << " " << s[6] << s[7] << s[8]
<< s[9] << s[10] << s[11] << s[12] << " " << s[14] << s[15] << s[16]
<< s[17] << s[18];
re... | [
"io.output.change"
] | 1,453,679 | 1,453,680 | u423624748 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
string s;
cin >> s;
s[6] = ' ';
s[14] = ' ';
cout << s << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
string s;
cin >> s;
s[5] = ' ';
s[13] = ' ';
cout << s << endl;
}
| [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,683 | 1,453,684 | u625362745 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
int i;
for (i = 0; i < 19; i++) {
if (s[i] == ',') {
s[i] = ' ';
}
}
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
int i;
for (i = 0; i < 19; i++) {
if (s[i] == ',') {
s[i] = ' ';
}
}
cout << s;
return 0;
} | [] | 1,453,687 | 1,453,688 | u385617244 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string a = s.substr(1, 5), b = s.substr(7, 7), c = s.substr(15, 5);
cout << a << " " << b << " " << c << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string a = s.substr(0, 5), b = s.substr(6, 7), c = s.substr(14, 5);
cout << a << " " << b << " " << c << endl;
}
| [
"literal.number.change",
"call.arguments.change"
] | 1,453,689 | 1,453,690 | u513726585 | cpp |
p03834 | #include <iostream>
using namespace std;
int main() {
string s, s1, s2, s3;
cin >> s;
int i = 0;
for (i = 0; i < 5; ++i) {
s1 = s1 + s[i];
}
for (i = 6; i < 11; ++i) {
s2 = s2 + s[i];
}
for (i = 12; i < 17; ++i) {
s3 = s3 + s[i];
}
cout << s1 << " " << s2 << " " << s3 << endl;
return... | #include <iostream>
using namespace std;
int main() {
string s, s1, s2, s3;
cin >> s;
int i = 0;
for (i = 0; i < 5; ++i) {
s1 = s1 + s[i];
}
for (i = 6; i < 13; ++i) {
s2 = s2 + s[i];
}
for (i = 14; i < 19; ++i) {
s3 = s3 + s[i];
}
cout << s1 << " " << s2 << " " << s3 << endl;
return... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"assignment.value.change",
"control_flow.loop.for.initializer.change"
] | 1,453,691 | 1,453,692 | u451417461 | cpp |
p03834 | #include <iostream>
using namespace std;
int main() {
string a;
cin >> a;
a[5] = ',', a[13] = ',';
cout << a << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
string a;
cin >> a;
a[5] = ' ', a[13] = ' ';
cout << a << endl;
return 0;
} | [
"literal.string.change",
"assignment.value.change"
] | 1,453,693 | 1,453,694 | u416397383 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string h;
h.at(5) = ' ';
h.at(13) = ' ';
cout << h << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string h;
cin >> h;
h.at(5) = ' ';
h.at(13) = ' ';
cout << h << endl;
} | [] | 1,453,695 | 1,453,696 | u539402331 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
string s;
for (char x : s) {
cout << (x == ',' ? ' ' : x);
}
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
string s;
cin >> s;
for (char x : s) {
cout << (x == ',' ? ' ' : x);
}
}
| [] | 1,453,708 | 1,453,709 | u591883167 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
s[6] = ' ', s[14] = ' ';
cout << s << endl;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = ' ', s[13] = ' ';
cout << s << endl;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,710 | 1,453,711 | u394482932 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
getline(cin, s);
s[6] = ' ';
s[14] = ' ';
cout << s << endl;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
getline(cin, s);
s[5] = ' ';
s[13] = ' ';
cout << s << endl;
}
| [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,721 | 1,453,722 | u938317342 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
string s;
cin >> s;
s[6] = ' ';
s[14] = ' ';
cout << s << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
string s;
cin >> s;
s[5] = ' ';
s[13] = ' ';
cout << s << endl;
}
| [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,723 | 1,453,724 | u477678256 | cpp |
p03834 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = ' ';
s[12] = ' ';
cout << s << endl;
return 0;
}
| #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = ' ';
s[13] = ' ';
cout << s << endl;
return 0;
}
| [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,729 | 1,453,730 | u876335718 | cpp |
p03834 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
s[5] == ' ';
s[13] == ' ';
cout << s << endl;
return 0;
} | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = ' ';
s[13] = ' ';
cout << s << endl;
return 0;
} | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,453,745 | 1,453,746 | u819402602 | cpp |
p03834 | #include <algorithm>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
using namespace std;
int main(int argc, char *argv[]) {
char str1[32];
cin >> str1;
str1[5] = ' ';
str1[12] = ' ';
cout << str1 << endl;
return 0;
}
| #include <algorithm>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
using namespace std;
int main(int argc, char *argv[]) {
char str1[32];
cin >> str1;
str1[5] = ' ';
str1[13] = ' ';
cout << str1 << endl;
return 0;
}
| [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,749 | 1,453,750 | u202813867 | cpp |
p03834 | /*input
1 1
snuke
*/
#include <bits/stdc++.h>
#pragma GCC optimize("unroll-loops,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<double, double> pdd;
#define I... | /*input
happy,newyear,enjoy
*/
#include <bits/stdc++.h>
#pragma GCC optimize("unroll-loops,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<double, double> pdd;... | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,453,757 | 1,453,758 | u010467501 | cpp |
p03834 | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
s.replace(0, 1, " ");
s.replace(13, 1, " ");
cout << s << endl;
} | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
s.replace(5, 1, " ");
s.replace(13, 1, " ");
cout << s << endl;
} | [
"literal.number.change",
"call.arguments.change"
] | 1,453,765 | 1,453,766 | u301012028 | cpp |
p03834 | #include <iostream>
using namespace std;
int main() {
char x[19];
cin >> x;
if (x[7] == ',' || x[15] == ',') {
x[7] = ' ';
x[15] = ' ';
}
cout << x;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
char x[19];
cin >> x;
if (x[5] == ',' && x[13] == ',') {
x[5] = ' ';
x[13] = ' ';
}
cout << x;
return 0;
}
| [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"misc.opposites",
"assignment.variable.change"
] | 1,453,767 | 1,453,768 | u838376009 | cpp |
p03834 | #include <iostream>
using namespace std;
int main() {
int i;
char s[21];
cin >> s;
for (i = 0; i < 5; i++) {
cout << s[i];
}
cout << " ";
for (i = 0; i < 7; i++) {
cout << s[i];
}
cout << " ";
for (i = 0; i < 5; i++) {
cout << s[i];
}
cout << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int i;
char s[21];
cin >> s;
for (i = 0; i < 5; i++) {
cout << s[i];
}
cout << " ";
for (i = 0; i < 7; i++) {
cout << s[i + 6];
}
cout << " ";
for (i = 0; i < 5; i++) {
cout << s[i + 14];
}
cout << endl;
return 0;
} | [
"expression.operation.binary.add"
] | 1,453,773 | 1,453,774 | u955686869 | cpp |
p03834 | #include <algorithm>
#include <array>
#include <cmath>
#include <functional>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
using namespace std;
int main() {
char s[19];
cin ... | #include <algorithm>
#include <array>
#include <cmath>
#include <functional>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
using namespace std;
int main() {
char s[19];
cin ... | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,775 | 1,453,776 | u145771496 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
s.replace(5, 6, " ");
s.replace(13, 14, " ");
cout << s << endl;
return 0;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
s.replace(5, 1, " ");
s.replace(13, 1, " ");
cout << s << endl;
return 0;
}
| [
"literal.number.change",
"call.arguments.change"
] | 1,453,777 | 1,453,778 | u427825132 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
/*int a, s, d;
cin >> a >> s >> d ;
if(a+s==d || a+d==s || s+d==a)
cout << "Yes" << endl;
else
cout << "No" << endl;*/
string s;
cin >> s;
s[5] == ' ';
s[13] == ' ';
cout << s << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
/*int a, s, d;
cin >> a >> s >> d ;
if(a+s==d || a+d==s || s+d==a)
cout << "Yes" << endl;
else
cout << "No" << endl;*/
string s;
cin >> s;
s[5] = ' ';
s[13] = ' ';
cout << s << endl;
}
| [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,453,783 | 1,453,784 | u728522370 | cpp |
p03834 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
string s;
cin >> s;
s[6] = ' ', s[14] = ' ';
cout << s << endl;
return 0;
} | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
string s;
cin >> s;
s[5] = ' ', s[13] = ' ';
cout << s << endl;
return 0;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,802 | 1,453,803 | u902604713 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string g = s.substr(0, 5);
string si = s.substr(6, 7);
string go = s.substr(8, 5);
cout << g << " " << si << " " << go << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string g = s.substr(0, 5);
string si = s.substr(6, 7);
string go = s.substr(14, 5);
cout << g << " " << si << " " << go << endl;
return 0;
} | [
"literal.number.change",
"call.arguments.change"
] | 1,453,804 | 1,453,805 | u319491032 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string g = s.substr(0, 5);
string si = s.substr(6, 7);
string go = s.substr(9, 5);
cout << g << " " << si << " " << go << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string g = s.substr(0, 5);
string si = s.substr(6, 7);
string go = s.substr(14, 5);
cout << g << " " << si << " " << go << endl;
return 0;
} | [
"literal.number.change",
"call.arguments.change"
] | 1,453,806 | 1,453,805 | u319491032 | cpp |
p03834 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 5; i++) {
cout << s[i];
}
cout << " ";
for (int i = 6; i < 13; i++) {
cout << s[i];
}
cout << " ";
for (i... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 5; i++) {
cout << s[i];
}
cout << " ";
for (int i = 6; i < 13; i++) {
cout << s[i];
}
cout << " ";
for (i... | [] | 1,453,809 | 1,453,810 | u036401720 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c, d;
cin >> a;
b = a.substr(0, 5);
c = a.substr(6, 7);
d = a.substr(8, 5);
cout << b << " " << c << " " << d;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c, d;
cin >> a;
b = a.substr(0, 5);
c = a.substr(6, 7);
d = a.substr(14, 5);
cout << b << " " << c << " " << d;
}
| [
"literal.number.change",
"assignment.value.change",
"call.arguments.change"
] | 1,453,815 | 1,453,816 | u379822620 | cpp |
p03834 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 5; i++)
cout << s[i];
cout << " ";
for (int i = 6; i < 12; i++)
cout << s[i];
cout << " ";
for (int i = 13; i < 17; i++)
cout << s[i];
cout <<... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < 5; i++)
cout << s[i];
cout << " ";
for (int i = 6; i < 13; i++)
cout << s[i];
cout << " ";
for (int i = 14; i < 19; i++)
cout << s[i];
cout <<... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change"
] | 1,453,817 | 1,453,818 | u006686215 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
#define X first
#define Y second
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<vi> vvi;
#define debug(x) cerr << #x << " = " << (x) << endl;
template <typename T> ostream &operator<<(ostream &o, vector<T> &v) {
for (auto &x : v... | #include <bits/stdc++.h>
using namespace std;
#define X first
#define Y second
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<vi> vvi;
#define debug(x) cerr << #x << " = " << (x) << endl;
template <typename T> ostream &operator<<(ostream &o, vector<T> &v) {
for (auto &x : v... | [
"literal.number.change",
"io.output.change"
] | 1,453,826 | 1,453,827 | u115464345 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
#define ll long long
#define INF INT_MAX / 3
#define pi 2 * acos(0.0)
#define eps 1e-14
const int MAX_N = 1e+3;
const int MAX_M = 1e+2;
string s;
void input() { cin >> s; }
void solve() {
string ans;
ans = s;
ans[5] = '\0';
ans[13] = '\0';
cout << a... | #include <iostream>
#include <string>
using namespace std;
#define ll long long
#define INF INT_MAX / 3
#define pi 2 * acos(0.0)
#define eps 1e-14
const int MAX_N = 1e+3;
const int MAX_M = 1e+2;
string s;
void input() { cin >> s; }
void solve() {
string ans;
ans = s;
ans[5] = ' ';
ans[13] = ' ';
cout << ans... | [
"literal.string.change",
"assignment.value.change"
] | 1,453,828 | 1,453,829 | u870227006 | cpp |
p03834 | #include <iostream>
#include <string>
int main() {
std::string str;
std::cin >> str;
str[6] = str[14] = ' ';
std::cout << str << std::endl;
} | #include <iostream>
#include <string>
int main() {
std::string str;
std::cin >> str;
str[5] = str[13] = ' ';
std::cout << str << std::endl;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,859 | 1,453,860 | u347163009 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
int n;
string s;
cin >> s;
for (int i = 0; i < 5; i++)
cout << s[i];
cout << " ";
for (int i = 5; i < 12; i++)
cout << s[i];
cout << " ";
for (int i = 12; i < 17; i++)
cout << s[i];
cout << endl;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int n;
string s;
cin >> s;
for (int i = 0; i < 5; i++)
cout << s[i];
cout << " ";
for (int i = 6; i < 13; i++)
cout << s[i];
cout << " ";
for (int i = 14; i < 19; i++)
cout << s[i];
cout << endl;
return 0;
} | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,453,861 | 1,453,862 | u456611841 | cpp |
p03834 | #include <algorithm>
#include <cmath>
#include <fstream>
#include <functional>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
#define DT int
#define forn(i, n) for (i = 0; i < n; i++)
#define forc(i, c, n)... | #include <algorithm>
#include <cmath>
#include <fstream>
#include <functional>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
#define DT int
#define forn(i, n) for (i = 0; i < n; i++)
#define forc(i, c, n)... | [
"literal.number.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 1,453,863 | 1,453,864 | u114738674 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
string s;
int main() {
getline(cin, s);
for (int i = 0; i < s.size(); i++)
if (s[i] == '.')
s[i] = ' ';
cout << s << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
string s;
int main() {
getline(cin, s);
for (int i = 0; i < s.size(); i++)
if (s[i] == ',')
s[i] = ' ';
cout << s << endl;
return 0;
}
| [
"misc.typo",
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 1,453,865 | 1,453,866 | u195360286 | cpp |
p03834 | #include <stdio.h>
int main(void) {
char s[20];
scanf("%s", s);
for (int i = 0; i < 19; i++) {
if (i == 5 || i == 13 || i == 18)
printf(" ");
else
printf("%c", s[i]);
}
printf("\n");
return 0;
}
| #include <stdio.h>
int main(void) {
char s[20];
scanf("%s", s);
for (int i = 0; i < 19; i++) {
if (i == 5 || i == 13)
printf(" ");
else
printf("%c", s[i]);
}
printf("\n");
return 0;
}
| [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 1,453,871 | 1,453,872 | u869282786 | cpp |
p03834 | #include <stdio.h>
int main(void) {
char s[20];
int i;
scanf("%s", &s);
for (i = 1; i <= 5; i++) {
printf("%s", s[i - 1]);
}
printf(" ");
for (i = 1; i <= 7; i++) {
printf("%s", s[i + 4]);
}
printf(" ");
for (i = 1; i <= 5; i++) {
printf("%s", s[i + 11]);
}
return 0;
} | #include <stdio.h>
int main(void) {
char s[20];
int i;
scanf("%s", s);
for (i = 1; i <= 5; i++) {
printf("%c", s[i - 1]);
}
printf(" ");
for (i = 1; i <= 7; i++) {
printf("%c", s[i + 5]);
}
printf(" ");
for (i = 1; i <= 5; i++) {
printf("%c", s[i + 13]);
}
return 0;
} | [
"call.arguments.change",
"literal.string.change",
"io.output.change",
"literal.number.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 1,453,875 | 1,453,876 | u960777154 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
S[5] = ' ';
S[12] = ' ';
cout << S << endl;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
S[5] = ' ';
S[13] = ' ';
cout << S << endl;
return 0;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,880 | 1,453,881 | u136473852 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
S[5] = ' ';
S[12] = ' ';
cout << S << endl;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
S[5] = ' ';
S[13] = ' ';
cout << S << endl;
return 0;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,882 | 1,453,881 | u136473852 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
cout << S.substr(1, 5);
cout << " ";
cout << S.substr(7, 7);
cout << " ";
cout << S.substr(15, 5);
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
cout << S.substr(0, 5);
cout << " ";
cout << S.substr(6, 7);
cout << " ";
cout << S.substr(14, 5);
return 0;
} | [
"literal.number.change",
"io.output.change"
] | 1,453,883 | 1,453,884 | u136473852 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
if (s[i] = ',') {
s[i] = ' ';
}
}
cout << s << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
if (s[i] == ',') {
s[i] = ' ';
}
}
cout << s << endl;
} | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,453,887 | 1,453,888 | u388033483 | cpp |
p03834 | #include <stdio.h>
int main() {
char c;
for (int i = 0; i < 19; i++) {
scanf("%c", &c);
if (c == ',')
putc(c, stdout);
else
putc(' ', stdout);
}
} | #include <stdio.h>
int main() {
char c;
for (int i = 0; i < 19; i++) {
scanf("%c", &c);
if (c != ',')
putc(c, stdout);
else
putc(' ', stdout);
}
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,453,889 | 1,453,890 | u887740613 | cpp |
p03834 | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string a;
cin >> a;
for (int i = 0; i < a.size(); i++) {
if (i == ',')
cout << " ";
else {
cout << a[i];
}
}
cout << endl;
return 0;
} | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string a;
cin >> a;
for (int i = 0; i < a.size(); i++) {
if (a[i] == ',')
cout << " ";
else {
cout << a[i];
}
}
cout << endl;
return 0;
} | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 1,453,902 | 1,453,903 | u577927591 | cpp |
p03834 |
#include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
#define rep(i, n, m) for (int i = n; i < (int)(m); i++)
using namespace std;
int main() {
string str;
cin >> str;
rep(i, 0, str.size()) {
if (str[i] == ',')
str[i] == ' ';
}
cout << s... |
#include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <string>
#include <vector>
#define rep(i, n, m) for (int i = n; i < (int)(m); i++)
using namespace std;
int main() {
string str;
cin >> str;
rep(i, 0, str.size()) {
if (str[i] == ',')
str[i] = ' ';
}
cout << st... | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,453,905 | 1,453,906 | u076428621 | cpp |
p03834 | #define _CRT_SECURE_NO_WARNINGS
#include "bits/stdc++.h"
using namespace std;
#define int long long
#define CHOOSE(a) CHOOSE2 a
#define CHOOSE2(a0, a1, a2, a3, x, ...) x
#define REP1(i, s, cond, cal) for (signed i = signed(s); i cond; i cal)
#define REP2(i, s, n) REP1(i, s, < signed(n), ++)
#define REP3(i, n) REP2(i,... | #define _CRT_SECURE_NO_WARNINGS
#include "bits/stdc++.h"
using namespace std;
#define int long long
#define CHOOSE(a) CHOOSE2 a
#define CHOOSE2(a0, a1, a2, a3, x, ...) x
#define REP1(i, s, cond, cal) for (signed i = signed(s); i cond; i cal)
#define REP2(i, s, n) REP1(i, s, < signed(n), ++)
#define REP3(i, n) REP2(i,... | [
"literal.number.change",
"call.arguments.change"
] | 1,453,909 | 1,453,910 | u407106303 | cpp |
p03834 | #define _CRT_SECURE_NO_WARNINGS
#include "bits/stdc++.h"
using namespace std;
#define int long long
#define CHOOSE(a) CHOOSE2 a
#define CHOOSE2(a0, a1, a2, a3, x, ...) x
#define REP1(i, s, cond, cal) for (signed i = signed(s); i cond; i cal)
#define REP2(i, s, n) REP1(i, s, < signed(n), ++)
#define REP3(i, n) REP2(i,... | #define _CRT_SECURE_NO_WARNINGS
#include "bits/stdc++.h"
using namespace std;
#define int long long
#define CHOOSE(a) CHOOSE2 a
#define CHOOSE2(a0, a1, a2, a3, x, ...) x
#define REP1(i, s, cond, cal) for (signed i = signed(s); i cond; i cal)
#define REP2(i, s, n) REP1(i, s, < signed(n), ++)
#define REP3(i, n) REP2(i,... | [
"literal.number.change",
"call.arguments.change"
] | 1,453,911 | 1,453,910 | u407106303 | cpp |
p03834 | #include <iostream>
#include <string>
using namespace std;
int main() {
string input;
cin >> input;
input[5] = ' ';
input[12] = ' ';
cout << input;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string input;
cin >> input;
input[5] = ' ';
input[13] = ' ';
cout << input;
} | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,916 | 1,453,917 | u826144345 | cpp |
p03834 | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
s[7] = s[15] = ' ';
cout << s;
}
| #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
s[5] = s[13] = ' ';
cout << s;
}
| [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,920 | 1,453,921 | u625998290 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
char S[20];
cin >> S;
S[5] == ' ';
S[13] == ' ';
cout << S << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char S[20];
cin >> S;
S[5] = ' ';
S[13] = ' ';
cout << S << endl;
return 0;
} | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,453,924 | 1,453,925 | u037927247 | cpp |
p03834 | #include <bits/stdc++.h>
using namespace std;
int main() {
char S[19];
cin >> S;
S[5] == ' ';
S[13] == ' ';
cout << S << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char S[20];
cin >> S;
S[5] = ' ';
S[13] = ' ';
cout << S << endl;
return 0;
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change",
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 1,453,926 | 1,453,925 | u037927247 | cpp |
p03834 | #include <cstdio>
int main() {
char s[19 + 1];
scanf("%s", s);
s[6] = ' ';
s[14] = ' ';
printf("%s\n", s);
return 0;
}
| #include <cstdio>
int main() {
char s[19 + 1];
scanf("%s", s);
s[5] = ' ';
s[13] = ' ';
printf("%s\n", s);
return 0;
}
| [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 1,453,927 | 1,453,928 | u725515700 | cpp |
p03834 | #include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
char a[24], x;
int main() {
int i;
for (i = 1; i <= 19; i++) {
cin >> a[i];
}
a[6] = a[14] = x;
for (i = 1; i <= 19; i++) {
cout << a[i];
}
return 0;
}
| #include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
char a[24], x;
int main() {
int i;
for (i = 1; i <= 19; i++) {
cin >> a[i];
}
a[6] = a[14] = ' ';
for (i = 1; i <= 19; i++) {
cout << a[i];
}
return 0;
}
| [
"assignment.value.change"
] | 1,453,931 | 1,453,932 | u505511053 | cpp |
p03832 | //グループの分け方→集合の集合の作り方。「集合」同士を「グループ人数→先頭の人の番号」でソートすると見通しがよい。
//同じ人数のグループをまとめて作っていくとき、少ない人数のグループから作れば、
//今後の探索に必要な情報が「残り人数n,
//グループ人数の下限m」だけになる。よって、状態数O(N^2)のDPができる。
//遷移では「m人グループを0 or C~D個」作る。
#include <iostream>
#define int long long
#define rep(i, n) for (i = 0; i < n; i++)
using namespace std;
int powmod(int a, int n... | //グループの分け方→集合の集合の作り方。「集合」同士を「グループ人数→先頭の人の番号」でソートすると見通しがよい。
//同じ人数のグループをまとめて作っていくとき、少ない人数のグループから作れば、
//今後の探索に必要な情報が「残り人数n,
//グループ人数の下限m」だけになる。よって、状態数O(N^2)のDPができる。
//遷移では「m人グループを0 or C~D個」作る。
#include <iostream>
#define int long long
#define rep(i, n) for (i = 0; i < n; i++)
using namespace std;
int powmod(int a, int n... | [
"expression.operation.binary.remove"
] | 1,453,933 | 1,453,934 | u610441939 | cpp |
p03832 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define FOR(i, n, m) for (int i = (n); i < (m); i++)
#define REP(i, n) FOR(i, 0, n)
#define REPR(i, n) for (int i = (n); i >= 0; i--)
#define all(vec) vec.begin(), vec.end()
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using vv... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define FOR(i, n, m) for (int i = (n); i < (m); i++)
#define REP(i, n) FOR(i, 0, n)
#define REPR(i, n) for (int i = (n); i >= 0; i--)
#define all(vec) vec.begin(), vec.end()
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using vv... | [
"control_flow.break.remove",
"control_flow.continue.add"
] | 1,453,935 | 1,453,936 | u437391064 | cpp |
p03832 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define FOR(i, n, m) for (int i = (n); i < (m); i++)
#define REP(i, n) FOR(i, 0, n)
#define REPR(i, n) for (int i = (n); i >= 0; i--)
#define all(vec) vec.begin(), vec.end()
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using vv... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define FOR(i, n, m) for (int i = (n); i < (m); i++)
#define REP(i, n) FOR(i, 0, n)
#define REPR(i, n) for (int i = (n); i >= 0; i--)
#define all(vec) vec.begin(), vec.end()
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using vv... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"control_flow.break.remove",
"control_flow.continue.add"
] | 1,453,937 | 1,453,936 | u437391064 | cpp |
p03832 | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <vector>
#define LL long long
LL N, A, B, C, D;
LL DP[1010][1010];
LL kai[1010];
LL fer[1010];
const LL mod = 1e9 + 7;
LL fermat(LL x, int y) {
if (y == 0)
return 1;
if (y == 1)
return x;
LL F =... | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <vector>
#define LL long long
LL N, A, B, C, D;
LL DP[1010][1010];
LL kai[1010];
LL fer[1010];
const LL mod = 1e9 + 7;
LL fermat(LL x, int y) {
if (y == 0)
return 1;
if (y == 1)
return x;
LL F =... | [
"variable_declaration.name.change",
"identifier.change",
"control_flow.loop.for.initializer.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,453,940 | 1,453,941 | u554116180 | cpp |
p03832 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
#define fst first
#define snd second
const ll mod = 1000000007;
const ll INF ... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
#define fst first
#define snd second
const ll mod = 1000000007;
const ll INF ... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 1,453,942 | 1,453,943 | u120190063 | cpp |
p03832 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
#define fst first
#define snd second
const ll mod = 1000000007;
const ll INF ... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
#define fst first
#define snd second
const ll mod = 1000000007;
const ll INF ... | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 1,453,944 | 1,453,943 | u120190063 | cpp |
p03832 | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(v) (v).begin(), (v).end()
template <typename A, typename B> inline bool chmax(A &a, B b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <typename A, type... | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(v) (v).begin(), (v).end()
template <typename A, typename B> inline bool chmax(A &a, B b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <typename A, type... | [
"expression.operation.binary.remove"
] | 1,453,950 | 1,453,951 | u105791541 | cpp |
p03832 | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(v) (v).begin(), (v).end()
template <typename A, typename B> inline bool chmax(A &a, B b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <typename A, type... | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) FOR(i, 0, n)
#define ALL(v) (v).begin(), (v).end()
template <typename A, typename B> inline bool chmax(A &a, B b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <typename A, type... | [
"assignment.variable.change",
"identifier.change",
"call.function.change",
"expression.operation.binary.remove",
"call.arguments.add"
] | 1,453,952 | 1,453,951 | u105791541 | cpp |
p03832 | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x, to) for (x = 0; x < (to); x++)
#define FORR(x, arr) for (auto &x : arr)
#define ITR(x, c) for (__typeof(c.begin()) x = c.begin(); x != c.end(); x++)
#define ALL(a) (a.begin()), ... | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x, to) for (x = 0; x < (to); x++)
#define FORR(x, arr) for (auto &x : arr)
#define ITR(x, c) for (__typeof(c.begin()) x = c.begin(); x != c.end(); x++)
#define ALL(a) (a.begin()), ... | [
"control_flow.branch.if.condition.change"
] | 1,453,969 | 1,453,970 | u452725238 | cpp |
p03832 | #include <bits/stdc++.h>
using namespace std;
typedef long long int uli;
const int mx = 1e3 + 10;
const uli mod = 1e9 + 7;
uli f[2][mx];
uli g[mx][mx];
uli cmb[mx][mx];
int main() {
cmb[0][0] = 1;
for (int i = 1; i < mx; i++) {
cmb[i][0] = cmb[i][i] = 1;
for (int j = 1; j < i; j++) {
cmb[i][j] = cmb[i... | #include <bits/stdc++.h>
using namespace std;
typedef long long int uli;
const int mx = 1e3 + 10;
const uli mod = 1e9 + 7;
uli f[2][mx];
uli g[mx][mx];
uli cmb[mx][mx];
int main() {
cmb[0][0] = 1;
for (int i = 1; i < mx; i++) {
cmb[i][0] = cmb[i][i] = 1;
for (int j = 1; j < i; j++) {
cmb[i][j] = cmb[i... | [
"variable_declaration.value.change",
"identifier.change",
"control_flow.loop.for.initializer.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"call.arguments.change"
] | 1,453,973 | 1,453,974 | u657930597 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.