Datasets:

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
p03735
// Date: 2020-03-30 #include <bits/stdc++.h> using namespace std; typedef long long LL; typedef long double LD; typedef vector<int> VI; typedef pair<LL, LL> pll; typedef pair<int, int> pii; #define IO \ freopen("in.txt", "r", stdin); ...
// Date: 2020-03-30 #include <bits/stdc++.h> using namespace std; typedef long long LL; typedef long double LD; typedef vector<int> VI; typedef pair<LL, LL> pll; typedef pair<int, int> pii; #define IO \ freopen("in.txt", "r", stdin); ...
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "expression.operation.binary.change" ]
1,398,323
1,398,324
u896441219
cpp
p03735
#include <bits/stdc++.h> #define FOR(i, a, n) for (ll i = (ll)a; i < (ll)n; i++) #define FORR(i, n) for (ll i = (ll)n - 1LL; i >= 0LL; i--) #define rep(i, n) FOR(i, 0, n) #define ALL(x) (x).begin(), (x).end() using namespace std; using ll = long long; template <typename T> using V = vector<T>; constexpr int Mod = 9982...
#include <bits/stdc++.h> #define FOR(i, a, n) for (ll i = (ll)a; i < (ll)n; i++) #define FORR(i, n) for (ll i = (ll)n - 1LL; i >= 0LL; i--) #define rep(i, n) FOR(i, 0, n) #define ALL(x) (x).begin(), (x).end() using namespace std; using ll = long long; template <typename T> using V = vector<T>; constexpr int Mod = 9982...
[ "variable_declaration.type.change" ]
1,398,325
1,398,326
u047554023
cpp
p03735
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; typedef long long ll; typedef pair<int, int> P; typedef pair<int, P> P1; typedef pair<P, P> P2; #define pu push #define pb push_back #define mp make_pair #define eps 1e-7 #define INF 1000000000 #...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; typedef long long ll; typedef pair<int, int> P; typedef pair<int, P> P1; typedef pair<P, P> P2; #define pu push #define pb push_back #define mp make_pair #define eps 1e-7 #define INF 1000000000 #...
[ "identifier.change", "call.arguments.change", "variable_declaration.value.change", "identifier.replace.remove", "literal.replace.add", "control_flow.loop.for.initializer.change" ]
1,398,331
1,398,332
u316170293
cpp
p03735
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; typedef long long ll; typedef pair<int, int> P; typedef pair<int, P> P1; typedef pair<P, P> P2; #define pu push #define pb push_back #define mp make_pair #define eps 1e-7 #define INF 1000000000 #...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; typedef long long ll; typedef pair<int, int> P; typedef pair<int, P> P1; typedef pair<P, P> P2; #define pu push #define pb push_back #define mp make_pair #define eps 1e-7 #define INF 1000000000 #...
[ "variable_declaration.value.change", "identifier.replace.remove", "literal.replace.add", "control_flow.loop.for.initializer.change" ]
1,398,331
1,398,333
u316170293
cpp
p03735
// Zory-2020 #include <bits/stdc++.h> using namespace std; typedef long long ll; // typedef __int128 ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; #define FR first #define SE second #define MP make_pair #define PB push_back #define vc vector #define all(x) (x).begin(), (x).end() #define sz(x) ((int)(x).size...
// Zory-2020 #include <bits/stdc++.h> using namespace std; typedef long long ll; // typedef __int128 ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; #define FR first #define SE second #define MP make_pair #define PB push_back #define vc vector #define all(x) (x).begin(), (x).end() #define sz(x) ((int)(x).size...
[ "literal.number.change", "variable_declaration.value.change" ]
1,398,334
1,398,335
u960093366
cpp
p03735
#include <bits/stdc++.h> #define re register #define ll long long using namespace std; inline ll read() { ll sum = 0; int k = 1; char c = getchar(); for (; c < '0' || c > '9'; c = getchar()) if (c == '-') k = -1; for (; c >= '0' && c <= '9'; c = getchar()) sum = sum * 10 + c - 48; return sum *...
#include <bits/stdc++.h> #define re register #define ll long long using namespace std; inline ll read() { ll sum = 0; int k = 1; char c = getchar(); for (; c < '0' || c > '9'; c = getchar()) if (c == '-') k = -1; for (; c >= '0' && c <= '9'; c = getchar()) sum = sum * 10 + c - 48; return sum *...
[ "variable_declaration.type.change" ]
1,398,338
1,398,339
u476418095
cpp
p03735
#include <bits/stdc++.h> using namespace std; using ll = long long; const ll INF = 1e9; const int MAXN = 2.1e5; int N; int X[MAXN]; int Y[MAXN]; pair<int, int> P[MAXN]; int minx[MAXN]; int maxx[MAXN]; int miny[MAXN]; int maxy[MAXN]; int main() { ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0); cin >> N; ...
#include <bits/stdc++.h> using namespace std; using ll = long long; const ll INF = 1e9; const int MAXN = 2.1e5; int N; int X[MAXN]; int Y[MAXN]; pair<int, int> P[MAXN]; int minx[MAXN]; int maxx[MAXN]; int miny[MAXN]; int maxy[MAXN]; int main() { ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0); cin >> N; ...
[ "misc.opposites", "assignment.value.change", "identifier.change", "call.function.change" ]
1,398,350
1,398,351
u570944601
cpp
p03735
#include <bits/stdc++.h> #define INF 1234567890ll using namespace std; typedef long long LL; typedef pair<LL, int> pii; int N; int cnt[202020], K; pii P[404040]; LL A[202020], B[202020]; LL ans; int main() { scanf("%d", &N); LL Rmin = INF, Rmax = -INF, Bmin = INF, Bmax = -INF; for (int i = 1; i <= N; i++) { ...
#include <bits/stdc++.h> #define INF 1234567890ll using namespace std; typedef long long LL; typedef pair<LL, int> pii; int N; int cnt[202020], K; pii P[404040]; LL A[202020], B[202020]; LL ans; int main() { scanf("%d", &N); LL Rmin = INF, Rmax = -INF, Bmin = INF, Bmax = -INF; for (int i = 1; i <= N; i++) { ...
[ "assignment.value.change", "identifier.change", "call.arguments.change" ]
1,398,367
1,398,368
u342566144
cpp
p03735
#include <bits/stdc++.h> using namespace std; using pii = pair<int, int>; #define sz(V) ((int)V.size()) vector<pii> S; int x[200009], y[200009], K[200009], c; void er(int i) { --K[S[i].second]; if (!K[S[i].second]) --c; } void ad(int i) { ++K[S[i].second]; if (K[S[i].second] == 1) ++c; } int main() ...
#include <bits/stdc++.h> using namespace std; using pii = pair<int, int>; #define sz(V) ((int)V.size()) vector<pii> S; int x[200009], y[200009], K[200009], c; void er(int i) { --K[S[i].second]; if (!K[S[i].second]) --c; } void ad(int i) { ++K[S[i].second]; if (K[S[i].second] == 1) ++c; } int main() ...
[ "assignment.change" ]
1,398,369
1,398,370
u052065730
cpp
p03735
#include <algorithm> #include <assert.h> #include <bitset> #include <cmath> #include <complex> #include <cstring> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> #define int long long using namesp...
#include <algorithm> #include <assert.h> #include <bitset> #include <cmath> #include <complex> #include <cstring> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> #define int long long using namesp...
[ "call.remove", "call.arguments.change" ]
1,398,379
1,398,380
u015768390
cpp
p03735
#include <algorithm> #include <iostream> #include <map> #include <math.h> #include <queue> #include <set> #include <stdio.h> #include <string.h> #include <string> #include <vector> using namespace std; #define rep(i, a, b) for (i = a; i <= b; i++) typedef long long ll; #define maxd 1e9 + 7 int n; multiset<ll> a, b; str...
#include <algorithm> #include <iostream> #include <map> #include <math.h> #include <queue> #include <set> #include <stdio.h> #include <string.h> #include <string> #include <vector> using namespace std; #define rep(i, a, b) for (i = a; i <= b; i++) typedef long long ll; #define maxd 1e9 + 7 int n; multiset<ll> a, b; str...
[ "misc.opposites", "function.return_value.change", "expression.operation.binary.change" ]
1,398,390
1,398,391
u473013083
cpp
p03735
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<ll, ll> P; typedef vector<int> vi; typedef vector<ll> vll; #define pb push_back #define mp make_pair #define eps 1e-9 #define INF 1000000000 #define LLINF 100000000000000000ll #define sz(x) ((int)(x).size()) #define fi first #define sec se...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<ll, ll> P; typedef vector<int> vi; typedef vector<ll> vll; #define pb push_back #define mp make_pair #define eps 1e-9 #define INF 1000000000 #define LLINF 100000000000000000ll #define sz(x) ((int)(x).size()) #define fi first #define sec se...
[ "assignment.change" ]
1,398,393
1,398,394
u379947938
cpp
p03735
#include <bits/stdc++.h> using namespace std; #define fs first #define sc second #define mp make_pair #define pb push_back #define eb emplace_back #define ALL(A) A.begin(), A.end() #define RALL(A) A.rbegin(), A.rend() typedef long long LL; typedef pair<LL, LL> P; const LL mod = 1000000007; const LL LINF = 1LL << 62; co...
#include <bits/stdc++.h> using namespace std; #define fs first #define sc second #define mp make_pair #define pb push_back #define eb emplace_back #define ALL(A) A.begin(), A.end() #define RALL(A) A.rbegin(), A.rend() typedef long long LL; typedef pair<LL, LL> P; const LL mod = 1000000007; const LL LINF = 1LL << 62; co...
[ "call.arguments.change" ]
1,398,395
1,398,396
u640323045
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); char s[100], t[100], b[100]; cin >> s >> t >> b; cout << (char)(s[0] - 32) << " " << (char)(t[0] - 32) << " " << (char)(b[0] - 32); return 0; }
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); char s[100], t[100], b[100]; cin >> s >> t >> b; cout << (char)(s[0] - 32) << "" << (char)(t[0] - 32) << "" << (char)(b[0] - 32); return 0; }
[ "literal.string.change", "io.output.change" ]
1,398,403
1,398,404
u629431183
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { vector<char> AAA = {'a', 'b', 'c', 'd', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; vector<char> BBB = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', ...
#include <bits/stdc++.h> using namespace std; int main() { vector<char> AAA = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; vector<char> BBB = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', ...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
1,398,424
1,398,423
u958873500
cpp
p03735
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> using namespace std; long long n, minid, maxid, mina, maxa, minb, maxb, ans; struct node { long long x, y; } q[400005]; bool cmp(node t1, node t2) { return (t1.x < t2.x || (t1.x == t1.x && t1.y < t2.y)); } int main() { ...
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> using namespace std; long long n, minid, maxid, mina, maxa, minb, maxb, ans; struct node { long long x, y; } q[400005]; bool cmp(node t1, node t2) { return (t1.x < t2.x || (t1.x == t2.x && t1.y < t2.y)); } int main() { ...
[ "identifier.change", "function.return_value.change", "expression.operation.binary.change" ]
1,398,437
1,398,438
u867922833
cpp
p03735
#include <bits/stdc++.h> #define x first #define y second #define N 200005 using namespace std; pair<int, int> p[N]; vector<pair<int, int>> v; int n; int main() { scanf("%d", &n); int mx = 0, mn = 0; p[0].y = 1e9 + 1; int mxx = -1, mxy = -1, mnx = 1e9 + 1, mny = 1e9 + 1; for (int i = 1; i <= n; i++) { sca...
#include <bits/stdc++.h> #define x first #define y second #define N 200005 using namespace std; pair<int, int> p[N]; vector<pair<int, int>> v; int n; int main() { scanf("%d", &n); int mx = 0, mn = 0; p[0].y = 1e9 + 1; int mxx = -1, mxy = -1, mnx = 1e9 + 1, mny = 1e9 + 1; for (int i = 1; i <= n; i++) { sca...
[ "assignment.value.change", "identifier.change", "call.arguments.change" ]
1,398,445
1,398,446
u899515616
cpp
p03735
#include <bits/stdc++.h> using namespace std; typedef long long LL; struct node { int x, y; } a[200010]; int n; LL ans; set<int> S1, S2; bool cmp(node x, node y) { return x.x < y.x; } void work() { scanf("%d", &n); if (n == 1) { puts("0"); return; } for (int i = 1; i <= n; i++) { scanf("%d %d",...
#include <bits/stdc++.h> using namespace std; typedef long long LL; struct node { int x, y; } a[200010]; int n; LL ans; multiset<int> S1, S2; bool cmp(node x, node y) { return x.x < y.x; } void work() { scanf("%d", &n); if (n == 1) { puts("0"); return; } for (int i = 1; i <= n; i++) { scanf("%d...
[ "variable_declaration.type.change" ]
1,398,447
1,398,448
u367209378
cpp
p03735
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> using namespace std; int main(void) { long long n; cin >> n; vector<long long> x(n), y(n); vector<pair<pair<long long, long long>, long long>> data; for (long long i = 0; i < n; i++) { cin >> x[i] >> y[i]; if ...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> using namespace std; int main(void) { long long n; cin >> n; vector<long long> x(n), y(n); vector<pair<pair<long long, long long>, long long>> data; for (long long i = 0; i < n; i++) { cin >> x[i] >> y[i]; if ...
[ "assignment.value.change", "identifier.change", "expression.operation.binary.change" ]
1,398,470
1,398,471
u700303800
cpp
p03735
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> using namespace std; int main(void) { long long n; cin >> n; vector<long long> x(n), y(n); vector<pair<pair<long long, long long>, long long>> data; for (long long i = 0; i < n; i++) { cin >> x[i] >> y[i]; if ...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> using namespace std; int main(void) { long long n; cin >> n; vector<long long> x(n), y(n); vector<pair<pair<long long, long long>, long long>> data; for (long long i = 0; i < n; i++) { cin >> x[i] >> y[i]; if ...
[ "identifier.change", "control_flow.branch.if.condition.change", "assignment.value.change", "expression.operation.binary.change" ]
1,398,472
1,398,471
u700303800
cpp
p03735
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> using namespace std; int main(void) { long long n; cin >> n; vector<long long> x(n), y(n); vector<pair<pair<long long, long long>, long long>> data; for (long long i = 0; i < n; i++) { cin >> x[i] >> y[i]; if ...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> using namespace std; int main(void) { long long n; cin >> n; vector<long long> x(n), y(n); vector<pair<pair<long long, long long>, long long>> data; for (long long i = 0; i < n; i++) { cin >> x[i] >> y[i]; if ...
[ "identifier.change", "control_flow.branch.if.condition.change", "assignment.value.change", "expression.operation.binary.change" ]
1,398,473
1,398,471
u700303800
cpp
p03735
#include <algorithm> #include <bitset> #include <cassert> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> #define rep(i, m, n) for (i = m; ...
#include <algorithm> #include <bitset> #include <cassert> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> #define rep(i, m, n) for (i = m; ...
[ "call.arguments.change" ]
1,398,476
1,398,477
u281742447
cpp
p03735
// // Created by Evgeny Savinov on 09/01/2017. // #include <bits/stdc++.h> #define clr(x) memset((x), 0, sizeof(x)) #define all(x) (x).begin(), (x).end() #define pb push_back #define mp make_pair #define x first #define y second #define forn(i, n) for (int i = 0; i < (int)(n); ++i) #define ford(i, n) for (int i = (in...
// // Created by Evgeny Savinov on 09/01/2017. // #include <bits/stdc++.h> #define clr(x) memset((x), 0, sizeof(x)) #define all(x) (x).begin(), (x).end() #define pb push_back #define mp make_pair #define x first #define y second #define forn(i, n) for (int i = 0; i < (int)(n); ++i) #define ford(i, n) for (int i = (in...
[ "identifier.change", "call.arguments.change" ]
1,398,496
1,398,497
u159884263
cpp
p03736
#include <bits/stdc++.h> using namespace std; #define FZ(n) memset((n), 0, sizeof(n)) #define FMO(n) memset((n), -1, sizeof(n)) #define MC(n, m) memcpy((n), (m), sizeof(n)) #define F first #define S second #define MP make_pair #define PB push_back #define ALL(x) begin(x), end(x) #define IOS ...
#include <bits/stdc++.h> using namespace std; #define FZ(n) memset((n), 0, sizeof(n)) #define FMO(n) memset((n), -1, sizeof(n)) #define MC(n, m) memcpy((n), (m), sizeof(n)) #define F first #define S second #define MP make_pair #define PB push_back #define ALL(x) begin(x), end(x) #define IOS ...
[]
1,398,514
1,398,515
u680944827
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string a, b, c; cin >> a >> b >> c; cout << (a[0] - 'a' + 'A'); cout << (b[0] - 'a' + 'A'); cout << (c[0] - 'a' + 'A'); }
#include <bits/stdc++.h> using namespace std; int main() { string a, b, c; cin >> a >> b >> c; cout << char(a[0] - 'a' + 'A'); cout << char(b[0] - 'a' + 'A'); cout << char(c[0] - 'a' + 'A'); }
[ "call.add" ]
1,398,528
1,398,529
u774417629
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string A, B, C, X, atoA; cin >> A >> B >> C; X.at(0) = A.at(0); X.at(1) = B.at(0); X.at(2) = C.at(0); atoA = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; for (int i = 0; i < 26; i++) { if (X.at(0) == atoA.at(i)) { X.at(0) = at...
#include <bits/stdc++.h> using namespace std; int main() { string A, B, C, X, atoA; cin >> A >> B >> C; X = "aaa"; X.at(0) = A.at(0); X.at(1) = B.at(0); X.at(2) = C.at(0); atoA = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; for (int i = 0; i < 26; i++) { if (X.at(0) == atoA.at(i)) { ...
[ "assignment.add" ]
1,398,530
1,398,531
u025773431
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { char x[100], y[100], z[100]; cin >> x >> y >> z; if (x[0] >= 'a' && x[0] == 'z') x[0] -= 32; if (y[0] >= 'a' && y[0] == 'z') y[0] -= 32; if (z[0] >= 'a' && z[0] == 'z') z[0] -= 32; cout << x[0] << y[0] << z[0]; }
#include <bits/stdc++.h> using namespace std; int main() { char x[100], y[100], z[100]; cin >> x >> y >> z; if (x[0] >= 'a' && x[0] <= 'z') x[0] -= 32; if (y[0] >= 'a' && y[0] <= 'z') y[0] -= 32; if (z[0] >= 'a' && z[0] <= 'z') z[0] -= 32; cout << x[0] << y[0] << z[0]; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
1,398,532
1,398,533
u816631826
cpp
p03737
#include <algorithm> #include <cassert> #include <cmath> #include <iomanip> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> using namespace std; typedef long long ll; #define rep(i, n) for (ll i = 0; i < n; i++) ...
#include <algorithm> #include <cassert> #include <cmath> #include <iomanip> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <string> #include <vector> using namespace std; typedef long long ll; #define rep(i, n) for (ll i = 0; i < n; i++) ...
[ "type_conversion.add" ]
1,398,541
1,398,542
u332258971
cpp
p03737
#include <algorithm> #include <assert.h> #include <bitset> #include <complex> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; typede...
#include <algorithm> #include <assert.h> #include <bitset> #include <complex> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; typede...
[ "call.add", "call.arguments.change" ]
1,398,553
1,398,554
u980909653
cpp
p03737
#include <iostream> #include <stdio.h> using namespace std; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; printf("%c %c %c", s1[0] - 32, s2[0] - 32, s3[0] - 32); }
#include <iostream> #include <stdio.h> using namespace std; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; printf("%c%c%c", s1[0] - 32, s2[0] - 32, s3[0] - 32); }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,398,555
1,398,556
u089230684
cpp
p03737
#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...
[ "call.add" ]
1,398,563
1,398,564
u531461815
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main(void) { string a, b, c; cin >> a >> b >> c; int d = 'a' - 'A'; cout << (char)a[0] - d << (char)b[0] - d << (char)c[0] - d; }
#include <bits/stdc++.h> using namespace std; int main(void) { string a, b, c; cin >> a >> b >> c; int d = 'a' - 'A'; cout << (char)(a[0] - d) << (char)(b[0] - d) << (char)(c[0] - d); }
[]
1,398,588
1,398,589
u582940224
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; char dif = 'a' - 'A'; cout << (char)(s1[0] + dif) << (char)(s2[0] + dif) << (char)(s3[0] + dif) << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; char dif = 'a' - 'A'; cout << (char)(s1[0] - dif) << (char)(s2[0] - dif) << (char)(s3[0] - dif) << endl; return 0; }
[ "misc.opposites", "expression.operator.arithmetic.change", "io.output.change" ]
1,398,592
1,398,593
u578969098
cpp
p03737
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define ALL(x) (x).begin(), (x).end() typedef long long ll; typedef pair<int, int> P; typedef vector<vector<int>> Matrix; static const int INF = 2000000000; int main() { string s, t, u; cin >> ...
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define ALL(x) (x).begin(), (x).end() typedef long long ll; typedef pair<int, int> P; typedef vector<vector<int>> Matrix; static const int INF = 2000000000; int main() { string s, t, u; cin >> ...
[ "identifier.change", "expression.operation.binary.change" ]
1,398,596
1,398,597
u263000123
cpp
p03737
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long ll; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; cout << (toupper(s1[0])) << (toupper(s2[0])) << (toupper(s3[0])) << endl; }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long ll; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; cout << char(toupper(s1[0])) << char(toupper(s2[0])) << char(toupper(s3[0])) << endl; }
[ "call.add" ]
1,398,603
1,398,604
u399816236
cpp
p03737
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #define IO(i, o) freopen(i, "r", stdin), freopen(o, "w", stdout) using namespace std; using namespace __gnu_pbds; typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> ...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #define IO(i, o) freopen(i, "r", stdin), freopen(o, "w", stdout) using namespace std; using namespace __gnu_pbds; typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> ...
[ "type_conversion.add" ]
1,398,605
1,398,606
u027479217
cpp
p03737
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #define IO(i, o) freopen(i, "r", stdin), freopen(o, "w", stdout) using namespace std; using namespace __gnu_pbds; typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> ...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #define IO(i, o) freopen(i, "r", stdin), freopen(o, "w", stdout) using namespace std; using namespace __gnu_pbds; typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> ...
[ "call.arguments.change" ]
1,398,607
1,398,606
u027479217
cpp
p03737
#include <bits/stdc++.h> #define F first #define S second #define MP make_pair #define pb push_back #define all(a) a.begin(), a.end() #define lcm(a, b) (a) / __gcd((a), (b)) * (b) #define CEIL(a, b) (a) / (b) + (((a) % (b)) ? 1 : 0) #define endl '\n' using namespace std; typedef long long LL; typedef pair<int, int> ...
#include <bits/stdc++.h> #define F first #define S second #define MP make_pair #define pb push_back #define all(a) a.begin(), a.end() #define lcm(a, b) (a) / __gcd((a), (b)) * (b) #define CEIL(a, b) (a) / (b) + (((a) % (b)) ? 1 : 0) #define endl '\n' using namespace std; typedef long long LL; typedef pair<int, int> ...
[ "call.add", "call.arguments.add" ]
1,398,614
1,398,615
u254187258
cpp
p03737
#include <bits/stdc++.h> #include <stdlib.h> using namespace std; typedef long long ll; int main() { string a, b, c; cin >> a >> b >> c; string s = {char(int(a.at(0) - '0') + 26 + '0'), char(int(b.at(0) - '0') + 26 + '0'), char(int(c.at(0) - '0') + 26 + '0')}; cout << s << endl; r...
#include <bits/stdc++.h> #include <stdlib.h> using namespace std; typedef long long ll; int main() { string a, b, c; cin >> a >> b >> c; string s = {char(int(a.at(0) - '0') - 32 + '0'), char(int(b.at(0) - '0') - 32 + '0'), char(int(c.at(0) - '0') - 32 + '0')}; cout << s << endl; r...
[]
1,398,641
1,398,642
u201553784
cpp
p03737
#include <iostream> #include <string> using namespace std; int main() { string a; string b; string c; cin >> a >> b >> c; a[0] = a[0] + 'A' - 'a'; b[0] = b[0] + 'A' - 'a'; c[0] = c[0] + 'A' - 'a'; cout << a[0] + b[0] + c[0] << endl; }
#include <iostream> #include <string> using namespace std; int main() { string a; string b; string c; cin >> a >> b >> c; a[0] = a[0] + 'A' - 'a'; b[0] = b[0] + 'A' - 'a'; c[0] = c[0] + 'A' - 'a'; cout << a[0] << b[0] << c[0] << endl; }
[ "io.output.change" ]
1,398,643
1,398,644
u600215903
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string s; while (cin >> s) { cout << s[0] - 'a' + 'A'; } cout << endl; }
#include <bits/stdc++.h> using namespace std; int main() { string s; while (cin >> s) { cout << (char)(s[0] - 'a' + 'A'); } cout << endl; }
[ "type_conversion.add" ]
1,398,646
1,398,647
u761362252
cpp
p03737
//保留所有权利。 #include <algorithm> //辞書順はnext_permutationだよ #include <cmath> #include <iomanip> #include <iostream> #include <locale> #include <math.h> #include <queue> #include <random> #include <set> #include <sstream> #include <stdio.h> //printするよ #include <string.h> #include <string> #include <time.h> #include <utility...
//保留所有权利。 #include <algorithm> //辞書順はnext_permutationだよ #include <cmath> #include <iomanip> #include <iostream> #include <locale> #include <math.h> #include <queue> #include <random> #include <set> #include <sstream> #include <stdio.h> //printするよ #include <string.h> #include <string> #include <time.h> #include <utility...
[ "identifier.change", "io.output.change", "literal.number.change", "variable_access.subscript.index.change" ]
1,398,648
1,398,649
u742306624
cpp
p03737
#include <cstring> #include <iostream> using namespace std; #define PrintLn(X) cout << X << endl #define Rep(i, n) for (int i = 0; i < (int)(n); ++i) int main(void) { Rep(i, 3) { char s[11]; cin >> s; cout << (s[0] + 'A' - 'a'); } cout << endl; return 0; }
#include <cstring> #include <iostream> using namespace std; #define PrintLn(X) cout << X << endl #define Rep(i, n) for (int i = 0; i < (int)(n); ++i) int main(void) { Rep(i, 3) { char s[11]; cin >> s; cout << (char)(s[0] + 'A' - 'a'); } cout << endl; return 0; }
[ "type_conversion.add" ]
1,398,652
1,398,653
u899220667
cpp
p03737
#include <cstring> #include <iostream> using namespace std; #define PrintLn(X) cout << X << endl #define Rep(i, n) for (int i = 0; i < (int)(n); ++i) int main(void) { Rep(i, 3) { char s[11]; cin >> s; cout << s[0] + 'A' - 'a'; } cout << endl; return 0; }
#include <cstring> #include <iostream> using namespace std; #define PrintLn(X) cout << X << endl #define Rep(i, n) for (int i = 0; i < (int)(n); ++i) int main(void) { Rep(i, 3) { char s[11]; cin >> s; cout << (char)(s[0] + 'A' - 'a'); } cout << endl; return 0; }
[ "type_conversion.add" ]
1,398,654
1,398,653
u899220667
cpp
p03737
#include <cstring> #include <iostream> using namespace std; #define PrintLn(X) cout << X << endl #define Rep(i, n) for (int i = 0; i < (int)(n); ++i) int main(void) { Rep(i, 3) { char s[11]; cin >> s; cout << s[i] + 'A' - 'a'; } cout << endl; return 0; }
#include <cstring> #include <iostream> using namespace std; #define PrintLn(X) cout << X << endl #define Rep(i, n) for (int i = 0; i < (int)(n); ++i) int main(void) { Rep(i, 3) { char s[11]; cin >> s; cout << (char)(s[0] + 'A' - 'a'); } cout << endl; return 0; }
[ "identifier.replace.remove", "literal.replace.add", "variable_access.subscript.index.change", "io.output.change" ]
1,398,655
1,398,653
u899220667
cpp
p03737
#include <algorithm> #include <bitset> #include <cctype> #include <cmath> #include <cstring> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> #define REP(i, n) for (int i = 0; i < (n); ++i) #define FOR(i, a, b) for (int i = (a); i...
#include <algorithm> #include <bitset> #include <cctype> #include <cmath> #include <cstring> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> #define REP(i, n) for (int i = 0; i < (n); ++i) #define FOR(i, a, b) for (int i = (a); i...
[ "literal.string.change", "variable_declaration.value.change" ]
1,398,673
1,398,674
u656679572
cpp
p03737
#define _CRT_SECURE_NO_WARNINGS #include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <string> #include <vector> using namespace std; #define DEBUG 0 #define REP(i, n) for (int i = 0; i < (n); i++) typedef long long ll; typedef pair<int, int> pint; static const ll MOD = 1000000007; stat...
#define _CRT_SECURE_NO_WARNINGS #include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <string> #include <vector> using namespace std; #define DEBUG 0 #define REP(i, n) for (int i = 0; i < (n); i++) typedef long long ll; typedef pair<int, int> pint; static const ll MOD = 1000000007; stat...
[ "call.add", "call.arguments.change" ]
1,398,688
1,398,689
u485731913
cpp
p03737
#include "bits/stdc++.h" using namespace std; // typedef //------------------------------------------ typedef long long LL; typedef unsigned long long ULL; typedef vector<LL> VLL; typedef vector<VLL> VVLL; typedef vector<string> VS; typedef pair<LL, LL> PLL; // container util //---------------------------------------...
#include "bits/stdc++.h" using namespace std; // typedef //------------------------------------------ typedef long long LL; typedef unsigned long long ULL; typedef vector<LL> VLL; typedef vector<VLL> VVLL; typedef vector<string> VS; typedef pair<LL, LL> PLL; // container util //---------------------------------------...
[]
1,398,700
1,398,701
u196798307
cpp
p03737
#include <bits/stdc++.h> using namespace std; char chbig(char c) { return c - 32; } int main() { string a, b, c; cin >> a >> b >> c; cout << chbig(a[0]) << b[0] << c[0] << endl; return 0; }
#include <bits/stdc++.h> using namespace std; char chbig(char c) { return c - 32; } int main() { string a, b, c; cin >> a >> b >> c; cout << chbig(a[0]) << chbig(b[0]) << chbig(c[0]) << endl; return 0; }
[ "call.add", "call.arguments.change" ]
1,398,712
1,398,713
u355545160
cpp
p03737
#include <cstdio> int main() { char a[11], b[11], c[11]; scanf("%s %s %s", a, b, c); printf("%c%c%c\n", a - 'a' + 'A', b - 'a' + 'A', c - 'a' + 'A'); return 0; }
#include <cstdio> int main() { char a[11], b[11], c[11]; scanf("%s %s %s", a, b, c); printf("%c%c%c\n", *a - 'a' + 'A', *b - 'a' + 'A', *c - 'a' + 'A'); return 0; }
[ "call.arguments.change" ]
1,398,722
1,398,723
u931819817
cpp
p03737
#include <bits/stdc++.h> using namespace std; #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++) typedef long long ll; int main() { string s, t, u; cin >> s >> t >> u; cout << char(toupper(s[0])) << toupper(t[0]) << toupper(u[0]) << endl; }
#include <bits/stdc++.h> using namespace std; #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++) typedef long long ll; int main() { string s, t, u; cin >> s >> t >> u; cout << char(toupper(s[0])) << char(toupper(t[0])) << char(toupper(u[0])) << ...
[ "call.add", "call.arguments.change" ]
1,398,729
1,398,730
u552357043
cpp
p03737
#define _CRT_SECURE_NO_WARNINGS #include <algorithm> #include <cassert> #include <complex> #include <cstdlib> #include <cstring> #include <fstream> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <list> #include <map> #include <math.h> #include <queue> #include <random> #includ...
#define _CRT_SECURE_NO_WARNINGS #include <algorithm> #include <cassert> #include <complex> #include <cstdlib> #include <cstring> #include <fstream> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <list> #include <map> #include <math.h> #include <queue> #include <random> #includ...
[ "type_conversion.add" ]
1,398,741
1,398,742
u545022164
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string s, t, u; cin >> s >> t >> u; cout << (char)(s.at(0) + 32) << (char)(t.at(0) + 32) << (char)(u.at(0) + 32); }
#include <bits/stdc++.h> using namespace std; int main() { string s, t, u; cin >> s >> t >> u; cout << (char)(s.at(0) - 32) << (char)(t.at(0) - 32) << (char)(u.at(0) - 32); }
[ "misc.opposites", "expression.operator.arithmetic.change", "io.output.change" ]
1,398,749
1,398,750
u885523920
cpp
p03737
#include <stdio.h> int main(void) { char S1[11]; char S2[11]; char S3[11]; scanf("%s %s %s", S1, S2, S3); printf("%c %c %c", S1[0] - 0x20, S2[0] - 0x20, S3[0] - 0x20); }
#include <stdio.h> int main(void) { char S1[11]; char S2[11]; char S3[11]; scanf("%s %s %s", S1, S2, S3); printf("%c%c%c", S1[0] - 0x20, S2[0] - 0x20, S3[0] - 0x20); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "control_flow.return.add", "control_flow.return.0.add" ]
1,398,752
1,398,753
u294704049
cpp
p03737
#include <stdio.h> int main(void) { char s1[11]; char s2[11]; char s3[11]; scanf("%s %s %s", s1, s2, s3); printf("%c %c %c", s1[0] - 'a' + 'A', s2[0] - 'a' + 'A', s3[0] - 'a' + 'A'); }
#include <stdio.h> int main(void) { char s1[11]; char s2[11]; char s3[11]; scanf("%s %s %s", s1, s2, s3); printf("%c%c%c", s1[0] - 'a' + 'A', s2[0] - 'a' + 'A', s3[0] - 'a' + 'A'); }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,398,754
1,398,755
u152129372
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main(void) { string a, b, c; cin >> a >> b >> c; char dif = 'A' - 'a'; printf("%c%c%c\m", a[0] + dif, b[0] + dif, c[0] + dif); return 0; }
#include <bits/stdc++.h> using namespace std; int main(void) { string a, b, c; cin >> a >> b >> c; char dif = 'A' - 'a'; printf("%c%c%c\n", a[0] + dif, b[0] + dif, c[0] + dif); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
1,398,758
1,398,759
u079470909
cpp
p03737
#include <bits/stdc++.h> using namespace std; /* メモリ食い過ぎ注意 */ #define int long long typedef long long ll; ll gcd(ll a, ll b) { if (a < b) gcd(b, a); if (b == 0) return a; int r; while ((r = a % b)) { a = b; b = r; } return b; } /* define const */ const ll INF = (1ll << 60); const ll MOD ...
#include <bits/stdc++.h> using namespace std; /* メモリ食い過ぎ注意 */ #define int long long typedef long long ll; ll gcd(ll a, ll b) { if (a < b) gcd(b, a); if (b == 0) return a; int r; while ((r = a % b)) { a = b; b = r; } return b; } /* define const */ const ll INF = (1ll << 60); const ll MOD ...
[ "identifier.change", "io.output.change", "literal.number.change", "variable_access.subscript.index.change" ]
1,398,762
1,398,763
u218759384
cpp
p03737
#include <algorithm> #include <cmath> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <string> #include <vector> using namespace std; int main() { char s[3][11]; for (int i = 0; i < 3; i++) { cin >> s[i]; } for (int i = 0; i < 3; i++) {...
#include <algorithm> #include <cmath> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <string> #include <vector> using namespace std; int main() { char s[3][11]; for (int i = 0; i < 3; i++) { cin >> s[i]; } for (int i = 0; i < 3; i++) {...
[ "type_conversion.add" ]
1,398,766
1,398,767
u192541825
cpp
p03737
#include <iostream> using namespace std; #include <algorithm> #include <string> int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; string result = s1.substr(0, 1) + s2.substr(1, 1) + s3.substr(2, 1); transform(result.begin(), result.end(), result.begin(), ::toupper); cout << result; cout << endl; ...
#include <iostream> using namespace std; #include <algorithm> #include <string> int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; string result = s1.substr(0, 1) + s2.substr(0, 1) + s3.substr(0, 1); transform(result.begin(), result.end(), result.begin(), ::toupper); cout << result; cout << endl; ...
[ "literal.number.change", "call.arguments.change", "expression.operation.binary.change" ]
1,398,770
1,398,771
u601575292
cpp
p03737
#include <iostream> using namespace std; int main() { string a, b, c; cin >> a >> b >> c; string small = "abcdefghijklmnopqrstuvwxyz"; string big = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; for (int i = 0; i < 26; i++) { if (a.at(0) == small.at(i)) { cout << big.at(i); } } for (int i = 0; i < 26; i++) ...
#include <iostream> using namespace std; int main() { string a, b, c; cin >> a >> b >> c; string small = "abcdefghijklmnopqrstuvwxyz"; string big = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; for (int i = 0; i < 26; i++) { if (a.at(0) == small.at(i)) { cout << big.at(i); } } for (int i = 0; i < 26; i++) ...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
1,398,794
1,398,795
u179970156
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string s, t, u; cin >> s >> t >> u; cout << (char)(s[0] + 0x20) << (char)(t[0] + 0x20) << (char)(u[0] + 0x20) << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { string s, t, u; cin >> s >> t >> u; cout << (char)(s[0] - 0x20) << (char)(t[0] - 0x20) << (char)(u[0] - 0x20) << endl; return 0; }
[ "misc.opposites", "expression.operator.arithmetic.change", "io.output.change" ]
1,398,814
1,398,815
u022832318
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string a, b, c; cin >> a >> b >> c; char A, B, C; A = a.at(0) + 32; B = b.at(0) + 32; C = c.at(0) + 32; cout << A << B << C; }
#include <bits/stdc++.h> using namespace std; int main() { string a, b, c; cin >> a >> b >> c; char A, B, C; A = a.at(0) - 32; B = b.at(0) - 32; C = c.at(0) - 32; cout << A << B << C; }
[ "misc.opposites", "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
1,398,828
1,398,829
u383166010
cpp
p03737
#include <iostream> using namespace std; int main() { string a, b, c; string ans; cin >> a >> b >> c; ans[0] = toupper(a[0]); ans[1] = toupper(b[0]); ans[2] = toupper(c[0]); cout << ans << endl; }
#include <iostream> using namespace std; int main() { string a, b, c; string ans = "aaa"; cin >> a >> b >> c; ans[0] = toupper(a[0]); ans[1] = toupper(b[0]); ans[2] = toupper(c[0]); cout << ans << endl; }
[ "variable_declaration.value.change" ]
1,398,840
1,398,841
u736498127
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; cout << (s1[0] += 32) << (s2[0] += 32) << (s3[0] += 32) << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; cout << (s1[0] -= 32) << (s2[0] -= 32) << (s3[0] -= 32) << endl; return 0; }
[ "expression.operator.change", "io.output.change" ]
1,398,846
1,398,847
u930561195
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; char dif = 'A' - 'a'; char x = s1[0] + dif; char y = s2[0] + dif; char z = s3[0] + dif; cout << x + y + z << endl; }
#include <bits/stdc++.h> using namespace std; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; char dif = 'A' - 'a'; char x = s1[0] + dif; char y = s2[0] + dif; char z = s3[0] + dif; cout << x << y << z << endl; }
[ "io.output.change" ]
1,398,848
1,398,849
u469953228
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string S, T, U; cin >> S >> T >> U; char dif = 'A' - 'a'; printf("%c%c%c\n", S[0] - dif, T[0] - dif, U[0] - dif); return 0; }
#include <bits/stdc++.h> using namespace std; int main() { string S, T, U; cin >> S >> T >> U; char dif = 'A' - 'a'; printf("%c%c%c\n", S[0] + dif, T[0] + dif, U[0] + dif); return 0; }
[ "misc.opposites", "expression.operator.arithmetic.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
1,398,850
1,398,851
u701589684
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string s; for (int i = 0; i < 3; i++) { cin >> s; cout << s.front() + 'A' - 'a'; } cout << endl; }
#include <bits/stdc++.h> using namespace std; int main() { string s; for (int i = 0; i < 3; i++) { cin >> s; cout << (char)(s.front() + 'A' - 'a'); } cout << endl; }
[ "type_conversion.add" ]
1,398,856
1,398,857
u618697411
cpp
p03737
using namespace std; #include <bits/stdc++.h> #define BEGIN \ ios_base::sync_with_stdio(0); \ cin.tie(0); #define END return EXIT_SUCCESS; #define FOR(I, A, B) for ((I) = (A); (I) < (B); (I)++) #define RE...
using namespace std; #include <bits/stdc++.h> #define BEGIN \ ios_base::sync_with_stdio(0); \ cin.tie(0); #define END return EXIT_SUCCESS; #define FOR(I, A, B) for ((I) = (A); (I) < (B); (I)++) #define RE...
[ "type_conversion.add" ]
1,398,867
1,398,868
u743561048
cpp
p03737
#include <iostream> #include <string> using namespace std; int main() { string s[3]; for (int i = 0; i < 3; ++i) { cin >> s[i]; } for (int j = 0; j < 3; ++j) { cout << (char)(s[j][0] - ('a' - 'A')) << endl; // cout << s[j] << endl; // s[0] <- atcoder // s[1] <- beginner // s[2] <- con...
#include <iostream> #include <string> using namespace std; int main() { string s[3]; for (int i = 0; i < 3; ++i) { cin >> s[i]; } for (int j = 0; j < 3; ++j) { cout << (char)(s[j][0] - ('a' - 'A')); // cout << s[j] << endl; // s[0] <- atcoder // s[1] <- beginner // s[2] <- contest ...
[ "expression.operation.binary.remove" ]
1,398,876
1,398,877
u419390395
cpp
p03737
#include <algorithm> // std::copy() #include <cctype> // std::isdigit() #include <climits> // INT_MIN #include <cmath> #include <cstdio> #include <functional> // std::greater<T>() #include <iostream> #include <iterator> // std::back_inserter() #include <numeric> // accumulate(ALL(vec), 0) 0 は初期値 #include <string...
#include <algorithm> // std::copy() #include <cctype> // std::isdigit() #include <climits> // INT_MIN #include <cmath> #include <cstdio> #include <functional> // std::greater<T>() #include <iostream> #include <iterator> // std::back_inserter() #include <numeric> // accumulate(ALL(vec), 0) 0 は初期値 #include <string...
[ "type_conversion.add" ]
1,398,882
1,398,883
u870998297
cpp
p03737
#include <algorithm> #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <functional> #include <iomanip> #include <iostream> #include <numeric> #include <sstream> #include <string> #include <time.h> #include <vector> //#include "bits/stdc++.h" using namespace std; // using namespace std::v...
#include <algorithm> #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <functional> #include <iomanip> #include <iostream> #include <numeric> #include <sstream> #include <string> #include <time.h> #include <vector> //#include "bits/stdc++.h" using namespace std; // using namespace std::v...
[ "identifier.change", "io.output.change", "literal.number.change", "variable_access.subscript.index.change" ]
1,398,890
1,398,891
u301409936
cpp
p03737
#include <iostream> #include <string.h> using namespace std; int main() { string h; for (int i = 0; i < 3; i++) { cin >> h; cout << (char)(h[i] - 32); } cout << endl; }
#include <iostream> #include <string.h> using namespace std; int main() { string h; for (int i = 0; i < 3; i++) { cin >> h; cout << (char)(h[0] - 32); } cout << endl; }
[ "identifier.replace.remove", "literal.replace.add", "variable_access.subscript.index.change", "io.output.change" ]
1,398,896
1,398,897
u271545619
cpp
p03737
#include <iostream> using namespace std; int main() { string str1, str2, str3; cin >> str1 >> str2 >> str3; cout << char(str1[0] - 32) << str2[0] - 32 << str3[0] - 32 << endl; return 0; }
#include <iostream> using namespace std; int main() { string str1, str2, str3; cin >> str1 >> str2 >> str3; cout << char(str1[0] - 32) << char(str2[0] - 32) << char(str3[0] - 32) << endl; return 0; }
[ "call.add", "call.arguments.change" ]
1,398,909
1,398,910
u417660734
cpp
p03737
#include <iostream> #include <string> #include <vector> using namespace std; int main(void) { string in; char S[3] = {}; for (auto &s : S) { cin >> in; s = in[0]; } for (auto s : S) { cout << static_cast<const char>(s - 32) << " "; } cout << endl; return 0; }
#include <iostream> #include <string> #include <vector> using namespace std; int main(void) { string in; char S[3] = {}; for (auto &s : S) { cin >> in; s = in[0]; } for (auto s : S) { cout << static_cast<const char>(s - 32); } cout << endl; return 0; }
[ "expression.operation.binary.remove" ]
1,398,915
1,398,916
u581348871
cpp
p03737
/*input happy,newyear,enjoy */ #include <bits/stdc++.h> #pragma GCC optimize("unroll-loops,no-stack-protector") #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef pair<double, double> pdd;...
/*input async layered coding */ #include <bits/stdc++.h> #pragma GCC optimize("unroll-loops,no-stack-protector") #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef pair<double, double> pdd...
[ "call.add", "call.arguments.change" ]
1,398,929
1,398,930
u010467501
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string a, b, c; cin >> a >> b >> c; char dif = 'A' - 'a'; printf("%c%c%c\n", a[0] + dif, b[0 + dif, c[0] + dif]); }
#include <bits/stdc++.h> using namespace std; int main() { string a, b, c; cin >> a >> b >> c; char dif = 'A' - 'a'; printf("%c%c%c\n", a[0] + dif, b[0] + dif, c[0] + dif); }
[ "call.arguments.change" ]
1,398,935
1,398,936
u922602011
cpp
p03737
// need #include <algorithm> #include <iostream> // data structure #include <bitset> #include <complex> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <utility> #include <vector> //#include <deque> #include <valarray> // stream //#include <istream> //#include <sstream> //#i...
// need #include <algorithm> #include <iostream> // data structure #include <bitset> #include <complex> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <utility> #include <vector> //#include <deque> #include <valarray> // stream //#include <istream> //#include <sstream> //#i...
[ "type_conversion.add" ]
1,398,941
1,398,942
u591343832
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string ans; for (int i = 0; i < 3; i++) { string s; cin >> s; char a; a = s[0]; a - +32; ans += a; } cout << ans << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { string ans; for (int i = 0; i < 3; i++) { string s; cin >> s; char a; a = s[0]; a -= 32; ans += a; } cout << ans << endl; return 0; }
[ "assignment.compound.arithmetic.replace.add", "expression.operator.arithmetic.replace.remove", "expression.operation.binary.change" ]
1,398,947
1,398,948
u053227023
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { string a, b, c; cin >> a >> b >> c; char A, B, C; A = a.front(); B = b.front(); C = c.front(); string ans[3]; A -= 32; B -= 32; C -= 32; cout << A + B + C << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { string a, b, c; cin >> a >> b >> c; char A, B, C; A = a.front(); B = b.front(); C = c.front(); string ans[3]; A -= 32; B -= 32; C -= 32; cout << A << B << C << endl; return 0; }
[ "io.output.change" ]
1,398,952
1,398,953
u319491032
cpp
p03737
#include <cstdio> int main() { char a[10] = {}; char b[10] = {}; char c[10] = {}; scanf("%s%s%s", a, b, c); char s[3] = {}; s[0] = a[0] + 'A' - 'a'; s[1] = b[0] + 'A' - 'a'; s[2] = c[0] + 'A' - 'a'; printf("%s", s); return 0; }
#include <cstdio> int main() { char a[10] = {}; char b[10] = {}; char c[10] = {}; scanf("%s%s%s", a, b, c); char s[4] = {}; s[0] = a[0] + 'A' - 'a'; s[1] = b[0] + 'A' - 'a'; s[2] = c[0] + 'A' - 'a'; printf("%s", s); return 0; }
[ "literal.number.change", "variable_declaration.array_dimensions.change" ]
1,398,954
1,398,955
u016382081
cpp
p03737
#include <bits/stdc++.h> #define o(output) cout << output << endl using namespace std; string s, t, u; int a, b, c, d; int l[13] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1}; char A, B, C; priority_queue<int, vector<int>, greater<int>> small; int main() { cin >> s >> t >> u; A = s[0] - 32; B = t[0] - 32; C = u...
#include <bits/stdc++.h> #define o(output) cout << output << endl using namespace std; string s, t, u; int a, b, c, d; int l[13] = {0, 1, 3, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1}; char A, B, C; priority_queue<int, vector<int>, greater<int>> small; int main() { cin >> s >> t >> u; A = s[0] - 32; B = t[0] - 32; C = u...
[ "call.remove" ]
1,398,958
1,398,959
u130196064
cpp
p03737
#include <iostream> #include <string.h> using namespace std; string a, b, c; int main() { cin >> a >> b >> c; printf("%c,%c,%c", a[0] - 32, b[0] - 32, c[0] - 32); }
#include <iostream> #include <string.h> using namespace std; string a, b, c; int main() { cin >> a >> b >> c; printf("%c%c%c", a[0] - 32, b[0] - 32, c[0] - 32); }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,398,960
1,398,961
u107995903
cpp
p03737
#include <algorithm> #include <iostream> #include <queue> #include <vector> using namespace std; typedef struct pair<int, int> P; typedef long long ll; ll dp[100][400]; int dp1[16002][3] = {}; int dp2[16002][3] = {}; ll c[200001] = {}; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; char chr1[] = "abcde...
#include <algorithm> #include <iostream> #include <queue> #include <vector> using namespace std; typedef struct pair<int, int> P; typedef long long ll; ll dp[100][400]; int dp1[16002][3] = {}; int dp2[16002][3] = {}; ll c[200001] = {}; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; char chr1[] = "abcde...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
1,398,966
1,398,967
u707053380
cpp
p03737
#include <algorithm> #include <bitset> #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <numeric> #include <queue> #include <set> #include <sst...
#include <algorithm> #include <bitset> #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <numeric> #include <queue> #include <set> #include <sst...
[]
1,398,972
1,398,973
u723512447
cpp
p03737
#define _CRT_SECURE_NO_WARNINGS #include <algorithm> #include <cmath> #include <cstdio> #include <cstdlib> #include <iostream> #include <queue> #include <stack> #include <string> #include <vector> using namespace std; #define REP(i, n) for (int i = 0; (i) < (n); (i)++) #define ll long long int main() { string a, b,...
#define _CRT_SECURE_NO_WARNINGS #include <algorithm> #include <cmath> #include <cstdio> #include <cstdlib> #include <iostream> #include <queue> #include <stack> #include <string> #include <vector> using namespace std; #define REP(i, n) for (int i = 0; (i) < (n); (i)++) #define ll long long int main() { string a, b,...
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,398,976
1,398,977
u354773735
cpp
p03737
#include <algorithm> #include <climits> #include <cmath> #include <iostream> #include <string> #include <utility> #include <vector> using namespace std; #define ll long long int const int MOD = 1000000007; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; string ans; ans[0] = s1[0]; ans[1] = s2[0]; ...
#include <algorithm> #include <climits> #include <cmath> #include <iostream> #include <string> #include <utility> #include <vector> using namespace std; #define ll long long int const int MOD = 1000000007; int main() { string s1, s2, s3; cin >> s1 >> s2 >> s3; string ans = "aaa"; ans[0] = s1[0]; ans[1] = ...
[ "variable_declaration.value.change" ]
1,398,982
1,398,983
u285598935
cpp
p03737
#include <iostream> #include <string> using namespace std; int main(void) { string s, t, u; cin >> s >> t >> u; s[0] -= 32; u[0] -= 32; s[0] -= 32; cout << s[0] << t[0] << u[0] << endl; return 0; }
#include <iostream> #include <string> using namespace std; int main(void) { string s, t, u; cin >> s >> t >> u; s[0] -= 32; t[0] -= 32; u[0] -= 32; cout << s[0] << t[0] << u[0] << endl; return 0; }
[ "assignment.add" ]
1,398,984
1,398,985
u057611820
cpp
p03737
#include <iostream> using namespace std; int main(void) { // Here your code ! string a, b, c; cin >> a >> b >> c; printf("%c %c %c\n", a[0] - 32, b[0] - 32, c[0] - 32); return 0; }
#include <iostream> using namespace std; int main(void) { // Here your code ! string a, b, c; cin >> a >> b >> c; printf("%c%c%c\n", a[0] - 32, b[0] - 32, c[0] - 32); return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
1,398,992
1,398,993
u284188208
cpp
p03737
#include <algorithm> #include <cctype> #include <cmath> #include <cstdlib> #include <iostream> #include <map> #include <random> #include <string> #include <vector> using namespace std; #define MK make_pair #define PB push_back #define VI vector<int> #define VII vector<int, int> #define MSI map<string, int> #define FOR(...
#include <algorithm> #include <cctype> #include <cmath> #include <cstdlib> #include <iostream> #include <map> #include <random> #include <string> #include <vector> using namespace std; #define MK make_pair #define PB push_back #define VI vector<int> #define VII vector<int, int> #define MSI map<string, int> #define FOR(...
[ "literal.string.change", "call.arguments.change", "io.output.change", "io.output.newline.add" ]
1,398,996
1,398,997
u001513927
cpp
p03737
#include <bits/stdc++.h> using namespace std; int main() { for (int i = 0; i < 3; i++) { string s; cin >> s; cout << toupper(s[0]); } cout << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { for (int i = 0; i < 3; i++) { string s; cin >> s; cout << (char)toupper(s[0]); } cout << endl; return 0; }
[ "type_conversion.add" ]
1,399,004
1,399,005
u287015418
cpp
p03737
#include <iostream> #include <string> using namespace std; int main() { string s; char big; int n = 3; for (int i = 0; i < n; i++) { cin >> s; for (int i2 = 0; i2 < 1; i2++) { big = s[i2] - 32; cout << big << endl; } } }
#include <iostream> #include <string> using namespace std; int main() { string s; char big; int n = 3; for (int i = 0; i < n; i++) { cin >> s; for (int i2 = 0; i2 < 1; i2++) { big = s[i2] - 32; cout << big; } } cout << endl; }
[ "expression.operation.binary.remove" ]
1,399,017
1,399,018
u848736574
cpp
p03738
#include <bits/stdc++.h> using namespace std; int main() { string a, b; cin >> a >> b; if (a.size() > b.size()) { cout << "GRATER" << endl; return 0; } else if (a.size() < b.size()) { cout << "LESS" << endl; return 0; } else { for (int i = 0; i < a.size(); i++) { if (a.at(i) < b.at(i...
#include <bits/stdc++.h> using namespace std; int main() { string a, b; cin >> a >> b; if (a.size() > b.size()) { cout << "GREATER" << endl; return 0; } else if (a.size() < b.size()) { cout << "LESS" << endl; return 0; } else { for (int i = 0; i < a.size(); i++) { if (a.at(i) < b.at(...
[ "literal.string.change", "io.output.change" ]
1,399,041
1,399,042
u567963483
cpp
p03738
#include <algorithm> #include <iostream> #include <map> #include <math.h> #include <queue> #include <vector> #define all(x) (x).begin(), (x).end() #define print(x) cout << (x) << endl typedef long long ll; const ll MOD = 1000000007; const ll MOD2 = 998244353; using namespace std; int main() { string A, B; cin >> ...
#include <algorithm> #include <iostream> #include <map> #include <math.h> #include <queue> #include <vector> #define all(x) (x).begin(), (x).end() #define print(x) cout << (x) << endl typedef long long ll; const ll MOD = 1000000007; const ll MOD2 = 998244353; using namespace std; int main() { string A, B; cin >> ...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
1,399,043
1,399,044
u841856382
cpp
p03738
#include <bits/stdc++.h> using namespace std; int main() { string a, b; cin >> a >> b; if (a.size() == b.size()) { cout << (a > b ? "LESS" : a == b ? "EQUAL" : "GREATER") << endl; } else if (a.size() > b.size()) { cout << "GREATER" << endl; } else if (a.size() < b.size()) { cout << "LESS" << endl...
#include <bits/stdc++.h> using namespace std; int main() { string a, b; cin >> a >> b; if (a.size() == b.size()) { cout << (a < b ? "LESS" : a == b ? "EQUAL" : "GREATER") << endl; } else if (a.size() > b.size()) { cout << "GREATER" << endl; } else if (a.size() < b.size()) { cout << "LESS" << endl...
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
1,399,051
1,399,052
u946082956
cpp
p03738
#include <bits/stdc++.h> using namespace std; int main() { string a, b; cin >> a >> b; if (a == b) cout << "EQUAL" << endl; if (a.size() > b.size()) cout << "GREATER" << endl; else if (a.size() < b.size()) cout << "LESS" << endl; else { if (a > b) cout << "GREATER" << endl; else...
#include <bits/stdc++.h> using namespace std; int main() { string a, b; cin >> a >> b; if (a == b) cout << "EQUAL" << endl; else if (a.size() > b.size()) cout << "GREATER" << endl; else if (a.size() < b.size()) cout << "LESS" << endl; else { if (a > b) cout << "GREATER" << endl; ...
[ "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove" ]
1,399,057
1,399,058
u729703601
cpp
p03738
#include <bits/stdc++.h> #define PI 3.14159265359 #define NIL -1 using namespace std; const int64_t MOD = 1e9 + 7; int main() { string A, B; cin >> A >> B; string ans = ""; if (A.size() == B.size()) { if (A > B) ans = "GREATER"; else if (A < B) ans = "LESS"; else ans = "EQUAL"; ...
#include <bits/stdc++.h> #define PI 3.14159265359 #define NIL -1 using namespace std; const int64_t MOD = 1e9 + 7; int main() { string A, B; cin >> A >> B; string ans = ""; if (A.size() == B.size()) { if (A > B) ans = "GREATER"; else if (A < B) ans = "LESS"; else ans = "EQUAL"; ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
1,399,059
1,399,060
u295279251
cpp
p03738
#include <bits/stdc++.h> using namespace std; int main() { string A, B; cin >> A >> B; int Ak = A.size(); int Bk = B.size(); int Ans = -1; if (Ak > Bk) Ans = 0; else if (Ak < Bk) Ans = 1; else { for (int i = 0; i < 101; i++) { if (A[i] > B[i]) { Ans = 0; break; } ...
#include <bits/stdc++.h> using namespace std; int main() { string A, B; cin >> A >> B; int Ak = A.size(); int Bk = B.size(); int Ans = -1; if (Ak > Bk) Ans = 0; else if (Ak < Bk) Ans = 1; else { for (int i = 0; i < A.size(); i++) { if (A[i] > B[i]) { Ans = 0; break; ...
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "call.add" ]
1,399,061
1,399,062
u634131849
cpp
p03738
#include <bits/stdc++.h> #define _GLIBCXX_DEBUG #define rep(i, n) for (int i = 0; i < (n); ++i) #define repi(i, a, b) for (int i = int(a); i < int(b); ++i) #define all(x) (x).begin(), (x).end() #define PI 3.14159265358979323846264338327950L using namespace std; typedef long long ll; typedef long double ld; int main() {...
#include <bits/stdc++.h> #define _GLIBCXX_DEBUG #define rep(i, n) for (int i = 0; i < (n); ++i) #define repi(i, a, b) for (int i = int(a); i < int(b); ++i) #define all(x) (x).begin(), (x).end() #define PI 3.14159265358979323846264338327950L using namespace std; typedef long long ll; typedef long double ld; int main() {...
[ "literal.string.change", "io.output.change" ]
1,399,067
1,399,068
u151236434
cpp
p03738
#include <bits/stdc++.h> using namespace std; int main() { string A, B; cin >> A >> B; if (A.size() > B.size()) { cout << "GREATER" << endl; } else if (A.size() < B.size()) { cout << "LESS" << endl; } else { for (int i = 0; i < A.size(); i++) { if (A.at(i) > B.at(i)) { cout << "GRE...
#include <bits/stdc++.h> using namespace std; int main() { string A, B; cin >> A >> B; if (A.size() > B.size()) { cout << "GREATER" << endl; } else if (A.size() < B.size()) { cout << "LESS" << endl; } else { for (int i = 0; i < A.size(); i++) { if (A.at(i) > B.at(i)) { cout << "GRE...
[ "function.return_value.change" ]
1,399,069
1,399,070
u714624983
cpp
p03738
#include <bits/stdc++.h> using namespace std; int main() { string A, B; cin >> A >> B; if (A.size() > B.size()) { cout << "GREATER" << endl; } else if (A.size() < B.size()) { cout << "LESS" << endl; } else { for (int i = 0; i < A.size(); i++) { if (A.at(i) > B.at(i)) { cout << "GRE...
#include <bits/stdc++.h> using namespace std; int main() { string A, B; cin >> A >> B; if (A.size() > B.size()) { cout << "GREATER" << endl; } else if (A.size() < B.size()) { cout << "LESS" << endl; } else { for (int i = 0; i < A.size(); i++) { if (A.at(i) > B.at(i)) { cout << "GRE...
[]
1,399,071
1,399,070
u714624983
cpp