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 <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
#define ll long long int
using namespace std;
int main() {
int n, X, Y, Z, num = 0;
cin >> X >> Y >> Z >> n;
for (int i = 0; i < n; i++) {
if (X >= Y) {
Y = 2 * Y;
num++;
}
}
for (int i = 0; i < ... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
#define ll long long int
using namespace std;
int main() {
int n, X, Y, Z, num = 0;
cin >> X >> Y >> Z >> n;
for (int i = 0; i < 7; i++) {
if (X >= Y) {
Y = 2 * Y;
num++;
}
}
for (int i = 0; i < ... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 304,391 | 304,392 | u621817856 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
long long int A, B, C, K;
int main() {
cin >> A >> B >> C >> K;
while (K--) {
if (A > B)
B *= 2;
else if (B > C)
C *= 2;
}
if (C > B && B > A)
cout << "Yes\n";
else
cout << "No\n";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
long long int A, B, C, K;
int main() {
cin >> A >> B >> C >> K;
while (K--) {
if (A >= B)
B *= 2;
else if (B >= C)
C *= 2;
}
if (C > B && B > A)
cout << "Yes\n";
else
cout << "No\n";
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,409 | 304,410 | u436172376 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int A, B, C, K;
int main() {
cin >> A >> B >> C >> K;
while (K--) {
if (A > B)
B *= 2;
else if (B > C)
C *= 2;
}
if (C > B && B > A)
cout << "Yes\n";
else
cout << "No\n";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
long long int A, B, C, K;
int main() {
cin >> A >> B >> C >> K;
while (K--) {
if (A >= B)
B *= 2;
else if (B >= C)
C *= 2;
}
if (C > B && B > A)
cout << "Yes\n";
else
cout << "No\n";
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,411 | 304,410 | u436172376 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (k > 0 && b <= a) {
b *= 2;
k--;
}
// cout << k << endl;
while (k > 0 && c <= b) {
c *= 2;
k--;
}
// cout << a << " " << b << " " << c <<" " << k;
if (a < b && b < c)
cout <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (k > 0 && b <= a) {
b *= 2;
k--;
}
while (k > 0 && c <= b) {
c *= 2;
k--;
}
if (a < b && b < c)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 304,426 | 304,427 | u840460038 | cpp |
p02601 | #include <bits/stdc++.h>
#define io \
freopen("input.txt", "r", stdin); \
freopen("output.txt", "w", stdout);
#define lli long long
#define fast ... | #include <bits/stdc++.h>
#define io \
freopen("input.txt", "r", stdin); \
freopen("output.txt", "w", stdout);
#define lli long long
#define fast ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,429 | 304,430 | u168444031 | cpp |
p02601 | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
while (k--) {
if (b < a) {
b *= 2;
} else {
c *= 2;
}
}
if (a < b && b < c)
printf("Yes");
else
printf("No");
}
| #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
while (k--) {
if (b <= a) {
b *= 2;
} else {
c *= 2;
}
}
if (a < b && b < c)
printf("Yes");
else
printf("No");
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,444 | 304,445 | u080123898 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k, i, j;
cin >> a >> b >> c >> k;
if (c > b && b > a)
cout << "Yes";
else {
for (i = 0; i < k; ++i) {
if (b < a)
b = 2 * b;
else
break;
}
for (j = i; j < k; ++j) {
if (c < b)
c = 2 ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k, i, j;
cin >> a >> b >> c >> k;
if (c > b && b > a)
cout << "Yes";
else {
for (i = 0; i < k; ++i) {
if (b <= a)
b = 2 * b;
else
break;
}
for (j = i; j < k; ++j) {
if (c <= b)
c = ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,452 | 304,453 | u233058380 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k, i, j;
cin >> a >> b >> c >> k;
if (c > b && b > a)
cout << "Yes";
else {
for (i = 0; i < k; ++i) {
if (b < a)
b = 2 * b;
else
break;
}
for (j = i; j < k; ++j) {
if (c < b)
c = 2 ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k, i, j;
cin >> a >> b >> c >> k;
if (c > b && b > a)
cout << "Yes";
else {
for (i = 0; i < k; ++i) {
if (b <= a)
b = 2 * b;
else
break;
}
for (j = i; j < k; ++j) {
if (c <= b)
c = ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,454 | 304,453 | u233058380 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k, i, j;
cin >> a >> b >> c >> k;
if (c > b && b > a)
cout << "Yes";
else {
for (i = 0; i < k; ++i) {
if (b < a)
b = 2 * b;
else
break;
}
for (j = i; j < k; ++j) {
if (c < b)
c = 2 ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k, i, j;
cin >> a >> b >> c >> k;
if (c > b && b > a)
cout << "Yes";
else {
for (i = 0; i < k; ++i) {
if (b <= a)
b = 2 * b;
else
break;
}
for (j = i; j < k; ++j) {
if (c <= b)
c = ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,455 | 304,453 | u233058380 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k, i, j;
cin >> a >> b >> c >> k;
if (c > b && b > a)
cout << "Yes";
else {
for (int i = 0; i < k; ++i) {
if (b < a)
b = 2 * b;
else
break;
}
for (int j = i; j < k; ++j) {
if (c < b)
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k, i, j;
cin >> a >> b >> c >> k;
if (c > b && b > a)
cout << "Yes";
else {
for (i = 0; i < k; ++i) {
if (b <= a)
b = 2 * b;
else
break;
}
for (j = i; j < k; ++j) {
if (c <= b)
c = ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,456 | 304,453 | u233058380 | cpp |
p02601 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rng(a) a.begin(), a.end()
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (k > 0) {
if (a < b && b < c) {
cout << "Yes" << endl;
return... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rng(a) a.begin(), a.end()
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (k >= 0) {
if (a < b && b < c) {
cout << "Yes" << endl;
retur... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,459 | 304,460 | u641900703 | cpp |
p02601 | #include <iostream>
#include <vector>
using namespace std;
int main() {
int A, B, C, K;
cin >> A >> B >> C >> K;
for (int i = 0; i < K; i++) {
if (C > B && B > A)
break;
else if (C < B)
C *= 2;
else if (B < A)
B *= 2;
else
C *= 2;
}
if (B > A && C > B) {
cout <<... | #include <iostream>
#include <vector>
using namespace std;
int main() {
int A, B, C, K;
cin >> A >> B >> C >> K;
for (int i = 0; i < K; i++) {
if (C > B && B > A)
break;
else if (C <= B)
C *= 2;
else if (B <= A)
B *= 2;
else
C *= 2;
}
if (B > A && C > B) {
cout ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,465 | 304,466 | u944033453 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
bool tmp = false, cnt = false;
if (b > a)
tmp = true;
if (!tmp) {
while (k > 0 && b <= a) {
b = b * 2;
k--;
}
if (b > a) {
tmp = true;
}
}
if (c > b)
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
bool tmp = false, cnt = false;
if (b > a)
tmp = true;
if (!tmp) {
while (k > 0 && b <= a) {
b = b * 2;
k--;
}
if (b > a) {
tmp = true;
}
}
if (c > b)
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,467 | 304,468 | u106309438 | cpp |
p02601 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
int K;
cin >> A >> B >> C;
cin >> K;
for (int i = 0; i < K; i++) {
if (A > B) {
B = B * 2;
} else {
C = C * 2;
}
}
if (A < B && B < C) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| #include <iostream>
using namespace std;
int main() {
int A, B, C;
int K;
cin >> A >> B >> C;
cin >> K;
for (int i = 0; i < K; i++) {
if (A >= B) {
B = B * 2;
} else {
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,469 | 304,470 | u374575822 | cpp |
p02601 | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
int main() {
int a, b, c, n;
cin >> a >> b >> c;
cin >> n;
while (n--) {
if (b < a) {
b = b * 2;
} else {
c = c * 2;
}
}
if (a < b && b < c)
printf("Yes");
else
printf("No");
... | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
int main() {
int a, b, c, n;
cin >> a >> b >> c;
cin >> n;
while (n--) {
if (b <= a) {
b = b * 2;
} else {
c = c * 2;
}
}
if (a < b && b < c)
printf("Yes");
else
printf("No");... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,471 | 304,472 | u721609304 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
long long a, b, c, k;
int main() {
cin >> a >> b >> c >> k;
while (k--) {
if (b < a)
b *= 2;
else if (c < b)
c *= 2;
}
if (b <= a || c <= b)
cout << "No";
else
cout << "Yes";
}
| #include <bits/stdc++.h>
using namespace std;
long long a, b, c, k;
int main() {
cin >> a >> b >> c >> k;
while (k--) {
if (b <= a)
b *= 2;
else if (c <= b)
c *= 2;
}
if (b <= a || c <= b)
cout << "No";
else
cout << "Yes";
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,477 | 304,478 | u915103890 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
#define IO \
ios::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
typedef long lo... | #include <bits/stdc++.h>
using namespace std;
#define IO \
ios::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
typedef long lo... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,488 | 304,489 | u073868284 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K, X;
cin >> A >> B >> C >> K;
X = 0;
for (int i = 0; i < K; i++) {
if (B < A) {
B = B * 2;
X++;
} else {
break;
}
}
for (int i = 0; i < K - X; i++) {
C = C * 2;
}
if (A < B && B < C) {
cout <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K, X;
cin >> A >> B >> C >> K;
X = 0;
for (int i = 0; i < K; i++) {
if (B <= A) {
B = B * 2;
X++;
} else {
break;
}
}
for (int i = 0; i < K - X; i++) {
C = C * 2;
}
if (A < B && B < C) {
cout <... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,492 | 304,493 | u208650471 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K, X;
cin >> A >> B >> C >> K;
X = 0;
for (int i = 0; i < K; i++) {
if (B < A) {
B = B * 2;
X++;
} else {
break;
}
}
for (int i = 0; i < K - X; i++) {
C = C * 2;
}
if (A << B, B << C) {
cout <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K, X;
cin >> A >> B >> C >> K;
X = 0;
for (int i = 0; i < K; i++) {
if (B <= A) {
B = B * 2;
X++;
} else {
break;
}
}
for (int i = 0; i < K - X; i++) {
C = C * 2;
}
if (A < B && B < C) {
cout <... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"misc.typo"
] | 304,494 | 304,493 | u208650471 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K, X;
cin >> A >> B >> C >> K;
X = 0;
for (int i = 0; i < K; i++) {
if (B < A) {
B = B * 2;
X++;
} else {
break;
}
}
for (int i = 0; i < K - X; i++) {
C = C * 2;
}
if (A < B, B < C) {
cout << "... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K, X;
cin >> A >> B >> C >> K;
X = 0;
for (int i = 0; i < K; i++) {
if (B <= A) {
B = B * 2;
X++;
} else {
break;
}
}
for (int i = 0; i < K - X; i++) {
C = C * 2;
}
if (A < B && B < C) {
cout <... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,495 | 304,493 | u208650471 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K, X;
cin >> A >> B >> C >> K;
X = 0;
for (int i = 0; i < K; i++) {
if (B < A) {
B = B * 2;
X++;
} else {
break;
}
}
for (int i = 0; i < K - X; i++) {
C = C * 2;
}
if (A < B < C) {
cout << "Yes... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K, X;
cin >> A >> B >> C >> K;
X = 0;
for (int i = 0; i < K; i++) {
if (B <= A) {
B = B * 2;
X++;
} else {
break;
}
}
for (int i = 0; i < K - X; i++) {
C = C * 2;
}
if (A < B && B < C) {
cout <... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,496 | 304,493 | u208650471 | cpp |
p02601 | #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 1e9
#define ALL(v) (v).begin(), (v).end()
#define debug(x) cerr << #x << ": " << x << endl;
using namespace std;
typedef long long ... | #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 1e9
#define ALL(v) (v).begin(), (v).end()
#define debug(x) cerr << #x << ": " << x << endl;
using namespace std;
typedef long long ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,500 | 304,501 | u983640934 | 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 int;
void inv(vector<int> &v) {
int length = v.size();
for (int i = 0; i < length; i++) {
cin >> v[i];
}
}
void inv(vector<int> &v, int length) {
for (int i = 0; i < length; i++) {
ci... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long int;
void inv(vector<int> &v) {
int length = v.size();
for (int i = 0; i < length; i++) {
cin >> v[i];
}
}
void inv(vector<int> &v, int length) {
for (int i = 0; i < length; i++) {
ci... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,502 | 304,503 | u269572941 | cpp |
p02601 | #include <bits/stdc++.h>
#define int long long
using namespace std;
int32_t main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (b <= a) {
b *= 2;
k--;
}
while (c <= b) {
c *= 2;
k--;
}
if (k < 0) {
cout << "no";
} else {
cout << "yes";
}
} | #include <bits/stdc++.h>
#define int long long
using namespace std;
int32_t main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (b <= a) {
b *= 2;
k--;
}
while (c <= b) {
c *= 2;
k--;
}
if (k < 0) {
cout << "No";
} else {
cout << "Yes";
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,506 | 304,507 | u496480873 | cpp |
p02600 | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (x <= 599) {
cout << "8" << endl;
}
if (x >= 599 && x <= 799) {
cout << "7" << endl;
}
if (x >= 800 && x <= 999) {
cout << "6" << endl;
}
if (x >= 1000 && x <= 1199) {
cout << "5" << endl;
}
if (x >= 1200 && ... | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
if (x <= 599) {
cout << "8" << endl;
}
if (x >= 600 && x <= 799) {
cout << "7" << endl;
}
if (x >= 800 && x <= 999) {
cout << "6" << endl;
}
if (x >= 1000 && x <= 1199) {
cout << "5" << endl;
}
if (x >= 1200 && ... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 304,513 | 304,514 | u946802685 | cpp |
p02600 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll test, i, j, xy, count, flag = 0, n, o1 = 0, o2 = 0, x, y, m, l, z, max1,
x1, y1, x2, y2, z1, k, sum, f, r, ans1, min1;
cin >> n;
if (n >= 400 && n <= 599) {
cout << "8";
} else {
if (n >... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll test, i, j, xy, count, flag = 0, n, o1 = 0, o2 = 0, x, y, m, l, z, max1,
x1, y1, x2, y2, z1, k, sum, f, r, ans1, min1;
cin >> n;
if (n >= 400 && n <= 599) {
cout << "8";
} else {
if (n >... | [
"literal.number.change",
"expression.operation.binary.change"
] | 304,519 | 304,520 | u513506770 | cpp |
p02600 | #include <bits/stdc++.h>
using namespace std;
typedef long long lld;
int main() {
std::ios::sync_with_stdio(false);
lld tc = 1;
// cin >> tc;
while (tc--) {
lld x;
cin >> x;
if (x >= 1800 && x <= 1999) {
cout << 1;
} else if (x >= 1600 && x <= 1799) {
cout << 2;
} else if (x >=... | #include <bits/stdc++.h>
using namespace std;
typedef long long lld;
int main() {
std::ios::sync_with_stdio(false);
lld tc = 1;
// cin >> tc;
while (tc--) {
lld x;
cin >> x;
if (x >= 1800 && x <= 1999) {
cout << 1;
} else if (x >= 1600 && x <= 1799) {
cout << 2;
} else if (x >=... | [
"literal.number.change",
"io.output.change"
] | 304,521 | 304,522 | u246480996 | cpp |
p02600 |
// TO KAISE HAI AAP LOG!! //
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define lb lower_bound
#define ub upper_bound
#define bs binary_search
#define F first
#define S second
#define all(v) v.begin(), v.end()
ll mod = 1e9 + 7;
/*/----------------------------- Code begin... |
// TO KAISE HAI AAP LOG!! //
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define lb lower_bound
#define ub upper_bound
#define bs binary_search
#define F first
#define S second
#define all(v) v.begin(), v.end()
ll mod = 1e9 + 7;
/*/----------------------------- Code begin... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 304,535 | 304,536 | u043260062 | cpp |
p02600 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if (599 >= n) {
cout << "8";
}
if (799 >= n && n >= 600) {
cout << "7";
}
if (999 >= n && n >= 800) {
cout << "6";
}
if (1199 >= n && n >= 1000) {
cout << "5";
}
if (1399 >= n && n >= 1200) {
cout << ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if (599 >= n) {
cout << "8";
}
if (799 >= n && n >= 600) {
cout << "7";
}
if (999 >= n && n >= 800) {
cout << "6";
}
if (1199 >= n && n >= 1000) {
cout << "5";
}
if (1399 >= n && n >= 1200) {
cout << ... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,541 | 304,542 | u071304940 | cpp |
p02600 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 && x <= 599)
cout << 8 << endl;
if (x >= 600 && x <= 799)
cout << 7 << endl;
if (x >= 800 && x <= 999)
cout << 6 << endl;
if (x >= 1000 && x <= 1199)
cout << 5 << endl;
if (x >= 1200 && x <= 1399)
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 && x <= 599)
cout << 8 << endl;
if (x >= 600 && x <= 799)
cout << 7 << endl;
if (x >= 800 && x <= 999)
cout << 6 << endl;
if (x >= 1000 && x <= 1199)
cout << 5 << endl;
if (x >= 1200 && x <= 1399)
... | [
"literal.number.change",
"io.output.change"
] | 304,551 | 304,552 | u452374373 | cpp |
p02600 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if (n >= 400 && n <= 699) {
cout << 8 << "\n";
} else if (n <= 799) {
cout << 7 << "\n";
} else if (n <= 999) {
cout << 6 << "\n";
} else if (n <= 1199) {
cout << 5 << "\n";
} else if (n <= 1399) {
cout << 4 <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if (n >= 400 && n <= 599) {
cout << 8 << "\n";
} else if (n <= 799) {
cout << 7 << "\n";
} else if (n <= 999) {
cout << 6 << "\n";
} else if (n <= 1199) {
cout << 5 << "\n";
} else if (n <= 1399) {
cout << 4 <<... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 304,553 | 304,554 | u630091838 | cpp |
p02600 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if (n >= 400 && n <= 699) {
cout << 8 << "\n";
} else if (n <= 799) {
cout << 7 << "\n";
} else if (n <= 999) {
cout << 6 << "\n";
} else if (n <= 1199) {
cout << 5 << "\n";
} else if (n <= 1399) {
cout << 4 <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if (n >= 400 && n <= 599) {
cout << 8 << "\n";
} else if (n <= 799) {
cout << 7 << "\n";
} else if (n <= 999) {
cout << 6 << "\n";
} else if (n <= 1199) {
cout << 5 << "\n";
} else if (n <= 1399) {
cout << 4 <<... | [
"literal.number.change",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 304,555 | 304,554 | u630091838 | cpp |
p02600 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ll n;
cin >> n;
if (n >= 400 && n <= 599)
cout << 8 << "\n";
else if (n >= 600 && n <= 799)
cout << 9 << "\n";
else if (n >= 800 && n <= 999)
cout << 6 << "\n";
else if (n >= 1000 && n <= 1199)
cout << 5 << ... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ll n;
cin >> n;
if (n >= 400 && n <= 599)
cout << 8 << "\n";
else if (n >= 600 && n <= 799)
cout << 7 << "\n";
else if (n >= 800 && n <= 999)
cout << 6 << "\n";
else if (n >= 1000 && n <= 1199)
cout << 5 << ... | [
"literal.number.change",
"io.output.change"
] | 304,558 | 304,559 | u340853729 | cpp |
p02600 | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
x = (x - 2000) * -1;
x /= 200;
cout << x + 1 << endl;
} | #include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
x = (x - 1999) * -1;
x /= 200;
cout << x + 1 << endl;
} | [
"literal.number.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 304,566 | 304,567 | u502734936 | cpp |
p02600 | #include "bits/stdc++.h"
using namespace std;
typedef long double ld;
#define int long long
typedef pair<int, int> pii;
#define RAGE \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | #include "bits/stdc++.h"
using namespace std;
typedef long double ld;
#define int long long
typedef pair<int, int> pii;
#define RAGE \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | [
"literal.number.change",
"io.output.change"
] | 304,573 | 304,574 | u394178228 | cpp |
p02600 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 && x <= 599)
cout << 8 << "\n";
else if (x >= 600 && x <= 799)
cout << 7 << "\n";
else if (x >= 800 && x <= 999)
cout << 6 << "\n";
else if (x >= 1000 && x <= 119)
cout << 5 << "\n";
else if (x >= 1200... | #include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if (x >= 400 && x <= 599)
cout << 8 << "\n";
else if (x >= 600 && x <= 799)
cout << 7 << "\n";
else if (x >= 800 && x <= 999)
cout << 6 << "\n";
else if (x >= 1000 && x <= 1199)
cout << 5 << "\n";
else if (x >= 120... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 304,575 | 304,576 | u100252451 | cpp |
p02600 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int a, b, c, d, ans, tmp;
string s;
a = b = c = d = ans = tmp = 0;
// vector<int>a();
cin >> a;
if (a >= 1800) {
cout << "1";
} else if (a <= 1600) {
cout << "2";
} else if (a <= 1400) {
cout << "3";
} else i... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int a, b, c, d, ans, tmp;
string s;
a = b = c = d = ans = tmp = 0;
// vector<int>a();
cin >> a;
if (a >= 1800) {
cout << "1";
} else if (a >= 1600) {
cout << "2";
} else if (a >= 1400) {
cout << "3";
} else i... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,579 | 304,580 | u329845662 | cpp |
p02600 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int X;
cin >> X;
int kyu;
if (X <= 599) {
kyu = 8;
} else if (X <= 600) {
kyu = 7;
} else if (X <= 999) {
kyu = 6;
} else if (X <= 1199) {
kyu = 5;
} else if (X <= 1399) {
kyu = 4;
} else if (X <= 1599) {
kyu = 3;... | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int X;
cin >> X;
int kyu;
if (X <= 599) {
kyu = 8;
} else if (X <= 799) {
kyu = 7;
} else if (X <= 999) {
kyu = 6;
} else if (X <= 1199) {
kyu = 5;
} else if (X <= 1399) {
kyu = 4;
} else if (X <= 1599) {
kyu = 3;... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 304,583 | 304,584 | u136029702 | cpp |
p02600 | #include <bits/stdc++.h>
using namespace std;
#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 ALL(v) v.begin(), v.end()
int main() {
std::cout << std::fixed << std::setprecision(20);
int X;
cin >> X;
if (... | #include <bits/stdc++.h>
using namespace std;
#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 ALL(v) v.begin(), v.end()
int main() {
std::cout << std::fixed << std::setprecision(20);
int X;
cin >> X;
if (... | [
"literal.number.change",
"control_flow.branch.if.condition.change"
] | 304,585 | 304,586 | u702914680 | cpp |
p02600 | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <deque>
#include <functional>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include ... | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <deque>
#include <functional>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include ... | [] | 304,587 | 304,588 | u546102135 | cpp |
p02600 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i, n) for (ll i = 0; i < (ll)n; i++)
int main() {
int X;
cin >> X;
rep(i, 8) {
if (200 * (i + 2) <= X && X < 200 * (i + 3))
cout << 8 - i << "級" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i, n) for (ll i = 0; i < (ll)n; i++)
int main() {
int X;
cin >> X;
rep(i, 8) {
if (200 * (i + 2) <= X && X < 200 * (i + 3))
cout << 8 - i << endl;
}
} | [
"expression.operation.binary.remove"
] | 304,589 | 304,590 | u595949581 | cpp |
p02601 | #include <bits/stdc++.h>
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using P = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
while (k) {
if (a > b)
b *= 2;
else if (b > c)
c *= 2;
k--;
}
if (a < b && b < c... | #include <bits/stdc++.h>
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using P = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
while (k) {
if (a >= b) {
b *= 2;
} else if (b >= c) {
c *= 2;
}
k--;
}
if (... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,600 | 304,601 | u218610082 | 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;
continue;
}
if (c < b) {
c *= 2;
continue;
}
break;
}
cout << (a < b && b < c ? "Yes" : "No") << endl;
return 0;
} | #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;
continue;
}
if (c <= b) {
c *= 2;
continue;
}
break;
}
cout << (a < b && b < c ? "Yes" : "No") << endl;
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,608 | 304,609 | u936975968 | cpp |
p02601 | #include <bits/stdc++.h>
#include <cassert>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define ok() puts(ok ? "Yes" : "No");
#define chmax(x, y) x = max(x, y)
#define chmin(x, y) x = min(x, y)
using namespace std;
using ll = long long;
using vi = vector<int>;
using vll = vector<ll>;
using ii = pair<int, int>;
usin... | #include <bits/stdc++.h>
#include <cassert>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define ok() puts(ok ? "Yes" : "No");
#define chmax(x, y) x = max(x, y)
#define chmin(x, y) x = min(x, y)
using namespace std;
using ll = long long;
using vi = vector<int>;
using vll = vector<ll>;
using ii = pair<int, int>;
usin... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,610 | 304,611 | u213868052 | cpp |
p02601 | //#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#define int long long
#define x first
#define y second
#define pb push_back
#define inf 1000000000000000000
#define N 1000000007
#define mp make_pair
#define speed \
ios_base::sync_with_stdio(0); ... | //#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#define int long long
#define x first
#define y second
#define pb push_back
#define inf 1000000000000000000
#define N 1000000007
#define mp make_pair
#define speed \
ios_base::sync_with_stdio(0); ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,622 | 304,623 | u930089439 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
void __print(int x) { cerr << x; }
void __print(long x) { cerr << x; }
void __print(long long x) { cerr << x; }
void __print(unsigned x) { cerr << x; }
void __print(unsigned long x) { cerr << x; }
void __print(unsigned long long x) { cerr << x; }
void __print(float x) { cer... | #include <bits/stdc++.h>
using namespace std;
void __print(int x) { cerr << x; }
void __print(long x) { cerr << x; }
void __print(long long x) { cerr << x; }
void __print(unsigned x) { cerr << x; }
void __print(unsigned long x) { cerr << x; }
void __print(unsigned long long x) { cerr << x; }
void __print(float x) { cer... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,628 | 304,629 | u497753511 | cpp |
p02601 | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using ll = long long;
using namespace std;
ll mod = 1e9 + 7;
// ll mod = 998244353;
ll n_po... | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using ll = long long;
using namespace std;
ll mod = 1e9 + 7;
// ll mod = 998244353;
ll n_po... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,632 | 304,633 | u670815700 | cpp |
p02601 | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
#define pb push_back
#define mp make_pair
#define x first
#define y second
typedef long long ll;
const ll INF = 1e9 + 5;
const ll MOD = 1e9 + 7;
int main() {
int a, b, c;
cin >> a... | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <set>
#include <vector>
using namespace std;
#define pb push_back
#define mp make_pair
#define x first
#define y second
typedef long long ll;
const ll INF = 1e9 + 5;
const ll MOD = 1e9 + 7;
int main() {
int a, b, c;
cin >> a... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,640 | 304,641 | u828669332 | cpp |
p02601 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
typedef long long ll;
#define endl "\n"
void solve() {
ll a, b, c;
cin >> a >> b >> c;
ll k;
cin >> k;
while (b <= a) {
// cout<<b<<endl;
b *= 2;
k--;
}
while (c <= b) {
c *= 2;
k--;
}
// cout<<k<<endl;
if (k >=... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
typedef long long ll;
#define endl "\n"
void solve() {
ll a, b, c;
cin >> a >> b >> c;
ll k;
cin >> k;
while (b <= a) {
b *= 2;
k--;
}
while (c <= b) {
c *= 2;
k--;
}
if (k >= 0) {
cout << "Yes" << endl;
} els... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,646 | 304,647 | u577231684 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using ull = unsigned long long;
using uint = unsigned;
using pcc = pair<char, char>;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using pdd = pair<double, double>;
using tuplis = array<ll, 3>;
template <class T> using p... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using ull = unsigned long long;
using uint = unsigned;
using pcc = pair<char, char>;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using pdd = pair<double, double>;
using tuplis = array<ll, 3>;
template <class T> using p... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,658 | 304,659 | u902786897 | cpp |
p02601 | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <list>
#include <new>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
#define forloop(i, x, z) for (int i = x; i < z; i++)
using ll = unsigned long long int... | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <list>
#include <new>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
#define forloop(i, x, z) for (int i = x; i < z; i++)
using ll = unsigned long long int... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,660 | 304,661 | u558926332 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
const int INF = 1001001001;
int main() {
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
int count = 0;
rep(i, k) {
if (a > b) {
b *= 2;
count++;
}
}
rep(i, k) {
if (b > c) {
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
const int INF = 1001001001;
int main() {
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
int count = 0;
rep(i, k) {
if (a >= b) {
b *= 2;
count++;
}
}
rep(i, k) {
if (b >= c) {
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,664 | 304,665 | u177657902 | cpp |
p02601 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define pai 3.1415926535897932384
using namespace std;
using ll = long long;
using P = pair<int, int>;
in... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <utility>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define pai 3.1415926535897932384
using namespace std;
using ll = long long;
using P = pair<int, int>;
in... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,670 | 304,671 | u967822229 | cpp |
p02601 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#in... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#in... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,677 | 304,678 | u153896623 | cpp |
p02601 | // Indrajeet Mishra
/*#pragma warning(disable:4996)
#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize ("Ofast")
#pragma GCC target ("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize ("-ffloat-store")*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#def... | // Indrajeet Mishra
/*#pragma warning(disable:4996)
#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize ("Ofast")
#pragma GCC target ("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize ("-ffloat-store")*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#def... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,679 | 304,680 | u485770309 | cpp |
p02601 | // Indrajeet Mishra
/*#pragma warning(disable:4996)
#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize ("Ofast")
#pragma GCC target ("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize ("-ffloat-store")*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#def... | // Indrajeet Mishra
/*#pragma warning(disable:4996)
#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize ("Ofast")
#pragma GCC target ("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize ("-ffloat-store")*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#def... | [
"variable_declaration.remove",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,681 | 304,680 | u485770309 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
#define int long long
typedef pair<int, int> pii;
signed main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
int temp1 = a / b;
if (temp1 != 0) {
int fac = log2(temp1) + 1;
// cout<<fac<<endl;
b = b * pow(2LL, fac);
k -= fac;
}
int temp2 = b / c;
... | #include <bits/stdc++.h>
using namespace std;
#define int long long
typedef pair<int, int> pii;
signed main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
int temp1 = a / b;
if (temp1 != 0) {
int fac = log2(temp1) + 1;
// cout<<fac<<endl;
b = b * pow(2LL, fac);
k -= fac;
}
int temp2 = b / c;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,692 | 304,693 | u124510775 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, X;
cin >> A >> B >> C >> X;
while ((A >= B) && !(X == 0)) {
B = B * 2;
X--;
}
while ((B >= C) && !(X == 0)) {
C = C * 2;
X--;
}
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, X;
cin >> A >> B >> C >> X;
while ((A >= B) && !(X == 0)) {
B = B * 2;
X--;
}
while ((B >= C) && !(X == 0)) {
C = C * 2;
X--;
}
if ((A < B) && (B < C))
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,700 | 304,701 | u732175692 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
while (b < a && k > 0) {
b *= 2;
k--;
}
while (c < a && k > 0) {
c *= 2;
k--;
}
if (b > a && c > b)
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;
cin >> k;
while (b <= a && k > 0) {
b *= 2;
k--;
}
while (c <= b && k > 0) {
c *= 2;
k--;
}
if (b > a && c > b)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,708 | 304,709 | u561170201 | cpp |
p02601 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
typedef tree<pair<int, int>, null_type, less<pair<int, int>>, rb_tree_tag,
tree_order_statistics_node_update>
oset;
#define sim template <class c
#defi... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
typedef tree<pair<int, int>, null_type, less<pair<int, int>>, rb_tree_tag,
tree_order_statistics_node_update>
oset;
#define sim template <class c
#defi... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,710 | 304,711 | u306697932 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, k;
cin >> a >> b >> c >> k;
while (b < a && k > 0) {
b *= 2;
k -= 1;
}
while (c < b && k > 0) {
c *= 2;
k -= 1;
}
if (c > b && b > a)
cout << "Yes";
else
cout << "No";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, k;
cin >> a >> b >> c >> k;
while (b <= a && k > 0) {
b *= 2;
k -= 1;
}
while (c <= b && k > 0) {
c *= 2;
k -= 1;
}
if (c > b && b > a)
cout << "Yes";
else
cout << "No";
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,716 | 304,717 | u564404680 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, k;
cin >> a >> b >> c >> k;
while (b < a && k--) {
b *= 2;
k -= 1;
}
while (c < b && k--) {
c *= 2;
k -= 1;
}
if (c > b && b > a)
cout << "Yes";
else
cout << "No";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, k;
cin >> a >> b >> c >> k;
while (b <= a && k > 0) {
b *= 2;
k -= 1;
}
while (c <= b && k > 0) {
c *= 2;
k -= 1;
}
if (c > b && b > a)
cout << "Yes";
else
cout << "No";
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,718 | 304,717 | u564404680 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(void) {
// ios_base::sync_with_stdio(false);
// cin.tie(0);
// cout.tie(0);
// freopen("input.txt", "r", stdin);
int a, b, c, k;
cin >> a >> b >> c >> k;
while (b < a && k > 0) {
b *= 2;
k--;
}
while (c ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(void) {
// ios_base::sync_with_stdio(false);
// cin.tie(0);
// cout.tie(0);
// freopen("input.txt", "r", stdin);
int a, b, c, k;
cin >> a >> b >> c >> k;
while (b <= a && k > 0) {
b *= 2;
k--;
}
while (c... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,721 | 304,722 | u184558009 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
typedef long long int64;
typedef vector<int> vec;
typedef vector<int64> vec64;
#define ss cout << " ";
#define nn cout << "\n";
#define ct(x) cout << x;
#define cts(x) cout << x << " ";
#define ctn(x) cout << x << "\n";
#define db(x) cout << "> " << #x << ": " << x << "\n";... | #include <bits/stdc++.h>
using namespace std;
typedef long long int64;
typedef vector<int> vec;
typedef vector<int64> vec64;
#define ss cout << " ";
#define nn cout << "\n";
#define ct(x) cout << x;
#define cts(x) cout << x << " ";
#define ctn(x) cout << x << "\n";
#define db(x) cout << "> " << #x << ": " << x << "\n";... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,728 | 304,729 | u448096745 | cpp |
p02601 | #include <iostream>
using namespace std;
int main() {
int a, b, c, k;
int ans;
cin >> a >> b >> c >> k;
int count = 0;
while (a >= b) {
b = b * 2;
count = count + 1;
}
while (b >= c) {
c = c * 2;
count = count + 1;
}
if (count < k) {
cout << "Yes" << endl;
} else {
cout <... | #include <iostream>
using namespace std;
int main() {
int a, b, c, k;
// int ans;
cin >> a >> b >> c >> k;
int count = 0;
while (a >= b) {
b = b * 2;
count = count + 1;
}
while (b >= c) {
c = c * 2;
count = count + 1;
}
if (count <= k) {
cout << "Yes" << endl;
} else {
co... | [
"variable_declaration.remove",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,730 | 304,731 | u070301391 | cpp |
p02601 | #include <iostream>
using namespace std;
int main() {
int a, b, c, k;
int ans;
cin >> a >> b >> c >> k;
int count = 0;
while (a >= b) {
b = b * 2;
count = count + 1;
}
while (b >= c) {
c = c * 2;
count = count + 1;
}
if (count < k) {
cout << "yes" << endl;
} else {
cout <... | #include <iostream>
using namespace std;
int main() {
int a, b, c, k;
// int ans;
cin >> a >> b >> c >> k;
int count = 0;
while (a >= b) {
b = b * 2;
count = count + 1;
}
while (b >= c) {
c = c * 2;
count = count + 1;
}
if (count <= k) {
cout << "Yes" << endl;
} else {
co... | [
"variable_declaration.remove",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,732 | 304,731 | u070301391 | cpp |
p02601 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
if (b == 0 || c == 0) {
cout << "No" << endl;
return 0;
}
while (k--) {
if (b < a) {
b *= 2;
} else {
c *= 2;
}
}
if (c > b && b > a) {
c... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
if (b == 0 || c == 0) {
cout << "No" << endl;
return 0;
}
while (k--) {
if (b <= a) {
b *= 2;
} else {
c *= 2;
}
}
if (c > b && b > a) {
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,733 | 304,734 | u992960662 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k, i;
bool ans = false;
cin >> a >> b >> c >> k;
for (i = 0; i < k; i++) {
if (b <= a)
b *= 2;
else if (c <= b && b > a)
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, i;
bool ans = false;
cin >> a >> b >> c >> k;
for (i = 0; i < k; i++) {
if (b <= a)
b *= 2;
else if (c <= b && b > a)
c *= 2;
}
if (a < b && b < c)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,740 | 304,741 | u317830102 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef int Int;
typedef pair<Int, Int> pii;
typedef pair<Int, double> pid;
typedef pair<double, double> pdd;
typedef pair<Int, pii> pip;
typedef pair<double, Int> pdp;
typedef vector<Int> veci;
typedef vector<double> ve... | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef int Int;
typedef pair<Int, Int> pii;
typedef pair<Int, double> pid;
typedef pair<double, double> pdd;
typedef pair<Int, pii> pip;
typedef pair<double, Int> pdp;
typedef vector<Int> veci;
typedef vector<double> ve... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,742 | 304,743 | u414444658 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
// cout << "a = " << a << endl;
while (k && a >= b) {
b <<= 1;
k--;
}
// cout << "b = " << b << endl;
while (k && b >= c) {
c <<= 1;
k--;
}
// cout << "c = " << c << endl;
if ((b > a... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
// cout << "a = " << a << endl;
while (k && a >= b) {
b <<= 1;
k--;
}
// cout << "b = " << b << endl;
while (k && b >= c) {
c <<= 1;
k--;
}
// cout << "c = " << c << endl;
if ((b > a... | [
"literal.string.change",
"io.output.change",
"io.output.newline.add"
] | 304,747 | 304,748 | u580536541 | cpp |
p02601 | #include <bits/stdc++.h>
#define pb push_back
#define cend(s) return cout << s, 0;
using namespace std;
typedef long long ll;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (a > b && k)
k--, b *= 2;
while (k)
k--, c *= 2;
if (a < b && b < c)
cend("Yes") else cend("No");
} | #include <bits/stdc++.h>
#define pb push_back
#define cend(s) return cout << s, 0;
using namespace std;
typedef long long ll;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (a >= b && k)
k--, b *= 2;
while (k)
k--, c *= 2;
if (a < b && b < c)
cend("Yes") else cend("No");
} | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,753 | 304,754 | u259412075 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll a, b, c, k;
/* 8 4 2 6
16 4 8 16 32
2+4;*/
int main() {
ll i = 0;
cin >> a >> b >> c >> k;
while (a >= b) {
i++;
b = b * 2;
}
while (c <= b) {
i++;
c = c + 2;
}
if (i <= k)
cout << "Yes";
else
cout << "No";
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll a, b, c, k;
/* 8 4 2 6
16 4 8 16 32
2+4;*/
int main() {
ll i = 0;
cin >> a >> b >> c >> k;
while (a >= b) {
i++;
b = b * 2;
}
while (c <= b) {
i++;
c = c * 2;
}
// cout<<a<<" "<<b<<" "<<c<<endl;
if (i <= k)
cout... | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 304,755 | 304,756 | u698086456 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll a, b, c, k;
int main() {
ll i = 0;
cin >> a >> b >> c >> k;
while (a > b) {
i++;
b = b * 2;
}
while (c < b) {
i++;
c = c + 2;
}
if (i <= k)
cout << "Yes";
else
cout << "No";
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll a, b, c, k;
/* 8 4 2 6
16 4 8 16 32
2+4;*/
int main() {
ll i = 0;
cin >> a >> b >> c >> k;
while (a >= b) {
i++;
b = b * 2;
}
while (c <= b) {
i++;
c = c * 2;
}
// cout<<a<<" "<<b<<" "<<c<<endl;
if (i <= k)
cout... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 304,757 | 304,756 | u698086456 | cpp |
p02601 | #include "bits/stdc++.h"
#include "math.h"
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<bool> vb;
typedef vector<vb> vvb;
typedef vector<int> vin;
typedef pair<ll, ll> P;
typedef vector<P> vp;
#define rep(i, a, b) for (ll i = (a); i < (b); ++i)
#define dre... | #include "bits/stdc++.h"
#include "math.h"
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<bool> vb;
typedef vector<vb> vvb;
typedef vector<int> vin;
typedef pair<ll, ll> P;
typedef vector<P> vp;
#define rep(i, a, b) for (ll i = (a); i < (b); ++i)
#define dre... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,760 | 304,761 | u476488060 | cpp |
p02601 | #include "bits/stdc++.h"
#include "math.h"
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<bool> vb;
typedef vector<vb> vvb;
typedef vector<int> vin;
typedef pair<ll, ll> P;
typedef vector<P> vp;
#define rep(i, a, b) for (ll i = (a); i < (b); ++i)
#define dre... | #include "bits/stdc++.h"
#include "math.h"
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<bool> vb;
typedef vector<vb> vvb;
typedef vector<int> vin;
typedef pair<ll, ll> P;
typedef vector<P> vp;
#define rep(i, a, b) for (ll i = (a); i < (b); ++i)
#define dre... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"control_flow.branch.if.condition.change"
] | 304,762 | 304,761 | u476488060 | cpp |
p02601 | #include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
int count = 0;
rep(i, k) {
if (b <= a) {
count++;
b *= 2;
} else {... | #include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
int count = 0;
rep(i, 100) {
if (b <= a) {
count++;
b *= 2;
} else... | [] | 304,765 | 304,766 | u611239490 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define ll long... | #include <bits/stdc++.h>
using namespace std;
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define ll long... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,769 | 304,770 | u456754062 | cpp |
p02601 | #include <algorithm>
#include <iostream>
#include <map>
#include <string>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
bool judge = true;
for (int i = 0; i < k; i++) {
if (a > b) {
b *= 2;
} else if (b > c)
c *= 2;
else
break;
}
if (a ... | #include <algorithm>
#include <iostream>
#include <map>
#include <string>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
bool judge = true;
for (int i = 0; i < k; i++) {
if (a >= b) {
b *= 2;
} else if (b >= c)
c *= 2;
else
break;
}
if (... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,773 | 304,774 | u327240208 | cpp |
p02601 | #include <algorithm>
#include <iostream>
#include <map>
#include <string>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
bool judge = true;
for (int i = 0; i < k; i++) {
if (a > b) {
b *= 2;
} else if (b > c)
c *= 2;
}
if (a < b && b < c)
cout <... | #include <algorithm>
#include <iostream>
#include <map>
#include <string>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
bool judge = true;
for (int i = 0; i < k; i++) {
if (a >= b) {
b *= 2;
} else if (b >= c)
c *= 2;
else
break;
}
if (... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 304,775 | 304,774 | u327240208 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using P = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
bool result = false;
for (int i = 0; i < k; i++) {
for (int j = 0; j < k; j++) {
int tmp_b = b;
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using P = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
bool result = false;
for (int i = 0; i <= k; i++) {
for (int j = 0; j <= k; j++) {
int tmp_b = b;
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change"
] | 304,778 | 304,779 | u881071954 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using P = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
bool result = false;
for (int i = 0; i < k; i++) {
for (int j = 0; j < k; j++) {
int tmp_b = b;
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using P = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
bool result = false;
for (int i = 0; i <= k; i++) {
for (int j = 0; j <= k; j++) {
int tmp_b = b;
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change"
] | 304,780 | 304,779 | u881071954 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using P = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
bool result = false;
for (int i = 0; i < k; i++) {
for (int j = 0; j < k; j++) {
int tmp_b = b;
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using P = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
bool result = false;
for (int i = 0; i <= k; i++) {
for (int j = 0; j <= k; j++) {
int tmp_b = b;
... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change"
] | 304,781 | 304,779 | u881071954 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K;
cin >> A >> B >> C >> K;
int cnt = 0;
while (A > B) {
B *= 2;
cnt++;
if (cnt >= K) {
cout << "No" << endl;
return 0;
}
}
while (B > C) {
C *= 2;
cnt++;
if (cnt >= K) {
cout << "No" <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K;
cin >> A >> B >> C >> K;
int cnt = 0;
while (A >= B) {
B *= 2;
cnt++;
if (cnt > K) {
cout << "No" << endl;
return 0;
}
}
while (B >= C) {
C *= 2;
cnt++;
if (cnt > K) {
cout << "No" <<... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"control_flow.branch.if.condition.change"
] | 304,788 | 304,789 | u038260095 | cpp |
p02601 | #include <bits/stdc++.h>
typedef long long int lli;
using namespace std;
#define MOD 1000000007
#define MAX 5000005
#define endl "\n"
string in;
lli n;
lli md[55][55];
string out;
long long binpow(long long a, long long b) {
long long res = 1;
while (b > 0) {
if (b & 1)
res = res * a;
a = a * a;
b... | #include <bits/stdc++.h>
typedef long long int lli;
using namespace std;
#define MOD 1000000007
#define MAX 5000005
#define endl "\n"
string in;
lli n;
lli md[55][55];
string out;
long long binpow(long long a, long long b) {
long long res = 1;
while (b > 0) {
if (b & 1)
res = res * a;
a = a * a;
b... | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,794 | 304,793 | u497600911 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
bool ans;
cin >> a >> b >> c >> k;
for (int i = 0; i < k; i++) {
if (a < b && b < c) {
ans = true;
break;
} else if (a < b && b > c) {
c *= 2;
} else if (a > b && b < c) {
b *= 2;
} else if (a > b... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
bool ans;
cin >> a >> b >> c >> k;
for (int i = 0; i < k; i++) {
if (a < b && b < c) {
ans = true;
break;
} else if (a < b && b >= c) {
c *= 2;
} else if (a >= b && b < c) {
b *= 2;
} else if (a >... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,795 | 304,796 | u047176515 | cpp |
p02601 | #include <bits/stdc++.h>
#define rep(x, n) for (int i = x; i < (n); ++i)
using namespace std;
using ll = long long;
int main(void) {
int a, b, c, k;
cin >> a >> b >> c >> k;
bool res = false;
for (int i = 0; i < k; ++i) {
if (a > b) {
b *= 2;
} else if (b > c) {
c *= 2;
}
if (a <... | #include <bits/stdc++.h>
#define rep(x, n) for (int i = x; i < (n); ++i)
using namespace std;
using ll = long long;
int main(void) {
int a, b, c, k;
cin >> a >> b >> c >> k;
bool res = false;
for (int i = 0; i < k; ++i) {
if (a >= b) {
b *= 2;
} else if (b >= c) {
c *= 2;
}
if (a... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,803 | 304,804 | u738622346 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define inv(name, Type, size) \
vector<Type> name(size); \
for (int index = 0; index < size; index++) \
c... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define inv(name, Type, size) \
vector<Type> name(size); \
for (int index = 0; index < size; index++) \
c... | [
"variable_declaration.type.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,809 | 304,810 | u201514575 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define inv(name, Type, size) \
vector<Type> name(size); \
for (int index = 0; index < size; index++) \
c... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define inv(name, Type, size) \
vector<Type> name(size); \
for (int index = 0; index < size; index++) \
c... | [
"variable_declaration.type.change",
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"control_flow.loop.for.condition.change",
"io.output.change",
"literal.string.change",
"literal.string.case.change"
] | 304,811 | 304,810 | u201514575 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
//#include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
#define fio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | #include <bits/stdc++.h>
using namespace std;
//#include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
#define fio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | [
"control_flow.branch.while.replace.add",
"control_flow.loop.if.replace.remove",
"control_flow.branch.if.condition.change"
] | 304,818 | 304,819 | u170129909 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
int k;
cin >> a >> b >> c >> k;
while (k && b <= a) {
b = b * 2;
k--;
}
while (k && c <= b) {
c = c * 2;
k--;
}
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;
int k;
cin >> a >> b >> c >> k;
while (k && b <= a) {
b = b * 2;
k--;
}
while (k && c <= b) {
c = c * 2;
k--;
}
if (a < b && b < c) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,828 | 304,829 | u635744717 | cpp |
p02601 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
#define rep(i, a, b) for (int i = a; i <= b; ++i)
#defin... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
#define rep(i, a, b) for (int i = a; i <= b; ++i)
#defin... | [
"literal.string.change",
"io.output.change"
] | 304,830 | 304,831 | u856036285 | 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 = b * 2;
} else if (c < b) {
c = c * 2;
}
}
if (c > b && b > a) {
printf("Yes\n");
} else
printf("No\n");
} | #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 = b * 2;
} else if (c <= b) {
c = c * 2;
}
}
if (c > b && b > a) {
printf("Yes\n");
} else
printf("No\n");
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,832 | 304,833 | u671327429 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K;
cin >> A >> B >> C >> K;
while (K > 0) {
if (A >= B) {
B *= 2;
K--;
}
if (B >= C) {
C *= 2;
K--;
}
if (A < B && B < C)
break;
}
if (A < B && B < C)
cout << "Yes" << endl;
else
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K;
cin >> A >> B >> C >> K;
while (K > 0) {
if (A >= B) {
B *= 2;
K--;
continue;
}
if (B >= C) {
C *= 2;
K--;
continue;
}
if (A < B && B < C)
break;
}
if (A < B && B < C)
c... | [] | 304,834 | 304,835 | u239087789 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll mod = 1e9 + 7;
int main() {
int r, g, b, k;
cin >> r >> g >> b >> k;
int cnt = 0;
while (g <= r) {
g *= 2;
cnt++;
}
while (b <= g) {
b *= 2;
cnt++;
}
if (cnt <= k) {
cout << "yes" << endl;
} else {
cout << ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll mod = 1e9 + 7;
int main() {
int r, g, b, k;
cin >> r >> g >> b >> k;
int cnt = 0;
while (g <= r) {
g *= 2;
cnt++;
}
while (b <= g) {
b *= 2;
cnt++;
}
if (cnt <= k) {
cout << "Yes" << endl;
} else {
cout << ... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,848 | 304,849 | u891178744 | cpp |
p02601 | #include <iostream>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (b < a && k > 0) {
b *= 2;
k--;
}
while (c < b && k > 0) {
c *= 2;
k--;
}
if (b > a && c > b) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (b <= a && k > 0) {
b *= 2;
k--;
}
while (c <= b && k > 0) {
c *= 2;
k--;
}
if (b > a && c > b) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 304,855 | 304,856 | u110388719 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
int k;
cin >> a >> b >> c;
cin >> k;
int count = 0;
for (int i = 0; b <= a; i++) {
b *= 2;
count++;
}
int cou = 0;
for (int i = 0; c <= b; i++) {
c *= 2;
cou++;
}
if ((cou + count) > k) {
cout << "No" <... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
int k;
cin >> a >> b >> c;
cin >> k;
int count = 0;
for (int i = 0; b <= a; i++) {
b *= 2;
count++;
}
int cou = 0;
for (int i = 0; c <= b; i++) {
c *= 2;
cou++;
}
if ((cou + count) > k) {
cout << "No" <... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 304,857 | 304,858 | u684590300 | cpp |
p02601 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
for (int i = 0; i < k; i++) {
if (b < a)
b = b * 2;
else
c = c * 2;
}
string s = "Yes", t = "No";
if (a < b && b < c)
cout << s;
else
cout << t;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
for (int i = 0; i < k; i++) {
if (b <= a)
b = b * 2;
else
c = c * 2;
}
string s = "Yes", t = "No";
if (a < b && b < c)
cout << s;
else
cout << t;
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,865 | 304,866 | u011837431 | cpp |
p02601 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define vi vector<int>
#define all(x) (x).begin(), (x).end()
#define INF (1 << 30) - 1
using ll = long long;
using namespace std;
template <class T> bool chmax(T &a, const T &b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <c... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define vi vector<int>
#define all(x) (x).begin(), (x).end()
#define INF (1 << 30) - 1
using ll = long long;
using namespace std;
template <class T> bool chmax(T &a, const T &b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <c... | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"control_flow.branch.if.condition.change"
] | 304,871 | 304,872 | u667375816 | cpp |
p02601 | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
int k;
scanf("%d", &k);
if (a <= b && b <= c) {
printf("Yes");
} else {
while (k--) {
if (a >= b) {
b = b * 2;
} else if (b >= c) {
c = c * 2;
}
}
if (a <= b && b <= c) {
print... | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
int k;
scanf("%d", &k);
if (a < b && b < c) {
printf("Yes");
} else {
while (k--) {
if (a >= b) {
b = b * 2;
} else if (b >= c) {
c = c * 2;
}
}
if (a < b && b < c) {
printf("Y... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,875 | 304,876 | u880567713 | cpp |
p02601 |
#include <algorithm>
#include <iomanip> // std::setprecision()
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
using ll = long long;
#define rep(i, a, b) for (int i = (a); i < (b); i++)
#define YES cout << "YES" << endl;
... |
#include <algorithm>
#include <iomanip> // std::setprecision()
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
using ll = long long;
#define rep(i, a, b) for (int i = (a); i < (b); i++)
#define YES cout << "YES" << endl;
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 304,880 | 304,881 | u607564800 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.