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
p02627
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (a - 'A' < 0) cout << 'a'; else cout << 'A'; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (a - 'Z' > 0) cout << 'a'; else cout << 'A'; return 0; }
[ "literal.string.change", "control_flow.branch.if.condition.change", "misc.opposites", "expression.operator.compare.change" ]
337,476
337,477
u109191542
cpp
p02627
#include <cstring> #include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); char a; cin >> a; if ('A' <= a && a <= 'A') cout << 'A'; else cout << 'a'; return 0; }
#include <cstring> #include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); char a; cin >> a; if ('A' <= a && a <= 'Z') cout << 'A'; else cout << 'a'; return 0; }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
337,478
337,479
u393558821
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (islower(c)) cout << "A" << endl; else cout << "a" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (isupper(c)) cout << "A" << endl; else cout << "a" << endl; }
[ "identifier.change", "call.function.change", "control_flow.branch.if.condition.change" ]
337,480
337,481
u811143577
cpp
p02627
#include <bits/stdc++.h> #define fi first #define se second #define pb push_back using namespace std; typedef long long ll; typedef pair<int, int> pii; int main() { ios_base::sync_with_stdio(0); char c; cin >> c; if (c - 'a' >= 0) cout << 'A' << endl; else cout << 'a' << endl; }
#include <bits/stdc++.h> #define fi first #define se second #define pb push_back using namespace std; typedef long long ll; typedef pair<int, int> pii; int main() { ios_base::sync_with_stdio(0); char c; cin >> c; if (c - 'a' >= 0) cout << 'a' << endl; else cout << 'A' << endl; }
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
337,483
337,484
u184143728
cpp
p02627
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) #define pi 3.14159265359 using namespace std; const long long INF = 1e9 + 7; const string alp = "abcdefghijklmnopqrstuvwxyg"; // 26 const string ALP = "ABCDEFGHIJKLMNOPQRSTUVWXYG"; ty...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) #define pi 3.14159265359 using namespace std; const long long INF = 1e9 + 7; const string alp = "abcdefghijklmnopqrstuvwxyz"; // 26 const string ALP = "ABCDEFGHIJKLMNOPQRSTUVWXYG"; ty...
[ "literal.string.change", "variable_declaration.value.change" ]
337,485
337,486
u251242696
cpp
p02627
#pragma GCC optimize("O3") #pragma GCC target("sse4") #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef complex<ld> cd; typedef pair<int, int> pi; typedef pair<ll, ll> pl; typedef pair<ld, ld> pd; typedef vector<int> vi; typedef vector<ld> vd; typedef vector<ll> vl...
#pragma GCC optimize("O3") #pragma GCC target("sse4") #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef complex<ld> cd; typedef pair<int, int> pi; typedef pair<ll, ll> pl; typedef pair<ld, ld> pd; typedef vector<int> vi; typedef vector<ld> vd; typedef vector<ll> vl...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,499
337,500
u956400481
cpp
p02627
#include <bits/stdc++.h> #include <chrono> #include <cmath> #include <complex> #include <cstdio> #include <cstring> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) #define REP(i, n) for (int i = 1; i <= n; i++) #define Rep(i, a, n) for (int i = a; i < n; i++) #define ll long long int #define dd doub...
#include <bits/stdc++.h> #include <chrono> #include <cmath> #include <complex> #include <cstdio> #include <cstring> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) #define REP(i, n) for (int i = 1; i <= n; i++) #define Rep(i, a, n) for (int i = a; i < n; i++) #define ll long long int #define dd doub...
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
337,501
337,502
u308782580
cpp
p02627
#include <bits/stdc++.h> using namespace std; typedef long long int ll; const ll INF = 1e18; #define endl "\n" #define fr first #define sc second #define f (i, L, R) for (int i = L; i < R; i++) #define F(i, t) for (typeof(t.begin()) i = t.begin(); i != t.end(); i++) void solve() { int x; cin >> x; if (x > 96) ...
#include <bits/stdc++.h> using namespace std; typedef long long int ll; const ll INF = 1e18; #define endl "\n" #define fr first #define sc second #define f (i, L, R) for (int i = L; i < R; i++) #define F(i, t) for (typeof(t.begin()) i = t.begin(); i != t.end(); i++) void solve() { char x; cin >> x; // cout << (in...
[ "variable_declaration.type.primitive.change" ]
337,503
337,504
u021552993
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if ('A' <= c <= 'Z') cout << "A\n"; else cout << "a\n"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c >= 'A' && c <= 'Z') cout << "A\n"; else cout << "a\n"; return 0; }
[ "control_flow.branch.if.condition.change" ]
337,505
337,506
u957436147
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char ch; cin >> ch; if (ch >= 'A' && ch >= 'Z') { cout << "A" << endl; } if (ch >= 'a' && ch >= 'z') { cout << "a" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char ch; cin >> ch; if (ch >= 'A' && ch <= 'Z') { cout << "A" << endl; } if (ch >= 'a' && ch <= 'z') { cout << "a" << endl; } }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,507
337,508
u962777012
cpp
p02627
/* A - αlphabet https://atcoder.jp/contests/abc171/tasks/abc171_ae */ #include <algorithm> #include <cmath> #include <iostream> #include <vector> using namespace std; #define ll long long // 10 ^ 18 #define forn(i, s, n) for (int i = s; i < n; i++) #define whilen(val, n) while (n-- && cin >> val) #define r_...
/* A - αlphabet https://atcoder.jp/contests/abc171/tasks/abc171_ae */ #include <algorithm> #include <cmath> #include <iostream> #include <vector> using namespace std; #define ll long long // 10 ^ 18 #define forn(i, s, n) for (int i = s; i < n; i++) #define whilen(val, n) while (n-- && cin >> val) #define r_...
[]
337,513
337,514
u794629724
cpp
p02627
#include <algorithm> #include <iostream> #include <sstream> #include <string> #include <vector> using namespace std; typedef long long ll; int main() { char a; cin >> a; if (a - 'A' <= 23) { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
#include <algorithm> #include <iostream> #include <sstream> #include <string> #include <vector> using namespace std; typedef long long ll; int main() { char a; cin >> a; // cout<<a - 'A'<<endl; if (a - 'A' <= 25) { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
337,527
337,528
u683667335
cpp
p02627
#include <iostream> using namespace std; int main() { char ch; cin >> ch; if (ch >= 'A') cout << 'A'; else cout << 'a'; return 0; }
#include <iostream> using namespace std; int main() { char ch; cin >> ch; if (ch >= 'A' and ch <= 'Z') cout << 'A'; else cout << 'a'; return 0; }
[ "control_flow.branch.if.condition.change" ]
337,539
337,540
u970315942
cpp
p02627
#include <bits/stdc++.h> using namespace std; void solve() { char c; cin >> c; if (c >= 'A' && c <= 'B') c = 'A'; if (c >= 'a' && c <= 'b') c = 'a'; cout << c << endl; } int main() { int tt = 1; // cin >> tt; while (tt--) solve(); }
#include <bits/stdc++.h> using namespace std; void solve() { char c; cin >> c; if (c >= 'A' && c <= 'Z') c = 'A'; if (c >= 'a' && c <= 'z') c = 'a'; cout << c << endl; } int main() { int tt = 1; // cin >> tt; while (tt--) solve(); }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
337,541
337,542
u644994661
cpp
p02627
#pragma GCC optimize("Ofast", 3, "inline") #include <bits/stdc++.h> using namespace std; #define fir first #define sec second #define m_p make_pair #define y1 ygftgfgcdtfgxffgx #define y2 yfdsesgvtyghftfvv #define x1 xvyr6cf6fgcfgf676 #define x2 xcr6rfc5r66y6r6fr #define up_bound upper_bound #define low_bound lower_bou...
#pragma GCC optimize("Ofast", 3, "inline") #include <bits/stdc++.h> using namespace std; #define fir first #define sec second #define m_p make_pair #define y1 ygftgfgcdtfgxffgx #define y2 yfdsesgvtyghftfvv #define x1 xvyr6cf6fgcfgf676 #define x2 xcr6rfc5r66y6r6fr #define up_bound upper_bound #define low_bound lower_bou...
[]
337,545
337,546
u083499110
cpp
p02627
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ios::sync_with_stdio(0); cin.tie(0); char c; cin >> c; if (isupper(c)) cout << 'A'; else { cout << c; } return 0; }
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ios::sync_with_stdio(0); cin.tie(0); char c; cin >> c; if (isupper(c)) cout << 'A'; else { cout << 'a'; } return 0; }
[ "io.output.change" ]
337,550
337,551
u929239996
cpp
p02627
#include <iostream> using namespace std; int main() { // 文字列の入力 char c; cin >> c; // 出力 if (c >= 65 && 90 >= c) { cout << "A" << endl; } else cout << "A" << endl; return 0; }
#include <iostream> using namespace std; int main() { // 文字列の入力 char c; cin >> c; // 出力 if (c >= 65 && 90 >= c) { cout << "A" << endl; } else cout << "a" << endl; return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
337,554
337,555
u935642171
cpp
p02627
#include <stdio.h> int main() { char a; scanf("%c", &a); if (a - 97 >= 0) printf("A"); else printf("a"); return 0; }
#include <stdio.h> int main() { char a; scanf("%c", &a); if (a - 97 >= 0) printf("a"); else printf("A"); return 0; }
[ "call.remove", "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add", "call.add" ]
337,568
337,569
u339248966
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; int a = (int)c; if (a >= 65) cout << 'A' << endl; else cout << 'a' << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; int a = (int)c; if (a < 97) cout << 'A' << endl; else cout << 'a' << endl; }
[]
337,570
337,571
u602301110
cpp
p02627
// file creato da gio il 2020-06-24 19:30:16.613933 #include <bits/stdc++.h> #define FAST #ifdef FAST #pragma GCC optimize("Ofast") #pragma GCC target( \ "fma,sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,tune=native") #pragma GCC optimize("unroll-loop...
// file creato da gio il 2020-06-24 19:30:16.613933 #include <bits/stdc++.h> #define FAST #ifdef FAST #pragma GCC optimize("Ofast") #pragma GCC target( \ "fma,sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,tune=native") #pragma GCC optimize("unroll-loop...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,574
337,575
u201326295
cpp
p02627
#include <bits/stdc++.h> typedef long long int ll; using namespace std; #define maxN 200005 #define mod 1000000007 #define pi 3.14159265358979323846264338327950 void solve() { char c; cin >> c; if (islower(c)) { cout << "A\n"; } else { cout << "a\n"; } } int main() { ios::sync_with_stdio(0); cin...
#include <bits/stdc++.h> typedef long long int ll; using namespace std; #define maxN 200005 #define mod 1000000007 #define pi 3.14159265358979323846264338327950 void solve() { char c; cin >> c; if (!islower(c)) { cout << "A\n"; } else { cout << "a\n"; } } int main() { ios::sync_with_stdio(0); ci...
[ "expression.operation.unary.add", "control_flow.branch.if.condition.change" ]
337,576
337,577
u750996135
cpp
p02627
#include <iostream> using namespace std; int main() { char a; scanf("%c", &a); if (a >= 'A' && a <= 'Z') { printf("A\n"); } else { printf("%c\n", a); } return 0; }
#include <iostream> using namespace std; int main() { char a; scanf("%c", &a); if (a >= 'A' && a <= 'Z') { printf("A\n"); } else { printf("a\n"); } return 0; }
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
337,580
337,581
u877132661
cpp
p02627
#include <bits/stdc++.h> #define ll long long using namespace std; const int N = 2e5 + 5, mod = 1e9 + 7; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); char c; cin >> c; if (c >= 'a' && c <= 'z') cout << 'a'; else cout << 'z'; return 0; }
#include <bits/stdc++.h> #define ll long long using namespace std; const int N = 2e5 + 5, mod = 1e9 + 7; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); char c; cin >> c; if (c >= 'a' && c <= 'z') cout << 'a'; else cout << 'A'; return 0; }
[ "literal.string.change", "io.output.change" ]
337,584
337,585
u002638660
cpp
p02627
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) using namespace std; using P = pair<int, int>; using ll = long long; int main() { char c; cin >> c; if (c >= 'A') { cout << "A" << endl; } else { cout << "a" << endl;...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) using namespace std; using P = pair<int, int>; using ll = long long; int main() { char c; cin >> c; if (c >= 'A' && c <= 'Z') { cout << "A" << endl; } else { cout << ...
[ "control_flow.branch.if.condition.change" ]
337,595
337,596
u534923072
cpp
p02627
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) using namespace std; using P = pair<int, int>; using ll = long long; int main() { char c; cin >> c; if (c >= 'A') { cout << 'A' << endl; } else { cout << 'a' << endl;...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) using namespace std; using P = pair<int, int>; using ll = long long; int main() { char c; cin >> c; if (c >= 'A' && c <= 'Z') { cout << 'A' << endl; } else { cout << ...
[ "control_flow.branch.if.condition.change" ]
337,597
337,598
u534923072
cpp
p02627
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { char a; cin >> a; if (a >= 'A') { cout << "A"; } else { cout << "a"; } }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { char a; cin >> a; if (a >= 'A' && a <= 'Z') { cout << "A"; } else { cout << "a"; } }
[ "control_flow.branch.if.condition.change" ]
337,602
337,603
u028935226
cpp
p02627
#include <bits/stdc++.h> using namespace std; #define pb push_back #define all(v) ((v).begin()), ((v).end()) #define SZ(v) ((int)((v).size())) #define clr(v, d) memset(v, d, sizeof(v)) #define has(c, i) ((c).find(i) != end(c)) #define hastr(s, c) ((s).find(c) != string::npos) template <class U, class V> istream &ope...
#include <bits/stdc++.h> using namespace std; #define pb push_back #define all(v) ((v).begin()), ((v).end()) #define SZ(v) ((int)((v).size())) #define clr(v, d) memset(v, d, sizeof(v)) #define has(c, i) ((c).find(i) != end(c)) #define hastr(s, c) ((s).find(c) != string::npos) template <class U, class V> istream &ope...
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
337,606
337,607
u931971262
cpp
p02627
// https://atcoder.jp/contests/abc171/tasks/abc171_a #include <bits/stdc++.h> using namespace std; #define int long long #define REP(i, n) FOR(i, 0, n) #define REPR(i, n) for (int i = n - 1; i >= 0; i--) #define FOR(i, s, n) for (int i = (s), i##_len = (n); i < i##_len; ++i) #define ALL(obj) (obj).begin(), (obj).end() ...
// https://atcoder.jp/contests/abc171/tasks/abc171_a #include <bits/stdc++.h> using namespace std; #define int long long #define REP(i, n) FOR(i, 0, n) #define REPR(i, n) for (int i = n - 1; i >= 0; i--) #define FOR(i, s, n) for (int i = (s), i##_len = (n); i < i##_len; ++i) #define ALL(obj) (obj).begin(), (obj).end() ...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
337,608
337,609
u858107870
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char s; if (isupper(s)) { cout << 'A' << endl; } else { cout << 'a' << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; if (isupper(s)) { cout << 'A' << endl; } else { cout << 'a' << endl; } }
[]
337,610
337,611
u780698286
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (isupper(a)) { cout << 'A' << endl; } else { cout << a << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (isupper(a)) { cout << 'A' << endl; } else { cout << 'a' << endl; } }
[]
337,616
337,617
u988560811
cpp
p02627
#include <bits/stdc++.h> using namespace std; #define fastIO \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cout.tie(NULL); #define int ...
#include <bits/stdc++.h> using namespace std; #define fastIO \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cout.tie(NULL); #define int ...
[ "misc.opposites", "control_flow.branch.if.condition.change" ]
337,630
337,631
u158023740
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (islower(a)) { cout << "a\n"; } else { cout << "a\n"; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (islower(a)) { cout << "a\n"; } else { cout << "A\n"; } return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
337,632
337,633
u124799177
cpp
p02627
#include <algorithm> #include <bitset> #include <cassert> #include <climits> #include <cmath> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <sstream> #include <string> #include <unordered_map> #include <unordered_s...
#include <algorithm> #include <bitset> #include <cassert> #include <climits> #include <cmath> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <sstream> #include <string> #include <unordered_map> #include <unordered_s...
[ "literal.string.change", "literal.string.case.change", "control_flow.branch.if.condition.change", "io.output.change" ]
337,640
337,641
u231006891
cpp
p02627
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-loops,no-stack-protector") #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") using namespace __gnu_pbds; using namespace std; #d...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-loops,no-stack-protector") #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") using namespace __gnu_pbds; using namespace std; #d...
[ "control_flow.branch.if.condition.change" ]
337,642
337,643
u553927381
cpp
p02627
#include <iostream> using namespace std; int main() { char x; cin >> x; if (x > 65 && x < 90) { cout << "A"; } else if (x > 97 && x < 122) { cout << "a"; } }
#include <iostream> using namespace std; int main() { char x; cin >> x; if (x >= 65 && x <= 90) { cout << "A"; } else if (x >= 97 && x <= 122) { cout << "a"; } }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,646
337,647
u802529300
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main(void) { char a; cin >> a; if ('a' <= a || a <= 'z') { cout << 'a' << endl; } else { cout << 'A' << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main(void) { char a; cin >> a; if ('a' <= a && a <= 'z') { cout << 'a' << endl; } else { cout << 'A' << endl; } return 0; }
[ "misc.opposites", "control_flow.branch.if.condition.change" ]
337,653
337,654
u580284885
cpp
p02627
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define REP(i, n) for (ll i = 0; i < (ll)n; i++) #define REPR(i, n) for (ll i = (ll)n - 1; i >= 0; i--) #define FOR(i, m, n) for (ll i = (ll)m; i < (ll)n; i++) #define FORR(i, m, n) for (ll i = (ll)m - 1; i >= (ll)n; i--) #define ALL(x) (x).begin(), (x...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define REP(i, n) for (ll i = 0; i < (ll)n; i++) #define REPR(i, n) for (ll i = (ll)n - 1; i >= 0; i--) #define FOR(i, m, n) for (ll i = (ll)m; i < (ll)n; i++) #define FORR(i, m, n) for (ll i = (ll)m - 1; i >= (ll)n; i--) #define ALL(x) (x).begin(), (x...
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
337,659
337,660
u928713799
cpp
p02627
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define REP(i, n) for (ll i = 0; i < (ll)n; i++) #define REPR(i, n) for (ll i = (ll)n - 1; i >= 0; i--) #define FOR(i, m, n) for (ll i = (ll)m; i < (ll)n; i++) #define FORR(i, m, n) for (ll i = (ll)m - 1; i >= (ll)n; i--) #define ALL(x) (x).begin(), (x...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define REP(i, n) for (ll i = 0; i < (ll)n; i++) #define REPR(i, n) for (ll i = (ll)n - 1; i >= 0; i--) #define FOR(i, m, n) for (ll i = (ll)m; i < (ll)n; i++) #define FORR(i, m, n) for (ll i = (ll)m - 1; i >= (ll)n; i--) #define ALL(x) (x).begin(), (x...
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
337,659
337,661
u928713799
cpp
p02627
#include <bits/stdc++.h> #define ll long long const int N = 100005; using namespace std; string s; int main() { cin >> s; if (s[0] >= 'a' && s[0] <= 'z') cout << "A"; else cout << "a"; return 0; }
#include <bits/stdc++.h> #define ll long long const int N = 100005; using namespace std; string s; int main() { cin >> s; if (s[0] >= 'a' && s[0] <= 'z') cout << "a"; else cout << "A"; return 0; }
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
337,666
337,667
u469639111
cpp
p02627
#include <iostream> using namespace std; int main() { char c; cin >> c; if ('a' <= c <= 'z') cout << 'a'; else cout << 'A'; }
#include <iostream> using namespace std; int main() { char c; cin >> c; if ('a' <= c && c <= 'z') cout << 'a'; else cout << 'A'; }
[ "control_flow.branch.if.condition.change" ]
337,670
337,671
u383117453
cpp
p02627
#include <iostream> using namespace std; int main() { char s; cin >> s; if (s >= 'A' && s <= 'Z') { cout << 'A' << endl; } else { cout << 'A' << endl; } }
#include <iostream> using namespace std; int main() { char s; cin >> s; if (s >= 'A' && s <= 'Z') { cout << 'A' << endl; } else { cout << 'a' << endl; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
337,677
337,678
u932880145
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main(void) { string str = "A"; smatch smatch; if (std::regex_search(str, smatch, std::regex("[A-Z]"))) { cout << "A"; } else { cout << "a"; } return 0; }
#include <bits/stdc++.h> using namespace std; int main(void) { string str; cin >> str; smatch smatch; if (std::regex_search(str, smatch, std::regex("[A-Z]"))) { cout << "A"; } else { cout << "a"; } return 0; }
[]
337,679
337,680
u545154994
cpp
p02627
// bismillahir rahmanir rahim //Author:Fayed Anik #include <bits/stdc++.h> //#include <ext/pb_ds/assoc_container.hpp> //#include <ext/pb_ds/tree_policy.hpp> using namespace std; // using namespace __gnu_pbds; //#define ordered_set tree<int, null_type,less<int>, //rb_tree_tag,tree_order_statistics_...
// bismillahir rahmanir rahim //Author:Fayed Anik #include <bits/stdc++.h> //#include <ext/pb_ds/assoc_container.hpp> //#include <ext/pb_ds/tree_policy.hpp> using namespace std; // using namespace __gnu_pbds; //#define ordered_set tree<int, null_type,less<int>, //rb_tree_tag,tree_order_statistics_...
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
337,681
337,682
u769965655
cpp
p02627
#include <bits/stdc++.h> #define mod 1000000007 using namespace std; typedef long long int ll; int main() { char s; cin >> s; ll n = s; if (n <= 120) cout << 'A' << "\n"; else cout << 'a' << "\n"; }
#include <bits/stdc++.h> #define mod 1000000007 using namespace std; typedef long long int ll; int main() { char s; cin >> s; ll n = s; if (n <= 90) cout << 'A' << "\n"; else cout << 'a' << "\n"; }
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
337,686
337,687
u973298467
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char ch; cin >> ch; if (isupper(ch)) cout << "a"; else cout << "A"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char ch; cin >> ch; if (isupper(ch)) cout << "A"; else cout << "a"; return 0; }
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
337,688
337,689
u951364287
cpp
p02627
#include <iostream> int main(void) { char c; std::cin >> c; if ('a' >= c) { std::cout << 'A' << std::endl; } else { std::cout << 'a' << std::endl; } return 0; }
#include <iostream> int main(void) { char c; std::cin >> c; if ('a' > c) { std::cout << 'A' << std::endl; } else { std::cout << 'a' << std::endl; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,708
337,709
u363988920
cpp
p02627
#include <iostream> int main(void) { char c; std::cin >> c; if ('a' >= c) { std::cout << 'a' << std::endl; } else { std::cout << 'A' << std::endl; } return 0; }
#include <iostream> int main(void) { char c; std::cin >> c; if ('a' > c) { std::cout << 'A' << std::endl; } else { std::cout << 'a' << std::endl; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "expression.operation.binary.change" ]
337,710
337,709
u363988920
cpp
p02627
#include <iostream> int main(void) { char c; std::cin >> c; if ('a' < c) { std::cout << 'A' << std::endl; } else { std::cout << 'a' << std::endl; } return 0; }
#include <iostream> int main(void) { char c; std::cin >> c; if ('a' > c) { std::cout << 'A' << std::endl; } else { std::cout << 'a' << std::endl; } return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,711
337,709
u363988920
cpp
p02627
#include <iostream> int main(void) { char c; std::cin >> c; if ('a' < c) { std::cout << 'A' << std::endl; } else { std::cout << 'A' << std::endl; } return 0; }
#include <iostream> int main(void) { char c; std::cin >> c; if ('a' > c) { std::cout << 'A' << std::endl; } else { std::cout << 'a' << std::endl; } return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "expression.operation.binary.change" ]
337,712
337,709
u363988920
cpp
p02627
/***/ #include <bits/stdc++.h> using namespace std; #define fstinpt ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL) #define ll long long #define bn 1000090 #define sn 1010 #define mod 100000007 #define iii(i) cin >> i #define ooo(i) cout << i #define sss cout << " " #define nnn ...
/***/ #include <bits/stdc++.h> using namespace std; #define fstinpt ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL) #define ll long long #define bn 1000090 #define sn 1010 #define mod 100000007 #define iii(i) cin >> i #define ooo(i) cout << i #define sss cout << " " #define nnn ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,713
337,714
u100767369
cpp
p02627
#pragma region Macros #include <bits/stdc++.h> using namespace std; typedef long long ll; #define REP(i, n) for (int i = 0; i < (n); i++) #define REPS(i, n) for (int i = 0; i <= (n); i++) #define FOR(i, a, b) for (int i = a; i < (b); i++) #define FORS(i, a, b) for (int i = a; i <= (b); i++) // for container x #define...
#pragma region Macros #include <bits/stdc++.h> using namespace std; typedef long long ll; #define REP(i, n) for (int i = 0; i < (n); i++) #define REPS(i, n) for (int i = 0; i <= (n); i++) #define FOR(i, a, b) for (int i = a; i < (b); i++) #define FORS(i, a, b) for (int i = a; i <= (b); i++) // for container x #define...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,715
337,716
u432487773
cpp
p02627
#include <iostream> using namespace std; int main() { string s; if (s[0] >= 'A' && s[0] <= 'Z') cout << "A" << endl; else cout << "a" << endl; return 0; }
#include <iostream> using namespace std; int main() { string s; cin >> s; if (s[0] >= 'A' && s[0] <= 'Z') cout << "A" << endl; else cout << "a" << endl; return 0; }
[]
337,717
337,718
u094161982
cpp
p02627
#include <bits/stdc++.h> using namespace std; using ll = long long; using ull = unsigned long long; using pii = pair<int, int>; using pll = pair<ll, ll>; const int MAXN = 1e5 + 5; const int MOD = 1e9 + 7; const int INF = 0x3f3f3f3f; const long long int LLINF = 0x3f3f3f3f3f3f3f3f; const double EPS = 1e-9; #define NMAX ...
#include <bits/stdc++.h> using namespace std; using ll = long long; using ull = unsigned long long; using pii = pair<int, int>; using pll = pair<ll, ll>; const int MAXN = 1e5 + 5; const int MOD = 1e9 + 7; const int INF = 0x3f3f3f3f; const long long int LLINF = 0x3f3f3f3f3f3f3f3f; const double EPS = 1e-9; #define NMAX ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
337,721
337,722
u514812122
cpp
p02627
#include <bits/stdc++.h> #define fastio \ ios_base::sync_with_stdio(false); \ cin.tie(0); \ cout.tie(0); #define all(x) (x).begin(), (x).end()...
#include <bits/stdc++.h> #define fastio \ ios_base::sync_with_stdio(false); \ cin.tie(0); \ cout.tie(0); #define all(x) (x).begin(), (x).end()...
[]
337,726
337,727
u215674898
cpp
p02627
#include <bits/stdc++.h> using namespace std; main() { #ifdef HOME freopen("input.txt", "r", stdin); #endif // HOME ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); char a; cin >> a; if ('A' <= a && a <= 'Z') cout << 'a'; else cout << 'A'; return 0; }
#include <bits/stdc++.h> using namespace std; main() { #ifdef HOME freopen("input.txt", "r", stdin); #endif // HOME ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); char a; cin >> a; if ('A' <= a && a <= 'Z') cout << 'A'; else cout << 'a'; return 0; }
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
337,728
337,729
u762148180
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; if (isupper(s)) { cout << "A" << endl; } else { cout << "b" << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char s; cin >> s; if (isupper(s)) { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
337,734
337,735
u667099095
cpp
p02627
#include <bits/stdc++.h> typedef double D; typedef long long int LL; typedef long double LD; #define OR || #define AND && #define nl '\n' #define S string #define inf INT_MAX #define SQR(a) (a) * (a) #define pb push_back #define GCD(a, b) __gcd(a, b) #define MOD 1000000007 #define PI 2.0 * acos(0.0) #define LCM(a, b) ...
#include <bits/stdc++.h> typedef double D; typedef long long int LL; typedef long double LD; #define OR || #define AND && #define nl '\n' #define S string #define inf INT_MAX #define SQR(a) (a) * (a) #define pb push_back #define GCD(a, b) __gcd(a, b) #define MOD 1000000007 #define PI 2.0 * acos(0.0) #define LCM(a, b) ...
[ "literal.string.change", "io.output.change" ]
337,736
337,737
u359155363
cpp
p02627
#include <bits/stdc++.h> using namespace std; #define int long long #define w(x) \ int x; \ cin >> x; \ while (...
#include <bits/stdc++.h> using namespace std; #define int long long #define w(x) \ int x; \ cin >> x; \ while (...
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
337,738
337,739
u753092134
cpp
p02627
#include <bits/stdc++.h> #include <iostream> using namespace std; void test_case() { string s; cin >> s; if (s[0] >= 'a' && s[0] <= 'z') cout << "A" << endl; else cout << "a" << endl; } int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); // int t; // cin >> t; // while (t--) ...
#include <bits/stdc++.h> #include <iostream> using namespace std; void test_case() { string s; cin >> s; if (s[0] >= 'a' && s[0] <= 'z') cout << "a" << endl; else cout << "A" << endl; } int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); // int t; // cin >> t; // while (t--) ...
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
337,742
337,743
u601630017
cpp
p02627
#include <bits/stdc++.h> #define ll long long #define sc(a) scanf("%d", &a) #define sc2(a, b) scanf("%lld%lld", &a, &b) #define pf(a) printf("%d\n", a) #define pf2(a) printf("%lld\n", a) using namespace std; int main() { char c; cin >> c; if (isupper(c)) { "A"; } else cout << "a"; }
#include <bits/stdc++.h> #define ll long long #define sc(a) scanf("%d", &a) #define sc2(a, b) scanf("%lld%lld", &a, &b) #define pf(a) printf("%d\n", a) #define pf2(a) printf("%lld\n", a) using namespace std; int main() { char c; cin >> c; if (isupper(c)) { cout << "A"; } else cout << "a"; }
[ "io.output.change" ]
337,766
337,767
u863962347
cpp
p02627
#include <iostream> using namespace std; int main() { char c; if (c <= 'z' && c >= 'a') { cout << 'a' << endl; } else if (c >= 'A' && c <= 'Z') { cout << 'A' << endl; } return 0; }
#include <iostream> using namespace std; int main() { char c; cin >> c; if (c <= 'z' && c >= 'a') { cout << 'a' << endl; } else if (c >= 'A' && c <= 'Z') { cout << 'A' << endl; } return 0; }
[]
337,770
337,771
u024869527
cpp
p02627
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { char s; cin >> s; if (s - 0x41 >= 0 && s - 0x41 <= 24) { cout << "A" << endl; } else { cout << "a" << endl; } }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { char s; cin >> s; if (s - 0x41 >= 0 && s - 0x41 <= 25) { cout << "A" << endl; } else { cout << "a" << endl; } }
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
337,778
337,779
u775431262
cpp
p02627
#include <bits/stdc++.h> using namespace std; #define f first #define s second #define pb push_back #define mp make_pair #define all(v) v.begin(), v.end() #define sz(v) (int)v.size() #define MOO(i, a, b) for (int i = a; i < b; i++) #define M00(i, a) for (int i = 0; i < a; i++) #define MOOd(i, a, b) for (int i = (b)-...
#include <bits/stdc++.h> using namespace std; #define f first #define s second #define pb push_back #define mp make_pair #define all(v) v.begin(), v.end() #define sz(v) (int)v.size() #define MOO(i, a, b) for (int i = a; i < b; i++) #define M00(i, a) for (int i = 0; i < a; i++) #define MOOd(i, a, b) for (int i = (b)-...
[ "control_flow.branch.if.condition.change" ]
337,787
337,788
u840049681
cpp
p02627
// author: Harsh :) #include <bits/stdc++.h> using ll = long long; using ld = long double; #define F first #define S second const ll mod = 1e9 + 7; const ll INF = 922337203685477; #define pb push_back #define deb(x) cout << '>' << #x << ':' << x << endl; #define fastio ...
// author: Harsh :) #include <bits/stdc++.h> using ll = long long; using ld = long double; #define F first #define S second const ll mod = 1e9 + 7; const ll INF = 922337203685477; #define pb push_back #define deb(x) cout << '>' << #x << ':' << x << endl; #define fastio ...
[ "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
337,789
337,790
u792608995
cpp
p02627
#include <bits/stdc++.h> typedef long long int ll; typedef unsigned long long ull; typedef long double ld; #define F first #define S second #define pb push_back #define mp make_pair #define pll pair<ll, ll> #define pii pair<int, int> #define len(s) s.length() #define all(v) v.begin(), v.end() const ll INF = INT_MAX; co...
#include <bits/stdc++.h> typedef long long int ll; typedef unsigned long long ull; typedef long double ld; #define F first #define S second #define pb push_back #define mp make_pair #define pll pair<ll, ll> #define pii pair<int, int> #define len(s) s.length() #define all(v) v.begin(), v.end() const ll INF = INT_MAX; co...
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
337,797
337,798
u817623545
cpp
p02627
#include <iostream> using namespace std; int main(void) { char a; cin >> a; if (a - 'A' <= 26) { cout << 'A' << endl; } else { cout << 'B' << endl; } return 0; }
#include <iostream> using namespace std; int main(void) { char a; cin >> a; if (a - 'A' <= 26) { cout << 'A' << endl; } else { cout << 'a' << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
337,799
337,800
u178888901
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char ch; cin >> ch; if (ch == isupper(ch)) { cout << "A" << '\n'; } else cout << "a" << '\n'; }
#include <bits/stdc++.h> using namespace std; int main() { char ch; cin >> ch; if (ch < 96) { cout << "A" << '\n'; } else cout << "a" << '\n'; }
[ "call.arguments.change" ]
337,803
337,804
u191446830
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (a >= 60 && a < 97) { cout << 'a' << "\n"; } else cout << 'A' << "\n"; }
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (a >= 60 && a < 97) { cout << 'A' << "\n"; } else cout << 'a' << "\n"; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
337,805
337,806
u234130745
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char a; if (isupper(a)) cout << 'A'; else cout << 'a'; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char a; cin >> a; if (isupper(a)) cout << 'A'; else cout << 'a'; return 0; }
[]
337,815
337,816
u011837431
cpp
p02627
#include <bits/stdc++.h> using namespace std; #define PI acos(-1) #define int long long int #define MOD (ll)(1e9 + 7) #define in_arr(ar) \ for (int i = 0; i < sizeof(ar) / sizeof(ar[0]); i++) \ cin >> ar[i]; #define val(x) cout <<...
#include <bits/stdc++.h> using namespace std; #define PI acos(-1) #define int long long int #define MOD (ll)(1e9 + 7) #define in_arr(ar) \ for (int i = 0; i < sizeof(ar) / sizeof(ar[0]); i++) \ cin >> ar[i]; #define val(x) cout <<...
[ "control_flow.branch.if.condition.change" ]
337,819
337,820
u189901251
cpp
p02627
#define _DEBUG #ifdef _DEBUG #define _GLIBCXX_DEBUG \ -Wall - Wextra - Wshadow - D_GLIBCXX_ASSERTIONS - DDEBUG - ggdb3 - fmax - \ errors = 2 #endif #pragma warn + xxx #include <bits/stdc++.h> using namespace std; #define F first #define S second #defin...
#define _DEBUG #ifdef _DEBUG #define _GLIBCXX_DEBUG \ -Wall - Wextra - Wshadow - D_GLIBCXX_ASSERTIONS - DDEBUG - ggdb3 - fmax - \ errors = 2 #endif #pragma warn + xxx #include <bits/stdc++.h> using namespace std; #define F first #define S second #defin...
[ "identifier.change", "call.function.change" ]
337,827
337,828
u182697674
cpp
p02627
#include <algorithm> #include <iostream> #include <math.h> #include <vector> using namespace std; int main() { char input; cin >> input; if (input < 'Z' && input > 'A') { cout << "A"; } else { cout << 'a'; } }
#include <algorithm> #include <iostream> #include <math.h> #include <vector> using namespace std; int main() { char input; cin >> input; if (input <= 'Z' && input >= 'A') { cout << "A"; } else { cout << "a"; } }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "io.output.change" ]
337,829
337,830
u321008876
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char sa; cin >> sa; if (sa >= 'A' && sa <= 'B') { cout << "A" << endl; } else if (sa >= 'a' && sa <= 'b') { cout << "a" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char sa; cin >> sa; if (sa >= 'A' && sa <= 'Z') { cout << "A" << endl; } else if (sa >= 'a' && sa <= 'z') { cout << "a" << endl; } }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
337,833
337,834
u802894090
cpp
p02627
#include <iostream> #include <stdio.h> #include <string.h> #include <vector> using namespace std; int main() { string a; a = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; char x; cin >> x; int k = 0; for (int i = 0; i <= 52; i++) { if (x == a[i]) { k = i; } } if (k <= 26) ...
#include <iostream> #include <stdio.h> #include <string.h> #include <vector> using namespace std; int main() { string a; a = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; char x; cin >> x; int k = 0; for (int i = 0; i <= 52; i++) { if (x == a[i]) { k = i; } } if (k <= 25) ...
[ "literal.number.change", "control_flow.branch.if.condition.change" ]
337,839
337,840
u459447880
cpp
p02627
#include <iostream> using namespace std; int main() { char a; cin >> a; if (a >= 'a' and a <= 'z') cout << 'a' << endl; else if (a >= 'A' and a <= 'B') cout << 'A' << endl; }
#include <iostream> using namespace std; int main() { char a; cin >> a; if (a >= 'a' and a <= 'z') cout << 'a' << endl; else if (a >= 'A' and a <= 'Z') cout << 'A' << endl; }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
337,843
337,844
u061361273
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char alpha, ans; cin >> alpha; if ('A' < alpha && alpha < 'Z') { ans = 'A'; } else if ('a' < alpha && alpha < 'z') { ans = 'a'; } cout << ans << endl; }
#include <bits/stdc++.h> using namespace std; int main() { char alpha, ans; cin >> alpha; if ('A' <= alpha && alpha <= 'Z') { ans = 'A'; } else if ('a' <= alpha && alpha <= 'z') { ans = 'a'; } cout << ans << endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,857
337,858
u726912685
cpp
p02627
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; #define ordered_set \ tree<int, null_type, less<int>, rb_tree_tag, \ tree_order_statistic...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; #define ordered_set \ tree<int, null_type, less<int>, rb_tree_tag, \ tree_order_statistic...
[]
337,864
337,865
u372297753
cpp
p02627
#include <iostream> using namespace std; int main() { char s; cin >> s; if ('A' < s && s < 'Z') { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
#include <iostream> using namespace std; int main() { char s; cin >> s; if ('A' <= s && s <= 'Z') { cout << "A" << endl; } else { cout << "a" << endl; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,869
337,870
u631796638
cpp
p02627
#include <iostream> using namespace std; int main() { char ch; cin >> ch; cout << (ch < 'Z' ? 'A' : 'a') << endl; }
#include <iostream> using namespace std; int main() { char ch; cin >> ch; cout << (ch <= 'Z' ? 'A' : 'a') << endl; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "io.output.change" ]
337,874
337,875
u658655325
cpp
p02627
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; using namespace std; #define sz(s) s.size() #define ll long long int #define ull unsigned ll #define ld long double #define print(v) ...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; using namespace std; #define sz(s) s.size() #define ll long long int #define ull unsigned ll #define ld long double #define print(v) ...
[ "expression.operation.binary.remove" ]
337,886
337,887
u996273056
cpp
p02627
#include <bits/stdc++.h> #define MOD 1000000007 #define md % 998244353 #define INF 2e9 #define EPS 1e-9 #define MAX LLONG_MAX #define MIN LLONG_MIN #define F first #define S second #define MP make_pair #define PB push_back #define EB emplace_back #define endl "\n" #define FOR(i, a, b) for (long long i = a; i < b; i++) ...
#include <bits/stdc++.h> #define MOD 1000000007 #define md % 998244353 #define INF 2e9 #define EPS 1e-9 #define MAX LLONG_MAX #define MIN LLONG_MIN #define F first #define S second #define MP make_pair #define PB push_back #define EB emplace_back #define endl "\n" #define FOR(i, a, b) for (long long i = a; i < b; i++) ...
[ "control_flow.branch.if.condition.change" ]
337,894
337,895
u249840247
cpp
p02627
#include <algorithm> #include <bits/stdc++.h> #include <iostream> using namespace std; int main() { char n; cin >> n; for (int i = 65; i <= 90; i++) { if (char(i) == 'n') { cout << "A"; return 0; } } cout << "a"; return 0; }
#include <algorithm> #include <bits/stdc++.h> #include <iostream> using namespace std; int main() { char n; cin >> n; for (int i = 65; i <= 90; i++) { if (char(i) == n) { cout << "A"; return 0; } } cout << "a"; return 0; }
[ "control_flow.branch.if.condition.change" ]
337,896
337,897
u507349898
cpp
p02627
#include <iostream> using namespace std; /* run this program using the console pauser or add your own getch, * system("pause") or input loop */ int main() { char a; cin >> a; if (a >= 'z' && a <= 'a') cout << 'a'; else cout << 'A'; return 0; }
#include <iostream> using namespace std; /* run this program using the console pauser or add your own getch, * system("pause") or input loop */ int main() { char a; cin >> a; if (a <= 'z' && a >= 'a') cout << 'a'; else cout << 'A'; return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,898
337,899
u286211947
cpp
p02627
#include <iostream> using namespace std; /* run this program using the console pauser or add your own getch, * system("pause") or input loop */ int main() { char a; cin >> a; if (a >= 'z' && a <= 'a') cout << 'A'; else cout << 'a'; return 0; }
#include <iostream> using namespace std; /* run this program using the console pauser or add your own getch, * system("pause") or input loop */ int main() { char a; cin >> a; if (a <= 'z' && a >= 'a') cout << 'a'; else cout << 'A'; return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
337,900
337,899
u286211947
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (isupper(x)) { cout << "A" << endl; } else { cout << "a" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { char x; cin >> x; if (isupper(x)) { cout << "A" << endl; } else { cout << "a" << endl; } }
[ "variable_declaration.type.primitive.change" ]
337,909
337,910
u492827091
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c <= 'z') cout << "a" << endl; else cout << "A" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; if (c <= 'Z') cout << "A" << endl; else cout << "a" << endl; return 0; }
[ "literal.string.change", "literal.string.case.change", "control_flow.branch.if.condition.change", "control_flow.branch.else.remove", "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add" ]
337,913
337,914
u744854206
cpp
p02627
#include <iostream> using namespace std; int main() { char x; cin >> x; if (x >= 65 && x <= 90) { cout << "A"; } else { cout << "B"; } }
#include <iostream> using namespace std; int main() { char x; cin >> x; if (x >= 65 && x <= 90) { cout << "A"; } else { cout << "a"; } }
[ "literal.string.change", "io.output.change" ]
337,915
337,916
u049905132
cpp
p02627
#include <bits/stdc++.h> #include <math.h> #define ALL(a) a.begin(), a.end() using namespace std; int main() { char s; cin >> s; if ((s >= 'a') && (s <= 'z')) { cout << "A"; ; } else if ((s >= 'A') && (s <= 'Z')) { cout << "A"; } }
#include <bits/stdc++.h> #include <math.h> #define ALL(a) a.begin(), a.end() using namespace std; int main() { char s; cin >> s; if ((s >= 'a') && (s <= 'z')) { cout << "a"; ; } else if ((s >= 'A') && (s <= 'Z')) { cout << "A"; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
337,919
337,920
u551500493
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char s[2]; cin >> s; for (int i = 0; i < 2; i++) { if (s[i] >= 'A' && s[i] <= 'B') { cout << "A" << endl; return 0; } else { cout << "a" << endl; return 0; } } }
#include <bits/stdc++.h> using namespace std; int main() { char s[2]; cin >> s; for (int i = 0; i < 2; i++) { if (s[i] >= 'A' && s[i] <= 'Z') { cout << "A" << endl; return 0; } else { cout << "a" << endl; return 0; } } }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
337,925
337,926
u446732668
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { char s[2]; cin >> s; for (int i = 0; i < 2; i++) { if (s[i] >= 'A' && s[i] <= 'B') { cout << "A" << endl; return 0; } else { cout << "a" << endl; return 0; } } }
#include <bits/stdc++.h> using namespace std; int main() { char s[2]; cin >> s; for (int i = 0; i < 2; i++) { if (s[i] >= 'A' && s[i] <= 'Z') { cout << "A" << endl; return 0; } else { cout << "a" << endl; return 0; } } }
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
337,927
337,926
u446732668
cpp
p02627
#include <bits/stdc++.h> #include <iostream> using namespace std; int main() { char c; cin >> c; if (c >= 'a' && c <= 'z') cout << 'A'; else if (c >= 'A' && c <= 'Z') cout << 'a'; }
#include <bits/stdc++.h> #include <iostream> using namespace std; int main() { char c; cin >> c; if (c >= 'a' && c <= 'z') cout << 'a'; else if (c >= 'A' && c <= 'Z') cout << 'A'; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
337,930
337,931
u040170648
cpp
p02627
#include <bits/stdc++.h> using namespace std; int main() { int i, p; p = 0; char str; cin >> str; string test = "abcdefghijklmnopqrstuvwxyz"; for (i = 0; i < 25; i++) { if (test.at(i) == str) { p = 1; } } if (p == 1) { cout << 'a' << endl; } else { cout << 'A' << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int i, p; p = 0; char str; cin >> str; string test = "abcdefghijklmnopqrstuvwxyz"; for (i = 0; i < 26; i++) { if (test.at(i) == str) { p = 1; } } if (p == 1) { cout << 'a' << endl; } else { cout << 'A' << endl; } }
[ "literal.number.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
337,938
337,939
u913698352
cpp
p02627
#include <iostream> using namespace std; int main() { char a; cin >> a; if (isupper(a)) { cout << "A" << endl; } else { cout << "B" << endl; } }
#include <iostream> using namespace std; int main() { char a; cin >> a; if (isupper(a)) { cout << "A" << endl; } else { cout << "a" << endl; } }
[ "literal.string.change", "io.output.change" ]
337,940
337,941
u691856718
cpp
p02627
#include <bits/stdc++.h> using namespace std; #define fio \ ios_base::sync_with_stdio(false); \ cin.tie(0); \ cout.tie(0) #define int lon...
#include <bits/stdc++.h> using namespace std; #define fio \ ios_base::sync_with_stdio(false); \ cin.tie(0); \ cout.tie(0) #define int lon...
[ "literal.string.change", "control_flow.branch.if.condition.change" ]
337,942
337,943
u619527167
cpp
p02627
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) using ll = long long; int main() { char alpha; cin >> alpha; if (alpha >= 'a' || alpha <= 'z') { cout << "a" << endl; } if (alpha >= 'A' || alpha <= 'Z') { cout << "A" << endl; } }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) using ll = long long; int main() { char alpha; cin >> alpha; if (alpha >= 'a' && alpha <= 'z') { cout << "a" << endl; } if (alpha >= 'A' && alpha <= 'Z') { cout << "A" << endl; } }
[ "misc.opposites", "control_flow.branch.if.condition.change" ]
337,944
337,945
u695037420
cpp
p02627
#include <algorithm> #include <array> #include <bitset> #include <cassert> #include <complex> #include <cstdio> #include <cstring> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <limits.h> #include <map> #include <math.h> #include <numeric> #include <queue> #include <random> #...
#include <algorithm> #include <array> #include <bitset> #include <cassert> #include <complex> #include <cstdio> #include <cstring> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <limits.h> #include <map> #include <math.h> #include <numeric> #include <queue> #include <random> #...
[ "literal.string.change", "io.output.change" ]
337,952
337,953
u839397805
cpp
p02627
#include <bits/stdc++.h> using namespace std; #define rep(i, s, n) for (int i = s; i < n; i++) int main() { char c; cin >> c; if ('a' < c && c < 'z') cout << 'a' << endl; else cout << 'A' << endl; }
#include <bits/stdc++.h> using namespace std; #define rep(i, s, n) for (int i = s; i < n; i++) int main() { char c; cin >> c; if ('a' <= c && c <= 'z') cout << 'a' << endl; else cout << 'A' << endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,960
337,961
u068872760
cpp
p02627
#include <iostream> using namespace std; int main() { char s; cin >> s; if (s >= 'A' && s <= 'Z') { cout << "A" << endl; } else if (s <= 'a' && s <= 'z') { cout << "a" << endl; } return 0; }
#include <iostream> using namespace std; int main() { char s; cin >> s; if (s >= 'A' && s <= 'Z') { cout << "A" << endl; } else if (s >= 'a' && s <= 'z') { cout << "a" << endl; } return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,966
337,967
u688263424
cpp
p02627
#include <iostream> using namespace std; int main() { char c; cin >> c; c = c + 1; if ('A' + 1 <= c && c <= 'Z') { cout << "A\n"; } else { cout << "a\n"; } }
#include <iostream> using namespace std; int main() { char c; cin >> c; c = c + 1; if ('A' + 1 <= c && c <= 'Z' + 1) { cout << "A\n"; } else { cout << "a\n"; } }
[ "control_flow.branch.if.condition.change" ]
337,982
337,983
u901850884
cpp
p02627
#include <bits/stdc++.h> #include <math.h> using namespace std; int main() { char a; int b = 95; cin >> a; if (a >= b) { cout << "A" << endl; } else { cout << "a" << endl; } }
#include <bits/stdc++.h> #include <math.h> using namespace std; int main() { char a; int b = 95; cin >> a; if (a <= b) { cout << "A" << endl; } else { cout << "a" << endl; } }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
337,984
337,985
u636605529
cpp