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
p02601
#include <iostream> using namespace std; #define FIO \ freopen("input.txt", "r", stdin); \ freopen("output.txt", "w", stdout); int main() { FIO; int a, b, c; cin >> a >> b >> c; int k; cin >> k; ...
#include <iostream> using namespace std; #define FIO \ freopen("input.txt", "r", stdin); \ freopen("output.txt", "w", stdout); int main() { // FIO; int a, b, c; cin >> a >> b >> c; int k; cin >> k...
[]
303,916
303,917
u309183848
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define IOS \ ios_base::sync_with_stdio(0); \ cin.tie(NULL); \ cout.tie(NULL); #define pb ...
#include <bits/stdc++.h> using namespace std; #define IOS \ ios_base::sync_with_stdio(0); \ cin.tie(NULL); \ cout.tie(NULL); #define pb ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
303,918
303,919
u986155871
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k, co = 0; cin >> a >> b >> c; cin >> k; while (a >= b) { co += 1; b += 2; } while (b >= c) { co += 1; c += 2; } if (co <= k) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k, co = 0; cin >> a >> b >> c; cin >> k; while (a >= b) { co += 1; b *= 2; } while (b >= c) { co += 1; c *= 2; } if (co <= k) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[ "expression.operator.change" ]
303,933
303,934
u705800157
cpp
p02601
#include <iostream> using namespace std; int main() { int red, green, blue, operation, count; count = 0; cin >> red >> green >> blue; cin >> operation; if (red > green) { while (red > green) { green = green * 2; count++; } } if (green > blue) { // cout << count << endl; wh...
#include <iostream> using namespace std; int main() { int red, green, blue, operation, count; count = 0; cin >> red >> green >> blue; cin >> operation; if (red >= green) { while (red >= green) { green = green * 2; count++; } } if (green >= blue) { // cout << count << end; w...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "control_flow.loop.condition.change" ]
303,935
303,936
u904172714
cpp
p02601
#include <bits/stdc++.h> using namespace std; // long long using ll = long long; // pair<int, int> using PII = pair<int, int>; //最大値、mod const int MOD = 1000000007; const int mod = 1000000007; const int INF = 1000000000; const long long LINF = 1e18; const int MAX = 510000; //出力系 #define print(x) cout << x << endl #...
#include <bits/stdc++.h> using namespace std; // long long using ll = long long; // pair<int, int> using PII = pair<int, int>; //最大値、mod const int MOD = 1000000007; const int mod = 1000000007; const int INF = 1000000000; const long long LINF = 1e18; const int MAX = 510000; //出力系 #define print(x) cout << x << endl #...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
303,943
303,944
u832995587
cpp
p02601
#include <bits/stdc++.h> typedef long long int ll; using namespace std; int main() { ll a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (a >= b) { b *= 2; } else if (b >= c) { c *= 2; } else continue; } if (a < b && b < c) cout << "YES\n"; else cou...
#include <bits/stdc++.h> typedef long long int ll; using namespace std; int main() { ll a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (a >= b) { b *= 2; } else if (b >= c) { c *= 2; } } if (a < b && b < c) cout << "Yes\n"; else cout << "No\n"; retur...
[ "control_flow.branch.else.remove", "literal.string.change", "literal.string.case.change", "io.output.change" ]
303,945
303,946
u204944431
cpp
p02601
#include <bits/stdc++.h> typedef long long int ll; using namespace std; int main() { ll a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (a > b) { b *= 2; } else if (b > c) { c *= 2; } } if (a < b && b < c) cout << "YES\n"; else cout << "NO\n"; return ...
#include <bits/stdc++.h> typedef long long int ll; using namespace std; int main() { ll a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (a >= b) { b *= 2; } else if (b >= c) { c *= 2; } } if (a < b && b < c) cout << "Yes\n"; else cout << "No\n"; retur...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
303,947
303,946
u204944431
cpp
p02601
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<vi> vvi; typedef vector<string> vs; typedef pair<int, int> pii; #define sz(a) int((a).size()) #define pb push_back #define eb emplace_back #define fi first #define se second #define all(c) (c).begin(), (c).end(...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<vi> vvi; typedef vector<string> vs; typedef pair<int, int> pii; #define sz(a) int((a).size()) #define pb push_back #define eb emplace_back #define fi first #define se second #define all(c) (c).begin(), (c).end(...
[ "variable_declaration.type.change", "expression.operator.compare.change", "control_flow.loop.condition.change" ]
303,948
303,949
u373096848
cpp
p02601
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<vi> vvi; typedef vector<string> vs; typedef pair<int, int> pii; #define sz(a) int((a).size()) #define pb push_back #define eb emplace_back #define fi first #define se second #define all(c) (c).begin(), (c).end(...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<vi> vvi; typedef vector<string> vs; typedef pair<int, int> pii; #define sz(a) int((a).size()) #define pb push_back #define eb emplace_back #define fi first #define se second #define all(c) (c).begin(), (c).end(...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
303,950
303,949
u373096848
cpp
p02601
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/detail/standard_policies.hpp> using namespace std; using namespace __gnu_pbds; template <typename T> using indexed_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>; #define all(v) ((v).begin()), ((...
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/detail/standard_policies.hpp> using namespace std; using namespace __gnu_pbds; template <typename T> using indexed_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>; #define all(v) ((v).begin()), ((...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
303,953
303,954
u931971262
cpp
p02601
#include <bits/stdc++.h> #include <string.h> #define ll long long #define pf printf #define sf scanf #define ff first #define ss second #define clr clear() #define sz size() #define pb push_back #define mk make_pair #define pi acos(-1) #define inf 20000000000000000 #define mod 1000000007 #define ull unsigned long long ...
#include <bits/stdc++.h> #include <string.h> #define ll long long #define pf printf #define sf scanf #define ff first #define ss second #define clr clear() #define sz size() #define pb push_back #define mk make_pair #define pi acos(-1) #define inf 20000000000000000 #define mod 1000000007 #define ull unsigned long long ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
303,959
303,960
u970551085
cpp
p02601
#include <bits/stdc++.h> #include <string.h> #define ll long long #define pf printf #define sf scanf #define ff first #define ss second #define clr clear() #define sz size() #define pb push_back #define mk make_pair #define pi acos(-1) #define inf 20000000000000000 #define mod 1000000007 #define ull unsigned long long ...
#include <bits/stdc++.h> #include <string.h> #define ll long long #define pf printf #define sf scanf #define ff first #define ss second #define clr clear() #define sz size() #define pb push_back #define mk make_pair #define pi acos(-1) #define inf 20000000000000000 #define mod 1000000007 #define ull unsigned long long ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
303,961
303,960
u970551085
cpp
p02601
#define ll long long #define dn double #define mp make_pair #define pb push_back #define se second #define fi first #define mod 1000000007 #define sob(v) v.begin(), v.end() #define sobr(v) v.rbegin(), v.rend() #define fr(i, a, b) for (int i = a; i <= b; ++i) #define frr(i, a, b) for (int i = a; i >= b; --i) #define pi ...
#define ll long long #define dn double #define mp make_pair #define pb push_back #define se second #define fi first #define mod 1000000007 #define sob(v) v.begin(), v.end() #define sobr(v) v.rbegin(), v.rend() #define fr(i, a, b) for (int i = a; i <= b; ++i) #define frr(i, a, b) for (int i = a; i >= b; --i) #define pi ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
303,962
303,963
u349772956
cpp
p02601
#include <bits/stdc++.h> #include <iostream> #include <string> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (b <= a) b *= 2; else if (a < b || c <= b) c *= 2; if (a < b && b < c) { cout << "YES" << endl; return 0;...
#include <bits/stdc++.h> #include <iostream> #include <string> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (b <= a) b *= 2; else if (a < b || c <= b) c *= 2; if (a < b && b < c) { cout << "Yes" << endl; return 0;...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
303,968
303,969
u001716092
cpp
p02601
#include <bits/stdc++.h> #include <iostream> #include <string> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (b <= a) b *= 2; else if (c <= b) c *= 2; if (a < b && b < c) { cout << "YES" << endl; return 0; } ...
#include <bits/stdc++.h> #include <iostream> #include <string> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (b <= a) b *= 2; else if (a < b || c <= b) c *= 2; if (a < b && b < c) { cout << "Yes" << endl; return 0;...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
303,970
303,969
u001716092
cpp
p02601
#include <bits/stdc++.h> #include <iostream> #include <string> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (b <= a) b *= 2; else if (a < b || c <= b) c *= 2; if (a < b && b < c) { cout << "YES" << endl; return 0;...
#include <bits/stdc++.h> #include <iostream> #include <string> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (b <= a) b *= 2; else if (a < b || c <= b) c *= 2; if (a < b && b < c) { cout << "Yes" << endl; return 0;...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
303,971
303,969
u001716092
cpp
p02601
#include <bits/stdc++.h> using namespace std; void print() { cout << endl; } template <class Head, class... Tail> void print(Head &&head, Tail &&...tail) { cout << head; if (sizeof...(tail) != 0) cout << " "; print(forward<Tail>(tail)...); } template <class T> void print(vector<T> &vec) { for (auto &a : vec...
#include <bits/stdc++.h> using namespace std; void print() { cout << endl; } template <class Head, class... Tail> void print(Head &&head, Tail &&...tail) { cout << head; if (sizeof...(tail) != 0) cout << " "; print(forward<Tail>(tail)...); } template <class T> void print(vector<T> &vec) { for (auto &a : vec...
[ "expression.operation.binary.add" ]
303,974
303,975
u896941378
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c; cin >> k; int ans = 0; while (b <= a) { b *= 2; ans++; } while (b >= c) { c *= 2; ans++; } cout << ans; if (ans <= k) cout << "Yes\n"; else cout << "No\n"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c; cin >> k; int ans = 0; while (b <= a) { b *= 2; ans++; } while (b >= c) { c *= 2; ans++; } if (ans <= k) cout << "Yes\n"; else cout << "No\n"; return 0; }
[]
303,978
303,979
u671909055
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define long long int signed main() { int a, b, c, k; cin >> a >> b >> c >> k; while (k--) { if (b < a) b *= 2; else if (c < b) { c *= 2; } } if (b > a && c > b) cout << "Yes"; else cout << "No"; }
#include <bits/stdc++.h> using namespace std; #define long long int signed main() { int a, b, c, k; cin >> a >> b >> c >> k; while (k--) { if (b <= a) b *= 2; else if (c <= b) c *= 2; } if (b > a && c > b) cout << "Yes"; else cout << "No"; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
303,981
303,982
u663486635
cpp
p02601
#include <algorithm> #include <assert.h> #include <bit> #include <bitset> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <queue> #include <set> #include <sstream> #include <stack> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <vector> typedef long double ld; type...
#include <algorithm> #include <assert.h> #include <bit> #include <bitset> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <queue> #include <set> #include <sstream> #include <stack> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <vector> typedef long double ld; type...
[ "assignment.value.change", "identifier.replace.remove", "literal.replace.add" ]
303,983
303,984
u623099583
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); ++i) #define rrep(i, n) for (int i = (int)(n)-1; i >= 0; --i) #define For(i, a, b) for (auto i = (a); i <= (b); ++i) #define rFor(i, a, b) for (auto i = (b); i >= (a); --i) #define call(var) cerr << #var << "=" << var << "\n";...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); ++i) #define rrep(i, n) for (int i = (int)(n)-1; i >= 0; --i) #define For(i, a, b) for (auto i = (a); i <= (b); ++i) #define rFor(i, a, b) for (auto i = (b); i >= (a); --i) #define call(var) cerr << #var << "=" << var << "\n";...
[ "variable_declaration.type.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
303,989
303,990
u607594286
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); ++i) #define rrep(i, n) for (int i = (int)(n)-1; i >= 0; --i) #define For(i, a, b) for (auto i = (a); i <= (b); ++i) #define rFor(i, a, b) for (auto i = (b); i >= (a); --i) #define call(var) cerr << #var << "=" << var << "\n";...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); ++i) #define rrep(i, n) for (int i = (int)(n)-1; i >= 0; --i) #define For(i, a, b) for (auto i = (a); i <= (b); ++i) #define rFor(i, a, b) for (auto i = (b); i >= (a); --i) #define call(var) cerr << #var << "=" << var << "\n";...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
303,991
303,990
u607594286
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int K; cin >> K; for (int i = 0; i < K; i++) { if (A > B) { B = B * 2; } if (B < C) { C = C * 2; } } if (C > B && B > A) { cout << "Yes" << endl; } else { cout << "No" << endl...
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int K; cin >> K; for (int i = 0; i < K; i++) { if (A >= B) { B = B * 2; } else if (B >= C) { C = C * 2; } } if (C > B && B > A) { cout << "Yes" << endl; } else { cout << "No" << e...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove" ]
303,994
303,995
u339389464
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int K; cin >> K; for (int i = 0; i < K; i++) { if (A > B) { B = B * 2; } if (B > C) { C = C * 2; } } if (C > B && B > A) { cout << "Yes" << endl; } else { cout << "No" << endl...
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int K; cin >> K; for (int i = 0; i < K; i++) { if (A >= B) { B = B * 2; } else if (B >= C) { C = C * 2; } } if (C > B && B > A) { cout << "Yes" << endl; } else { cout << "No" << e...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove" ]
303,996
303,995
u339389464
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int K; cin >> K; int count = 0; for (int i = 0; i <= K; i++) { if (A > B) { B = B * 2; count++; } if (A < B) { break; } } for (int i = 0; i <= K; i++) { if (C < B) { C...
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int K; cin >> K; int count = 0; for (int i = 0; i <= K; i++) { if (A >= B) { B = B * 2; count++; } if (A < B) { break; } } for (int i = 0; i <= K; i++) { if (C <= B) { ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
303,997
303,998
u339389464
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int K; cin >> K; for (int i = 0; i < K; i++) { if (A > B) { B = B * 2; } else if (B > C) { C = C * 2; } } if (C > B && B > A) { cout << "Yes" << endl; } else { cout << "No" << end...
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C; cin >> A >> B >> C; int K; cin >> K; for (int i = 0; i < K; i++) { if (A >= B) { B = B * 2; } else if (B >= C) { C = C * 2; } } if (C > B && B > A) { cout << "Yes" << endl; } else { cout << "No" << e...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
303,999
304,000
u801083963
cpp
p02601
#include <algorithm> #include <iostream> #include <stdio.h> #include <string> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; for (int i = 1; i <= k; i++) { if (b < a) { b = b * 2; } else if (c < b) { c = c * 2; } if (a < b && b < c) { cou...
#include <algorithm> #include <iostream> #include <stdio.h> #include <string> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; for (int i = 1; i <= k; i++) { if (b <= a) { b = b * 2; } else if (c <= b) { c = c * 2; } if (a < b && b < c) { c...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,016
304,017
u638685289
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define all(v) begin(v), end(v) using ll = long long; int main() { int a, b, c, k; cin >> a >> b >> c >> k; rep(i, k) { if (b < a) b *= 2; else if (c < b) c *= 2; } if (a < b && b < c) cout <...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define all(v) begin(v), end(v) using ll = long long; int main() { int a, b, c, k; cin >> a >> b >> c >> k; rep(i, k) { if (b <= a) b *= 2; else if (c <= b) c *= 2; } if (a < b && b < c) cout...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,018
304,019
u587622858
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define all(v) begin(v), end(v) using ll = long long; int main() { int a, b, c, k; cin >> a >> b >> c >> k; rep(i, k) { if (b < a) b *= 2; else if (c < a || c < b) c *= 2; } if (a < b && b < c) ...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define all(v) begin(v), end(v) using ll = long long; int main() { int a, b, c, k; cin >> a >> b >> c >> k; rep(i, k) { if (b <= a) b *= 2; else if (c <= b) c *= 2; } if (a < b && b < c) cout...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "expression.operation.binary.remove" ]
304,020
304,019
u587622858
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define lli long long int #define rep(i, s, e) for (int i = s; i < e; i++) #define endl '\n' int main() { int R, G, B, K; cin >> R >> G >> B >> K; int q = K, r = K; for (int i = 0; i <= K; i++) { if (R < G * (1 << i)) { q = i; break; } } for ...
#include <bits/stdc++.h> using namespace std; #define lli long long int #define rep(i, s, e) for (int i = s; i < e; i++) #define endl '\n' int main() { int R, G, B, K; cin >> R >> G >> B >> K; int q = 100, r = 100; for (int i = 0; i <= K; i++) { if (R < G * (1 << i)) { q = i; break; } } ...
[ "variable_declaration.value.change", "identifier.replace.remove", "literal.replace.add" ]
304,021
304,022
u928905735
cpp
p02601
#include <bits/stdc++.h> #define _GLIBCXX_DEBUG #define all(v) (v).begin(), (v).end() using namespace std; using ll = long long; using pii = pair<int, int>; using vi = vector<int>; const ll LINF = 1LL << 60; const int INF = 1 << 29; const int MOD = 2019; int a, b, c; int K; bool rec(int n) { if (n == 0) { i...
#include <bits/stdc++.h> #define _GLIBCXX_DEBUG #define all(v) (v).begin(), (v).end() using namespace std; using ll = long long; using pii = pair<int, int>; using vi = vector<int>; const ll LINF = 1LL << 60; const int INF = 1 << 29; const int MOD = 2019; int a, b, c; int K; bool rec(int n) { if (n == 0) { i...
[ "literal.string.change", "io.output.change" ]
304,029
304,030
u414689295
cpp
p02601
#include <bits/stdc++.h> using namespace std; using Graph = vector<vector<int>>; #define rep(i, n) for (int i = 0; i < n; ++i) #define all(v) v.begin(), v.end() #define PI 3.141592653589793238462643383279 #define ARRAY_LENGTH(array) (sizeof(array) / sizeof(array[0])) typedef long long int ll; typedef unsigned long long...
#include <bits/stdc++.h> using namespace std; using Graph = vector<vector<int>>; #define rep(i, n) for (int i = 0; i < n; ++i) #define all(v) v.begin(), v.end() #define PI 3.141592653589793238462643383279 #define ARRAY_LENGTH(array) (sizeof(array) / sizeof(array[0])) typedef long long int ll; typedef unsigned long long...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,031
304,032
u015418292
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define int long long #define ALL(x) (x).begin(), (x).end() #define MAX(x) *max_element(ALL(x)) #define MIN(x) *min_element(ALL(x)) typedef pair<int, int> PI; typedef pair<int, pair<int, int>> PII; static const int INF = 1010000000000000017LL; static const double eps = 1...
#include <bits/stdc++.h> using namespace std; #define int long long #define ALL(x) (x).begin(), (x).end() #define MAX(x) *max_element(ALL(x)) #define MIN(x) *min_element(ALL(x)) typedef pair<int, int> PI; typedef pair<int, pair<int, int>> PII; static const int INF = 1010000000000000017LL; static const double eps = 1...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
304,039
304,040
u225450911
cpp
p02601
/* h s, d't skp th si tll i's sved * ABC141 E * ABC145 D */ #include <bits/stdc++.h> #define ll long long #define mod 1000000007 using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; string ans = "Yes"; while (b < a) { b *= 2; k--; } if (k < 0) { ans = "No"; ...
/* h s, d't skp th si tll i's sved * ABC141 E * ABC145 D */ #include <bits/stdc++.h> #define ll long long #define mod 1000000007 using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; string ans = "Yes"; while (b <= a) { b *= 2; k--; } if (k < 0) { ans = "No"; ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,045
304,046
u380579419
cpp
p02601
#include <bits/stdc++.h> using namespace std; using Graph = vector<vector<int>>; #define ll long long #define all(x) (x).begin(), (x).end() #define rep(i, n) for (ll i = 0; i < n; i++) const ll INF = 1LL << 60; int main() { int A, B, C; cin >> A >> B >> C; int K; cin >> K; rep(i, K) { if (A > B) B ...
#include <bits/stdc++.h> using namespace std; using Graph = vector<vector<int>>; #define ll long long #define all(x) (x).begin(), (x).end() #define rep(i, n) for (ll i = 0; i < n; i++) const ll INF = 1LL << 60; int main() { int A, B, C; cin >> A >> B >> C; int K; cin >> K; rep(i, K) { if (A >= B) B...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,067
304,068
u750466050
cpp
p02601
#include <bits/stdc++.h> #define lli long long int #define pb(a) push_back(a) #define forr(a, n) for (lli i = a; i < n; i++) #define forrr(j, a, n) for (lli j = a; j < n; j++) #define all(x) x.begin(), x.end() #define pi2 1.57079632679489661923 using namespace std; void print(lli a[], lli n) { forr(0, n) { cout << a...
#include <bits/stdc++.h> #define lli long long int #define pb(a) push_back(a) #define forr(a, n) for (lli i = a; i < n; i++) #define forrr(j, a, n) for (lli j = a; j < n; j++) #define all(x) x.begin(), x.end() #define pi2 1.57079632679489661923 using namespace std; void print(lli a[], lli n) { forr(0, n) { cout << a...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,069
304,070
u568112499
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define mx 1000000 int main() { ios_base::sync_with_stdio(0); cin.tie(NULL); int a, b, c = 0, k; cin >> a >> b >> c >> k; while (k--) { if (b < a) b *= 2; else c *= 2; } if (b > a and c > b) cou...
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define mx 1000000 int main() { ios_base::sync_with_stdio(0); cin.tie(NULL); ll a, b, c = 0, k; cin >> a >> b >> c >> k; while (k--) { if (b <= a) b *= 2; else c *= 2; } if (b > a and c > b) co...
[ "variable_declaration.type.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,071
304,072
u722970551
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define mx 1000000 int main() { ios_base::sync_with_stdio(0); cin.tie(NULL); ll a, b, c = 0, k; cin >> a >> b >> c >> k; while (k--) { if (b < a) b *= 2; else c *= 2; } if (b > a and c > b) cou...
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define mx 1000000 int main() { ios_base::sync_with_stdio(0); cin.tie(NULL); ll a, b, c = 0, k; cin >> a >> b >> c >> k; while (k--) { if (b <= a) b *= 2; else c *= 2; } if (b > a and c > b) co...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,073
304,072
u722970551
cpp
p02601
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define REP(i, m, n) for (ll i = (ll)(m); i < (ll)(n); i++) using namespace std; using ll = long long; using P = pair<int, int>; int main() { int a, b, c, k; cin >> a >> b >> c >> k; string ans = "No"; while (k > 0) { if (a > b) ...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define REP(i, m, n) for (ll i = (ll)(m); i < (ll)(n); i++) using namespace std; using ll = long long; using P = pair<int, int>; int main() { int a, b, c, k; cin >> a >> b >> c >> k; string ans = "No"; while (k > 0) { if (a >= b)...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,088
304,089
u487530783
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (a >= b) b *= 2; if (a < b && b >= c) c *= 2; } if (a < b && b < c) cout << "Yes"; else cout << "No"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (a >= b) b *= 2; else if (a < b && b >= c) c *= 2; } if (a < b && b < c) cout << "Yes"; else cout << "No"; return 0; }
[ "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove" ]
304,093
304,094
u302214209
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (a > b) b *= 2; if (a < b && b > c) c *= 2; } if (a < b && b < c) cout << "Yes"; else cout << "No"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; for (int i = 0; i < k; i++) { if (a >= b) b *= 2; else if (a < b && b >= c) c *= 2; } if (a < b && b < c) cout << "Yes"; else cout << "No"; return 0; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove" ]
304,095
304,094
u302214209
cpp
p02601
//コンパイラ最適化用 #pragma GCC optimize("Ofast") //インクルード(アルファベット順) #include <algorithm> //sort,二分探索,など #include <bitset> //固定長bit集合 #include <chrono> //実行時間計測 #include <cmath> //pow,logなど #include <complex> //複素数 #include <deque> //両端アクセスのキュー #include <functional> //sortのgreater #in...
//コンパイラ最適化用 #pragma GCC optimize("Ofast") //インクルード(アルファベット順) #include <algorithm> //sort,二分探索,など #include <bitset> //固定長bit集合 #include <chrono> //実行時間計測 #include <cmath> //pow,logなど #include <complex> //複素数 #include <deque> //両端アクセスのキュー #include <functional> //sortのgreater #in...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,107
304,108
u991046511
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, d; cin >> a >> b >> c >> d; for (int i = 0; i < d; i++) { if (a > b) b *= 2; else c *= 2; } if (c >= b && b >= a) cout << "Yes" << endl; else cout << "No" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, d; cin >> a >> b >> c >> d; for (int i = 0; i < d; i++) { if (a >= b) b *= 2; else c *= 2; } if (c > b && b > a) cout << "Yes" << endl; else cout << "No" << endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,109
304,110
u079532978
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, d; cin >> a >> b >> c >> d; for (int i = 0; i < d; i++) { if (a > b) b *= 2; else c *= 2; } if (c > b && b > a) cout << "Yes" << endl; else cout << "No" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, d; cin >> a >> b >> c >> d; for (int i = 0; i < d; i++) { if (a >= b) b *= 2; else c *= 2; } if (c > b && b > a) cout << "Yes" << endl; else cout << "No" << endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,111
304,110
u079532978
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define mp make_pair #define F first #define S second #define pl pair<long, long> #define pi pair<int, int> #define lb(v, x) lower_bound(v.begin(), v.end(), x) - v.begin(); #define ub(v, x) upper_bound(v.begin(), v.end(), x) - v.be...
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define mp make_pair #define F first #define S second #define pl pair<long, long> #define pi pair<int, int> #define lb(v, x) lower_bound(v.begin(), v.end(), x) - v.begin(); #define ub(v, x) upper_bound(v.begin(), v.end(), x) - v.be...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,112
304,113
u927680443
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; int count = 0; while (b <= a) { b *= 2; count++; } while (c <= b) { c *= 2; count++; } if (count <= k) { cout << "YES"; } else { cout << "NO"; } }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; int count = 0; while (b <= a) { b *= 2; count++; } while (c <= b) { c *= 2; count++; } if (count <= k) { cout << "Yes"; } else { cout << "No"; } }
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
304,117
304,118
u612515512
cpp
p02601
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; for (int i = 0; i < k; i++) { if (a < b && c > b) { break; } else if (a > b) { b = b * 2; continue; } else if (c < b) { c = c * 2; continue; } } if (a ...
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; for (int i = 0; i < k; i++) { if (a < b && c > b) { break; } else if (a >= b) { b = b * 2; continue; } else if (c <= b) { c = c * 2; continue; } } if (...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,136
304,137
u070246394
cpp
p02601
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; for (int i = 0; i < k; i++) { if (a < b && c > b) { break; } else if (a > b) { b = b * 2; continue; } else if (c < b) { c = c * 2; continue; } } if (a ...
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; for (int i = 0; i < k; i++) { if (a < b && c > b) { break; } else if (a >= b) { b = b * 2; continue; } else if (c <= b) { c = c * 2; continue; } } if (...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
304,138
304,137
u070246394
cpp
p02601
#include <iostream> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c; cin >> k; for (int i = 0; i < k; i++) { if (a >= b) b = b * 2; if (b > c) c = c * 2; } if (a < b && b < c) cout << "Yes"; else cout << "No"; }
#include <iostream> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c; cin >> k; for (int i = 0; i < k; i++) { if (a >= b) b = b * 2; else if (b >= c) c = c * 2; } if (a < b && b < c) cout << "Yes"; else cout << "No"; }
[ "control_flow.branch.else_if.replace.add", "control_flow.branch.if.replace.remove", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,139
304,140
u166550014
cpp
p02601
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <set> #include <string> #include <vector> using namespace std; #define pb push_back #define int long long void func(int a, int b, int c, int k = 0) { if (a < b && b < c) { cout << "Yes"; exit(0); } if (k == 0) { retur...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <set> #include <string> #include <vector> using namespace std; #define pb push_back #define int long long void func(int a, int b, int c, int k = 0) { if (a < b && b < c) { cout << "Yes"; exit(0); } if (k == 0) { retur...
[ "literal.string.change", "io.output.change" ]
304,141
304,142
u533463334
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C, K; cin >> A >> B >> C >> K; for (int i = 0; i < K; i++) { if (A > B) { B *= 2; } else { C *= 2; } } if (A < B && B < C) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C, K; cin >> A >> B >> C >> K; for (int i = 0; i < K; i++) { if (A >= B) { B *= 2; } else { C *= 2; } } if (A < B && B < C) { cout << "Yes" << endl; } else { cout << "No" << endl; } }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,147
304,148
u643429918
cpp
p02601
#include <algorithm> #include <bitset> #include <climits> #include <cmath> #include <complex> #include <ctime> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <vector...
#include <algorithm> #include <bitset> #include <climits> #include <cmath> #include <complex> #include <ctime> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <tuple> #include <vector...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
304,155
304,156
u412388056
cpp
p02601
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (int i = a; i < (int)(b); i++) #define all(v) v.begin(), v.end() const int MOD = 1e9 + 7; const int INF = 1e9; //'A' = 65, 'Z' = 90, 'a' = 97, 'z' = 122 int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (int i = a; i < (int)(b); i++) #define all(v) v.begin(), v.end() const int MOD = 1e9 + 7; const int INF = 1e9; //'A' = 65, 'Z' = 90, 'a' = 97, 'z' = 122 int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,164
304,165
u214304095
cpp
p02601
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (int i = a; i < (int)(b); i++) #define all(v) v.begin(), v.end() const int MOD = 1e9 + 7; const int INF = 1e9; //'A' = 65, 'Z' = 90, 'a' = 97, 'z' = 122 int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; ...
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (int i = a; i < (int)(b); i++) #define all(v) v.begin(), v.end() const int MOD = 1e9 + 7; const int INF = 1e9; //'A' = 65, 'Z' = 90, 'a' = 97, 'z' = 122 int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,166
304,165
u214304095
cpp
p02601
#include <bits/stdc++.h> #define lli long long int #define ll long long using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); lli a, b, c, k; cin >> a >> b >> c; cin >> k; while (b < a && k != 0) { b = b * 2; k--; } while (c < b && k != 0) { c =...
#include <bits/stdc++.h> #define lli long long int #define ll long long using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); lli a, b, c, k; cin >> a >> b >> c; cin >> k; while (b <= a && k > 0) { b = b * 2; k--; } while (c <= b && k > 0) { c =...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,170
304,171
u158259930
cpp
p02601
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; using ll = long long; using P = pair<int, int>; int judge(vector<int> &card) { if ((card[0] < card[1]) && (card[1] < card[2])) { return 1; } return 0; } int main() { vector<int> card(3); REP(i, 3) cin >> c...
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; using ll = long long; using P = pair<int, int>; int judge(vector<int> &card) { if ((card[0] < card[1]) && (card[1] < card[2])) { return 1; } return 0; } int main() { vector<int> card(3); REP(i, 3) cin >> c...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,176
304,177
u967061594
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define REP(i, n) for (int i = 0; i < (int)(n); i++) int judge(vector<int> &card) { if ((card[0] < card[1]) && (card[1] < card[2])) { return 1; } return 0; } int main() { vector<int> card(3); REP(i, 3) cin >> card[i]; int K; cin >> K; if (judge(car...
#include <bits/stdc++.h> using namespace std; #define REP(i, n) for (int i = 0; i < (int)(n); i++) int judge(vector<int> &card) { if ((card[0] < card[1]) && (card[1] < card[2])) { return 1; } return 0; } int main() { vector<int> card(3); REP(i, 3) cin >> card[i]; int K; cin >> K; if (judge(car...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,178
304,179
u967061594
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define ALL(v) v.begin(), v.end() #define V vector #define P pair using ll = long long; using ld = long double; const int MOD = 1000000007; const ll INF = 1LL << 60; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; while (b < a) { b *= 2; ...
#include <bits/stdc++.h> using namespace std; #define ALL(v) v.begin(), v.end() #define V vector #define P pair using ll = long long; using ld = long double; const int MOD = 1000000007; const ll INF = 1LL << 60; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; while (b <= a) { b *= 2; ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,180
304,181
u651235280
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define ALL(v) v.begin(), v.end() #define V vector #define P pair using ll = long long; using ld = long double; const int MOD = 1000000007; const ll INF = 1LL << 60; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; while (b < a && 0 < k) { b *...
#include <bits/stdc++.h> using namespace std; #define ALL(v) v.begin(), v.end() #define V vector #define P pair using ll = long long; using ld = long double; const int MOD = 1000000007; const ll INF = 1LL << 60; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; while (b <= a && 0 < k) { b ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,182
304,183
u651235280
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define ALL(v) v.begin(), v.end() #define V vector #define P pair using ll = long long; using ld = long double; const int MOD = 1000000007; const ll INF = 1LL << 60; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; while (b < a || 0 < k) { b *...
#include <bits/stdc++.h> using namespace std; #define ALL(v) v.begin(), v.end() #define V vector #define P pair using ll = long long; using ld = long double; const int MOD = 1000000007; const ll INF = 1LL << 60; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; while (b <= a && 0 < k) { b ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change", "misc.opposites" ]
304,184
304,183
u651235280
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int red, green, blue, k, i; cin >> red >> green >> blue >> k; for (i = 0; i < k; i++) { if (green < red) { green *= 2; } else if (green > red && green > blue) { blue *= 2; } } if (red < green && green < blue) { cout << "Y...
#include <bits/stdc++.h> using namespace std; int main() { int red, green, blue, k, i; cin >> red >> green >> blue >> k; for (i = 0; i < k; i++) { if (green <= red) { green *= 2; } else if (green >= red && green >= blue) { blue *= 2; } } if (red < green && green < blue) { cout <<...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,185
304,186
u555403349
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int red, green, blue, k, i; cin >> red >> green >> blue >> k; for (i = 0; i < k; i++) { if (green < red) { green *= 2; } else if (green > red & green > blue) { blue *= 2; } } if (red < green & green < blue) { cout << "Yes...
#include <bits/stdc++.h> using namespace std; int main() { int red, green, blue, k, i; cin >> red >> green >> blue >> k; for (i = 0; i < k; i++) { if (green <= red) { green *= 2; } else if (green >= red && green >= blue) { blue *= 2; } } if (red < green && green < blue) { cout <<...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,187
304,186
u555403349
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; while (k--) { if (c < b) c *= 2; else if (b < a) b *= 2; } if (c > b && b > a) printf("Yes\n"); else printf("No\n"); return 0; } /* int main() { int r, g, b; ...
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; while (k--) { if (c <= b) c *= 2; else if (b <= a) b *= 2; } if (c > b && b > a) printf("Yes\n"); else printf("No\n"); return 0; } /* int main() { int r, g, b;...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,190
304,191
u547969489
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main(void) { int A, B, C, K; cin >> A >> B >> C >> K; int cnt = 0; while (A >= B) { B *= 2; cnt++; } while (B >= C) { C *= 2; cnt++; } if (cnt <= 3) { cout << "Yes" << endl; } else cout << "No" << endl; }
#include <bits/stdc++.h> using namespace std; int main(void) { int A, B, C, K; cin >> A >> B >> C >> K; int cnt = 0; while (A >= B) { B *= 2; cnt++; } while (B >= C) { C *= 2; cnt++; } if (cnt <= K) { cout << "Yes" << endl; } else cout << "No" << endl; }
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change" ]
304,195
304,196
u883680855
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main(void) { int A, B, C, K; cin >> A >> B >> C >> K; for (int i = 0; i < K; i++) { for (int j = 0; j < K; j++) { for (int k = 0; k < K; k++) { if (i + j + k > K) continue; int a = A * pow(2, i); int b = B * pow(2, j)...
#include <bits/stdc++.h> using namespace std; int main(void) { int A, B, C, K; cin >> A >> B >> C >> K; for (int i = 0; i <= K; i++) { for (int j = 0; j <= K; j++) { for (int k = 0; k <= K; k++) { if (i + j + k > K) continue; int a = A * pow(2, i); int b = B * pow(2,...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.off_by_one", "expression.operation.binary.change" ]
304,197
304,198
u883680855
cpp
p02601
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < (n); i++) using namespace std; int main() { int A, B, C, K; cin >> A >> B >> C >> K; bool ok = false; // 全探索 REP(i, K) REP(j, K) REP(k, K) { int a = A * (1 << i); int b = B * (1 << j); int c = C * (1 << k); if (i + j + k <= K && ...
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < (n); i++) using namespace std; int main() { int A, B, C, K; cin >> A >> B >> C >> K; bool ok = false; // 全探索 REP(i, K + 1) REP(j, K + 1) REP(k, K + 1) { int a = A * (1 << i); int b = B * (1 << j); int c = C * (1 << k); if (i + j ...
[ "expression.operation.binary.add" ]
304,201
304,202
u596385287
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C, K; cin >> A >> B >> C >> K; bool flag = false; for (int i = 0; i <= K; i++) { long B_tmp = B; long C_tmp = C; for (int j = 0; j < i; j++) { B_tmp = B_tmp * B_tmp; } for (int j = 0; j < K - i; j++) { C_tmp =...
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C, K; cin >> A >> B >> C >> K; bool flag = false; for (int i = 0; i <= K; i++) { long B_tmp = B; long C_tmp = C; for (int j = 0; j < i; j++) { B_tmp = 2 * B_tmp; } for (int j = 0; j < K - i; j++) { C_tmp = 2 *...
[ "assignment.value.change", "identifier.replace.remove", "literal.replace.add", "expression.operation.binary.change" ]
304,216
304,217
u982630224
cpp
p02601
/* ~ Programmer >> Tushar Mahajan */ #include <bits/stdc++.h> #include <iostream> using namespace std; #define ll long long int #define ld long double #define MOD 1000000007 #define ios \ ios_base::sync_with_stdio(false); ...
/* ~ Programmer >> Tushar Mahajan */ #include <bits/stdc++.h> #include <iostream> using namespace std; #define ll long long int #define ld long double #define MOD 1000000007 #define ios \ ios_base::sync_with_stdio(false); ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,220
304,221
u173265376
cpp
p02601
#include "bits/stdc++.h" using namespace std; #define dbg(var) cout << #var << "=" << var << " " #define nl cout << "\n" #define fr(i, n) for (int i = 0; i < n; i++) #define rep(i, a, n) for (int i = a; i <= n; i++) #define fast \ ios::sync_with_stdio(...
#include "bits/stdc++.h" using namespace std; #define dbg(var) cout << #var << "=" << var << " " #define nl cout << "\n" #define fr(i, n) for (int i = 0; i < n; i++) #define rep(i, a, n) for (int i = a; i <= n; i++) #define fast \ ios::sync_with_stdio(...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
304,226
304,227
u292011786
cpp
p02601
#include <iostream> #include <string> using namespace std; int main() { // 青>緑>赤 string s("No"); int r, g, b; int k; cin >> r >> g >> b; cin >> k; do { for (; r > g; k--) { g = g * 2; } for (; g > b; k--) { b = b * 2; } } while (0); if (k >= 0) s = "Yes"; cout << ...
#include <iostream> #include <string> using namespace std; int main() { // 青>緑>赤 string s("No"); int r, g, b; int k; cin >> r >> g >> b; cin >> k; do { for (; r >= g; --k) { g = g * 2; } for (; g >= b; --k) { b = b * 2; } } while (0); if (k >= 0) s = "Yes"; cout <...
[ "expression.operator.compare.change", "control_flow.loop.for.condition.change", "expression.operation.binary.change" ]
304,228
304,229
u538059746
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main(void) { int a, b, c, k; cin >> a >> b >> c >> k; int cnt = 0; while (a >= b) { b *= 2; cnt++; } while (b >= c) { b *= 2; cnt++; } cout << ((cnt <= k) ? "Yes" : "No") << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main(void) { int a, b, c, k; cin >> a >> b >> c >> k; int cnt = 0; while (a >= b) { b *= 2; cnt++; } while (b >= c) { c *= 2; cnt++; } cout << ((cnt <= k) ? "Yes" : "No") << endl; return 0; }
[ "assignment.variable.change", "identifier.change" ]
304,234
304,235
u241615199
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k, i; cin >> a >> b >> c >> k; for (i = 0; i < k; i++) { if (a > b) { b *= 2; } else { break; } } for (; i < k; i++) { if (b > c) { c *= 2; } else { break; } } if (a < b && b < c) {...
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k, i; cin >> a >> b >> c >> k; for (i = 0; i < k; i++) { if (a >= b) { b *= 2; } else { break; } } for (; i < k; i++) { if (b >= c) { c *= 2; } else { break; } } if (a < b && b < c)...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,248
304,249
u899705970
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int a, b, c, k; cin >> a >> b >> c >> k; int cnt = 0; while (a >= b) { cnt++; b *= 2; } while (b >= c) { cnt++; c *= 2; } if (cnt <= k) cout << "YES" << endl; else ...
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int a, b, c, k; cin >> a >> b >> c >> k; int cnt = 0; while (a >= b) { cnt++; b *= 2; } while (b >= c) { cnt++; c *= 2; } if (cnt <= k) cout << "Yes" << endl; else ...
[ "literal.string.change", "literal.string.case.change", "io.output.change" ]
304,250
304,251
u126127392
cpp
p02601
#include <bits/stdc++.h> #define rep(i, n) for (long long i = 0; i < (long long)(n); i++) #define all(a) a.begin(), a.end() using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<ll, ll> P; template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; return true; } ...
#include <bits/stdc++.h> #define rep(i, n) for (long long i = 0; i < (long long)(n); i++) #define all(a) a.begin(), a.end() using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<ll, ll> P; template <class T> inline bool chmax(T &a, T b) { if (a < b) { a = b; return true; } ...
[ "control_flow.branch.if.condition.change" ]
304,252
304,253
u371149954
cpp
p02601
#include <iostream> using namespace std; int main() { int r, g, b, k; cin >> r >> g >> b >> k; int check = 0; while (g < r) { check++; g *= 2; } while (b < g) { check++; b *= 2; } if (check == k) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
#include <iostream> using namespace std; int main() { int r, g, b, k; cin >> r >> g >> b >> k; int check = 0; while (g <= r) { check++; g *= 2; } while (b <= g) { check++; b *= 2; } if (check > k) cout << "No" << endl; else cout << "Yes" << endl; return 0; }
[ "expression.operator.compare.change", "control_flow.loop.condition.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" ]
304,269
304,270
u488693132
cpp
p02601
#include <iostream> using namespace std; int main() { int r, g, b, k; cin >> r >> g >> b >> k; int check = 0; while (g < r) { check++; g *= 2; } while (b < g) { check++; b *= 2; } if (check > k) cout << "No" << endl; else cout << "Yes" << endl; return 0; }
#include <iostream> using namespace std; int main() { int r, g, b, k; cin >> r >> g >> b >> k; int check = 0; while (g <= r) { check++; g *= 2; } while (b <= g) { check++; b *= 2; } if (check > k) cout << "No" << endl; else cout << "Yes" << endl; return 0; }
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,271
304,270
u488693132
cpp
p02601
#include <iostream> using namespace std; int main() { int A, B, C, K; bool flag = false; std::cin >> A >> B >> C >> K; for (int i = 0; i <= K; ++i) { for (int j = 0; j <= K; ++j) { for (int k = 0; k <= K; ++k) { int x = A * (1 << i), y = B * (1 << j), z = K * (1 << k); if (i + j + k <...
#include <iostream> using namespace std; int main() { int A, B, C, K; bool flag = false; std::cin >> A >> B >> C >> K; for (int i = 0; i <= K; ++i) { for (int j = 0; j <= K; ++j) { for (int k = 0; k <= K; ++k) { int x = A * (1 << i), y = B * (1 << j), z = C * (1 << k); if (i + j + k <...
[ "identifier.change", "expression.operation.binary.change", "literal.string.change" ]
304,272
304,273
u737801844
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) using ll = long long; int main() { int a, b, c, k; cin >> a >> b >> c >> k; bool can = false; rep(i, k) { if (a >= b) b *= 2; else if (b >= c) { c *= 2; if (b < c) can = true; } }...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < n; i++) using ll = long long; int main() { int a, b, c, k; cin >> a >> b >> c >> k; bool can = false; rep(i, k) { if (a >= b) b *= 2; else if (b >= c) c *= 2; if (a < b && b < c) can = true; } ...
[ "control_flow.branch.if.condition.change" ]
304,276
304,277
u321168841
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; while (k--) { if (b > a) { b *= 2; } else if (b > c) { c *= 2; } } if (a < b && b < c) cout << "Yes" << endl; else cout << "No" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; while (k--) { if (a >= b) { b *= 2; } else if (b >= c) { c *= 2; } } if (a < b && b < c) cout << "Yes" << endl; else cout << "No" << endl; }
[ "expression.operation.binary.remove", "control_flow.branch.if.condition.change", "expression.operator.compare.change" ]
304,282
304,283
u299100939
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; while (k--) { if (a < b) { b *= 2; } else if (b < c) { c *= 2; } } if (a < b && b < c) cout << "Yes" << endl; else cout << "No" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; while (k--) { if (a >= b) { b *= 2; } else if (b >= c) { c *= 2; } } if (a < b && b < c) cout << "Yes" << endl; else cout << "No" << endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,285
304,283
u299100939
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define int long long #define flash \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cout.t...
#include <bits/stdc++.h> using namespace std; #define int long long #define flash \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); \ cout.t...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,293
304,294
u702142173
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) using ll = long long; int main() { // 7 4 2 // 3 int a, b, c, k; cin >> a >> b >> c; cin >> k; string ans = "No"; int cnt = 0; rep(i, k) { if (a >= b) { b *= 2; cnt++; } } rep(i, k)...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) using ll = long long; int main() { // 7 4 2 // 3 int a, b, c, k; cin >> a >> b >> c; cin >> k; string ans = "No"; int cnt = 0; rep(i, k + 1) { if (a >= b) { b *= 2; cnt++; } } rep(i...
[ "expression.operation.binary.add" ]
304,295
304,296
u020933954
cpp
p02601
/* */ #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define rep2(i, a, n) for (int i = (a); i < (n); i++) #define repe(i, a) for (auto &i : a) void in() {} template <typename Head, typename... Tail> void in(Head &&head, Tail &&...tail) { cin >> head; in(forward<Tai...
/* */ #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) #define rep2(i, a, n) for (int i = (a); i < (n); i++) #define repe(i, a) for (auto &i : a) void in() {} template <typename Head, typename... Tail> void in(Head &&head, Tail &&...tail) { cin >> head; in(forward<Tai...
[ "identifier.change", "control_flow.loop.condition.change" ]
304,301
304,302
u277956366
cpp
p02601
#include <iostream> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; int x = 0, y = 0, z = 0; while (a > c) { c *= 2; z++; } while (a > b) { b *= 2; y++; } while (b > c) { c *= 2; z++; } if (x + y + z <= k) { cout << "Yes" << endl; } else { ...
#include <iostream> using namespace std; int main() { int a, b, c, k; cin >> a >> b >> c >> k; int x = 0, y = 0, z = 0; while (a >= c) { c *= 2; z++; } while (a >= b) { b *= 2; y++; } while (b >= c) { c *= 2; z++; } if (x + y + z <= k) { cout << "Yes" << endl; } else { ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,303
304,304
u884876243
cpp
p02601
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 1; i <= (n); i++) typedef long long ll; #define ALL(obj) (obj).begin(), (obj).end() int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; int cnt = 0; while (a >= b) { cnt++; b *= 2; } while (b >= c) { ...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 1; i <= (n); i++) typedef long long ll; #define ALL(obj) (obj).begin(), (obj).end() int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; int cnt = 0; while (a >= b) { cnt++; b *= 2; } while (b >= c) { ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,310
304,311
u096030913
cpp
p02601
#pragma region template #ifdef ONLINE_JUDGE #pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC diagnostic ignored "-Wunused-result" #endif #define _USE_MATH_DEFINES #include <bits/stdc++.h> #define all(a) (a).begin(), (a).end() #define rep(i, n) for (int i = 0, i##_len = (n); i < i##_len; i++) #define ...
#pragma region template #ifdef ONLINE_JUDGE #pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC diagnostic ignored "-Wunused-result" #endif #define _USE_MATH_DEFINES #include <bits/stdc++.h> #define all(a) (a).begin(), (a).end() #define rep(i, n) for (int i = 0, i##_len = (n); i < i##_len; i++) #define ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,315
304,316
u368735320
cpp
p02601
#include <bits/stdc++.h> using namespace std; // DEFINE and // TYPEDEF-------------------------------------------------------------- // For actual content check from line 85 #define FORG(i, a, n) \ for (lld i = (lld)a; a < n ? i < (lld)n : (lld)n < i; ...
#include <bits/stdc++.h> using namespace std; // DEFINE and // TYPEDEF-------------------------------------------------------------- // For actual content check from line 85 #define FORG(i, a, n) \ for (lld i = (lld)a; a < n ? i < (lld)n : (lld)n < i; ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,317
304,318
u531151228
cpp
p02601
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int red, green, blue, k; cin >> red >> green >> blue >> k; int count1 = 0; while (red >= green) { green *= 2; count1++; } while (green >= blue) { blue *= 2; count1++; } if (k <= count1) { cout << "...
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int red, green, blue, k; cin >> red >> green >> blue >> k; int count1 = 0; while (red >= green) { green *= 2; count1++; } while (green >= blue) { blue *= 2; count1++; } if (k >= count1) { cout << "...
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,326
304,327
u950501521
cpp
p02601
#include <iostream> #include <vector> using namespace std; int main() { vector<int> a(3); cin >> a[0] >> a[1] >> a[2]; int k; cin >> k; while (a[0] > a[1]) { a[1] *= 2; k--; } while (a[1] > a[2]) { a[2] *= 2; k--; } if (k < 0) cout << "No" << endl; else cout << "Yes" << endl;...
#include <iostream> #include <vector> using namespace std; int main() { vector<int> a(3); cin >> a[0] >> a[1] >> a[2]; int k; cin >> k; while (a[0] >= a[1]) { a[1] *= 2; k--; } while (a[1] >= a[2]) { a[2] *= 2; k--; } if (k < 0) cout << "No" << endl; else cout << "Yes" << end...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,328
304,329
u503221936
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k, ans = 0; cin >> a >> b >> c >> k; while (a >= b) { ans++; b *= 2; } while (c >= b) { ans++; c *= 2; } if (ans > k) cout << "No"; else cout << "Yes"; }
#include <bits/stdc++.h> using namespace std; int main() { int a, b, c, k, ans = 0; cin >> a >> b >> c >> k; while (a >= b) { ans++; b *= 2; } while (b >= c) { ans++; c *= 2; } if (ans > k) cout << "No"; else cout << "Yes"; }
[ "expression.operation.binary.remove", "control_flow.loop.condition.change" ]
304,330
304,331
u222643545
cpp
p02601
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. **********...
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. **********...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "control_flow.loop.condition.change" ]
304,332
304,333
u157239804
cpp
p02601
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. **********...
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. **********...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,334
304,333
u157239804
cpp
p02601
#include <bits/stdc++.h> #define pvar(x) clog << "[" << #x << ":" << x << "]\n" using namespace std; using ll = long long int; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); // b>g>r int r, g, b, k; cin >> r >> g >> b >> k; if (b > g && g > r) { cout << "Yes"; return 0; } while (g...
#include <bits/stdc++.h> #define pvar(x) clog << "[" << #x << ":" << x << "]\n" using namespace std; using ll = long long int; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); // b>g>r int r, g, b, k; cin >> r >> g >> b >> k; if (b > g && g > r) { cout << "Yes"; return 0; } while (g...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,336
304,337
u539092781
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int r, g, b, k; cin >> r >> g >> b >> k; while (r >= g && k > 0) { g *= g; k--; } while (g >= b && k > 0) { b *= b; k--; } cout << ((r < g && g < b) ? "Yes" : "No") << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int r, g, b, k; cin >> r >> g >> b >> k; while (r >= g && k > 0) { g *= 2; k--; } while (g >= b && k > 0) { b *= 2; k--; } cout << ((r < g && g < b) ? "Yes" : "No") << endl; return 0; }
[ "assignment.value.change", "identifier.replace.remove", "literal.replace.add" ]
304,344
304,345
u575389936
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int R, G, B, K; int count = 0; cin >> R >> G >> B >> K; for (int i = 0; i < K; i++) { if (G < R) G *= 2; else if (B < G) B *= 2; if (B > G && G > R) break; } if (B > G && G > R) cout << "Yes" << endl; else ...
#include <bits/stdc++.h> using namespace std; int main() { int R, G, B, K; int count = 0; cin >> R >> G >> B >> K; for (int i = 0; i < K; i++) { if (G <= R) G *= 2; else if (B <= G) B *= 2; if (B > G && G > R) break; } if (B > G && G > R) cout << "Yes" << endl; else ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,356
304,357
u289622963
cpp
p02601
#include <bits/stdc++.h> #define ll long long #define fast \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); using namespace std; int main() { fast; ll red, gr, bl, cgr, cbl, cnt, m = 0, i; cin >> ...
#include <bits/stdc++.h> #define ll long long #define fast \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); using namespace std; int main() { fast; int red, gr, bl, cgr, cbl, cnt, m = 0, i; cin >>...
[ "variable_declaration.type.change", "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,362
304,363
u662686937
cpp
p02601
#include <bits/stdc++.h> #define ll long long #define fast \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); using namespace std; int main() { fast; ll red, gr, bl, cgr, cbl, cnt, m = 0, i; cin >> ...
#include <bits/stdc++.h> #define ll long long #define fast \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); using namespace std; int main() { fast; int red, gr, bl, cgr, cbl, cnt, m = 0, i; cin >>...
[ "variable_declaration.type.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,364
304,363
u662686937
cpp
p02601
#include <cstdio> #include <iostream> using namespace std; #define int long long int a, b, c, k; #undef int int main() { #define int long long cin >> a >> b >> c >> k; while (b <= a && k > 0) b *= 2, --k; while (c <= b && k > 0) c *= 2, --k; if (k >= 0) puts("Yes"); else puts("No"); return 0...
#include <cstdio> #include <iostream> using namespace std; #define int long long int a, b, c, k; #undef int int main() { #define int long long cin >> a >> b >> c >> k; while (b <= a && k >= 0) b *= 2, --k; while (c <= b && k >= 0) c *= 2, --k; if (k >= 0) puts("Yes"); else puts("No"); return...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
304,365
304,366
u227522158
cpp
p02601
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C, K; cin >> A >> B >> C >> K; for (int i = 0; i < K; i++) { if (A > B) { B = 2 * B; } else if (B > C) { C = 2 * C; } } if (A < B && B < C) { cout << "Yes" << endl; } else cout << "No" << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int A, B, C, K; cin >> A >> B >> C >> K; for (int i = 0; i < K; i++) { if (A >= B) { B = 2 * B; } else if (B >= C) { C = 2 * C; } } if (A < B && B < C) { cout << "Yes" << endl; } else cout << "No" << endl; }
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,383
304,384
u021528261
cpp
p02601
#include <algorithm> #include <bits/stdc++.h> #include <iostream> #include <math.h> #include <string> #include <vector> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; int tmp = k; if (b < a) { while (b <= a && tmp > 0) { b = b * 2; tmp--; } } if ...
#include <algorithm> #include <bits/stdc++.h> #include <iostream> #include <math.h> #include <string> #include <vector> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int k; cin >> k; int tmp = k; if (b <= a) { while (b <= a && tmp > 0) { b = b * 2; tmp--; } } if...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
304,387
304,388
u448922807
cpp