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 |
|---|---|---|---|---|---|---|---|
p03852 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
char ch = s[0];
if (ch == 'a' || ch == 'e' || ch == 'i' || ch == '0' || ch == 'u') {
cout << "vowel";
return 0;
}
cout << "consonant";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
char ch = s[0];
if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') {
cout << "vowel";
return 0;
} else
cout << "consonant";
}
| [
"literal.string.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,465,689 | 1,465,690 | u436337074 | cpp |
p03852 | #include <algorithm> //sort,binarySearch
#include <bits/stdc++.h>
#include <functional>
#include <iomanip> // setprecision
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <sstream>
#include <stdio.h> // printf,scanf
#include <stdlib.h>
#include <string>
#include <utility> // c+11 Array
#inc... | #include <algorithm> //sort,binarySearch
#include <bits/stdc++.h>
#include <functional>
#include <iomanip> // setprecision
#include <iostream>
#include <map>
#include <math.h>
#include <set>
#include <sstream>
#include <stdio.h> // printf,scanf
#include <stdlib.h>
#include <string>
#include <utility> // c+11 Array
#inc... | [
"variable_declaration.name.change",
"identifier.change",
"literal.string.change",
"variable_declaration.value.change",
"call.arguments.change",
"control_flow.branch.if.condition.change"
] | 1,465,691 | 1,465,692 | u428804420 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vvl = vector<vector<ll>>;
using vl = vector<ll>;
#define _GLIBCXX_DEBUG
#define acc_io \
cin.tie(0); \
ios::sync_... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vvl = vector<vector<ll>>;
using vl = vector<ll>;
#define _GLIBCXX_DEBUG
#define acc_io \
cin.tie(0); \
ios::sync_... | [] | 1,465,697 | 1,465,698 | u855838587 | cpp |
p03853 | #include <iostream>
#include <string>
using namespace std;
int main() {
int h, w;
string data;
cin >> h >> w;
for (int i = 0; i < h; i++) {
getline(cin, data);
cout << data << endl;
cout << data << endl;
}
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int h, w;
string data;
cin >> h >> w;
for (int i = 0; i < h + 1; i++) {
getline(cin, data);
cout << data << endl;
cout << data << endl;
}
} | [
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 1,465,699 | 1,465,700 | u875036292 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
string a;
for (int i = 0; i < h; i++) {
cin >> a;
cout << a;
cout << a;
cout << endl;
cout << a;
cout << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
string a;
for (int i = 0; i < h; i++) {
cin >> a;
cout << a;
cout << endl;
cout << a;
cout << endl;
}
return 0;
}
| [] | 1,465,705 | 1,465,706 | u263933075 | cpp |
p03853 | #include <iostream>
using namespace std;
int main() {
char a[666];
int x, y;
cin >> x, y;
for (int i = 1; i <= x; i++) {
cin >> a;
cout << a << endl;
cout << a << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
char a[101];
int x, y;
cin >> x >> y;
for (int i = 1; i <= x; i++) {
cin >> a;
cout << a << endl;
cout << a << endl;
}
return 0;
} | [
"literal.number.change",
"variable_declaration.array_dimensions.change"
] | 1,465,707 | 1,465,708 | u263933075 | cpp |
p03853 | #include <bits/stdc++.h> //万能头文件
using namespace std;
int main() {
int n, m;
char a[101];
cin >> n >> m;
for (int i = 1; i <= n; i++) {
gets(a); //边输入边输出
puts(a);
puts(a);
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, m;
char a[101];
cin >> n >> m;
for (int i = 1; i <= n; i++) {
cin >> a;
puts(a);
puts(a);
}
return 0;
} | [
"call.arguments.change"
] | 1,465,709 | 1,465,710 | u247366051 | cpp |
p03853 | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
using namespace std;
typedef long long ll;
ll gcd(ll a, ll b) { return b != 0 ? gcd(b, a % b) : a; }
ll lcm(ll a, ll b) { return a * b / gcd(a, b); }
int main() {
ll h, w;
cin >> h >> w;
vector<strin... | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
using namespace std;
typedef long long ll;
ll gcd(ll a, ll b) { return b != 0 ? gcd(b, a % b) : a; }
ll lcm(ll a, ll b) { return a * b / gcd(a, b); }
int main() {
ll h, w;
cin >> h >> w;
vector<strin... | [
"expression.operation.binary.remove"
] | 1,465,731 | 1,465,732 | u930561195 | cpp |
p03853 | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
using namespace std;
typedef long long ll;
ll gcd(ll a, ll b) { return b != 0 ? gcd(b, a % b) : a; }
ll lcm(ll a, ll b) { return a * b / gcd(a, b); }
int main() {
ll h, w;
cin >> h >> w;
vector<strin... | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
using namespace std;
typedef long long ll;
ll gcd(ll a, ll b) { return b != 0 ? gcd(b, a % b) : a; }
ll lcm(ll a, ll b) { return a * b / gcd(a, b); }
int main() {
ll h, w;
cin >> h >> w;
vector<strin... | [] | 1,465,733 | 1,465,732 | u930561195 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int H, W;
cin >> H >> W;
string C[H];
for (int i = 0; i < W; i++)
cin >> C[i];
for (int i = 0; i < H; i++) {
cout << C[i] << endl;
cout << C[i] << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int H, W;
cin >> H >> W;
string C[H];
for (int i = 0; i < H; i++)
cin >> C[i];
for (int i = 0; i < H; i++) {
cout << C[i] << endl;
cout << C[i] << endl;
}
return 0;
} | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,465,764 | 1,465,765 | u599895318 | cpp |
p03853 | #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
char c[105];
for (int i = 0; i < a; i++) {
scanf("%s", c);
printf("%s\n%s", c, c);
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
char c[105];
for (int i = 0; i < a; i++) {
scanf("%s", c);
printf("%s\n%s\n", c, c);
}
return 0;
}
| [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 1,465,770 | 1,465,771 | u840269340 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int H;
cin >> H;
for (int i = 0; i < H; i++) {
string S;
cin >> S;
cout << S << endl << S << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int H, W;
cin >> H >> W;
for (int i = 0; i < H; i++) {
string S;
cin >> S;
cout << S << endl << S << endl;
}
} | [
"variable_declaration.add"
] | 1,465,774 | 1,465,775 | u306482197 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int H, W;
string inp;
vector<string> C(H);
cin >> H >> W;
rep(i, H) {
cin >> inp;
C.push_back(inp);
}
rep(i, H) {
cout << C.at(i) << "\n";
cout << C.at(i... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int H, W;
string inp;
vector<string> C;
cin >> H >> W;
rep(i, H) {
cin >> inp;
C.push_back(inp);
}
rep(i, H) {
cout << C.at(i) << "\n";
cout << C.at(i) <... | [] | 1,465,783 | 1,465,784 | u114366889 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int H;
cin >> H;
for (int i = 0; i < H; i++) {
string tmp;
cin >> tmp;
cout << tmp << endl;
cout << tmp << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int H, W;
cin >> H >> W;
for (int i = 0; i < H; i++) {
string tmp;
cin >> tmp;
cout << tmp << endl;
cout << tmp << endl;
}
}
| [
"variable_declaration.add"
] | 1,465,812 | 1,465,813 | u986480146 | cpp |
p03853 | #include <algorithm>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
//#include<cstdio>
//#include<cmath>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < n; ++i)
#define rep1(i, n) for (int i = 1; i <= n; ++i)
// int MOD=1000000007;
signed main() {
int h, w;
... | #include <algorithm>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
//#include<cstdio>
//#include<cmath>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < n; ++i)
#define rep1(i, n) for (int i = 1; i <= n; ++i)
// int MOD=1000000007;
signed main() {
int h, w;
... | [] | 1,465,818 | 1,465,819 | u313043608 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
#define int long long
typedef pair<int, int> P;
#define mod 1000000007
#define INF (1LL << 60)
#define rep(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define repi(itr, ds) for (auto itr = ds.begin(); itr != ds.end(); itr++)
#define YES puts("YES")
#define Yes ... | #include <bits/stdc++.h>
using namespace std;
#define int long long
typedef pair<int, int> P;
#define mod 1000000007
#define INF (1LL << 60)
#define rep(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define repi(itr, ds) for (auto itr = ds.begin(); itr != ds.end(); itr++)
#define YES puts("YES")
#define Yes ... | [] | 1,465,852 | 1,465,853 | u592610268 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
// freopen("input.txt","r",stdin);
int row, col;
string image[150];
// string st_image[300];
cin >> row >> col;
for (int i = 0; i < row; i++) {
cin >> image[i];
}
for (int i = 0; i < 2 * row; i++) {
int p = (i + 1) / 2;
cout <... | #include <bits/stdc++.h>
using namespace std;
int main() {
// freopen("input.txt","r",stdin);
int row, col;
string image[150];
// string st_image[300];
cin >> row >> col;
for (int i = 0; i < row; i++) {
cin >> image[i];
}
for (int i = 0; i < 2 * row; i++) {
int p = (i) / 2;
cout << im... | [
"expression.operation.binary.remove"
] | 1,465,856 | 1,465,857 | u258469084 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
#define rep(i, n) for (int i = 0; i < (n); i++)
int int_len(int n) {
int s = 0;
while (n != 0)
s++, n /= 10;
return s;
}
int int_sum(int n) {
int m = 0, s = 0, a = n;
while (a != 0)
s++, a /= 10;
for (int i = s - 1; i >= 0; ... | #include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
#define rep(i, n) for (int i = 0; i < (n); i++)
int int_len(int n) {
int s = 0;
while (n != 0)
s++, n /= 10;
return s;
}
int int_sum(int n) {
int m = 0, s = 0, a = n;
while (a != 0)
s++, a /= 10;
for (int i = s - 1; i >= 0; ... | [
"variable_declaration.add"
] | 1,465,865 | 1,465,866 | u264265458 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
int main() {
int H, W;
cin >> H >> W;
string C;
for (int i = 0; i < H; i++) {
cout << C << endl;
cout << C << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
int main() {
int H, W;
cin >> H >> W;
string C;
for (int i = 0; i < H; i++) {
cin >> C;
cout << C << endl;
cout << C << endl;
}
}
| [] | 1,465,871 | 1,465,872 | u618697411 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
for (int i = 0; i < w; i++) {
string s;
cin >> s;
cout << s << endl;
cout << s << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
for (int i = 0; i < h; i++) {
string s;
cin >> s;
cout << s << endl;
cout << s << endl;
}
}
| [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,465,875 | 1,465,876 | u491279738 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int H, W;
cin >> H >> W;
string S;
for (int i = 0; i < W; i++) {
cin >> S;
for (int j = 0; j < 2; j++)
cout << S << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int H, W;
cin >> H >> W;
string S;
for (int i = 0; i < H; i++) {
cin >> S;
for (int j = 0; j < 2; j++)
cout << S << endl;
}
return 0;
} | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,465,881 | 1,465,882 | u239087789 | cpp |
p03853 | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <locale>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string.h>
#include <string>
#include <unordered_map>
#inclu... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <locale>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string.h>
#include <string>
#include <unordered_map>
#inclu... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change",
"expression.off_by_one",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,465,900 | 1,465,901 | u966854856 | cpp |
p03853 | #include <bits/stdc++.h>
typedef unsigned long long int ull;
typedef long double ldb;
typedef long long int ll;
#define for01(k, n) for (ll i = k; i < n; i++)
#define for02(k, n) for (ll j = k; j < n; j++)
#define for03(k, n) for (ll k = k; k < n; k++)
#define for11(k, n) for (ll i = k; i <= n; i++)
#define for12(k, ... | #include <bits/stdc++.h>
typedef unsigned long long int ull;
typedef long double ldb;
typedef long long int ll;
#define for01(k, n) for (ll i = k; i < n; i++)
#define for02(k, n) for (ll j = k; j < n; j++)
#define for03(k, n) for (ll k = k; k < n; k++)
#define for11(k, n) for (ll i = k; i <= n; i++)
#define for12(k, ... | [
"expression.operation.binary.remove"
] | 1,465,929 | 1,465,930 | u370388551 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
string s[a];
for (int i = 0; i < a; i++) {
cin >> s[i];
for (int i = 0; i < a; i++)
cout << s[i] << endl;
cout << s[i] << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
string s[a];
for (int i = 0; i < a; i++)
cin >> s[i];
for (int i = 0; i < a; i++)
cout << s[i] << endl << s[i] << endl;
}
| [] | 1,465,931 | 1,465,932 | u530329977 | cpp |
p03853 | #include <iostream>
using namespace std;
int main() {
int n, m, i;
string s;
cin >> n >> m;
for (i = 0; i < m; i++) {
cin >> s;
cout << s << endl << s << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int n, m, i;
string s;
cin >> n >> m;
for (i = 0; i < n; i++) {
cin >> s;
cout << s << endl << s << endl;
}
return 0;
}
| [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,465,933 | 1,465,934 | u834488582 | cpp |
p03853 | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <vector>
#define rep(i, N) for (int i = 0; i < (int)N; i++)
using namespace std;
typedef long long ll;
const ll LLINF = 9223372036854775807;
const int MOD = 1000000007;
int main() {
int H, W;
ci... | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <vector>
#define rep(i, N) for (int i = 0; i < (int)N; i++)
using namespace std;
typedef long long ll;
const ll LLINF = 9223372036854775807;
const int MOD = 1000000007;
int main() {
int H, W;
ci... | [
"expression.operation.binary.remove"
] | 1,465,944 | 1,465,945 | u680707192 | cpp |
p03853 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <random>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)n; i++)
int main() {
int h, w;
cin >> h >> w;
vector<string> s(... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <random>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)n; i++)
int main() {
int h, w;
cin >> h >> w;
vector<string> s(... | [
"expression.operation.binary.remove"
] | 1,465,963 | 1,465,964 | u654115954 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using vb = vector<bool>;
using vc = vector<char>;
using vs = vector<string>;
using vvi = vector<vector<int>>;
using vvc = vector<vector<char>>;
using pii = pair<int, int>;
#define fix10 cout << fixed << setprecision(10);
#define rep(i, n) for (int i ... | #include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using vb = vector<bool>;
using vc = vector<char>;
using vs = vector<string>;
using vvi = vector<vector<int>>;
using vvc = vector<vector<char>>;
using pii = pair<int, int>;
#define fix10 cout << fixed << setprecision(10);
#define rep(i, n) for (int i ... | [
"io.output.newline.add"
] | 1,465,965 | 1,465,966 | u184335045 | cpp |
p03853 | #include <bits/stdc++.h>
#define REP(i, n) for (ll i = 0; i < n; i++)
#define ALL(x) (x).begin(), (x).end()
#define MSG(x) cout << x << endl;
#define YN(x) x ? cout << "YES" << endl : cout << "NO" << endl;
#define Yn(x) x ? cout << "Yes" << endl : cout << "No" << endl;
#define yn(x) x ? cout << "yes" << endl : cout <<... | #include <bits/stdc++.h>
#define REP(i, n) for (ll i = 0; i < n; i++)
#define ALL(x) (x).begin(), (x).end()
#define MSG(x) cout << x << endl;
#define YN(x) x ? cout << "YES" << endl : cout << "NO" << endl;
#define Yn(x) x ? cout << "Yes" << endl : cout << "No" << endl;
#define yn(x) x ? cout << "yes" << endl : cout <<... | [
"assignment.change"
] | 1,466,010 | 1,466,011 | u720829795 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
vector<string> c(h);
for (int i = 0; i < h; i++) {
cin >> c.at(i);
}
for (int i = 0; i < 2 * h; i += 2) {
cout << c.at(i) << endl;
cout << c.at(i + 1) << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
vector<string> c(h);
for (int i = 0; i < h; i++) {
cin >> c.at(i);
}
for (int i = 0; i < h; i++) {
cout << c.at(i) << endl;
cout << c.at(i) << endl;
}
}
| [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 1,466,019 | 1,466,020 | u532401120 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
vector<string> c(h);
for (int i = 0; i < h; i++) {
cin >> c.at(i);
}
for (int i = 0; i < h; i += 2) {
cout << c.at(i) << endl;
cout << c.at(i + 1) << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
vector<string> c(h);
for (int i = 0; i < h; i++) {
cin >> c.at(i);
}
for (int i = 0; i < h; i++) {
cout << c.at(i) << endl;
cout << c.at(i) << endl;
}
}
| [
"expression.operation.binary.remove"
] | 1,466,021 | 1,466,020 | u532401120 | cpp |
p03853 | #include <iostream>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
char buf[105];
for (int y = 0; y < h; y++) {
scanf("%s", buf);
printf("%c\n%c\n", buf, buf);
}
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int h, w;
cin >> h >> w;
char buf[105];
for (int y = 0; y < h; y++) {
scanf("%s", buf);
printf("%s\n%s\n", buf, buf);
}
return 0;
} | [
"function.parameters.parameter.add",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,466,026 | 1,466,027 | u863957421 | cpp |
p03853 | #include <iostream>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
char buf[105];
for (int y = 0; y < h; y++) {
scanf("%s", buf);
printf("%c\n%c\n", buf, buf);
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
char buf[105];
for (int y = 0; y < h; y++) {
scanf("%s", buf);
printf("%s\n%s\n", buf, buf);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,466,026 | 1,466,028 | u863957421 | cpp |
p03853 | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int H, W;
cin >> H >> W;
vector<string> B(2 * H);
for (int i = 0; i < H; i++) {
string S;
cin >> S;
B[2 * i] = S;
B[2 * i + 1];
}
for (int j = 0; j < 2 * H; j++) {
cout << B[j] << endl;
}
ret... | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int H, W;
cin >> H >> W;
vector<string> B(2 * H);
for (int i = 0; i < H; i++) {
string S;
cin >> S;
B[2 * i] = S;
B[2 * i + 1] = S;
}
for (int j = 0; j < 2 * H; j++) {
cout << B[j] << endl;
}
... | [
"assignment.change"
] | 1,466,035 | 1,466,036 | u904123392 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
scanf("%d%d", &h, &w);
string s[101];
for (int i = 0; i < h; i++)
cin >> s[i];
for (int i = 0; i < h; i++)
cout << s[i] << "\n" << s[i];
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
scanf("%d%d", &h, &w);
string s[101];
for (int i = 0; i < h; i++)
cin >> s[i];
for (int i = 0; i < h; i++)
cout << s[i] << "\n" << s[i] << "\n";
return 0;
}
| [
"io.output.change"
] | 1,466,039 | 1,466,040 | u817607111 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int H, W;
cin >> H >> W;
vector<int> C(H);
for (int i = 0; i < H; i++) {
cin >> C[i];
cout << C[i] << endl;
cout << C[i] << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int H, W;
cin >> H >> W;
vector<string> C(H);
for (int i = 0; i < H; i++) {
cin >> C[i];
cout << C[i] << endl;
cout << C[i] << endl;
}
return 0;
} | [] | 1,466,045 | 1,466,046 | u990305162 | cpp |
p03853 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#ifdef _DEBUG
#define DMP(x) cerr << #x << ": " << x << "\n"
#else
#define DMP(x) ((void)0)
#endif
const int MOD = 1000000007, INF = 1111111... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#ifdef _DEBUG
#define DMP(x) cerr << #x << ": " << x << "\n"
#else
#define DMP(x) ((void)0)
#endif
const int MOD = 1000000007, INF = 1111111... | [
"variable_declaration.add"
] | 1,466,047 | 1,466,048 | u532573979 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using ll = long long;
using ull = unsigned long long;
int main(int argc, char *argv[]) {
std::cin.tie(0);
std::ios::sync_with_stdio(false);
/* */
int h, w;
cin >> h >> w;
string s;
for (int i = 0; i < h; ++i) {
cin >> s;
cout... | #include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using ll = long long;
using ull = unsigned long long;
int main(int argc, char *argv[]) {
std::cin.tie(0);
std::ios::sync_with_stdio(false);
/* */
int h, w;
cin >> h >> w;
string s;
for (int i = 0; i < h; ++i) {
cin >> s;
cout... | [
"io.output.change",
"io.output.newline.add"
] | 1,466,051 | 1,466,052 | u525568539 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll h, w, i;
cin >> h >> w;
string s;
for (i = 0; i < h; i++) {
cin >> s;
cout << s << endl << s;
}
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll h, w, i;
cin >> h >> w;
string s;
for (i = 0; i < h; i++) {
cin >> s;
cout << s << endl << s << endl;
}
}
| [
"io.output.newline.add"
] | 1,466,057 | 1,466,058 | u061912210 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int n, m;
string st;
int main() {
cin >> n >> m;
for (int i = 1; i <= n; i++) {
cin >> st;
cout << st << endl << st;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int n, m;
string st;
int main() {
cin >> n >> m;
for (int i = 1; i <= n; i++) {
cin >> st;
cout << st << endl << st << endl;
}
return 0;
} | [
"io.output.newline.add"
] | 1,466,062 | 1,466,063 | u476418095 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int H, W;
cin >> H >> W;
// vector<string> pic(H);
string s;
for (int i = 0; i < H; i++) {
// cin >> pic.at(i);
cin >> s;
for (int j = 0; j < 1; j++) {
cout << s << endl;
}
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int H, W;
cin >> H >> W;
// vector<string> pic(H);
string s;
for (int i = 0; i < H; i++) {
// cin >> pic.at(i);
cin >> s;
for (int j = 0; j < 2; j++) {
cout << s << endl;
}
}
return 0;
} | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 1,466,096 | 1,466,097 | u698347787 | cpp |
p03853 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
int h, w;
cin >> h >> w;
vector<string> pic(h);
rep(i, h) { cin >> pic[i]; }
rep(i, 2 * h - 1) { cout << pic[(i + 1) / 2] << endl; }
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
int h, w;
cin >> h >> w;
vector<string> pic(h);
rep(i, h) { cin >> pic[i]; }
rep(i, 2 * h) { cout << pic[i / 2] << endl; }
} | [
"expression.operation.binary.remove"
] | 1,466,106 | 1,466,107 | u868237899 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
string atc[101];
int h, w;
cin >> h >> w;
for (int i = 0; i < h; i++) {
getline(cin, atc[i]);
cout << atc[i] << endl << atc[i] << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string atc[101];
int h, w;
cin >> h >> w;
for (int i = 0; i < h; i++) {
cin >> atc[i];
cout << atc[i] << endl << atc[i] << endl;
}
} | [
"call.remove",
"call.arguments.change"
] | 1,466,119 | 1,466,120 | u768956726 | cpp |
p03853 | #include <iostream>
using namespace std;
int main() {
int H, W;
cin >> H >> W;
for (int i = 0; i < W; i++) {
string S;
cin >> S;
cout << S << "\n" << S << "\n";
}
} | #include <iostream>
using namespace std;
int main() {
int H, W;
cin >> H >> W;
for (int i = 0; i < H; i++) {
string S;
cin >> S;
cout << S << "\n" << S << "\n";
}
} | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,466,121 | 1,466,122 | u734774089 | cpp |
p03853 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <deque>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
using namespace std;
const long long mod = 1000000007;
const long l... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <deque>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
using namespace std;
const long long mod = 1000000007;
const long l... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,466,125 | 1,466,126 | u648138491 | cpp |
p03853 | #include <cmath>
#include <cstdlib>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
typedef unsigned long long u64;
typedef signed long long l64;
int main(void) {
cin.tie(0);
ios::sync_with_stdio(false);
int h, w;
cin >> h >> w;
for (int i = 0; i < w; ++i) {
... | #include <cmath>
#include <cstdlib>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
typedef unsigned long long u64;
typedef signed long long l64;
int main(void) {
cin.tie(0);
ios::sync_with_stdio(false);
int h, w;
cin >> h >> w;
for (int i = 0; i < h; ++i) {
... | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,466,133 | 1,466,134 | u691764803 | cpp |
p03853 | // gcc -std=gnu11 -O2 -o a.out main.c -lm
#include <stdio.h>
int main(void) {
int res;
int w, h;
char line[100][100 + 1];
int i;
// input
res = scanf("%d%d", &w, &h);
for (i = 0; i < h; i++) {
res = scanf("%s", &line[i][0]);
}
// output
for (i = 0; i < h; i++) {
printf("%s\n", &line[i][0... | // gcc -std=gnu11 -O2 -o a.out main.c -lm
#include <stdio.h>
int main(void) {
int res;
int w, h;
char line[100][100 + 1];
int i;
// input
res = scanf("%d%d", &h, &w);
for (i = 0; i < h; i++) {
res = scanf("%s", &line[i][0]);
}
// output
for (i = 0; i < h; i++) {
printf("%s\n", &line[i][0... | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 1,466,159 | 1,466,160 | u184851950 | cpp |
p03853 | #include <iostream>
#include <string>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
string a;
for (int i = 0; i < h; i++) {
cin >> a[i];
}
for (int i = 0; i < h; i++) {
cout << a[i] << endl;
cout << a[i] << endl;
}
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
string a[h];
for (int i = 0; i < h; i++) {
cin >> a[i];
}
for (int i = 0; i < h; i++) {
cout << a[i] << endl;
cout << a[i] << endl;
}
return 0;
} | [] | 1,466,168 | 1,466,169 | u384124931 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
string s[2 * h];
for (int i = 0; i < 2 * h; i++) {
cin >> s[i];
s[i + 1] = s[i];
cout << s[i] << endl;
cout << s[i + 1] << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
string s[2 * h];
for (int i = 0; i < 2 * h; i += 2) {
cin >> s[i];
s[i + 1] = s[i];
cout << s[i] << endl;
cout << s[i + 1] << endl;
}
}
| [] | 1,466,170 | 1,466,171 | u357265888 | cpp |
p03853 | #include <algorithm>
#include <bits/stdc++.h>
#include <cstdio>
#include <iostream>
#include <queue>
#include <string>
using ll = long long;
using namespace std;
int main() {
int h, w;
cin >> h >> w;
char s[100];
for (int i = 0; i < h; i++) {
cin >> s[i];
}
for (int i = 0; i < h; i++) {
cout << s[i... | #include <algorithm>
#include <bits/stdc++.h>
#include <cstdio>
#include <iostream>
#include <queue>
#include <string>
using ll = long long;
using namespace std;
int main() {
int h, w;
cin >> h >> w;
string s[100];
for (int i = 0; i < h; i++) {
cin >> s[i];
}
for (int i = 0; i < h; i++) {
cout << s... | [
"variable_declaration.type.change"
] | 1,466,172 | 1,466,173 | u342051078 | cpp |
p03853 | #include <iostream>
using namespace std;
int main() {
string str, ans;
int h;
cin >> h;
for (int i = 0; i < h; i++) {
cin >> str;
ans += str;
ans += '\n';
ans += str;
ans += '\n';
}
cout << ans;
return 0;
} | #include <iostream>
using namespace std;
int main() {
string str, ans;
int h, w;
cin >> h >> w;
for (int i = 0; i < h; i++) {
cin >> str;
ans += str;
ans += '\n';
ans += str;
ans += '\n';
}
cout << ans;
return 0;
} | [
"variable_declaration.add"
] | 1,466,174 | 1,466,175 | u417660734 | cpp |
p03853 | #include <algorithm>
#include <stdio.h>
using namespace std;
#define REP(i, N) for (int(i) = 0; (i) < (N); i++)
#define MAX 1 << 20
int main() {
int h, w;
char c[105][105];
scanf("%d %d", &h, &w);
REP(i, h) { scanf("%s", c[i]); }
REP(i, h) printf("%s\n%s", c[i], c[i]);
return 0;
} | #include <algorithm>
#include <stdio.h>
using namespace std;
#define REP(i, N) for (int(i) = 0; (i) < (N); i++)
#define MAX 1 << 20
int main() {
int h, w;
char c[105][105];
scanf("%d %d", &h, &w);
REP(i, h) { scanf("%s", c[i]); }
REP(i, h) printf("%s\n%s\n", c[i], c[i]);
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 1,466,184 | 1,466,185 | u028582153 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int i, a, b;
string array[101];
cin >> a >> b;
for (i = 0; i < b; i++) {
cin >> array[i];
cout << array[i] << endl;
cout << array[i] << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int i, a, b;
string array[101];
cin >> a >> b;
for (i = 0; i < a; i++) {
cin >> array[i];
cout << array[i] << endl;
cout << array[i] << endl;
}
} | [
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,466,205 | 1,466,206 | u073398103 | cpp |
p03853 | #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
string s;
for (int i = 0; i < h; i++) {
cin >> s;
cout << s << ends << s << ends;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int h, w;
cin >> h >> w;
string s;
for (int i = 0; i < h; i++) {
cin >> s;
cout << s << "\n" << s << "\n";
}
} | [
"io.output.change"
] | 1,466,209 | 1,466,210 | u874644572 | cpp |
p03853 | #include "bits/stdc++.h"
using namespace std;
//#define int long long
#define DBG 1
#define dump(o) \
if (DBG) { \
cerr << #o << " " << o << endl; ... | #include "bits/stdc++.h"
using namespace std;
//#define int long long
#define DBG 1
#define dump(o) \
if (DBG) { \
cerr << #o << " " << o << endl; ... | [
"expression.operation.binary.add"
] | 1,466,221 | 1,466,222 | u570522509 | cpp |
p03853 | #include <stdio.h>
int H, W;
char S[112];
int main(void) {
scanf("%d%d", &H, &W);
for (int i = 0; i < H; ++i) {
scanf("%s", &S);
printf("%s\n", S);
}
return 0;
} | #include <stdio.h>
int H, W;
char S[112];
int main(void) {
scanf("%d%d", &H, &W);
for (int i = 0; i < H; ++i) {
scanf("%s", &S);
printf("%s\n%s\n", S, S);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"call.arguments.add"
] | 1,466,225 | 1,466,226 | u660613376 | cpp |
p03853 | #include <stdio.h>
int H, W;
char S[112];
int main(void) {
scanf("%d%d", &H, &W);
for (int i = 0; i < H; ++i) {
scanf("%s", &S);
printf("%s\n", &S);
}
return 0;
} | #include <stdio.h>
int H, W;
char S[112];
int main(void) {
scanf("%d%d", &H, &W);
for (int i = 0; i < H; ++i) {
scanf("%s", &S);
printf("%s\n%s\n", S, S);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 1,466,227 | 1,466,226 | u660613376 | cpp |
p03853 | #include <stdio.h>
int H, W;
char S[112];
int main(void) {
scanf("%d%d", &H, &W);
for (int i = 0; i < H; ++i) {
scanf("%s", &S);
printf("%s", &S);
}
return 0;
} | #include <stdio.h>
int H, W;
char S[112];
int main(void) {
scanf("%d%d", &H, &W);
for (int i = 0; i < H; ++i) {
scanf("%s", &S);
printf("%s\n%s\n", S, S);
}
return 0;
} | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"io.output.newline.add"
] | 1,466,228 | 1,466,226 | u660613376 | cpp |
p03853 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#includ... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#includ... | [
"expression.operation.binary.remove"
] | 1,466,242 | 1,466,243 | u443010331 | cpp |
p03854 | #include <bits/stdc++.h>
#define M_PI 3.14159265358979323846 /* pi */
using namespace std;
using ll = long long;
vector<string> A = {"dream", "dreamer", "erase", "eraser"};
int main() {
string s;
cin >> s;
reverse(s.begin(), s.end());
for (int i = 0; i < 4; i++) {
reverse(A.at(i).begin(), A.at(i).end())... | #include <bits/stdc++.h>
#define M_PI 3.14159265358979323846 /* pi */
using namespace std;
using ll = long long;
vector<string> A = {"dream", "dreamer", "erase", "eraser"};
int main() {
string s;
cin >> s;
reverse(s.begin(), s.end());
for (int i = 0; i < 4; i++) {
reverse(A.at(i).begin(), A.at(i).end())... | [
"assignment.change"
] | 1,466,266 | 1,466,267 | u884074699 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
// これ以降の行は変更しなくてよい
int main() {
string s;
cin >> s;
vector<string> div = {"dream", "dreamer", "erase", "eraser"};
reverse(s.begin(), s.end());
for (int i = 0; i < 4; i++)
reverse(div.at(i).begin(), div.at(i).end());
for (int i = 0; i < s.size();) {
fo... | #include <bits/stdc++.h>
using namespace std;
// これ以降の行は変更しなくてよい
int main() {
string s;
cin >> s;
vector<string> div = {"dream", "dreamer", "erase", "eraser"};
reverse(s.begin(), s.end());
for (int i = 0; i < 4; i++)
reverse(div.at(i).begin(), div.at(i).end());
for (int i = 0; i < s.size();) {
fo... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,268 | 1,466,269 | u055884688 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<int, int> ii;
#define DEBUG freopen("in.txt", "r", stdin);
struct fastio {
fastio() {
ios::sync_with_stdio(false);
cout << setprecision(10) << fixed;
cin.tie(0);
}
};
fastio _fast_io;
string s;
int main() {
cin >>... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<int, int> ii;
#define DEBUG freopen("in.txt", "r", stdin);
struct fastio {
fastio() {
ios::sync_with_stdio(false);
cout << setprecision(10) << fixed;
cin.tie(0);
}
};
fastio _fast_io;
string s;
int main() {
cin >>... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.branch.if.condition.change"
] | 1,466,271 | 1,466,272 | u063318293 | cpp |
p03854 | #include <bits/stdc++.h>
//#include <atcoder/all>
#define rep(i, n) for (int i = 0; i < (n); ++i)
// using namespace atcoder;
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
//マクロ
// forループ関係
//引数は、(ループ内変数,動く範囲)か(ループ内変数,始めの数,終わりの数)、のどちらか
// Dがついてないものはループ変数は1ずつインクリメントされ、Dがついてるものはループ変数は1ずつデクリメントされる
#de... | #include <bits/stdc++.h>
//#include <atcoder/all>
#define rep(i, n) for (int i = 0; i < (n); ++i)
// using namespace atcoder;
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
//マクロ
// forループ関係
//引数は、(ループ内変数,動く範囲)か(ループ内変数,始めの数,終わりの数)、のどちらか
// Dがついてないものはループ変数は1ずつインクリメントされ、Dがついてるものはループ変数は1ずつデクリメントされる
#de... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,273 | 1,466,274 | u953626591 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int l = s.size();
while (l > 0) {
if (l >= 5 && s.substr(l - 5, 5) == "dream") {
l = l - 5;
}
if (l >= 7 && s.substr(l - 7, 7) == "dreamer") {
l = l - 7;
}
if (l >= 5 && s.substr(l - 5, 5) == "erase")... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int l = s.size();
while (l > 0) {
if (l >= 5 && s.substr(l - 5, 5) == "dream") {
l = l - 5;
} else if (l >= 7 && s.substr(l - 7, 7) == "dreamer") {
l = l - 7;
} else if (l >= 5 && s.substr(l - 5, 5) == "erase... | [
"control_flow.branch.else_if.replace.add",
"control_flow.branch.if.replace.remove"
] | 1,466,281 | 1,466,282 | u130492706 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
int main() {
string A = "dream", B = "dreamer", C = "erase", D = "eraser", S, T = "";
cin >> S;
reverse(S.begin(), S.end());
reverse(A.begin(), A.end());
reverse(B.begin(), B.end());
reverse(C.begin(), C.end());
reverse(D.begin(), D.end());
int N = S.size()... | #include <bits/stdc++.h>
using namespace std;
int main() {
string A = "dream", B = "dreamer", C = "erase", D = "eraser", S, T = "";
cin >> S;
reverse(S.begin(), S.end());
reverse(A.begin(), A.end());
reverse(B.begin(), B.end());
reverse(C.begin(), C.end());
reverse(D.begin(), D.end());
int N = S.size()... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,283 | 1,466,284 | u158290747 | cpp |
p03854 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <queue>
using namespace std;
int main() {
string S(100030, 'A');
cin >> S;
int t = 0, fie[100030] = {0};
fie[0] = 1;
for (int i = 1; S[i] != 'A'; i++) {
if (fie[i - 1]) {
if (S.substr(i - 1, 5) == "dream")
f... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <queue>
using namespace std;
int main() {
string S(100030, 'A');
cin >> S;
int t = 0, fie[100030] = {0};
fie[0] = 1;
for (int i = 1; S[i] != 'A'; i++) {
if (fie[i - 1]) {
if (S.substr(i - 1, 5) == "dream")
f... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,466,293 | 1,466,294 | u131156882 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
string s;
int q;
vector<string> a = {"dreameraser", "dreamerase", "dreamer",
"dream", "eraser", "erase"};
void pei(int x) {
if (s.size() > x) {
for (int i = 0; i < 6; i++) {
int y = a[i].size();
if (s.substr(x, y) == a[i]) {... | #include <bits/stdc++.h>
using namespace std;
string s;
int q;
vector<string> a = {"dreameraser", "dreamerase", "dreamer",
"dream", "eraser", "erase"};
void pei(int x) {
if (s.size() > x) {
for (int i = 0; i < 6; i++) {
int y = a[i].size();
if (s.substr(x, y) == a[i]) {... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,309 | 1,466,310 | u050055907 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
string s;
int q;
vector<string> a = {"dreameraser", "dreamerase", "dreamer",
"dream", "eraser", "erase"};
void pei(int x) {
if (s.size() > x) {
for (int i = 0; i < 6; i++) {
int y = a[i].size();
if (s.substr(x, y) == a[i]) {... | #include <bits/stdc++.h>
using namespace std;
string s;
int q;
vector<string> a = {"dreameraser", "dreamerase", "dreamer",
"dream", "eraser", "erase"};
void pei(int x) {
if (s.size() > x) {
for (int i = 0; i < 6; i++) {
int y = a[i].size();
if (s.substr(x, y) == a[i]) {... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,311 | 1,466,310 | u050055907 | cpp |
p03854 | #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(a) (a).begin(), (a).end()
#define VI vector<int>
#define MOD 1000000007
using ll = long long int;
using P = pair<int, int>;
template <class T> bool chmax(T &a, const T &b) {
... | #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(a) (a).begin(), (a).end()
#define VI vector<int>
#define MOD 1000000007
using ll = long long int;
using P = pair<int, int>;
template <class T> bool chmax(T &a, const T &b) {
... | [
"literal.number.change",
"assignment.value.change"
] | 1,466,312 | 1,466,313 | u868089307 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
vector<string> divi = {"dream", "dreamer", "erase", "eraser"};
string s;
cin >> s;
rep(i, 4) reverse(divi.at(i).begin(), divi.at(i).end());
reverse(s.begin(), s.end());
bool can = true;
for (... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
vector<string> divi = {"dream", "dreamer", "erase", "eraser"};
string s;
cin >> s;
rep(i, 4) reverse(divi.at(i).begin(), divi.at(i).end());
reverse(s.begin(), s.end());
bool can = true;
for (... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,314 | 1,466,315 | u442855610 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
vector<string> divi = {"dream", "dreamer", "erase", "eraser"};
string s;
cin >> s;
reverse(s.begin(), s.end());
rep(i, 4) reverse(divi.at(i).begin(), divi.at(i).end());
bool can = true;
for (... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
vector<string> divi = {"dream", "dreamer", "erase", "eraser"};
string s;
cin >> s;
reverse(s.begin(), s.end());
rep(i, 4) reverse(divi.at(i).begin(), divi.at(i).end());
bool can = true;
for (... | [
"control_flow.branch.if.condition.change"
] | 1,466,316 | 1,466,317 | u442855610 | cpp |
p03854 | #include <bits/stdc++.h>
#define fuckit() \
{ \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | #include <bits/stdc++.h>
#define fuckit() \
{ \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | [
"expression.unary.arithmetic.add"
] | 1,466,318 | 1,466,319 | u455696572 | cpp |
p03854 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(x) (x).begin(), (x).end()
#define cyes cout << "YES" << endl
#define cno cout << "NO" << endl
#define sp << " " <<
#define cst(x) cout << fixed << setprecision(x)
#define pi 3.14159265359
#define mod 1000000007
using namespace std;
using... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(x) (x).begin(), (x).end()
#define cyes cout << "YES" << endl
#define cno cout << "NO" << endl
#define sp << " " <<
#define cst(x) cout << fixed << setprecision(x)
#define pi 3.14159265359
#define mod 1000000007
using namespace std;
using... | [
"literal.number.change",
"call.arguments.change",
"control_flow.branch.if.condition.change"
] | 1,466,324 | 1,466,323 | u314260680 | cpp |
p03854 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string S;
int index = 0;
bool flag;
string dd[4] = {"maerd", "remaerd", "esare", "resare"};
cin >> S;
reverse(S.begin(), S.end());
bool ans = true;
for (int i = 0; i < S.size(); i++) {
bool flag = false;
... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
string S;
int index = 0;
bool flag;
string dd[4] = {"maerd", "remaerd", "esare", "resare"};
cin >> S;
reverse(S.begin(), S.end());
bool ans = true;
for (int i = 0; i < S.size();) {
bool flag = false;
f... | [
"control_flow.loop.for.update.change"
] | 1,466,325 | 1,466,326 | u173262636 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
vector<string> t(4);
t = {"dream", "dreamer", "erase", "eraser"};
reverse(s.begin(), s.end());
for (int i = 0; i < 4; i++) {
reverse(t.at(i).begin(), t.at(i).end());
}
bool b = false;
bool c = true;
int a;
for (int... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
vector<string> t(4);
t = {"dream", "dreamer", "erase", "eraser"};
reverse(s.begin(), s.end());
for (int i = 0; i < 4; i++) {
reverse(t.at(i).begin(), t.at(i).end());
}
bool b = false;
bool c = true;
int a;
for (int... | [
"assignment.add"
] | 1,466,329 | 1,466,330 | u766661918 | cpp |
p03854 | //問題やり直し
#include <algorithm>
#include <iostream>
#include <string>
using namespace std;
string T[4] = {"maerd", "remaerd", "esare", "resare"};
int main(void) {
string S;
cin >> S;
reverse(S.begin(), S.end());
while (S.length() != 0) {
for (int i = 0; i < 4; i++) {
if (S.compare(0, T[i].length(), T... | //問題やり直し
#include <algorithm>
#include <iostream>
#include <string>
using namespace std;
string T[4] = {"maerd", "remaerd", "esare", "resare"};
int main(void) {
string S;
cin >> S;
reverse(S.begin(), S.end());
// cout << S << endl;
while (S.length() != 0) {
for (int i = 0; i < 4; i++) {
if (S.com... | [] | 1,466,332 | 1,466,333 | u978356848 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
vector<string> ex = {"maerd", "remaerd", "esare", "resare"};
reverse(s.begin(), s.end());
bool can = true;
for (int i = 0; i < s.size();) {
bool can2 = false;
for (int j = 0; j < 4; ++j) {
string d = ex.at(j);
... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
vector<string> ex = {"maerd", "remaerd", "esare", "resare"};
reverse(s.begin(), s.end());
bool can = true;
for (int i = 0; i < s.size();) {
bool can2 = false;
for (int j = 0; j < 4; ++j) {
string d = ex.at(j);
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,340 | 1,466,341 | u929429540 | cpp |
p03854 | #include <algorithm>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
// Your code here!
string S;
bool can = true;
cin >> S;
string divide[4] = {"dream", "dreamer", "erase", "eraser"};
//反転
reverse(S.begin(), S.end());
for (int i = 0; i < 4; i++)
rever... | #include <algorithm>
#include <cstring>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
// Your code here!
string S;
bool can = true;
cin >> S;
string divide[4] = {"dream", "dreamer", "erase", "eraser"};
//反転
reverse(S.begin(), S.end());
for (int i = 0; i < 4; i++)
rever... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,348 | 1,466,349 | u624779726 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string t;
bool ans = true;
while (s.size() > 0) {
t = s.substr(0, 5);
if (t == "erase") {
s.erase(0, 5);
if (s[0] == 'r')
s.erase(0, 1);
} else if (t == "dream") {
s.erase(0, 5);
if (s.s... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
string t;
bool ans = true;
while (s.size() > 0) {
t = s.substr(0, 5);
if (t == "erase") {
s.erase(0, 5);
if (s[0] == 'r')
s.erase(0, 1);
} else if (t == "dream") {
s.erase(0, 5);
if (s.s... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,374 | 1,466,375 | u529089914 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
bool isok(string &s, int i) {
if (s.size() == i)
return true;
bool ans = false;
if (s.substr(i, 7) == "dreamer")
ans = (isok(s, i + 7) || ans);
if (s.substr(i, 5) == "dream")
ans = (isok(s, i + 5) || ans);
if (s.substr(i, 6) == "eraser")
ans = (is... | #include <bits/stdc++.h>
using namespace std;
bool isok(string &s, int i) {
if (s.size() == i)
return true;
bool ans = false;
if (s.substr(i, 7) == "dreamer")
ans = (isok(s, i + 7) || ans);
if (s.substr(i, 5) == "dream")
ans = (isok(s, i + 5) || ans);
if (s.substr(i, 6) == "eraser")
ans = (is... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,382 | 1,466,383 | u031240034 | cpp |
p03854 | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
using namespace std;
using ll = long long;
using vpii = vector<pair<int, int>>;
using vpll = vector<pair<ll, ll>>;
int main(void) {
string S;
cin >> S;
bool ans = true;
int i = S.size... | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
using namespace std;
using ll = long long;
using vpii = vector<pair<int, int>>;
using vpll = vector<pair<ll, ll>>;
int main(void) {
string S;
cin >> S;
bool ans = true;
int i = S.size... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,384 | 1,466,385 | u675042710 | cpp |
p03854 | #include "bits/stdc++.h"
#include "math.h"
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<bool> vb;
typedef vector<vb> vvb;
typedef vector<int> vin;
#define rep(i, a, b) for (ll i = (a); i < (b); ++i)
#define drep(i, a, b) for (ll i = (a); i >= (b); --i)
#de... | #include "bits/stdc++.h"
#include "math.h"
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<bool> vb;
typedef vector<vb> vvb;
typedef vector<int> vin;
#define rep(i, a, b) for (ll i = (a); i < (b); ++i)
#define drep(i, a, b) for (ll i = (a); i >= (b); --i)
#de... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,391 | 1,466,392 | u476488060 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define REPr(i, n) for (int i = (n)-1; i >= 0; --i)
#define FORq(i, m, n) for (int i = (m); i <= (n); ++i)
#define FORqr(i, m, n) for (int i = (n); i >= (m); --i)
#define M... | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define REPr(i, n) for (int i = (n)-1; i >= 0; --i)
#define FORq(i, m, n) for (int i = (m); i <= (n); ++i)
#define FORqr(i, m, n) for (int i = (n); i >= (m); --i)
#define M... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 1,466,397 | 1,466,398 | u236433947 | cpp |
p03854 | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define REPr(i, n) for (int i = (n)-1; i >= 0; --i)
#define FORq(i, m, n) for (int i = (m); i <= (n); ++i)
#define rFORq(i, m, n) for (int i = (n); i >= (m); --i)
#define SCD(n) scanf("%d", &n)
... | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define REPr(i, n) for (int i = (n)-1; i >= 0; --i)
#define FORq(i, m, n) for (int i = (m); i <= (n); ++i)
#define rFORq(i, m, n) for (int i = (n); i >= (m); --i)
#define SCD(n) scanf("%d", &n)
... | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 1,466,399 | 1,466,400 | u236433947 | cpp |
p03854 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
int main() {
std::string str;
std::cin >> str;
std::vector<std::string> check = {"maerd", "remaerd", "esare", "resare"};
std::reverse(str.begin(), str.end());
int flag = 0;
for (int i; i < str.size();) {
int temp_flag = 1;
... | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
int main() {
std::string str;
std::cin >> str;
std::vector<std::string> check = {"maerd", "remaerd", "esare", "resare"};
std::reverse(str.begin(), str.end());
int flag = 0;
for (int i = 0; i < str.size();) {
int temp_flag = 1;... | [
"control_flow.loop.for.initializer.change",
"variable_declaration.value.change"
] | 1,466,403 | 1,466,404 | u718758485 | cpp |
p03854 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
int main() {
std::string str;
std::cin >> str;
std::vector<std::string> check = {"maerd", "remaerd", "esare", "resare"};
std::reverse(str.begin(), str.end());
int flag = 0;
for (int i; i < str.size();) {
int temp_flag = 1;
... | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
int main() {
std::string str;
std::cin >> str;
std::vector<std::string> check = {"maerd", "remaerd", "esare", "resare"};
std::reverse(str.begin(), str.end());
int flag = 0;
for (int i = 0; i < str.size();) {
int temp_flag = 1;... | [
"control_flow.loop.for.initializer.change",
"variable_declaration.value.change"
] | 1,466,403 | 1,466,405 | u718758485 | cpp |
p03854 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rrep(ri, n) for (int ri = (int)(n - 1); ri >= 0; ri--)
#define rep2(i, x, n) for (int i = (int)(x); i < (int)(n); i++)
#define repit(itr, x) for (auto itr = x.begin(); itr != x.end(); itr++)
#define rrepit(ritr, x) for (auto ritr = x.... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rrep(ri, n) for (int ri = (int)(n - 1); ri >= 0; ri--)
#define rep2(i, x, n) for (int i = (int)(x); i < (int)(n); i++)
#define repit(itr, x) for (auto itr = x.begin(); itr != x.end(); itr++)
#define rrepit(ritr, x) for (auto ritr = x.... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,406 | 1,466,407 | u617826263 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define countof(array) (sizeof(array) / sizeof(array[0]))
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rrep(i, n) for (int i = (n)-1; i >= 0; --i)
#define srep(i, n, s) for (int i = s; i < (n); ++i)
#define rsrep(i, n, s) for (i... | #include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define countof(array) (sizeof(array) / sizeof(array[0]))
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rrep(i, n) for (int i = (n)-1; i >= 0; --i)
#define srep(i, n, s) for (int i = s; i < (n); ++i)
#define rsrep(i, n, s) for (i... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,466,410 | 1,466,411 | u365512540 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, l, r) for (long long i = (l); i < (r); ++i)
#define REP(i, n) FOR(i, 0, n)
#define int long long
#define pb push_back
#define mp make_pair
const int MOD = 1e9 + 7;
const int INF = 1e15;
signed main() {
string S;
cin >> S;
reverse(S.begin(), S.end());
... | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, l, r) for (long long i = (l); i < (r); ++i)
#define REP(i, n) FOR(i, 0, n)
#define int long long
#define pb push_back
#define mp make_pair
const int MOD = 1e9 + 7;
const int INF = 1e15;
signed main() {
string S;
cin >> S;
reverse(S.begin(), S.end());
... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 1,466,419 | 1,466,420 | u342075214 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, l, r) for (long long i = (l); i < (r); ++i)
#define REP(i, n) FOR(i, 0, n)
#define int long long
#define pb push_back
#define mp make_pair
const int MOD = 1e9 + 7;
const int INF = 1e15;
signed main() {
string S;
cin >> S;
reverse(S.begin(), S.end());
... | #include <bits/stdc++.h>
using namespace std;
#define FOR(i, l, r) for (long long i = (l); i < (r); ++i)
#define REP(i, n) FOR(i, 0, n)
#define int long long
#define pb push_back
#define mp make_pair
const int MOD = 1e9 + 7;
const int INF = 1e15;
signed main() {
string S;
cin >> S;
reverse(S.begin(), S.end());
... | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"assignment.value.change"
] | 1,466,421 | 1,466,420 | u342075214 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
reverse(s.begin(), s.end());
while (s.size()) {
if (s.substr(0, 5) == "maerd" || s.substr(0, 5) == "esare") {
s = s.substr(5, s.size());
} else if (s.substr(0, 6) == "resare") {
s = s.substr(6, s.size());
} el... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
reverse(s.begin(), s.end());
while (s.size()) {
if (s.substr(0, 5) == "maerd" || s.substr(0, 5) == "esare") {
s = s.substr(5, s.size());
} else if (s.substr(0, 6) == "resare") {
s = s.substr(6, s.size());
} el... | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 1,466,424 | 1,466,425 | u222643545 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
reverse(s.begin(), s.end());
while (!s.size()) {
if (s.substr(0, 5) == "maerd" || s.substr(0, 5) == "esare") {
s = s.substr(5, s.size());
} else if (s.substr(0, 6) == "resare") {
s = s.substr(6, s.size());
} e... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
reverse(s.begin(), s.end());
while (s.size()) {
if (s.substr(0, 5) == "maerd" || s.substr(0, 5) == "esare") {
s = s.substr(5, s.size());
} else if (s.substr(0, 6) == "resare") {
s = s.substr(6, s.size());
} el... | [
"expression.operation.unary.logical.remove",
"control_flow.loop.condition.change",
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 1,466,426 | 1,466,425 | u222643545 | cpp |
p03854 | #include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
string x = "dream";
string y = "dreamer";
string z = "erase";
string w = "eraser";
int len = S.length();
string a;
for (int i = 1; i < len; i++) {
len = S.length();
if (len == 0) {
cout << "Y... | #include <iostream>
#include <string>
using namespace std;
int main() {
string S;
cin >> S;
string x = "dream";
string y = "dreamer";
string z = "erase";
string w = "eraser";
int len = S.length();
int lin = len;
string a;
for (int i = 1; i < lin; i++) {
len = S.length();
if (len == 0) {... | [
"variable_declaration.add",
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 1,466,435 | 1,466,436 | u457483230 | cpp |
p03854 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
string s;
cin >> s;
int len = s.size();
int i = len - 1;
string b;
while (i > 0) {
if (s[i] == 'm' && i >= 4) {
b.insert(0, "dream");
i -= 4;
} else if (... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
string s;
cin >> s;
int len = s.size();
int i = len - 1;
string b;
while (i > 0) {
if (s[i] == 'm' && i >= 4) {
b.insert(0, "dream");
i -= 4;
} else if (... | [
"literal.string.change",
"call.arguments.change"
] | 1,466,437 | 1,466,438 | u025047544 | cpp |
p03854 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define sz(x) int(x.size())
using namespace std;
// string s = "dreameraser";
string s;
string target[] = {"dreamer", "eraser", "dream", "erase"};
int main() {
int pos = 0;
int len = 0;
cin >> s;
while (s.size() > 0) {
// printf("%s... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define sz(x) int(x.size())
using namespace std;
// string s = "dreameraser";
string s;
string target[] = {"dreamer", "eraser", "dream", "erase"};
int main() {
int pos = 0;
int len = 0;
cin >> s;
while (s.size() > 0) {
// printf("%s... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 1,466,439 | 1,466,440 | u455366471 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
reverse(s.begin(), s.end());
array<string, 4> divide = {"dream", "dreamer", "erase", "eraser"};
for (int i = 0; i < 4; i++) {
reverse(divide.at(i).begin(), divide.at(i).end());
}
bool can = true;
for (int i = 0; i < s.... | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
reverse(s.begin(), s.end());
array<string, 4> divide = {"dream", "dreamer", "erase", "eraser"};
for (int i = 0; i < 4; i++) {
reverse(divide.at(i).begin(), divide.at(i).end());
}
bool can = true;
for (int i = 0; i < s.... | [
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,466,443 | 1,466,444 | u770187860 | cpp |
p03854 | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (long int i = 0; i < n; i++)
int main() {
string s;
cin >> s;
string a[] = {"maerd", "remaerd", "esare", "resare"};
string t;
for (int i = s.size() - 1... | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (long int i = 0; i < n; i++)
int main() {
string s;
cin >> s;
string a[] = {"maerd", "remaerd", "esare", "resare"};
string t;
for (int i = s.size() - 1... | [
"literal.number.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 1,466,450 | 1,466,451 | u416773418 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr ll MOD = 1000000007;
constexpr ll INF = 1ll << 60;
string tar[4]{"dream", "dreamer", "erase", "eraser"};
int main(int argc, char **argv) {
string s;
cin >> s;
reverse(s.begin(), s.end());
for (ll i = 0; i < 4; ++i)
reverse(tar[i... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr ll MOD = 1000000007;
constexpr ll INF = 1ll << 60;
string tar[4]{"dream", "dreamer", "erase", "eraser"};
int main(int argc, char **argv) {
string s;
cin >> s;
reverse(s.begin(), s.end());
for (ll i = 0; i < 4; ++i)
reverse(tar[i... | [
"literal.string.change",
"literal.string.case.change",
"expression.operation.binary.change"
] | 1,466,452 | 1,466,453 | u350072791 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
string S;
cin >> S;
string d[4] = {"dream", "dreamer", "erase", "eraser"};
reverse(S.begin(), S.end());
for (int i = 0; i < 4; i++) {
reverse(d[i].begin(), d[i].end());
}
bool can = false;
for (int i = 0; i < S.size(... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
string S;
cin >> S;
string d[4] = {"dream", "dreamer", "erase", "eraser"};
reverse(S.begin(), S.end());
for (int i = 0; i < 4; i++) {
reverse(d[i].begin(), d[i].end());
}
bool can = false;
for (int i = 0; i < S.size(... | [
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,466,454 | 1,466,455 | u513072290 | cpp |
p03854 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
string S;
cin >> S;
string d[4] = {"dream", "dreamer", "erase", "eraser"};
reverse(S.begin(), S.end());
for (int i = 0; i < 4; i++) {
reverse(d[i].begin(), d[i].end());
}
bool can = false;
for (int i = 0; i < S.size(... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
string S;
cin >> S;
string d[4] = {"dream", "dreamer", "erase", "eraser"};
reverse(S.begin(), S.end());
for (int i = 0; i < 4; i++) {
reverse(d[i].begin(), d[i].end());
}
bool can = false;
for (int i = 0; i < S.size(... | [
"control_flow.loop.for.update.change",
"expression.operation.compare.replace.add",
"assignment.replace.remove",
"misc.typo"
] | 1,466,456 | 1,466,455 | u513072290 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.