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 |
|---|---|---|---|---|---|---|---|
p03854 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
string S;
cin >> S;
reverse(S.begin(), S.end());
for (int i = 0; i < S.size();) {
if (i >= S.size() - 4) {
cout << "NO" << endl;
return 0;
} else if (S.substr(i, 5) == "maerd" || S.substr(i, 5) == "... | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
string S;
cin >> S;
reverse(S.begin(), S.end());
for (int i = 0; i < S.size();) {
if (i >= S.size() - 4) {
cout << "NO" << endl;
return 0;
} else if (S.substr(i, 5) == "maerd" || S.substr(i, 5) == "... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,469,068 | 1,469,069 | u115888500 | cpp |
p03854 | // finish date: 2018/01/20
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <stack>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (int(i) = a; (i) < (b); (i)++)
#define rep(i, n) FOR(i, 0, n)
#define ll long long
#define bigmod 10... | // finish date: 2018/01/20
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <stack>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (int(i) = a; (i) < (b); (i)++)
#define rep(i, n) FOR(i, 0, n)
#define ll long long
#define bigmod 10... | [
"literal.number.change",
"assignment.value.change"
] | 1,469,070 | 1,469,071 | u285660186 | cpp |
p03854 | // finish date: 2018/01/20
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <stack>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (int(i) = a; (i) < (b); (i)++)
#define rep(i, n) FOR(i, 0, n)
#define ll long long
#define bigmod 10... | // finish date: 2018/01/20
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <stack>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (int(i) = a; (i) < (b); (i)++)
#define rep(i, n) FOR(i, 0, n)
#define ll long long
#define bigmod 10... | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"assignment.value.change"
] | 1,469,072 | 1,469,071 | u285660186 | cpp |
p03854 | // finish date: 2018/01/20
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <stack>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (int(i) = a; (i) < (b); (i)++)
#define rep(i, n) FOR(i, 0, n)
#define ll long long
#define bigmod 10... | // finish date: 2018/01/20
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <stack>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (int(i) = a; (i) < (b); (i)++)
#define rep(i, n) FOR(i, 0, n)
#define ll long long
#define bigmod 10... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"literal.number.change",
"control_flow.branch.if.condition.change",
"assignment.value.change"
] | 1,469,073 | 1,469,071 | u285660186 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<LL, LL> P;
const LL mod = 1000000007;
const LL INF = 100000000000;
string u = "abcdefghijklmnopqrstuvwxyz";
int main() {
string s[] = {"eraser", "erase", "dreamar", "dream"};
string t;
cin >> t;
for (int i = 0; i < 4; i++) {
w... | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<LL, LL> P;
const LL mod = 1000000007;
const LL INF = 100000000000;
string u = "abcdefghijklmnopqrstuvwxyz";
int main() {
string s[] = {"eraser", "erase", "dreamer", "dream"};
string t;
cin >> t;
for (int i = 0; i < 4; i++) {
w... | [
"literal.string.change"
] | 1,469,076 | 1,469,077 | u640323045 | cpp |
p03854 | #include <cstdio>
#include <iostream>
#include <string>
using namespace std;
string S;
int i;
int check(string str) {
int t = i;
for (int j = str.size() - 1; j >= 0; --j) {
if (t < 0)
return 0;
if (str[j] != S[t--])
return 0;
}
return 1;
}
int main() {
string S1 = "dream";
string S2 = "... | #include <cstdio>
#include <iostream>
#include <string>
using namespace std;
string S;
int i;
int check(string str) {
int t = i;
for (int j = str.size() - 1; j >= 0; --j) {
if (t < 0)
return 0;
if (str[j] != S[t--])
return 0;
}
return 1;
}
int main() {
string S1 = "dream";
string S2 = "d... | [
"assignment.value.change",
"identifier.change"
] | 1,469,087 | 1,469,088 | u089230684 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
using VI = vector<int>;
using VVI = vector<VI>;
using VB = vector<bool>;
using VVB = vector<VB>;
using VD = vector<double>;
using VVD = vector<VD>;
using VS = vector<string>;
using PII = pair<int, int>;
using VPII = vector<PII>;
using VL = vector<long long>;
using VVL = v... | #include <bits/stdc++.h>
using namespace std;
using VI = vector<int>;
using VVI = vector<VI>;
using VB = vector<bool>;
using VVB = vector<VB>;
using VD = vector<double>;
using VVD = vector<VD>;
using VS = vector<string>;
using PII = pair<int, int>;
using VPII = vector<PII>;
using VL = vector<long long>;
using VVL = v... | [
"literal.number.change"
] | 1,469,099 | 1,469,100 | u260949693 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
using VI = vector<int>;
using VVI = vector<VI>;
using VB = vector<bool>;
using VVB = vector<VB>;
using VD = vector<double>;
using VVD = vector<VD>;
using VS = vector<string>;
using PII = pair<int, int>;
using VPII = vector<PII>;
using VL = vector<long long>;
using VVL = v... | #include <bits/stdc++.h>
using namespace std;
using VI = vector<int>;
using VVI = vector<VI>;
using VB = vector<bool>;
using VVB = vector<VB>;
using VD = vector<double>;
using VVD = vector<VD>;
using VS = vector<string>;
using PII = pair<int, int>;
using VPII = vector<PII>;
using VL = vector<long long>;
using VVL = v... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 1,469,101 | 1,469,100 | u260949693 | cpp |
p03854 | #include <iostream>
#include <string>
using namespace std;
string my_replace(string S, string from, string to) {
auto pos = S.find(from);
string T;
T.append(S, 0, pos);
while (pos != string::npos) {
T.append(to);
auto prev_pos = pos + from.size();
pos = S.find(from, prev_pos);
T.append(S, prev_... | #include <iostream>
#include <string>
using namespace std;
string my_replace(string S, string from, string to) {
auto pos = S.find(from);
string T;
T.append(S, 0, pos);
while (pos != string::npos) {
T.append(to);
auto prev_pos = pos + from.size();
pos = S.find(from, prev_pos);
T.append(S, prev_... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,469,104 | 1,469,105 | u277971517 | cpp |
p03854 | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <set>
#include <string>
typedef long long ll;
using namespace std;
int main() {
string s;
string t = "";
string add[4] = {"dream", "dreamer", "erase", "eraser"};
cin >> s;
int index = 0;
while (true) {... | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <set>
#include <string>
typedef long long ll;
using namespace std;
int main() {
string s;
string t = "";
string add[4] = {"dream", "dreamer", "erase", "eraser"};
cin >> s;
int index = 0;
while (true) {... | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"assignment.value.change"
] | 1,469,106 | 1,469,107 | u371524083 | cpp |
p03854 | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <set>
#include <string>
typedef long long ll;
using namespace std;
int main() {
string s;
string t = "";
string add[4] = {"dream", "dreamer", "erase", "eraser"};
cin >> s;
int index = 0;
while (true) {
... | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <set>
#include <string>
typedef long long ll;
using namespace std;
int main() {
string s;
string t = "";
string add[4] = {"dream", "dreamer", "erase", "eraser"};
cin >> s;
int index = 0;
while (true) {... | [
"literal.number.change",
"assignment.value.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,469,108 | 1,469,107 | u371524083 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
// dream dreamer erase eraser
string str, s = "";
cin >> str;
int len = str.length();
for (int i = 0; i < len; i++)
s += str[len - i - 1];
bool ans = false;
for (int i = 0; i < 100000; i++) {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
// dream dreamer erase eraser
string str, s = "";
cin >> str;
int len = str.length();
for (int i = 0; i < len; i++)
s += str[len - i - 1];
bool ans = false;
for (int i = 0; i < 100000; i++) {
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,469,113 | 1,469,114 | u968834127 | cpp |
p03854 | #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,... | [
"control_flow.continue.remove",
"control_flow.break.add"
] | 1,469,119 | 1,469,120 | u407106303 | cpp |
p03854 | #include <bits/stdc++.h>
#define REP(i, s, n) for (int i = s; i < n; ++i)
#define rep(i, n) REP(i, 0, n)
using namespace std;
string s;
void compute() {
int ptr = (int)s.size() - 1;
while (ptr >= 0) {
if (ptr < 4)
goto FAIL;
if (s[ptr] == 'm') {
if (s[ptr - 4] == 'd' && s[ptr - 3] == 'r' && ... | #include <bits/stdc++.h>
#define REP(i, s, n) for (int i = s; i < n; ++i)
#define rep(i, n) REP(i, 0, n)
using namespace std;
string s;
void compute() {
int ptr = (int)s.size() - 1;
while (ptr >= 0) {
if (ptr < 4)
goto FAIL;
if (s[ptr] == 'm') {
if (s[ptr - 4] == 'd' && s[ptr - 3] == 'r' && ... | [] | 1,469,121 | 1,469,122 | u559722042 | cpp |
p03854 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
#define int long long
string base[4] = {"maerd", "remaerd", "esare", "resare"};
signed main() {
string S;
cin >> S;
string A = S;
for (int i = 0; i < S.length()... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
#define int long long
string base[4] = {"maerd", "remaerd", "esare", "resare"};
signed main() {
string S;
cin >> S;
string A = S;
for (int i = 0; i < S.length()... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,469,123 | 1,469,124 | u336533648 | cpp |
p03854 | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
string base[4] = {"maerd", "remaerd", "esare", "resare"};
int main() {
string S;
string str;
cin >> S;
str = S;
for (int i = 0; i < S.length(); i++) {
str[(S.length() - 1) ... | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
string base[4] = {"maerd", "remaerd", "esare", "resare"};
int main() {
string S;
string str;
cin >> S;
str = S;
for (int i = 0; i < S.length(); i++) {
str[(S.length() - 1) ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,469,132 | 1,469,133 | u999941802 | cpp |
p03854 | #include <iostream>
#include <string>
using namespace std;
int main() {
bool flag = true;
string S;
cin >> S;
int i = S.size();
if (S.size() < 5) {
cout << "NO" << endl;
flag = false;
} else {
int i = S.size();
while (i > 0) {
if (i >= 5 &&
(S.substr(i - 5, 5) == "dream"... | #include <iostream>
#include <string>
using namespace std;
int main() {
bool flag = true;
string S;
cin >> S;
int i = S.size();
if (S.size() < 5) {
cout << "NO" << endl;
flag = false;
} else {
int i = S.size();
while (i > 0) {
if (i >= 5 &&
(S.substr(i - 5, 5) == "dream"... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,469,152 | 1,469,153 | u979920726 | cpp |
p03856 | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map> //pair is also included in this library
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#inc... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map> //pair is also included in this library
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#inc... | [
"assignment.compound.arithmetic.replace.remove",
"expression.operator.arithmetic.replace.add",
"control_flow.branch.if.condition.change"
] | 1,469,160 | 1,469,161 | u122451018 | cpp |
p03856 | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <typeinfo>
#include <vector>
#define DIV 1000000007
using namespace std;
string S;
bool dfs... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <typeinfo>
#include <vector>
#define DIV 1000000007
using namespace std;
string S;
bool dfs... | [
"expression.operation.binary.remove"
] | 1,469,180 | 1,469,181 | u920254817 | cpp |
p03856 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; ++i)
#define FOR(i, a, b) for (int i = a; i... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; ++i)
#define FOR(i, a, b) for (int i = a; i... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,469,194 | 1,469,195 | u016572066 | cpp |
p03857 | #include <algorithm>
#include <array>
#include <cmath>
#include <complex>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <map>
#include <memory>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <tuple>
#include <unordered_map>
#inc... | #include <algorithm>
#include <array>
#include <cmath>
#include <complex>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <map>
#include <memory>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <tuple>
#include <unordered_map>
#inc... | [
"expression.operation.unary.logical.remove",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 1,469,222 | 1,469,223 | u318334550 | cpp |
p03855 | #include <algorithm>
#include <cassert>
#include <iostream>
#include <map>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
struct UnionFind {
vector<int> data;
UnionFind(int size) : data(size, -1) {}
bool unionSet(int x, int y) {
x = root(x);
y = root(y);
if (x != y... | #include <algorithm>
#include <cassert>
#include <iostream>
#include <map>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
struct UnionFind {
vector<int> data;
UnionFind(int size) : data(size, -1) {}
bool unionSet(int x, int y) {
x = root(x);
y = root(y);
if (x != y... | [] | 1,469,351 | 1,469,352 | u378945900 | cpp |
p03855 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
typedef long long int ll;
#define FOR... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
typedef long long int ll;
#define FOR... | [] | 1,469,368 | 1,469,369 | u866879589 | cpp |
p03855 | /* main code starts from line 123. */
/* ---------- STL Libraries ---------- */
// IO library
#include <cstdio>
#include <iomanip>
#include <ios>
#include <iostream>
// algorithm library
#include <algorithm>
#include <cmath>
#include <numeric>
// container library
#include <deque>
#include <list>
#include <map>
#in... | /* main code starts from line 123. */
/* ---------- STL Libraries ---------- */
// IO library
#include <cstdio>
#include <iomanip>
#include <ios>
#include <iostream>
// algorithm library
#include <algorithm>
#include <cmath>
#include <numeric>
// container library
#include <deque>
#include <list>
#include <map>
#in... | [
"call.remove"
] | 1,469,372 | 1,469,373 | u059727354 | cpp |
p03855 | #include <algorithm>
#include <climits>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef... | #include <algorithm>
#include <climits>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <utility>
#include <vector>
using namespace std;
typedef... | [
"literal.number.change",
"io.output.change"
] | 1,469,374 | 1,469,375 | u399527088 | cpp |
p03855 | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define ll long long
#define INF (1 << 30)
#define INFLL (1LL << 60)
#define FOR(i, a, b) for (ll i =... | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define ll long long
#define INF (1 << 30)
#define INFLL (1LL << 60)
#define FOR(i, a, b) for (ll i =... | [
"io.output.change"
] | 1,469,424 | 1,469,425 | u486104022 | cpp |
p03855 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
#define MAX_N 200005
using namespace std;
struct UnionFind {
int par[MAX_N];
int deph[MAX_N];
UnionFind(int n) {
fill(par, par + MAX_N, -1);
for (int i = 0; i ... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
#define MAX_N 200005
using namespace std;
struct UnionFind {
int par[MAX_N];
int deph[MAX_N];
UnionFind(int n) {
fill(par, par + MAX_N, -1);
for (int i = 0; i ... | [
"identifier.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 1,469,428 | 1,469,429 | u080348635 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
char c;
getline(cin, str);
for (int i = 0; i < str.size(); i++) {
if (str.at(i) == ' ') {
c = str.at(i + 1);
break;
}
}
cout << 'A' + c + 'C' << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
char c;
getline(cin, str);
for (int i = 0; i < str.size(); i++) {
if (str.at(i) == ' ') {
c = str.at(i + 1);
break;
}
}
cout << 'A' << c << 'C' << endl;
}
| [
"io.output.change"
] | 1,469,442 | 1,469,443 | u956409492 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string n1;
string n2;
string n3;
cin >> n1;
cin >> n2;
cin >> n3;
char result;
// cout << n << endl;
result = n3.at(0);
cout << "A" << result << "C" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string n1;
string n2;
string n3;
cin >> n1;
cin >> n2;
cin >> n3;
char result;
// cout << n << endl;
result = n2.at(0);
cout << "A" << result << "C" << endl;
} | [
"assignment.value.change",
"identifier.change"
] | 1,469,444 | 1,469,445 | u484254461 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << a.at(0) + s.at(0) + c.at(0) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << a.at(0) << s.at(0) << c.at(0) << endl;
} | [
"io.output.change"
] | 1,469,446 | 1,469,447 | u120586196 | cpp |
p03860 |
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
string s;
getline(cin, s);
printf("%c", s[0]);
for (int i = 0; i < s.length(); i++) {
if (s[i] == ' ')
printf("%c", s['i+0']);
}
return 0;
}
|
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
string s;
getline(cin, s);
printf("%c", s[0]);
for (int i = 0; i < s.length(); ++i) {
if (s[i] == ' ')
printf("%c", s[i + 1]);
}
return 0;
}
| [] | 1,469,460 | 1,469,461 | u816631826 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, S, c;
cin >> a >> S >> c;
cout << a[0] + S[0] + c[0] << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string a, S, c;
cin >> a >> S >> c;
cout << a[0] << S[0] << c[0] << endl;
}
| [
"io.output.change"
] | 1,469,466 | 1,469,467 | u658839194 | cpp |
p03860 | #include <bits/stdc++.h>
#include <string.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
for (int i = 0; i < 100; i++)
if (65 <= (int)b[i] <= 90) {
cout << "A" << b[0] << "c";
break;
}
} | #include <bits/stdc++.h>
#include <string.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
for (int i = 0; i < 100; i++)
if (65 <= (int)b[i] <= 90) {
cout << "A" << b[0] << "C";
break;
}
} | [
"misc.typo",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,469,468 | 1,469,469 | u863370423 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string x, y, z;
cin >> x >> y >> z;
for (int i = 0; i < 100; i++)
if (65 <= (int)y[i] <= 90) {
cout << "A" << y[0] << "c";
break;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string x, y, z;
cin >> x >> y >> z;
for (int i = 0; i < 100; i++)
if (65 <= (int)y[i] <= 90) {
cout << "A" << y[0] << "C" << endl;
break;
}
return 0;
} | [
"misc.typo",
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"io.output.newline.add"
] | 1,469,470 | 1,469,471 | u018679195 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
int numberOfWords = 3;
string words[numberOfWords];
for (int i = 0; i < numberOfWords; ++i) {
cin >> words[i];
}
char initisls[numberOfWords];
for (int i = 0; i < 3; ++i) {
initisls[i] = words[i].front();
}
cout << initisls... | #include <iostream>
#include <string>
using namespace std;
int main() {
static const int numberOfWords = 3;
string words[numberOfWords];
for (int i = 0; i < numberOfWords; ++i) {
cin >> words[i];
}
char initisls[numberOfWords];
for (int i = 0; i < 3; ++i) {
initisls[i] = words[i].front();
}
cou... | [
"variable_declaration.add"
] | 1,469,472 | 1,469,473 | u376041842 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
int numberOfWords;
string words[numberOfWords];
for (int i = 0; i < numberOfWords; ++i) {
cin >> words[i];
}
char initisls[numberOfWords];
for (int i = 0; i < 3; ++i) {
initisls[i] = words[i].front();
}
cout << initisls << ... | #include <iostream>
#include <string>
using namespace std;
int main() {
static const int numberOfWords = 3;
string words[numberOfWords];
for (int i = 0; i < numberOfWords; ++i) {
cin >> words[i];
}
char initisls[numberOfWords];
for (int i = 0; i < 3; ++i) {
initisls[i] = words[i].front();
}
cou... | [
"variable_declaration.add",
"variable_declaration.value.change"
] | 1,469,474 | 1,469,473 | u376041842 | cpp |
p03860 | #include <bits/stdc++.h>
#define arep(a, i, n) for (ll i = (a); i < (n); i++)
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define cinf(x, n) \
for (ll i = 0; i < (n); i++) \
cin >> x[i];
#define coutf(x,... | #include <bits/stdc++.h>
#define arep(a, i, n) for (ll i = (a); i < (n); i++)
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define cinf(x, n) \
for (ll i = 0; i < (n); i++) \
cin >> x[i];
#define coutf(x,... | [] | 1,469,484 | 1,469,485 | u067797863 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << 'A' + s.at(8) + 'C' << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << 'A' << s.at(8) << 'C' << endl;
} | [
"io.output.change"
] | 1,469,486 | 1,469,487 | u179958942 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
#define _GLIBCXX_DEBUG
#define rep(i, from, to) for (int i = from; i < (to); ++i)
#define mp(x, y) make_pair(x, y)
#define all(x) (x).begin(), (x).end()
#define pb push_back
using ll = long long;
using vin = vector<int>;
using vll = vector<ll>;
using vst = vector<string>;
u... | #include <bits/stdc++.h>
using namespace std;
#define _GLIBCXX_DEBUG
#define rep(i, from, to) for (int i = from; i < (to); ++i)
#define mp(x, y) make_pair(x, y)
#define all(x) (x).begin(), (x).end()
#define pb push_back
using ll = long long;
using vin = vector<int>;
using vll = vector<ll>;
using vst = vector<string>;
u... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 1,469,488 | 1,469,489 | u531461815 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
#define _GLIBCXX_DEBUG
#define rep(i, from, to) for (int i = from; i < (to); ++i)
#define mp(x, y) make_pair(x, y)
#define all(x) (x).begin(), (x).end()
#define pb push_back
using ll = long long;
using vin = vector<int>;
using vll = vector<ll>;
using vst = vector<string>;
u... | #include <bits/stdc++.h>
using namespace std;
#define _GLIBCXX_DEBUG
#define rep(i, from, to) for (int i = from; i < (to); ++i)
#define mp(x, y) make_pair(x, y)
#define all(x) (x).begin(), (x).end()
#define pb push_back
using ll = long long;
using vin = vector<int>;
using vll = vector<ll>;
using vst = vector<string>;
u... | [] | 1,469,490 | 1,469,489 | u531461815 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string A, s, C;
cin >> A >> s >> C;
cout << 'A' + s.at(0) + 'C' << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string A, s, C;
cin >> A >> s >> C;
cout << 'A' << s.at(0) << 'C' << endl;
} | [
"io.output.change"
] | 1,469,500 | 1,469,501 | u600261652 | cpp |
p03859 | #include <bits/stdc++.h>
using namespace std;
const int N = 3005, M = 1e9 + 7;
int n, m, x, y, f[N], a[N], r[N];
char s[N];
int main() {
scanf("%d%d", &n, &m);
scanf("%s", s + 1);
for (int i = 1; i <= n; i++)
r[i] = i, a[i] = a[i - 1] + (s[i] == '1');
while (m--) {
scanf("%d%d", &x, &y);
r[x] = max(... | #include <bits/stdc++.h>
using namespace std;
const int N = 3005, M = 1e9 + 7;
int n, m, x, y, f[N], a[N], r[N];
char s[N];
int main() {
scanf("%d%d", &n, &m);
scanf("%s", s + 1);
for (int i = 1; i <= n; i++)
r[i] = i, a[i] = a[i - 1] + (s[i] == '1');
while (m--) {
scanf("%d%d", &x, &y);
r[x] = max(... | [
"control_flow.loop.for.condition.change"
] | 1,469,512 | 1,469,513 | u768967683 | cpp |
p03859 | #include <algorithm>
#include <bitset>
#include <chrono>
#include <complex>
#include <cstdio>
#include <fstream>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define REP(i, x, y) for (ll i = x; i <= y; i++)
#define SIZE(a) ll(a.s... | #include <algorithm>
#include <bitset>
#include <chrono>
#include <complex>
#include <cstdio>
#include <fstream>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define REP(i, x, y) for (ll i = x; i <= y; i++)
#define SIZE(a) ll(a.s... | [
"misc.opposites",
"expression.operator.arithmetic.change",
"function.return_value.change",
"expression.operation.binary.change"
] | 1,469,530 | 1,469,531 | u834354741 | cpp |
p03859 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N = 3005, P = 1e9 + 7;
int fac[N], ifac[N];
int fpow(int a, int t) {
static int r;
for (r = 1; t; t >>= 1, a = (ll)a * a % P)
if (t & 1)
r = (ll)r * a % P;
return r;
}
int C(int n, int m) {
if (n < m)
return 0;
retu... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N = 3005, P = 1e9 + 7;
int fac[N], ifac[N];
int fpow(int a, int t) {
static int r;
for (r = 1; t; t >>= 1, a = (ll)a * a % P)
if (t & 1)
r = (ll)r * a % P;
return r;
}
int C(int n, int m) {
if (n < m)
return 0;
retu... | [
"assignment.change"
] | 1,469,561 | 1,469,562 | u729132437 | cpp |
p03859 | #include <bits/stdc++.h>
#define x first
#define y second
using namespace std;
using i64 = long long;
using pii = pair<int, int>;
const int N = 3005;
const i64 MOD = 1000000007;
int v[N], st[N], dr[N];
i64 dp[N][N];
vector<pii> ivs;
string str;
int n, m, one;
int main() {
#ifdef HOME
freopen("arc65d.in", "r", st... | #include <bits/stdc++.h>
#define x first
#define y second
using namespace std;
using i64 = long long;
using pii = pair<int, int>;
const int N = 3005;
const i64 MOD = 1000000007;
int v[N], st[N], dr[N];
i64 dp[N][N];
vector<pii> ivs;
string str;
int n, m, one;
int main() {
#ifdef HOME
freopen("arc65d.in", "r", st... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one"
] | 1,469,571 | 1,469,572 | u102765246 | cpp |
p03859 | #include <bits/stdc++.h>
#define ll long long
#define mod 1000000007
#define N 3005
using namespace std;
int n, m, s[N], a[N], b[N], dp[N][N], cbn[N][N];
char ch[N];
int main() {
scanf("%d%d%s", &n, &m, ch + 1);
int i, j, k;
for (i = 1; i <= n; i++)
s[i] = s[i - 1] + (ch[i] == '1');
m++;
a[1] = b[1] = 1;... | #include <bits/stdc++.h>
#define ll long long
#define mod 1000000007
#define N 3005
using namespace std;
int n, m, s[N], a[N], b[N], dp[N][N], cbn[N][N];
char ch[N];
int main() {
scanf("%d%d%s", &n, &m, ch + 1);
int i, j, k;
for (i = 1; i <= n; i++)
s[i] = s[i - 1] + (ch[i] == '1');
m++;
a[1] = b[1] = 1;... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,469,580 | 1,469,581 | u070528238 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
cout << "A" << s.at(8) << "C";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << "A" << s.at(8) << "C";
} | [
"call.add",
"expression.operation.binary.change",
"call.arguments.change"
] | 1,469,590 | 1,469,591 | u887471870 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
cout << "A" << s.at(8) << "C" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << "A" << s.at(8) << "C" << endl;
}
| [
"call.add",
"expression.operation.binary.change",
"call.arguments.change"
] | 1,469,595 | 1,469,596 | u953760789 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
char c = S.at(0);
cout << "A" << c << "C" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string S, a;
cin >> a >> S;
char c = S.at(0);
cout << "A" << c << "C" << endl;
}
| [
"variable_declaration.add"
] | 1,469,597 | 1,469,598 | u826463831 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s, t, u;
cin >> s, t, u;
char v = t.at(0);
cout << 'A' << v << 'C' << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s, t, u;
cin >> s >> t >> u;
char v = t.at(0);
cout << 'A' << v << 'C' << endl;
} | [] | 1,469,603 | 1,469,604 | u404055790 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a, b, c;
cout << a.at(0) << b.at(0) << c.at(0) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a.at(0) << b.at(0) << c.at(0) << endl;
} | [] | 1,469,611 | 1,469,612 | u452680935 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string str1, str2, str3;
cin >> str1 >> str2 >> str3;
cout << str1.at(1) << str2.at(2) << str3.at(3) << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string str1, str2, str3;
cin >> str1 >> str2 >> str3;
cout << str1.at(0) << str2.at(0) << str3.at(0) << endl;
}
| [
"literal.number.change",
"io.output.change"
] | 1,469,625 | 1,469,626 | u408356872 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string ss;
cin >> ss;
cout << 'A' << ss[0] << 'C' << endl;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string ss;
cin >> ss;
cin >> ss;
cout << 'A' << ss[0] << 'C' << endl;
}
| [] | 1,469,629 | 1,469,630 | u953626591 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, b;
cin >> a >> s >> b;
cout << a.at(0) + s.at(0) + b.at(0) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, b;
cin >> a >> s >> b;
cout << a.at(0) << s.at(0) << b.at(0) << endl;
} | [
"io.output.change"
] | 1,469,635 | 1,469,636 | u819158295 | cpp |
p03860 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << 'A' + b.at(0) + "C";
}
| #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << 'A' << b.at(0) << "C";
}
| [
"io.output.change"
] | 1,469,637 | 1,469,638 | u329845662 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string wo1, wo2, wo3;
cin >> wo1 >> wo2 >> wo3;
cout << wo1.at(0) + wo2.at(0) + wo3.at(0) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string wo1, wo2, wo3;
cin >> wo1 >> wo2 >> wo3;
cout << wo1.at(0) << wo2.at(0) << wo3.at(0) << endl;
} | [
"io.output.change"
] | 1,469,643 | 1,469,644 | u499720247 | cpp |
p03860 | #include <bits/stdc++.h>
#define yes cout << "Yes" << endl;
#define no cout << "No" << endl;
#define ll long long int
using namespace std;
int main() {
ll tc;
ll a, b, c, n, x, y, z, cnt = 0, sum = 0;
string str, str1, str2;
int flag;
cin >> str >> str1 >> str2;
cout << str[0] << str1[1] << str2[0] << endl... | #include <bits/stdc++.h>
#define yes cout << "Yes" << endl;
#define no cout << "No" << endl;
#define ll long long int
using namespace std;
int main() {
ll tc;
ll a, b, c, n, x, y, z, cnt = 0, sum = 0;
string str, str1, str2;
int flag;
cin >> str >> str1 >> str2;
cout << str[0] << str1[0] << str2[0] << endl... | [
"literal.number.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 1,469,650 | 1,469,651 | u222613738 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string S, A;
cin >> A >> S >> A;
cout << 'A' + S.at(0) + 'C' << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string S, A;
cin >> A >> S >> A;
cout << 'A' << S.at(0) << 'C' << endl;
}
| [
"io.output.change"
] | 1,469,654 | 1,469,655 | u830745382 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string c;
getline(cin, c);
cout << "A" << c.at(8) << "B" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string c;
getline(cin, c);
cout << "A" << c.at(8) << "C" << endl;
}
| [
"literal.string.change",
"io.output.change"
] | 1,469,660 | 1,469,661 | u979467867 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
cout << 'A' << s.at(8) << 'C' << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << 'A' << s.at(8) << 'C' << endl;
}
| [
"call.add",
"expression.operation.binary.change",
"call.arguments.change"
] | 1,469,665 | 1,469,666 | u935184383 | cpp |
p03860 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
using namespace std;
using P = pair<int, int>;
using ll = long long;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] << b << c[0] << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
using namespace std;
using P = pair<int, int>;
using ll = long long;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << a[0] << b[0] << c[0] << endl;
return 0;
}
| [] | 1,469,667 | 1,469,668 | u534923072 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
char A = a.at(0);
char B = b.at(0);
char C = c.at(0);
cout << A + B + C << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
char A = a.at(0);
char B = b.at(0);
char C = c.at(0);
cout << A << B << C << endl;
}
| [
"io.output.change"
] | 1,469,673 | 1,469,674 | u467935100 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
#define all(x) x.begin(), x.end()
#define rep(i, j, n) for (long long i = j; i < (long long)(n); i++)
#define _GLIBCXX_DEBUG
#define MOD 100... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
#define all(x) x.begin(), x.end()
#define rep(i, j, n) for (long long i = j; i < (long long)(n); i++)
#define _GLIBCXX_DEBUG
#define MOD 100... | [
"literal.string.change",
"io.output.change"
] | 1,469,675 | 1,469,676 | u164181205 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
#define all(x) x.begin(), x.end()
#define rep(i, j, n) for (long long i = j; i < (long long)(n); i++)
#define _GLIBCXX_DEBUG
#define MOD 100... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
#define all(x) x.begin(), x.end()
#define rep(i, j, n) for (long long i = j; i < (long long)(n); i++)
#define _GLIBCXX_DEBUG
#define MOD 100... | [
"literal.string.change",
"io.output.change"
] | 1,469,677 | 1,469,676 | u164181205 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string word;
for (int i = 0; i < 3; i++) {
cout << word.at(0);
}
cout << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string word;
for (int i = 0; i < 3; i++) {
cin >> word;
cout << word.at(0);
}
cout << endl;
return 0;
} | [] | 1,469,682 | 1,469,683 | u734483611 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
char b = S.at(0);
cout << "A" << b << "C" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string D, S;
cin >> D >> S;
char b = S.at(0);
cout << "A" << b << "C" << endl;
}
| [
"variable_declaration.add"
] | 1,469,686 | 1,469,687 | u255137505 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S;
cin >> S;
cout << 'A' + S.at(0) + 'C' << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string S;
cin >> S >> S;
cout << 'A' << S.at(0) << 'C' << endl;
}
| [
"io.output.change"
] | 1,469,692 | 1,469,693 | u359767101 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
cout << 'A' << s.at(8) << 'C' << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << 'A' << s.at(8) << 'C' << endl;
} | [
"call.add",
"expression.operation.binary.change",
"call.arguments.change"
] | 1,469,694 | 1,469,695 | u236172255 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string A, a, C;
cin >> A, a, C;
cout << "A" << a.at(0) << "C" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string A, a, C;
cin >> A >> a >> C;
cout << "A" << a.at(0) << "C" << endl;
}
| [] | 1,469,698 | 1,469,699 | u751515087 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string atcoder, s, contest;
cin >> atcoder >> s >> contest;
char a;
a = s.at(0);
cout << 'A' + a + 'C' << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string atcoder, s, contest;
cin >> atcoder >> s >> contest;
char a;
a = s.at(0);
cout << "A"s + a + "C"s << endl;
}
| [
"literal.string.change",
"io.output.change"
] | 1,469,700 | 1,469,701 | u934462215 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b;
cin >> a >> b;
cout << "A" << b.at(1) << "C" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b;
cin >> a >> b;
cout << "A" << b.at(0) << "C" << endl;
}
| [
"literal.number.change",
"io.output.change"
] | 1,469,702 | 1,469,703 | u054488644 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string x, y, z;
cin >> x >> y >> z;
cout << "A" << y << "C" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string x, y, z;
cin >> x >> y >> z;
cout << "A" << y.at(0) << "C" << endl;
}
| [
"call.add"
] | 1,469,713 | 1,469,714 | u958873500 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << a.at(0) << s.at(0) << s.at(0) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << a.at(0) << s.at(0) << c.at(0) << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,469,715 | 1,469,716 | u435064534 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, srt, end) for (long long i = (srt); i < (long long)(end); i++)
#define VL vector<ll>
#define VS vector<string>
#define VB vector<bool>
#define VP vector<pair<ll, ll>>
#define VVL vector<vector<ll>>
#define VVP vector<vector<pair<ll, ll>>... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, srt, end) for (long long i = (srt); i < (long long)(end); i++)
#define VL vector<ll>
#define VS vector<string>
#define VB vector<bool>
#define VP vector<pair<ll, ll>>
#define VVL vector<vector<ll>>
#define VVP vector<vector<pair<ll, ll>>... | [
"io.output.change"
] | 1,469,722 | 1,469,723 | u829403090 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c, x, y, z;
cin >> a, b, c;
// ここにプログラムを追記
x = a.at(0);
y = b.at(0);
z = c.at(0);
cout << x + y + z << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c, x, y, z;
cin >> a >> b >> c;
// ここにプログラムを追記
x = a.at(0);
y = b.at(0);
z = c.at(0);
cout << x + y + z << endl;
} | [] | 1,469,729 | 1,469,730 | u290475901 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << "A" << 'b.at(0)' << "C" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << "A" << b.at(0) << "C" << endl;
}
| [
"call.arguments.add"
] | 1,469,731 | 1,469,732 | u191114518 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a;
for (int i = 0; i < 3; i++) {
cin >> a;
cout << a.at(0) << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a;
for (int i = 0; i < 3; i++) {
cin >> a;
cout << a.at(0);
}
} | [
"expression.operation.binary.remove"
] | 1,469,735 | 1,469,736 | u044467039 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
cout << "A" << s.at(8) << "C" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << "A" << s.at(8) << "C" << endl;
}
| [
"call.add",
"expression.operation.binary.change",
"call.arguments.change"
] | 1,469,744 | 1,469,745 | u929543200 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string A;
char S;
string C;
cin >> A >> S >> C;
cout << A[0] << S << C[0] << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string A;
string S;
string C;
cin >> A >> S >> C;
cout << A[0] << S[0] << C[0] << endl;
}
| [
"variable_declaration.type.change"
] | 1,469,746 | 1,469,747 | u046313635 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string A, S, C;
cin >> A >> S >> C;
cout << A.at(0) + S.at(0) + C.at(0) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string A, S, C;
cin >> A >> S >> C;
cout << A.at(0) << S.at(0) << C.at(0) << endl;
} | [
"io.output.change"
] | 1,469,748 | 1,469,749 | u046313635 | cpp |
p03860 | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using ull = unsigned long long;
using P = pair<int, int>;
const int INF = 1e9;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << "A" << s.substr(0) << "C" << endl;
}
| #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using ull = unsigned long long;
using P = pair<int, int>;
const int INF = 1e9;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << "A" << s.substr(0, 1) << "C" << endl;
... | [
"call.arguments.add"
] | 1,469,750 | 1,469,751 | u890836126 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, x;
cin >> a >> x;
cout << 'A' << x.at(1) << 'C' << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string a, x;
cin >> a >> x;
cout << 'A' << x.at(0) << 'C' << endl;
}
| [
"literal.number.change",
"io.output.change"
] | 1,469,752 | 1,469,753 | u720314082 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, x;
cin >> a >> x;
cout << 'A' << x << 'C' << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string a, x;
cin >> a >> x;
cout << 'A' << x.at(0) << 'C' << endl;
}
| [
"call.add"
] | 1,469,754 | 1,469,753 | u720314082 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << a.at(0) << a.at(0) << c.at(0) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << a.at(0) << s.at(0) << c.at(0) << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,469,755 | 1,469,756 | u743046081 | cpp |
p03860 | #include <iostream>
int main() {
char s[1];
std::cin >> s >> s;
std::cout << "A" << s[0] << "C";
} | #include <iostream>
int main() {
char s[100];
std::cin >> s >> s;
std::cout << "A" << s[0] << "C";
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 1,469,761 | 1,469,762 | u168017191 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << "A" << s.at(9) << "C" << endl;
}
// AtCorder
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << "A" << s.at(8) << "C" << endl;
}
// AtCorder
| [
"literal.number.change",
"io.output.change"
] | 1,469,765 | 1,469,766 | u392973556 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << "A" << s.at(9) << "B" << endl;
}
// AtCorder | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << "A" << s.at(8) << "C" << endl;
}
// AtCorder
| [
"literal.number.change",
"io.output.change",
"literal.string.change"
] | 1,469,767 | 1,469,766 | u392973556 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << "A" << s.at(8) << "B" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
getline(cin, s);
cout << "A" << s.at(8) << "C" << endl;
}
// AtCorder
| [
"literal.string.change",
"io.output.change"
] | 1,469,768 | 1,469,766 | u392973556 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vd = vector<double>;
using vvd = vector<vd>;
using vc = vector<char>;
using vb = vector<bool>;
using vl = vector<ll>;
#define rep(i, x, n) for (int i = x; i < n; i++)
#define all(x) x.begin(), x.end... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vd = vector<double>;
using vvd = vector<vd>;
using vc = vector<char>;
using vb = vector<bool>;
using vl = vector<ll>;
#define rep(i, x, n) for (int i = x; i < n; i++)
#define all(x) x.begin(), x.end... | [
"variable_declaration.add"
] | 1,469,773 | 1,469,774 | u688825490 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string ste, sta, stb, stc;
cin >> sta >> stb >> stc;
ste = "AXC";
ste.at(1) = stb.at(0);
cout << stb << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string ste, sta, stb, stc;
cin >> sta >> stb >> stc;
ste = "AXC";
ste.at(1) = stb.at(0);
cout << ste << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,469,778 | 1,469,779 | u482601175 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string ste, sta, stb, stc;
cin >> sta, stb, stc;
ste = "AXC";
ste.at(1) = stb.at(0);
cout << stb << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string ste, sta, stb, stc;
cin >> sta >> stb >> stc;
ste = "AXC";
ste.at(1) = stb.at(0);
cout << ste << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,469,780 | 1,469,779 | u482601175 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s1, s2, s3;
cin >> s1 >> s2 >> s3;
cout << s1[0] + s2[0] + s3[0] << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s1, s2, s3;
cin >> s1 >> s2 >> s3;
cout << s1[0] << s2[0] << s3[0] << endl;
return 0;
} | [
"io.output.change"
] | 1,469,792 | 1,469,793 | u271044469 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
cout << 'A' << s.at(8) << 'C' << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
string s;
int main() {
getline(cin, s);
cout << 'A' << s.at(8) << 'C' << endl;
return 0;
}
| [
"call.add",
"expression.operation.binary.change",
"call.arguments.change"
] | 1,469,794 | 1,469,795 | u589508454 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
cout << "A" << s.at(0) << "C" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
cout << "A" << t.at(0) << "C" << endl;
}
| [
"identifier.change",
"io.output.change"
] | 1,469,798 | 1,469,799 | u573433204 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << "A" << 's.at(0)' << "C" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string a, s, c;
cin >> a >> s >> c;
cout << "A" << s.at(0) << "C" << endl;
}
| [
"call.arguments.add"
] | 1,469,808 | 1,469,809 | u314917898 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string A, S, B;
cin >> A >> S >> B;
cout << "A" << S.at(0) << "B" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string A, S, B;
cin >> A >> S >> B;
cout << "A" << S.at(0) << "C" << endl;
} | [
"literal.string.change",
"io.output.change"
] | 1,469,818 | 1,469,819 | u541917537 | cpp |
p03860 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s[4];
cin >> s[0] >> s[1] >> s[2];
cout << s[0][0] + s[1][0] + s[2][0];
return 0;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string s[4];
cin >> s[0] >> s[1] >> s[2];
cout << s[0][0] << s[1][0] << s[2][0];
return 0;
}
| [
"io.output.change"
] | 1,469,822 | 1,469,823 | u453683890 | cpp |
p03860 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main(void) {
ios::sync_with_stdio(0);
cin.tie(0);
string s;
cin >> s;
char x = s.at(0);
cout << "A" << x << "C\n";
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main(void) {
ios::sync_with_stdio(0);
cin.tie(0);
string s;
rep(i, 2) cin >> s;
char x = s.at(0);
cout << "A" << x << "C\n";
}
| [
"call.add"
] | 1,469,832 | 1,469,833 | u944545272 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string first, second, third;
cin >> first >> second >> third;
cout << first.at(0) << second.at(1) << third.at(2) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string first, second, third;
cin >> first >> second >> third;
cout << first.at(0) << second.at(0) << third.at(0) << endl;
} | [
"literal.number.change",
"io.output.change"
] | 1,469,839 | 1,469,840 | u988550439 | cpp |
p03860 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s, t, l;
cin >> s >> t >> l;
cout << s.at(1) << t.at(1) << l.at(1) << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s, t, l;
cin >> s >> t >> l;
cout << s.at(0) << t.at(0) << l.at(0) << endl;
}
| [
"literal.number.change",
"io.output.change"
] | 1,469,843 | 1,469,844 | u864785784 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.