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
p02933
#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; const int INF = 1000000000; const long INF64 = 1000000000000000ll; const int MOD = 1000000007; int main() { int a; string s; std::cin >> a >> s; if (a >= 3200) std::cout << "red" << std::endl; else std::cout << s << std::endl; }
#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; const int INF = 1000000000; const long INF64 = 1000000000000000ll; const int MOD = 1000000007; int main() { int a; string s; std::cin >> a >> s; if (a < 3200) std::cout << "red" << std::endl; else std::cout << s << std::endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,292
733,291
u539011156
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string word; cin >> a >> word; if (a >= 3200) { cout << "red" << endl; } else { cout << word << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a; string word; cin >> a >> word; if (a < 3200) { cout << "red" << endl; } else { cout << word << endl; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,295
733,296
u026375009
cpp
p02933
#include <iostream> using namespace std; int main() { int a; cin >> a; string s; cin >> s; if (a <= 3200) cout << s << endl; else cout << "red" << endl; return 0; }
#include <iostream> using namespace std; int main() { int a; cin >> a; string s; cin >> s; if (a >= 3200) cout << s << endl; else cout << "red" << endl; return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,297
733,298
u113081402
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a <= 3200) { cout << s << endl; return 0; } cout << "red" << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << s << endl; return 0; } cout << "red" << endl; return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,305
733,306
u028510162
cpp
p02933
#include <bits/stdc++.h> using namespace std; #define REP(i, n) for (int i = 0; i < (int)(n); i++) #define REP2(i, a, b) for (int i = (a); i < (int)(b); i++) typedef vector<int> VI; typedef vector<VI> VVI; typedef vector<string> VS; typedef long long ll; #define ALL(V) V.begin(), V.end() template <class T, class U> bool chmin(T &a, const U &b) { if (a <= b) return false; a = b; return true; } template <class T, class U> bool chmax(T &a, const U &b) { if (a >= b) return false; a = b; return true; } string Main(int A, string S) { return (A < 3200) ? "Red" : S; } int main(void) { int A; cin >> A; string S; cin >> S; cout << Main(A, S) << endl; return 0; }
#include <bits/stdc++.h> using namespace std; #define REP(i, n) for (int i = 0; i < (int)(n); i++) #define REP2(i, a, b) for (int i = (a); i < (int)(b); i++) typedef vector<int> VI; typedef vector<VI> VVI; typedef vector<string> VS; typedef long long ll; #define ALL(V) V.begin(), V.end() template <class T, class U> bool chmin(T &a, const U &b) { if (a <= b) return false; a = b; return true; } template <class T, class U> bool chmax(T &a, const U &b) { if (a >= b) return false; a = b; return true; } string Main(int A, string S) { return (A < 3200) ? "red" : S; } int main(void) { int A; cin >> A; string S; cin >> S; cout << Main(A, S) << endl; return 0; }
[ "literal.string.change", "literal.string.case.change", "function.return_value.change" ]
733,315
733,316
u132687480
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a >> s; if (a < 3200) cout << "red"; else cout << "s"; cout << endl; return 0; }
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a >> s; if (a < 3200) cout << "red"; else cout << s; cout << endl; return 0; }
[]
733,317
733,318
u016119075
cpp
p02933
#include <iostream> using namespace std; int main(void) { // Your code here! int a; char s[10]; cin >> a >> s; if (a >= 3200) cout << s; else cout << "pink"; }
#include <iostream> using namespace std; int main(void) { int a; char s[10]; cin >> a >> s; if (a >= 3200) cout << s; else cout << "red"; }
[ "literal.string.change", "io.output.change" ]
733,319
733,320
u280286156
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; string s; cin >> s; if (N >= 3200) { cout << s << endl; } else { cout << s << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; string s; cin >> s; if (N >= 3200) { cout << s << endl; } else { cout << "red" << endl; } }
[ "io.output.change" ]
733,321
733,322
u207948013
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) cout << s; else cout << "red"; return 0; }
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a >= 3200) cout << s; else cout << "red"; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,333
733,334
u641500793
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int a, s; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } }
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } }
[]
733,337
733,338
u492288342
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int n; string s; cin >> n >> s; if (n < 3200) { cout << s << endl; } else { cout << "red" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int n; string s; cin >> n >> s; if (n >= 3200) { cout << s << endl; } else { cout << "red" << endl; } }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,354
733,355
u718758485
cpp
p02933
#include <iostream> #include <string> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; int main() { int a, s; cin >> a; cin >> s; if (a >= 3200) { cout << s; } else { cout << "red"; } }
#include <iostream> #include <string> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a >= 3200) { cout << s; } else { cout << "red"; } }
[]
733,356
733,357
u912318491
cpp
p02933
#include <iostream> #include <string> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; int main() { int a, s; cin >> a >> s; if (a >= 3200) { cout << s; } else { cout << "red"; } }
#include <iostream> #include <string> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a >= 3200) { cout << s; } else { cout << "red"; } }
[]
733,358
733,357
u912318491
cpp
p02933
#include <bits/stdc++.h> using namespace std; #define int int64_t #define PB push_back #define loop(i, x, y) for (int i = x; i < y; i++) #define rloop(i, x, y) for (int i = x; i > y; i--) #define NL cout << "\n" #define ans(x) cout << x << "\n" #define out(x) cout << x << " " #define F first #define S second #define ansf(x, y) cout << fixed << setprecision(y) << x << endl; #define FAST \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); void solve() { int a; string s; cin >> a >> s; ans((a >= 3200 ? "red" : s)); } signed main() { // FAST; int T = 1; // cin>>T; while (T--) solve(); return 0; }
#include <bits/stdc++.h> using namespace std; #define int int64_t #define PB push_back #define loop(i, x, y) for (int i = x; i < y; i++) #define rloop(i, x, y) for (int i = x; i > y; i--) #define NL cout << "\n" #define ans(x) cout << x << "\n" #define out(x) cout << x << " " #define F first #define S second #define ansf(x, y) cout << fixed << setprecision(y) << x << endl; #define FAST \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); void solve() { int a; string s; cin >> a >> s; ans((a < 3200 ? "red" : s)); } signed main() { // FAST; int T = 1; // cin>>T; while (T--) solve(); return 0; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "call.arguments.change", "expression.operation.binary.change" ]
733,359
733,360
u684763756
cpp
p02933
#include <iostream> using namespace std; int main() { int a; string s; cin >> a >> s; if (a > 3200) { cout << s; } else cout << "red" << endl; return 0; }
#include <iostream> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << s; } else cout << "red" << endl; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,361
733,362
u456557767
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) cout << s; else cout << 'red'; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) cout << s; else cout << "red"; return 0; }
[ "literal.string.change", "io.output.change" ]
733,363
733,364
u494904817
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a > 3200) cout << s; else cout << 'red'; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) cout << s; else cout << "red"; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "io.output.change" ]
733,365
733,364
u494904817
cpp
p02933
#include <bits/stdc++.h> using namespace std; #define int long long signed main() { int n; cin >> n; string s; if (n < 3200) cout << "red" << endl; else cout << s << endl; return 0; }
#include <bits/stdc++.h> using namespace std; #define int long long signed main() { int n; cin >> n; string s; cin >> s; if (n < 3200) cout << "red" << endl; else cout << s << endl; return 0; }
[]
733,366
733,367
u652712806
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) cout << 'red' << '\n'; else cout << s << '\n'; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) cout << "red" << '\n'; else cout << s << '\n'; return 0; }
[ "literal.string.change", "io.output.change" ]
733,370
733,371
u551519692
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) cout << 'red\n'; else cout << s << '\n'; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) cout << "red" << '\n'; else cout << s << '\n'; return 0; }
[ "io.output.change", "literal.string.change" ]
733,372
733,371
u551519692
cpp
p02933
#include <iostream> using namespace std; int main() { int s; string f; cin >> s; getline(cin, f); if (s < 3200) cout << "red" << endl; else if (s >= 3200) cout << f << endl; return 0; }
#include <iostream> using namespace std; int main() { int s; string f; cin >> s; cin >> f; if (s < 3200) cout << "red" << endl; else if (s >= 3200) cout << f << endl; return 0; }
[ "call.remove", "call.arguments.change" ]
733,377
733,378
u798851723
cpp
p02933
#include <stdio.h> #include <string.h> int main() { int a; char s[100]; scanf("%d%s", &a, s); if (a = 3200) printf("pink"); else printf("red"); return 0; }
#include <stdio.h> #include <string.h> int main() { int a; char s[100]; scanf("%d%s", &a, s); if (a >= 3200) printf("%s", s); else printf("red"); return 0; }
[ "control_flow.branch.if.condition.change", "literal.string.change", "call.arguments.change", "io.output.change", "call.arguments.add" ]
733,395
733,396
u113973663
cpp
p02933
#include <stdio.h> #include <string.h> int main() { int a; char s[10]; scanf("%d%s", &a, s); if (a >= 3200) printf("pink"); else printf("red"); return 0; }
#include <stdio.h> #include <string.h> int main() { int a; char s[100]; scanf("%d%s", &a, s); if (a >= 3200) printf("%s", s); else printf("red"); return 0; }
[ "literal.number.change", "variable_declaration.array_dimensions.change", "literal.string.change", "call.arguments.change", "io.output.change", "call.arguments.add" ]
733,397
733,396
u113973663
cpp
p02933
#include <stdio.h> #include <string.h> int main() { int a; char s[10]; scanf("%d%S", &a, s); if (a >= 3200) printf("pink"); else printf("red"); return 0; }
#include <stdio.h> #include <string.h> int main() { int a; char s[100]; scanf("%d%s", &a, s); if (a >= 3200) printf("%s", s); else printf("red"); return 0; }
[ "literal.number.change", "variable_declaration.array_dimensions.change", "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change", "call.arguments.add" ]
733,398
733,396
u113973663
cpp
p02933
#include <iostream> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a > 3200) cout << "red"; else if (a <= 3200) cout << s; }
#include <iostream> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) cout << "red"; else if (a >= 3200) cout << s; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,401
733,402
u986357689
cpp
p02933
#include <iostream> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a > 3200) cout << "red"; else if (a < 3200) cout << s; }
#include <iostream> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) cout << "red"; else if (a >= 3200) cout << s; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,403
733,402
u986357689
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a; cout << endl; cin >> s; if (2799 <= a && a < 3200) { cout << s << endl; } else if (3200 <= a && a < 5000) { cout << "red" << endl; } }
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a; cout << endl; cin >> s; if (2799 <= a && a < 3200) { cout << "red" << endl; } else if (3200 <= a && a < 5000) { cout << s << endl; } }
[ "io.output.change" ]
733,404
733,405
u949097771
cpp
p02933
#include <iostream> using namespace std; int main() { int a; char s[100]; cin >> a >> s; if (a >= 3200) cout << "red" << endl; else cout << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int a; char s[100]; cin >> a >> s; if (a < 3200) cout << "red" << endl; else cout << s << endl; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,408
733,409
u340494803
cpp
p02933
#include <iostream> using namespace std; int main() { int a; char s[100]; cin >> a; if (a >= 3200) cout << "red" << endl; else cout << s << endl; return 0; }
#include <iostream> using namespace std; int main() { int a; char s[100]; cin >> a >> s; if (a < 3200) cout << "red" << endl; else cout << s << endl; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,410
733,409
u340494803
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) { cout << "pink" << endl; } else { cout << "red" << endl; } return 0; }
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) { cout << "red" << endl; } else { cout << s << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
733,419
733,420
u865500049
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) { cout << "pink" << endl; } else { cout << s << endl; } return 0; }
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) { cout << "red" << endl; } else { cout << s << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
733,421
733,420
u865500049
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { char s; int a; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { string s; int a; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } return 0; }
[ "variable_declaration.type.change" ]
733,437
733,438
u767995501
cpp
p02933
#include <algorithm> #include <cmath> #include <cstdio> #include <iomanip> #include <iostream> #include <queue> #include <set> #include <tuple> #include <unordered_map> #include <unordered_set> #include <vector> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a <= 3200) cout << s; else cout << "red"; }
#include <algorithm> #include <cmath> #include <cstdio> #include <iomanip> #include <iostream> #include <queue> #include <set> #include <tuple> #include <unordered_map> #include <unordered_set> #include <vector> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a >= 3200) cout << s; else cout << "red"; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,453
733,454
u904019018
cpp
p02933
#include <algorithm> #include <cmath> #include <cstdio> #include <iomanip> #include <iostream> #include <queue> #include <set> #include <tuple> #include <unordered_map> #include <unordered_set> #include <vector> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) cout << s; else cout << "red"; }
#include <algorithm> #include <cmath> #include <cstdio> #include <iomanip> #include <iostream> #include <queue> #include <set> #include <tuple> #include <unordered_map> #include <unordered_set> #include <vector> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a >= 3200) cout << s; else cout << "red"; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,455
733,454
u904019018
cpp
p02933
#include <iostream> int main() { int s; std::string a; std::cin >> s >> a; if (s >= 3200) std::cout << s << std::endl; else std::cout << "red" << std::endl; }
#include <iostream> int main() { int s; std::string a; std::cin >> s >> a; if (s >= 3200) std::cout << a << std::endl; else std::cout << "red" << std::endl; }
[ "identifier.change", "expression.operation.binary.change" ]
733,458
733,459
u930737792
cpp
p02933
#include <bits/stdc++.h> using namespace std; typedef long long int LL; typedef long long int LLint; // Faster Coding #define ED return 0 #define GET(a) \ int a; \ cin >> a #define SGET(a) \ string a; \ cin >> a #define CGET(a) \ char a; \ cin >> a #define PRINT(a) cout << a << endl #define ANS(a, b) \ int a; \ cin >> a; \ cout << b << endl #define SORT(vec) sort(vec.begin(), vec.end()) #define REV(vec) reverse(vec.begin(), vec.end()) // Difficult Syntax #define DOUBLECHANGE(count) cout << setprecision(count) // As Function #define UP(a, b) ((a + (b - 1)) / b) #define ipow(x, y) LL(pow(x, y)) // Debug #define TEST cout << "OK" << endl const long long INF = 999999999; const long long mod = 1000000007; int main() { cin.tie(0); ios::sync_with_stdio(false); GET(A); SGET(S); PRINT(((A >= 3200) ? "red" : S)); }
#include <bits/stdc++.h> using namespace std; typedef long long int LL; typedef long long int LLint; // Faster Coding #define ED return 0 #define GET(a) \ int a; \ cin >> a #define SGET(a) \ string a; \ cin >> a #define CGET(a) \ char a; \ cin >> a #define PRINT(a) cout << a << endl #define ANS(a, b) \ int a; \ cin >> a; \ cout << b << endl #define SORT(vec) sort(vec.begin(), vec.end()) #define REV(vec) reverse(vec.begin(), vec.end()) // Difficult Syntax #define DOUBLECHANGE(count) cout << setprecision(count) // As Function #define UP(a, b) ((a + (b - 1)) / b) #define ipow(x, y) LL(pow(x, y)) // Debug #define TEST cout << "OK" << endl const long long INF = 999999999; const long long mod = 1000000007; int main() { cin.tie(0); ios::sync_with_stdio(false); GET(A); SGET(S); PRINT(((A >= 3200) ? S : "red")); }
[]
733,466
733,467
u550995059
cpp
p02933
#include <algorithm> #include <bitset> #include <cassert> #include <cmath> #include <cstdlib> #include <cstring> #include <deque> #include <fstream> #include <iomanip> #include <iostream> #include <limits> #include <map> #include <numeric> #include <queue> #include <random> #include <set> #include <sstream> #include <stack> #include <unordered_map> #include <unordered_set> #include <vector> #define len(X) ((int)(X).size()) #ifdef __LOCAL #define DBG(X) cout << #X << "=" << (X) << '\n'; #define SAY(X) cout << (X) << '\n'; #else #define DBG(X) #define SAY(X) #endif #define M_PI 3.14159265358979323846 using namespace std; using ll = long long int; using ull = unsigned long long int; using ld = long double; using pii = pair<int, int>; using pll = pair<ll, ll>; const int INT_INF = (int)(2e9); const ll LL_INF = (ll)(2e18); const int NIL = -1; static mt19937 _g(time(nullptr)); inline ll randint(ll a, ll b) { ll w = (_g() << 31LL) ^ _g(); return a + w % (b - a + 1); } inline void fast_io() { ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); }; template <typename T> inline T sign(T x) { return T(x > 0) - T(x < 0); } template <typename T, typename S> inline ostream &operator<<(ostream &os, const pair<T, S> p) { cout << "[" << p.first << ";" << p.second << "]"; return os; } template <typename T> inline ostream &operator<<(ostream &os, const vector<T> &v) { for (auto el : v) cout << el << " "; return os; } template <typename T> inline T fetch() { T ret; cin >> ret; return ret; } template <typename T> inline vector<T> fetch_vec(int sz) { vector<T> ret(sz); for (auto &elem : ret) cin >> elem; return ret; } int solve() { int N; std::cin >> N; string s; cin >> s; if (N >= 3200) cout << s << endl; else cout << "Red" << endl; return 0; } int main() { solve(); return 0; }
#include <algorithm> #include <bitset> #include <cassert> #include <cmath> #include <cstdlib> #include <cstring> #include <deque> #include <fstream> #include <iomanip> #include <iostream> #include <limits> #include <map> #include <numeric> #include <queue> #include <random> #include <set> #include <sstream> #include <stack> #include <unordered_map> #include <unordered_set> #include <vector> #define len(X) ((int)(X).size()) #ifdef __LOCAL #define DBG(X) cout << #X << "=" << (X) << '\n'; #define SAY(X) cout << (X) << '\n'; #else #define DBG(X) #define SAY(X) #endif #define M_PI 3.14159265358979323846 using namespace std; using ll = long long int; using ull = unsigned long long int; using ld = long double; using pii = pair<int, int>; using pll = pair<ll, ll>; const int INT_INF = (int)(2e9); const ll LL_INF = (ll)(2e18); const int NIL = -1; static mt19937 _g(time(nullptr)); inline ll randint(ll a, ll b) { ll w = (_g() << 31LL) ^ _g(); return a + w % (b - a + 1); } inline void fast_io() { ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); }; template <typename T> inline T sign(T x) { return T(x > 0) - T(x < 0); } template <typename T, typename S> inline ostream &operator<<(ostream &os, const pair<T, S> p) { cout << "[" << p.first << ";" << p.second << "]"; return os; } template <typename T> inline ostream &operator<<(ostream &os, const vector<T> &v) { for (auto el : v) cout << el << " "; return os; } template <typename T> inline T fetch() { T ret; cin >> ret; return ret; } template <typename T> inline vector<T> fetch_vec(int sz) { vector<T> ret(sz); for (auto &elem : ret) cin >> elem; return ret; } int solve() { int N; std::cin >> N; string s; cin >> s; if (N >= 3200) cout << s << endl; else cout << "red" << endl; return 0; } int main() { solve(); return 0; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
733,470
733,471
u187453157
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int n; string s; cin >> n >> s; cout << (n >= 3200 ? "red" : s) << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int n; string s; cin >> n >> s; cout << (n >= 3200 ? s : "red") << endl; return 0; }
[]
733,478
733,479
u948459352
cpp
p02933
#include <iostream> using namespace std; int main() { int x; cin >> x; string a; cin >> a; if (x < 3200) { cout << "red" << endl; } else if (x > 3200) { cout << a << endl; } return 0; }
#include <iostream> using namespace std; int main() { int x; cin >> x; string a; cin >> a; if (x < 3200) { cout << "red" << endl; } else if (x >= 3200) { cout << a << endl; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,488
733,489
u318329027
cpp
p02933
//#pragma GCC optimize ("O3") //#pragma GCC target ("sse4") #include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int a; string s; cin >> a >> s; if (a >= 3200) { cout << s; } else { cout << "res"; } return 0; }
//#pragma GCC optimize ("O3") //#pragma GCC target ("sse4") #include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int a; string s; cin >> a >> s; if (a >= 3200) { cout << s; } else { cout << "red"; } return 0; }
[ "literal.string.change", "io.output.change" ]
733,492
733,493
u021107862
cpp
p02933
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < n; i++) #define REPR(i, n) for (int i = n; i >= 0; i--) #define FOR(i, m, n) for (int i = m; i < n; i++) #define INF 2e9 #define ALL(v) v.begin(), v.end() using namespace std; typedef long long ll; int main() { int N; string s; cin >> N; cin >> s; if (N >= 3200) { cout << "red" << endl; } else { cout << s << endl; } }
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < n; i++) #define REPR(i, n) for (int i = n; i >= 0; i--) #define FOR(i, m, n) for (int i = m; i < n; i++) #define INF 2e9 #define ALL(v) v.begin(), v.end() using namespace std; typedef long long ll; int main() { int N; string s; cin >> N; cin >> s; if (N >= 3200) { cout << s << endl; } else { cout << "red" << endl; } }
[ "control_flow.branch.else.add" ]
733,494
733,495
u108484707
cpp
p02933
#include <iostream> using namespace std; int main() { int a = 0; string s; cin >> a >> s; if (a <= 3200) { cout << s << endl; } else { cout << "red" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int a = 0; string s; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,496
733,497
u742306624
cpp
p02933
#include <iostream> using namespace std; int main() { int a = 0; string s = 0; cin >> a >> s; if (a <= 3200) { cout << s << endl; } else { cout << "red" << endl; } return 0; }
#include <iostream> using namespace std; int main() { int a = 0; string s; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,498
733,497
u742306624
cpp
p02933
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < n; ++i) #define REP(i, a, b) for (int i = a; i < b; ++i) typedef long long ll; //プロトタイプ宣言 int gcd(int, int); int main() { int a; string s; cin >> a >> s; if (a >= 3200) cout << a << endl; else cout << "red" << endl; } //以下、ライブラリ //ユークリッドの互除法 int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < n; ++i) #define REP(i, a, b) for (int i = a; i < b; ++i) typedef long long ll; //プロトタイプ宣言 int gcd(int, int); int main() { int a; string s; cin >> a >> s; if (a >= 3200) cout << s << endl; else cout << "red" << endl; } //以下、ライブラリ //ユークリッドの互除法 int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
[ "identifier.change", "io.output.change" ]
733,503
733,504
u060965067
cpp
p02933
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) typedef long long ll; int main(void) { int a; string s; cin >> a; cin >> s; if (a >= 3200) { cout << s << endl; } else { cout << "Red" << endl; } }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) typedef long long ll; int main(void) { int a; string s; cin >> a; cin >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
733,510
733,511
u770396365
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << "red" << endl; } else { cout << s << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } }
[ "control_flow.branch.else.add" ]
733,526
733,527
u663775885
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << 'red' << endl; } else { cout << s << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } }
[ "io.output.change" ]
733,528
733,527
u663775885
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a; // >> b >> c; cin >> s; if (3200 <= a) cout << "red" << endl; else cout << s << endl; // cout << c - (a-b))<0 ? 0 : b+c-a << endl; // else cout << b << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a; // >> b >> c; cin >> s; if (3200 <= a) cout << s << endl; else cout << "red" << endl; // cout << c - (a-b))<0 ? 0 : b+c-a << endl; // else cout << b << endl; return 0; }
[ "control_flow.branch.else_if.replace.remove", "control_flow.branch.if.replace.add", "control_flow.branch.else.remove" ]
733,529
733,530
u091552241
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { string s; int x; cin >> x >> s; if (x > 3200) { cout << s; } else { cout << "red"; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { string s; int x; cin >> x >> s; if (x >= 3200) { cout << s; } else { cout << "red"; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,533
733,534
u470490204
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a > 3199) cout << "red" << endl; else cout << s << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a < 3200) cout << "red" << endl; else cout << s << endl; }
[]
733,537
733,538
u695272665
cpp
p02933
#include <iostream> #include <stdio.h> #include <string> using namespace std; int main(void) { int N; string c; cin >> N; cin >> c; if (N <= 3200) { cout << "red" << endl; } else { cout << c << endl; } return 0; }
#include <iostream> #include <stdio.h> #include <string> using namespace std; int main(void) { int N; string c; cin >> N; cin >> c; if (N < 3200) { cout << "red" << endl; } else { cout << c << endl; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,539
733,540
u877240161
cpp
p02933
#include <iostream> #include <stdio.h> #include <string> using namespace std; int main(void) { int N; string c; cin >> N; cin >> c; if (N >= 3200) { cout << "red" << endl; } else { cout << c << endl; } return 0; }
#include <iostream> #include <stdio.h> #include <string> using namespace std; int main(void) { int N; string c; cin >> N; cin >> c; if (N < 3200) { cout << "red" << endl; } else { cout << c << endl; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,542
733,540
u877240161
cpp
p02933
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> using namespace std; int n; char ss[15]; int main() { scanf("%d%s", &n, ss); if (n >= 3200) puts("red"); else printf("%s", ss); return 0; }
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> using namespace std; int n; char ss[15]; int main() { scanf("%d%s", &n, ss); if (n < 3200) puts("red"); else printf("%s", ss); return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,545
733,546
u635607854
cpp
p02933
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> using namespace std; int n; char ss[15]; int main() { scanf("%d%s", &n, ss); if (n >= 3200) puts("pink"); else printf("%s", ss); return 0; }
#include <algorithm> #include <cstdio> #include <cstring> #include <iostream> using namespace std; int n; char ss[15]; int main() { scanf("%d%s", &n, ss); if (n < 3200) puts("red"); else printf("%s", ss); return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "call.arguments.change", "io.output.change" ]
733,547
733,546
u635607854
cpp
p02933
#ifndef LOCAL #pragma GCC optimize("O2") #endif #include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int a; cin >> a; string s; cin >> s; if (a > 3200) { cout << s; } else { cout << "red"; } return 0; }
#ifndef LOCAL #pragma GCC optimize("O2") #endif #include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int a; cin >> a; string s; cin >> s; if (a >= 3200) { cout << s; } else { cout << "red"; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,564
733,565
u388547496
cpp
p02933
#include <iostream> using namespace std; int main() { int N; string str; cin >> N >> str; if (N >= 3200) { cout << "red" << endl; return 0; } else cout << str << endl; return 0; }
#include <iostream> using namespace std; int main() { int N; string str; cin >> N >> str; if (N < 3200) { cout << "red" << endl; return 0; } else cout << str << endl; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,566
733,567
u163149221
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int n; string s; cin >> n >> s; cout << (n >= 3200 ? "red" : s) << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int n; string s; cin >> n >> s; cout << (n < 3200 ? "red" : s) << endl; }
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "io.output.change" ]
733,576
733,577
u325586706
cpp
p02933
// CppPractice.cpp : このファイルには 'main' // 関数が含まれています。プログラム実行の開始と終了がそこで行われます。 // #include <algorithm> #include <iostream> #include <numeric> #include <vector> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a > 3200) cout << s; else cout << "red"; } // プログラムの実行: Ctrl + F5 または [デバッグ] > [デバッグなしで開始] メニュー // プログラムのデバッグ: F5 または [デバッグ] > [デバッグの開始] メニュー // 作業を開始するためのヒント: // 1. ソリューション エクスプローラー // ウィンドウを使用してファイルを追加/管理します // 2. チーム エクスプローラー ウィンドウを使用してソース管理に接続します // 3. 出力ウィンドウを使用して、ビルド出力とその他のメッセージを表示します // 4. エラー一覧ウィンドウを使用してエラーを表示します // 5. [プロジェクト] > [新しい項目の追加] と移動して新しいコード // ファイルを作成するか、[プロジェクト] > [既存の項目の追加] // と移動して既存のコード ファイルをプロジェクトに追加します // 6. 後ほどこのプロジェクトを再び開く場合、[ファイル] > [開く] > // [プロジェクト] と移動して .sln ファイルを選択します
// CppPractice.cpp : このファイルには 'main' // 関数が含まれています。プログラム実行の開始と終了がそこで行われます。 // #include <algorithm> #include <iostream> #include <numeric> #include <vector> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a >= 3200) cout << s; else cout << "red"; } // プログラムの実行: Ctrl + F5 または [デバッグ] > [デバッグなしで開始] メニュー // プログラムのデバッグ: F5 または [デバッグ] > [デバッグの開始] メニュー // 作業を開始するためのヒント: // 1. ソリューション エクスプローラー // ウィンドウを使用してファイルを追加/管理します // 2. チーム エクスプローラー ウィンドウを使用してソース管理に接続します // 3. 出力ウィンドウを使用して、ビルド出力とその他のメッセージを表示します // 4. エラー一覧ウィンドウを使用してエラーを表示します // 5. [プロジェクト] > [新しい項目の追加] と移動して新しいコード // ファイルを作成するか、[プロジェクト] > [既存の項目の追加] // と移動して既存のコード ファイルをプロジェクトに追加します // 6. 後ほどこのプロジェクトを再び開く場合、[ファイル] > [開く] > // [プロジェクト] と移動して .sln ファイルを選択します
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,581
733,582
u102126195
cpp
p02933
#include <bits/stdc++.h> using namespace std; typedef long long LL; typedef vector<int> vi; typedef pair<int, int> ii; #define inf 1e9 #define F first #define S second #define dbg(x) cout << #x << " value : " << x << "\n"; #define rep(i, j, k) for (int i = (j); i <= (k); i++) #define rep__(i, j, k) for (int i = (j); i < (k); i++) #define per(i, j, k) for (int i = (j); i >= (k); i--) #define per__(i, j, k) for (int i = (j); i > (k); i--) #define mst(a, b) memset(a, b, sizeof(a)) #define sf(n) scanf("%d", &n) #define stf(n, m) scanf("%d%d", &n, &m) #define pf(n) printf("%d\n", n) #define slf(n) scanf("%lld", &n) #define plf(n) printf("%lld\n", n) priority_queue<int, vector<int>, less<int>> q; const int N = 1e3 + 10; const int mod = 1e9 + 7; int main() { int n; string s; sf(n); cin >> s; if (n > 3200) printf("red"); else cout << s; return 0; }
#include <bits/stdc++.h> using namespace std; typedef long long LL; typedef vector<int> vi; typedef pair<int, int> ii; #define inf 1e9 #define F first #define S second #define dbg(x) cout << #x << " value : " << x << "\n"; #define rep(i, j, k) for (int i = (j); i <= (k); i++) #define rep__(i, j, k) for (int i = (j); i < (k); i++) #define per(i, j, k) for (int i = (j); i >= (k); i--) #define per__(i, j, k) for (int i = (j); i > (k); i--) #define mst(a, b) memset(a, b, sizeof(a)) #define sf(n) scanf("%d", &n) #define stf(n, m) scanf("%d%d", &n, &m) #define pf(n) printf("%d\n", n) #define slf(n) scanf("%lld", &n) #define plf(n) printf("%lld\n", n) priority_queue<int, vector<int>, less<int>> q; const int N = 1e3 + 10; const int mod = 1e9 + 7; int main() { int n; string s; sf(n); cin >> s; if (n < 3200) printf("red"); else cout << s; return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,583
733,584
u665426232
cpp
p02933
#include <iostream> using namespace std; int main() { int a; cin >> a; string s; if (a >= 3200) cout << s << endl; else cout << "red" << endl; return 0; }
#include <iostream> using namespace std; int main() { int a; cin >> a; string s; cin >> s; if (a >= 3200) cout << s << endl; else cout << "red" << endl; return 0; }
[]
733,587
733,588
u166550014
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) cout << "red" << endl; else cout << s << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a < 3200) cout << "red" << endl; else cout << s << endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,589
733,590
u814465158
cpp
p02933
#include <algorithm> #include <cstring> #include <iostream> #include <map> #include <math.h> #include <queue> #include <set> #include <stack> #include <stdio.h> #include <string> #include <time.h> #include <vector> using namespace std; #define INF 2147483647 int main() { ios_base::sync_with_stdio(false); int a; cin >> a; string s; cin >> s; if (a > 3200) { cout << s << "\n"; } else { cout << "red" << "\n"; } return 0; }
#include <algorithm> #include <cstring> #include <iostream> #include <map> #include <math.h> #include <queue> #include <set> #include <stack> #include <stdio.h> #include <string> #include <time.h> #include <vector> using namespace std; #define INF 2147483647 int main() { ios_base::sync_with_stdio(false); int a; cin >> a; string s; cin >> s; if (a >= 3200) { cout << s << "\n"; } else { cout << "red" << "\n"; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,593
733,594
u575490566
cpp
p02933
#include <iostream> using namespace std; int main() { int a; string s; cin >> a >> s; if (a = 3200) { cout << s; } else { cout << "red"; } return 0; }
#include <iostream> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << s; } else { cout << "red"; } return 0; }
[ "control_flow.branch.if.condition.change" ]
733,604
733,605
u094746828
cpp
p02933
#include <algorithm> #include <cmath> #include <iostream> #include <queue> #include <string> #include <tuple> #include <vector> typedef long long int ll; #define rep(i, a, b) for (int i = (a); i < (b); i++) #define F first #define S second using namespace std; const ll INF = 10000000000000; int main() { int N; string s; cin >> N; cin >> s; if (N >= 3200) cout << s << endl; else cout << 'red' << endl; return 0; }
#include <algorithm> #include <cmath> #include <iostream> #include <queue> #include <string> #include <tuple> #include <vector> typedef long long int ll; #define rep(i, a, b) for (int i = (a); i < (b); i++) #define F first #define S second using namespace std; const ll INF = 10000000000000; int main() { int N; string s; cin >> N; cin >> s; if (N >= 3200) cout << s << endl; else cout << "red" << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
733,606
733,607
u726450206
cpp
p02933
#include <iostream> using namespace std; int a; string b; int main() { cin >> a >> b; if (a > 3200) { cout << b; } else { cout << "red"; } return 0; }
#include <iostream> using namespace std; int a; string b; int main() { cin >> a >> b; if (a >= 3200) { cout << b; } else { cout << "red"; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,608
733,609
u254554646
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) s = "red"; cout << s << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) s = "red"; cout << s << endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,612
733,613
u274436362
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int a; cin >> a; string s; cin >> s; if (a < 3200) cout << "red" << endl; else if (a > 3200 || a == 3200) cout << "s" << endl; return 0; }
#include <iostream> #include <string> using namespace std; int main() { int a; cin >> a; string s; cin >> s; if (a < 3200) cout << "red" << endl; else if (a > 3200 || a == 3200) cout << s << endl; return 0; }
[]
733,618
733,619
u375398641
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int a; cin >> a; if (a < 3200) { printf("red"); } else { string s; getline(cin, s); cout << s; } }
#include <iostream> #include <string> using namespace std; int main() { int a; cin >> a; getchar(); if (a < 3200) { printf("red"); } else { string s; getline(cin, s); cout << s; } }
[ "call.add" ]
733,620
733,621
u781185161
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a >> s; if (a < 3200) { cout << 'red' << endl; } else { cout << s << endl; } return 0; }
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a >> s; if (a < 3200) { cout << "red" << endl; } else { cout << s << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
733,631
733,632
u746486430
cpp
p02933
// All Heil Fire Lord Zuko #include <bits/stdc++.h> using namespace std; #define F first #define S second #define PB push_back #define debug(x) cerr << #x << " = " << x << endl #define sz(x) (int)x.size() #define all(x) x.begin(), x.end() typedef long long ll; typedef long double ld; const int N = 2 * 100 * 1000 + 19; int32_t main() { ios::sync_with_stdio(false), cin.tie(0), cout.tie(0); int n; string s; cin >> n; cin >> s; if (n <= 3200) cout << s; else cout << "red"; return 0; }
// All Heil Fire Lord Zuko #include <bits/stdc++.h> using namespace std; #define F first #define S second #define PB push_back #define debug(x) cerr << #x << " = " << x << endl #define sz(x) (int)x.size() #define all(x) x.begin(), x.end() typedef long long ll; typedef long double ld; const int N = 2 * 100 * 1000 + 19; int32_t main() { ios::sync_with_stdio(false), cin.tie(0), cout.tie(0); int n; string s; cin >> n; cin >> s; if (n >= 3200) cout << s; else cout << "red"; return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,636
733,637
u479179837
cpp
p02933
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) int main() { cin.tie(0); ios::sync_with_stdio(false); string s; int a; cin >> a >> s; if (a <= 3200) cout << s << "\n"; else cout << "red" << "\n"; return 0; }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) int main() { cin.tie(0); ios::sync_with_stdio(false); string s; int a; cin >> a >> s; if (a >= 3200) cout << s << "\n"; else cout << "red" << "\n"; return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,640
733,641
u429911069
cpp
p02933
#include <bits/stdc++.h> #define int long long #define rep(i, n) for (int i = 0; i < n; i++) #define elif else if #define INF 1000000007 using namespace std; int a; string s; signed main() { cin >> a >> s; if (a < 3200) { cout << 'red'; } else { cout << s; } }
#include <bits/stdc++.h> #define int long long #define rep(i, n) for (int i = 0; i < n; i++) #define elif else if #define INF 1000000007 using namespace std; int a; string s; signed main() { cin >> a >> s; if (a < 3200) { cout << "red"; } else { cout << s; } }
[ "literal.string.change", "io.output.change" ]
733,652
733,653
u835937527
cpp
p02933
#include <iostream> #include <string> int main() { int a; std::string s, ans; std::cin >> a >> s; if (a >= 3200) { ans = "red"; } else { ans = s; } std::cout << ans << std::endl; }
#include <iostream> #include <string> int main() { int a; std::string s, ans; std::cin >> a >> s; if (a < 3200) { ans = "red"; } else { ans = s; } std::cout << ans << std::endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,673
733,674
u425830382
cpp
p02933
#include <iostream> using namespace std; int main() { int x; string y; cin >> x >> y; if (x < 3200) cout << y; else cout << "red"; return 0; }
#include <iostream> using namespace std; int main() { int x; string y; cin >> x >> y; if (3200 <= x) cout << y; else cout << "red"; return 0; }
[ "expression.operation.binary.remove", "control_flow.branch.if.condition.change" ]
733,694
733,695
u871166059
cpp
p02933
#include <iostream> using namespace std; int main() { int x; string y; cin >> x >> y; if (x > 3200) cout << y; else cout << "red"; return 0; }
#include <iostream> using namespace std; int main() { int x; string y; cin >> x >> y; if (3200 <= x) cout << y; else cout << "red"; return 0; }
[ "expression.operation.binary.remove", "control_flow.branch.if.condition.change" ]
733,696
733,695
u871166059
cpp
p02933
#include <iostream> using namespace std; string s; int a; int main() { cin >> a >> s; if (!a < 3200) cout << s; else cout << "red"; }
#include <iostream> using namespace std; string s; int a; int main() { cin >> a >> s; if (!(a < 3200)) cout << s; else cout << "red"; }
[ "control_flow.branch.if.condition.change" ]
733,698
733,699
u131977721
cpp
p02933
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; typedef long long ll; int a, s; int main() { cin >> a; cin >> s; if (a >= 3200) cout << s << endl; else cout << "red" << endl; }
#include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; typedef long long ll; int a; string s; int main() { cin >> a; cin >> s; if (a >= 3200) cout << s << endl; else cout << "red" << endl; }
[]
733,700
733,701
u871890105
cpp
p02933
#include <iostream> using namespace std; int main(void) { int n; string s; cin >> n >> s; cout << (n >= 3200 ? "red" : s) << endl; return 0; }
#include <iostream> using namespace std; int main(void) { int n; string s; cin >> n >> s; cout << (n >= 3200 ? s : "red") << endl; return 0; }
[]
733,706
733,707
u023463844
cpp
p02933
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "'red'" << endl; } }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } }
[ "literal.string.change", "io.output.change" ]
733,719
733,720
u474760662
cpp
p02933
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { int a; string s; cin >> a >> s; if (a > 3200) { cout << s << endl; } else { cout << "'red'" << endl; } }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "io.output.change" ]
733,721
733,720
u474760662
cpp
p02933
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { int a; string s; cin >> a >> s; if (a > 3200) { cout << s << endl; } else { cout << "red" << endl; } }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << s << endl; } else { cout << "red" << endl; } }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,722
733,720
u474760662
cpp
p02933
#include <iostream> using namespace std; int main() { // 整数の入力 int a; cin >> a; // スペース区切りの整数の入力 // int b,c; // cin >> b >> c; // 文字列の入力 string s; cin >> s; // 出力 if (a >= 3200) { cout << "red" << endl; } else { cout << s << endl; } return 0; }
#include <iostream> using namespace std; int main() { // 整数の入力 int a; cin >> a; // スペース区切りの整数の入力 // int b,c; // cin >> b >> c; // 文字列の入力 string s; cin >> s; // 出力 if (a < 3200) { cout << "red" << endl; } else { cout << s << endl; } return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,742
733,743
u236940889
cpp
p02933
#include <stdio.h>; int main(void) { int a; char s[10]; scanf("%d", &a); scanf("%s", s); if (a <= 3200) printf("red\n"); else printf("%s", s); return 0; }
#include <stdio.h>; int main(void) { int a; char s[10]; scanf("%d", &a); scanf("%s", s); if (a < 3200) printf("red\n"); else printf("%s", s); return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,744
733,745
u100984705
cpp
p02933
#include <stdio.h>; int main(void) { int a; char s[10]; scanf("%d", &a); scanf("%s", s); if (a >= 3200) printf("red\n"); else printf("%s", s); return 0; }
#include <stdio.h>; int main(void) { int a; char s[10]; scanf("%d", &a); scanf("%s", s); if (a < 3200) printf("red\n"); else printf("%s", s); return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,746
733,745
u100984705
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int N; cin >> N; string s; cin >> s; if (N > 3200) cout << s; else cout << "red"; return 0; }
#include <iostream> #include <string> using namespace std; int main() { int N; cin >> N; string s; cin >> s; if (N >= 3200) cout << s; else cout << "red"; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,748
733,749
u598273654
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int N; cin >> N; string s; cin >> s; if (N < 3200) cout << s; else cout << "red"; return 0; }
#include <iostream> #include <string> using namespace std; int main() { int N; cin >> N; string s; cin >> s; if (N >= 3200) cout << s; else cout << "red"; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,750
733,749
u598273654
cpp
p02933
#include <bits/stdc++.h> #define st first #define nd second #define mp make_pair #define pb push_back #define sol (k + k) #define sag (k + k + 1) #define orta (bas + (son - bas) / 2) #define coc g[node][i] #define mod 1000000007 #define inf 1e18 #define N 1000005 using namespace std; typedef long long ll; int main() { int a; string s; cin >> a; cin >> s; if (a >= 3200) { cout << "red"; } else cout << s; return 0; }
#include <bits/stdc++.h> #define st first #define nd second #define mp make_pair #define pb push_back #define sol (k + k) #define sag (k + k + 1) #define orta (bas + (son - bas) / 2) #define coc g[node][i] #define mod 1000000007 #define inf 1e18 #define N 1000005 using namespace std; typedef long long ll; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) { cout << "red"; } else cout << s; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,759
733,760
u863190862
cpp
p02933
#include <bits/stdc++.h> #define st first #define nd second #define mp make_pair #define pb push_back #define sol (k + k) #define sag (k + k + 1) #define orta (bas + (son - bas) / 2) #define coc g[node][i] #define mod 1000000007 #define inf 1e18 #define N 1000005 using namespace std; typedef long long ll; int main() { int a; string s; cin >> a; cin >> s; if (a > 3200) { cout << "red"; } else cout << s; return 0; }
#include <bits/stdc++.h> #define st first #define nd second #define mp make_pair #define pb push_back #define sol (k + k) #define sag (k + k + 1) #define orta (bas + (son - bas) / 2) #define coc g[node][i] #define mod 1000000007 #define inf 1e18 #define N 1000005 using namespace std; typedef long long ll; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) { cout << "red"; } else cout << s; return 0; }
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,762
733,760
u863190862
cpp
p02933
#include <bits/stdc++.h> #define pb push_back #define mk make_pair #define fr first #define sc second #define test1(x) cout << "x is " << x << "!" << endl using namespace std; typedef long long ll; typedef pair<ll, ll> PII; bool test = true; void solve(); int main() { int t = 1; if (test) cin >> t; while (t--) solve(); } int n; string s; void solve() { cin >> n >> s; if (n < 3200) cout << "red"; else cout << s; }
#include <bits/stdc++.h> #define pb push_back #define mk make_pair #define fr first #define sc second #define test1(x) cout << "x is " << x << "!" << endl using namespace std; typedef long long ll; typedef pair<ll, ll> PII; bool test = true; void solve(); int main() { int t = 1; if (t == 0) cin >> t; while (t--) solve(); } int n; string s; void solve() { cin >> n >> s; if (n < 3200) cout << "red"; else cout << s; }
[ "control_flow.branch.if.condition.change" ]
733,763
733,764
u080863136
cpp
p02933
#include <bits/stdc++.h> using namespace std; using ll = long long; using vi = vector<int>; using vvi = vector<vi>; #define REP(i, x, n) for (int i = x; i < n; i++) #define rep(i, n) REP(i, 0, n) #define all(x) x.begin(), x.end() int main() { int a; string s; cin >> a >> s; if (3200 <= a) { cout << s << endl; } else cout << "Red" << endl; }
#include <bits/stdc++.h> using namespace std; using ll = long long; using vi = vector<int>; using vvi = vector<vi>; #define REP(i, x, n) for (int i = x; i < n; i++) #define rep(i, n) REP(i, 0, n) #define all(x) x.begin(), x.end() int main() { int a; string s; cin >> a >> s; if (3200 <= a) { cout << s << endl; } else cout << "red" << endl; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
733,765
733,766
u688825490
cpp
p02933
#include <iostream> using namespace std; int main() { string s; int a; cin >> a >> s; if (a >= 3200) cout << s << endl; else cout << 'red' << endl; return 0; }
#include <iostream> using namespace std; int main() { string s; int a; cin >> a >> s; if (a >= 3200) cout << s << endl; else cout << "red" << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
733,771
733,772
u958581328
cpp
p02933
#include <iostream> using namespace std; int main(void) { int a; cin >> a; string str; cin >> str; if (a < 3200) { cout << str << endl; } else { cout << "red" << endl; } return 0; }
#include <iostream> using namespace std; int main(void) { int a; cin >> a; string str; cin >> str; if (a < 3200) { cout << "red" << endl; } else { cout << str << endl; } return 0; }
[ "control_flow.branch.else.add" ]
733,773
733,774
u979452668
cpp
p02933
#include <bits/stdc++.h> using namespace std; using Int = long long int; template <typename T> void swap(T *t1, T *t2) { T *tmp = t1; t1 = t2; t2 = tmp; } int main() { ios::sync_with_stdio(false); cin.tie(0); int a; string s; cin >> a >> s; if (a < 3200) { cout << 'red' << endl; } else { cout << s << endl; } return 0; }
#include <bits/stdc++.h> using namespace std; using Int = long long int; template <typename T> void swap(T *t1, T *t2) { T *tmp = t1; t1 = t2; t2 = tmp; } int main() { ios::sync_with_stdio(false); cin.tie(0); int a; string s; cin >> a >> s; if (a < 3200) { cout << "red" << endl; } else { cout << s << endl; } return 0; }
[ "literal.string.change", "io.output.change" ]
733,777
733,778
u026620445
cpp
p02933
#include <iostream> using namespace std; int main() { int a; string s; cin >> a >> s; if (a >= 3200) { cout << "red" << endl; } else { cout << s << endl; } }
#include <iostream> using namespace std; int main() { int a; string s; cin >> a >> s; if (a < 3200) { cout << "red" << endl; } else { cout << s << endl; } }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
733,783
733,784
u827974318
cpp
p02933
#include <iostream> using namespace std; int main() { int n; string s; cin >> n >> s; if (n < 3200) cout << "red"; else cout << "pink"; return 0; }
#include <iostream> using namespace std; int main() { int n; string s; cin >> n >> s; if (n < 3200) cout << "red"; else cout << s; return 0; }
[ "io.output.change" ]
733,794
733,795
u892679578
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int n; string s; cin >> n >> s; if (n >= 3200) cout << s; else cout << 'red'; }
#include <iostream> #include <string> using namespace std; int main() { int n; string s; cin >> n >> s; if (n >= 3200) cout << s; else cout << "red"; return 0; }
[ "literal.string.change", "io.output.change", "control_flow.return.add", "control_flow.return.0.add" ]
733,796
733,797
u770161743
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) cout << "Red" << endl; else cout << s << endl; }
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) cout << "red" << endl; else cout << s << endl; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
733,804
733,805
u911828387
cpp
p02933
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a >> s; if (a < 3200) cout << "Red" << endl; else cout << s << endl; }
#include <iostream> #include <string> using namespace std; int main() { int a; string s; cin >> a; cin >> s; if (a < 3200) cout << "red" << endl; else cout << s << endl; }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
733,806
733,805
u911828387
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a; cin >> s; cout << (a >= 3200 ? s : "res") << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a; cin >> s; cout << (a >= 3200 ? s : "red") << endl; return 0; }
[ "literal.string.change", "io.output.change" ]
733,812
733,813
u211286909
cpp
p02933
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a > 3199) { cout << "red" << endl; } else { cout << s << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int a; string s; cin >> a >> s; if (a > 3199) { cout << s << endl; } else { cout << "red" << endl; } }
[ "control_flow.branch.else.add" ]
733,837
733,838
u966257731
cpp