buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
#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;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 103 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int ctr = sc.nextInt();
while (ctr > 0) {
if (b < a) {
b *= 2;
} else if (c < b) {
... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int ctr = sc.nextInt();
while (ctr > 0) {
if (b <= a) {
b *= 2;
} else if (c <= b) {
... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 19], ["-", 0, 57, 75, 57, 15, 15, 0, 16, 17, 18], ["+", 0, 57, 75, 57, 15, 15, 0, 16, 17, 19]] | 3 | 144 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int aR = sc.nextInt();
int bG = sc.nextInt();
int cB = sc.nextInt();
int k = sc.nextInt();
for (int i = 0; i < k; i++) {
if (aR > bG) {
bG = bG * 2;
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int aR = sc.nextInt();
int bG = sc.nextInt();
int cB = sc.nextInt();
int k = sc.nextInt();
for (int i = 0; i < k; i++) {
if (aR >= bG) {
bG = bG * 2;
... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 20]] | 3 | 144 |
#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... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]] | 1 | 134 |
#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;
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 221 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K, count = 0;
cin >> A >> B >> C >> K;
while (B < A) {
B *= 2;
count++;
}
while (C < B) {
C *= 2;
count++;
}
if (count <= K)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K, count = 0;
cin >> A >> B >> C >> K;
while (B <= A) {
B *= 2;
count++;
}
while (C <= B) {
C *= 2;
count++;
}
if (count <= K)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [["-", 8, 9, 0, 52, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 52, 15, 339, 51, 16, 17, 19]] | 1 | 91 |
import sys
a, b, c = map(int, input().split())
k = int(input())
while True:
if b <= a:
b = b*2
k += -1
if k == 0:
print('No')
sys.exit()
else:
break
while True:
if c <= b:
c = c*2
k += -1
if k == 0:
print('No')
... | import sys
a, b, c = map(int, input().split())
k = int(input())
while True:
if b <= a:
b = b*2
k += -1
if k < 0:
print('No')
sys.exit()
else:
break
while True:
if c <= b:
c = c*2
k += -1
if k < 0:
print('No')
... | [["-", 0, 57, 64, 196, 0, 57, 15, 666, 667, 60], ["+", 0, 57, 64, 196, 0, 57, 15, 666, 667, 18]] | 5 | 106 |
#include <algorithm>
#include <iostream>
using namespace std;
bool comp(int a, int b) { return (a < b); }
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (k > 0) {
if (a > b) {
b = b * 2;
} else if (b > c) {
c *= 2;
} else {
cout << "Yes";
return 0;
}
k--... | #include <algorithm>
#include <iostream>
using namespace std;
bool comp(int a, int b) { return (a < b); }
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (k > 0) {
if (a >= b) {
b = b * 2;
} else if (b >= c) {
c *= 2;
} else {
cout << "Yes";
return 0;
}
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 129 |
#include <bits/stdc++.h>
using namespace std;
#define pi 2 * asin(1.0)
// template functions
/////////////////////////
long Comb(long N, long M) { // nCm
long ans = 1;
for (long i = N; i > N - M; i--) {
ans = ans * i;
}
for (long i = M; i > 0; i--) {
ans = ans / i;
}
return ans;
}
long Perm(long N,... | #include <bits/stdc++.h>
using namespace std;
#define pi 2 * asin(1.0)
// template functions
/////////////////////////
long Comb(long N, long M) { // nCm
long ans = 1;
for (long i = N; i > N - M; i--) {
ans = ans * i;
}
for (long i = M; i > 0; i--) {
ans = ans / i;
}
return ans;
}
long Perm(long N,... | [["-", 0, 52, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 52, 15, 339, 51, 16, 31, 16, 17, 19]] | 1 | 222 |
#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 (C <= A) {
C *= 2;
} else {
B *= 2;
}
}
if (A < B && B < C) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
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 *= 2;
} else {
C *= 2;
}
}
if (A < B && B < C) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["-", 0, 57, 64, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 31, 22], ["-", 75, 76, 0, 9, 0, 1, 0, 11, 31, 22], ["+", 75, 76, 0, 9, 0, 1, 0, 11, 31, 22]] | 1 | 102 |
a,b,c = map(int, input().split())
k = int(input())
for i in range(k):
if b<a:
b*=2
else:
c*=2
if a<b<c:
print("Yes")
else:
print("No") | a,b,c = map(int, input().split())
k = int(input())
for i in range(k):
if b<=a:
b*=2
else:
c*=2
if a<b<c:
print("Yes")
else:
print("No") | [["-", 0, 7, 8, 196, 0, 57, 15, 666, 667, 18], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 667, 19]] | 5 | 68 |
A, B, C = map(int,(input().split()))
K = int(input())
for kkk in range(0, K):
if B < A:
B *= 2
if C < B:
C *= 2
if A < B and B < C:
print('Yes')
else:
print('No') | A, B, C = map(int,(input().split()))
K = int(input())
for kkk in range(0, K):
if B <= A:
B *= 2
elif C <= B:
C *= 2
if A < B and B < C:
print('Yes')
else:
print('No') | [["-", 0, 7, 8, 196, 0, 57, 15, 666, 667, 18], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 667, 19], ["-", 0, 656, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 0, 7, 8, 196, 0, 57, 75, 665, 0, 683], ["+", 8, 196, 0, 57, 75, 665, 15, 666, 667, 19]] | 5 | 77 |
l = list(map(int, input().split()))
K = int(input())
def check(nums):
if nums[0] < nums[1]:
if nums[1] < nums[2]:
print('Yes')
exit(0)
check(l)
for i in range(K):
if l[0] > l[1]:
l[1] *= 2
check(l)
continue
elif l[1] > l[2]:
l[2] *= 2
... | l = list(map(int, input().split()))
K = int(input())
def check(nums):
if nums[0] < nums[1]:
if nums[1] < nums[2]:
print('Yes')
exit(0)
check(l)
for i in range(K):
if l[0] >= l[1]:
l[1] *= 2
check(l)
continue
elif l[1] >= l[2]:
l[2] *= 2
... | [["-", 0, 7, 8, 196, 0, 57, 15, 666, 667, 47], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 667, 20], ["-", 8, 196, 0, 57, 75, 665, 15, 666, 667, 47], ["+", 8, 196, 0, 57, 75, 665, 15, 666, 667, 20]] | 5 | 129 |
a,b,c=map(int,input().split())
k=int(input())
for i in range(k+1):
bb=b*(2**i)
cc=c*(2**(k-i))
if bb > a and cc > b:
print("Yes")
exit()
print("No")
| a,b,c=map(int,input().split())
k=int(input())
for i in range(k+1):
bb=b*(2**i)
cc=c*(2**(k-i))
if bb > a and cc > bb:
print("Yes")
exit()
print("No") | [["-", 8, 196, 0, 57, 15, 679, 12, 666, 0, 22], ["+", 8, 196, 0, 57, 15, 679, 12, 666, 0, 22]] | 5 | 82 |
#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 + 1; i++) {
if (A < B && B < C) {
cout << "Yes" << endl;
break;
} else if (i == K) {
cout << "No" << endl;
} else if (A > B) {
B = B * 2;
} else if (B... | #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 + 1; i++) {
if (A < B && B < C) {
cout << "Yes" << endl;
break;
} else if (i == K) {
cout << "No" << endl;
} else if (A >= B) {
B = B * 2;
} else if (... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 118 |
#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 (b < a) {
b *= 2;
} else {
c *= 2;
}
}
string ans = "No";
if (a < b && b < c) {
ans = "Yes";
}
cout << ans << endl;
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 (b <= a) {
b *= 2;
} else {
c *= 2;
}
}
string ans = "No";
if (a < b && b < c) {
ans = "Yes";
}
cout << ans << endl;
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 100 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K;
cin >> A >> B >> C >> K;
int count = 0;
while (A > B) {
B *= 2;
count++;
}
while (B > C) {
C *= 2;
count++;
}
if (count <= K)
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;
int count = 0;
while (A >= B) {
B *= 2;
count++;
}
while (B >= C) {
C *= 2;
count++;
}
if (count <= K)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["-", 8, 9, 0, 52, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 52, 15, 339, 51, 16, 17, 20]] | 1 | 89 |
#include <iostream>
using namespace std;
int main(void) {
int R = 0;
int G = 0;
int B = 0;
int N = 0;
cin >> R >> G >> B;
cin >> N;
for (int i = 0; i < N; i++) {
if (G < R) {
G = 2 * G;
} else if (B < G)
B = 2 * B;
else
break;
}
if (R < G && G < B)
cout << "Yes";... | #include <iostream>
using namespace std;
int main(void) {
int R = 0;
int G = 0;
int B = 0;
int N = 0;
cin >> R >> G >> B;
cin >> N;
for (int i = 0; i < N; i++) {
if (G <= R) {
G = 2 * G;
} else if (B <= G)
B = 2 * B;
else
break;
}
if (R < G && G < B)
cout << "Yes... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 114 |
#include <bits/stdc++.h>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (b < a && k > 0) {
b *= 2;
k--;
}
while ((c < b || c < a) && k > 0) {
c *= 2;
k--;
}
if (a < b && b < c && k >= 0) {
cout ... | #include <bits/stdc++.h>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (b <= a && k > 0) {
b *= 2;
k--;
}
while ((c <= b || c <= a) && k > 0) {
c *= 2;
k--;
}
if (a < b && b < c && k >= 0) {
co... | [["-", 0, 52, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 52, 15, 339, 51, 16, 31, 16, 17, 19], ["-", 51, 16, 31, 23, 0, 16, 31, 16, 17, 18], ["+", 51, 16, 31, 23, 0, 16, 31, 16, 17, 19], ["-", 51, 16, 31, 23, 0, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 23, 0, 16, 12, 16, 17, 19]] | 1 | 122 |
#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 *= 2;
} else if (b > c) {
c *= 2;
}
}
if ((a < b) && (b < c)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
r... | #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 *= 2;
} else if (b >= c) {
c *= 2;
}
}
if ((a < b) && (b < c)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 112 |
#include <bits/stdc++.h>
using namespace std;
int A, B, C, K;
int main() {
cin >> A >> B >> C;
cin >> K;
for (int i = 0; i < K; i++) {
if (A > B) {
B = B * 2;
continue;
}
if (B > C) {
C = C * 2;
continue;
}
}
if ((A < B) && (B < C)) {
cout << "Yes" << endl;
} e... | #include <bits/stdc++.h>
using namespace std;
int A, B, C, K;
int main() {
cin >> A >> B >> C;
cin >> K;
for (int i = 0; i < K; i++) {
if (A >= B) {
B = B * 2;
continue;
}
if (B >= C) {
C = C * 2;
continue;
}
}
if ((A < B) && (B < C)) {
cout << "Yes" << endl;
}... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 119 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <s... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <s... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 332 |
import java.io.*;
import java.lang.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastReader sc = new FastReader(inputStream);
PrintWriter w = new PrintWriter(outputStr... | import java.io.*;
import java.lang.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastReader sc = new FastReader(inputStream);
PrintWriter w = new PrintWriter(outputStr... | [["-", 0, 52, 15, 15, 0, 16, 31, 16, 17, 47], ["+", 0, 52, 15, 15, 0, 16, 31, 16, 17, 20], ["-", 0, 52, 15, 15, 0, 16, 12, 16, 17, 20], ["+", 0, 52, 15, 15, 0, 16, 12, 16, 17, 47], ["-", 0, 52, 15, 15, 0, 16, 31, 16, 17, 18], ["+", 0, 52, 15, 15, 0, 16, 31, 16, 17, 19]] | 3 | 950 |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
int a, b, c, k, i;
// int n=0,i=0,d=0,x=1,y=1,z=1,m=0;//a[200000],j=0;
// char s[200000];
scanf("%d %d %d\n", &a, &b, &c);
scanf("%d", &k);
// printf("%d\n",x);
for (i = 0; i < k; i++) {
if (a >= b)
b = b... | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
int a, b, c, k, i;
// int n=0,i=0,d=0,x=1,y=1,z=1,m=0;//a[200000],j=0;
// char s[200000];
scanf("%d %d %d\n", &a, &b, &c);
scanf("%d", &k);
// printf("%d %d %d %d\n",a,b,c,k);
for (i = 0; i < k; i++) {
if (a >=... | [["+", 0, 7, 8, 9, 0, 57, 64, 9, 0, 45], ["+", 0, 7, 8, 9, 0, 57, 64, 9, 0, 46], ["-", 0, 57, 15, 23, 0, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 17, 19], ["+", 0, 57, 75, 76, 0, 57, 64, 9, 0, 45], ["+", 0, 57, 75, 76, 0, 57, 64, 9, 0, 46]] | 0 | 129 |
# -*- coding: utf-8 -*-
a, b, c = map(int, input().split())
k = int(input())
while a > b and k > 0:
b *= 2
k -= 1
while b > c and k > 0:
c *= 2
k -= 1
if a < b < c and k >= 0:
print('Yes')
else:
print('No')
| # -*- coding: utf-8 -*-
a, b, c = map(int, input().split())
k = int(input())
while a >= b and k > 0:
b *= 2
k -= 1
while b >= c and k > 0:
c *= 2
k -= 1
if a < b < c and k >= 0:
print('Yes')
else:
print('No')
| [["-", 0, 656, 0, 52, 15, 679, 31, 666, 667, 47], ["+", 0, 656, 0, 52, 15, 679, 31, 666, 667, 20]] | 5 | 82 |
/***
* When I wrote this
* only God & I understood
* what I was doing
* Now, God only knows
/***/
#include <algorithm>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <string>
typedef long long ll;
const int mod = 1e9 + 7;
using namespace std;
ll gcd(ll a, ll b) { retu... | /***
* When I wrote this
* only God & I understood
* what I was doing
* Now, God only knows
/***/
#include <algorithm>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <string>
typedef long long ll;
const int mod = 1e9 + 7;
using namespace std;
ll gcd(ll a, ll b) { retu... | [["-", 0, 52, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 52, 15, 339, 51, 16, 31, 16, 17, 20]] | 1 | 191 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define ll long long
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
string ans = "No";
while (k > 0 && a > b) {
b *= 2;
k--;
}
while (k > 0 && b > c) {
c *= 2;
k--;
}
if (a < b && b < c ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define ll long long
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
string ans = "No";
while (k > 0 && a >= b) {
b *= 2;
k--;
}
while (k > 0 && b >= c) {
c *= 2;
k--;
}
if (a < b && b < ... | [["-", 0, 52, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 52, 15, 339, 51, 16, 12, 16, 17, 20]] | 1 | 116 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
string ans;
while (k--) {
if (c < a || c < b)
c = c * 2;
else if (b < a)
b = b * 2;
else
c = c * b;
}
if (c > b && b > a)
cout << "Yes";
else
cout << "No";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
string ans;
while (k--) {
if (c <= b)
c = c * 2;
else if (b <= a)
b = b * 2;
else
c = c * 2;
}
if (c > b && b > a)
cout << "Yes";
else
cout << "No";
}
| [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17... | 1 | 100 |
#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 (b < a && b < c) {
b = b * 2;
} else {
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;
for (int i = 0; i < k; i++) {
if (b < c && (b * 2) < c) {
b = b * 2;
} else {
c = c * 2;
}
}
if (a < b && b < c) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 15, 339, 51, 16, 12, 16, 31, 23, 0, 24], ["+", 51, 16, 12, 16, 31, 23, 0, 16, 17, 48], ["+", 51, 16, 12, 16, 31, 23, 0, 16, 12, 13], ["+", 15, 339, 51, 16, 12, 16, 31, 23, 0, 25]] | 1 | 105 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define contains(v, t) (find(v.begin(), v.end(), t) != v.end())
#define MOD 1000000007
using ll = long long;
using ull = unsigned long long;
using Pii = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define contains(v, t) (find(v.begin(), v.end(), t) != v.end())
#define MOD 1000000007
using ll = long long;
using ull = unsigned long long;
using Pii = pair<int, int>;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> ... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 152], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47]] | 1 | 184 |
A,B,C = map(int,input().split())
K = int(input())
a,b,c = A,B,C
n = 0
while a > b:
b *= 2
n += 1
if n > K:
print("No")
exit()
while b > c:
c *= 2
n += 1
if n > K:
print("No")
exit()
print("Yes")
| A,B,C = map(int,input().split())
K = int(input())
a,b,c = A,B,C
n = 0
while a >= b:
b *= 2
n += 1
if n > K:
print("No")
exit()
while b >= c:
c *= 2
n += 1
if n > K:
print("No")
exit()
print("Yes")
| [["-", 36, 36, 0, 656, 0, 52, 15, 666, 667, 47], ["+", 36, 36, 0, 656, 0, 52, 15, 666, 667, 20]] | 5 | 96 |
a,b,c=map(int,input().split())
k=int(input())
d=0
for i in range(k):
if ( a > b):
b=b*2
continue
elif ( b >c):
c=c*2
continue
else:
break
if (a<b and b<c):
print("Yes")
else:
print("No") | a,b,c=map(int,input().split())
k=int(input())
for i in range(k):
if ( a >= b):
b=b*2
continue
elif ( b >= c ):
c=c*2
continue
else:
break
if (a<b and b<c):
print("Yes")
else:
print("No") | [["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["-", 36, 36, 0, 656, 0, 1, 0, 662, 0, 32], ["-", 36, 36, 0, 656, 0, 1, 0, 662, 12, 612], ["-", 8, 196, 0, 57, 15, 23, 0, 666, 667, 47], ["+", 8, 196, 0, 57, 15, 23, 0, 666, 667, 20], ["-", 0, 57, 75, 665, 15, 23, 0, 666, 667, 47], ["+", 0, 57, 75, 665, 15, 23, 0, 666, 667,... | 5 | 91 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
int oper = 0, i, j;
if (a >= b) {
for (i = b; i <= a;) {
i = i * 2;
++oper;
}
b = i;
}
if (b >= c) {
for (j = c; j <= b;) {
j = j * 2;
++oper;
}
c = j;
}
i... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
int oper = 0, i, j;
if (a >= b) {
for (i = b; i <= a;) {
i = i * 2;
++oper;
}
b = i;
}
if (b >= c) {
for (j = c; j <= b;) {
j = j * 2;
++oper;
}
c = j;
}
i... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 132 |
[r, g, b] = map(int,input().split(' '))
K = int(input())
loop = 1
flag = False
while loop <= K:
if b <= r or b <= g:
b*=2
loop += 1
continue
if g <= r:
g*=2
loop += 1
continue
if r < g < b:
flag = True
break
loop += 1
if flag:
print('Yes')
else:
print('No') | [r, g, b] = map(int,input().split(' '))
K = int(input())
loop = 1
flag = False
while loop <= K+1:
if b <= r or b <= g:
b*=2
loop += 1
continue
if g <= r:
g*=2
loop += 1
continue
if r < g < b:
flag = True
break
loop += 1
if flag:
print('Yes')
else:
print('No') | [["+", 0, 656, 0, 52, 15, 666, 0, 657, 17, 72], ["+", 0, 656, 0, 52, 15, 666, 0, 657, 12, 612]] | 5 | 101 |
#include <cassert>
#include <cctype>
#include <cfloat>
#include <climits>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#if __cplusplus >= 201103L
#include <cfenv>
#include <cinttypes>
#include <cstdi... | #include <cassert>
#include <cctype>
#include <cfloat>
#include <climits>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#if __cplusplus >= 201103L
#include <cfenv>
#include <cinttypes>
#include <cstdi... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 363 |
a,b,c=map(int,input().split())
k=int(input())
for _ in range(k):
if a<b<c:
print('Yes')
exit()
elif a>b:
b=b*2
else:
c=c*2
if a<b<c:
print('Yes')
else:
print('No') | a,b,c=map(int,input().split())
k=int(input())
for _ in range(k):
if a<b<c:
print('Yes')
exit()
elif a>=b:
b=b*2
else:
c=c*2
if a<b<c:
print('Yes')
else:
print('No') | [["-", 8, 196, 0, 57, 75, 665, 15, 666, 667, 47], ["+", 8, 196, 0, 57, 75, 665, 15, 666, 667, 20]] | 5 | 88 |
#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 >> b >> c >> d;
for (int i = 0; i < d; i++) {
if (a > b) {
b = b * 2;
} else if (b > c) {
c = c * 2;
} else... | #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 >> b >> c >> d;
for (int i = 0; i < d; i++) {
if (a >= b) {
b = b * 2;
} else if (b >= c) {
c = c * 2;
} el... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 136 |
a,b,c=map(int,input().split())
k=int(input())
cnt=0
for i in range(k):
b*=2
cnt+=1
for i in range(k-cnt):
c*=2
if a<b<c:
print("Yes")
else:
print("No") | a,b,c=map(int,input().split())
k=int(input())
cnt=0
for i in range(k):
if b>a:
break
b*=2
cnt+=1
for i in range(k-cnt):
c*=2
if a<b<c:
print("Yes")
else:
print("No") | [["+", 0, 656, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 0, 22], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 667, 47], ["+", 0, 656, 0, 7, 8, 196, 0, 57, 0, 102], ["+", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94]] | 5 | 77 |
#include <stdio.h>
int main(void) {
int a, b, c, k;
int a2, b2, c2;
int i;
scanf("%d %d %d %d", &a, &b, &c, &k);
b2 = b;
c2 = c;
for (i = 0; i < k; i++) {
if (b2 < a) {
b2 *= 2;
} else {
c2 *= 2;
}
}
if (a < b2 && b2 < c2) {
printf("Yes");
} else {
printf("No");
... | #include <stdio.h>
int main(void) {
int a, b, c, k;
int a2, b2, c2;
int i;
scanf("%d %d %d %d", &a, &b, &c, &k);
b2 = b;
c2 = c;
for (i = 0; i < k; i++) {
if (b2 <= a) {
b2 *= 2;
} else {
c2 *= 2;
}
}
if (a < b2 && b2 < c2) {
printf("Yes");
} else {
printf("No");
... | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 19]] | 0 | 121 |
#include <bits/stdc++.h>
int main() {
using namespace std;
long long a, b, c, k;
cin >> a >> b >> c >> k;
while (--k >= 0) {
if (c < b)
c = c * 2;
else if (b < a)
b = b * 2;
else
break;
}
if (b <= a || c <= b || a >= c)
cout << "No";
if (a < b && b < c)
cout << "Yes";... | #include <bits/stdc++.h>
int main() {
using namespace std;
long long a, b, c, k;
cin >> a >> b >> c >> k;
while (--k >= 0) {
if (c <= b)
c = c * 2;
else if (b <= a)
b = b * 2;
else
break;
}
if (b <= a || c <= b || a >= c)
cout << "No";
if (a < b && b < c)
cout << "Yes... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 108 |
// ¯\_(ツ)_/¯
//#pragma GCC optimize("Ofast")
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mma,ava,tune=native")
//#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define sz(a) ((int)(a).size())
#define all(a) (a).begin(), ... | // ¯\_(ツ)_/¯
//#pragma GCC optimize("Ofast")
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mma,ava,tune=native")
//#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define sz(a) ((int)(a).size())
#define all(a) (a).begin(), ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 201 |
#include <stdio.h>
int main(void) {
int a, b, c, k;
scanf("%d %d %d", &a, &b, &c);
scanf("%d", &k);
int i = 0;
while (i < k) {
if (a > b)
b = 2 * b;
else if (b > c)
c = 2 * c;
if (a < b && b < c)
break;
i++;
}
if (i == k)
printf("No\n");
else
printf("Yes\n");
... | #include <stdio.h>
int main(void) {
int a, b, c, k;
scanf("%d %d %d", &a, &b, &c);
scanf("%d", &k);
int i = 0;
while (i < k) {
if (a >= b)
b = 2 * b;
else if (b >= c)
c = 2 * c;
if (a < b && b < c)
break;
i++;
}
if (i == k)
printf("No\n");
else
printf("Yes\n")... | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 20], ["-", 75, 76, 0, 57, 15, 23, 0, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 23, 0, 16, 17, 20]] | 0 | 125 |
A,B,C=map(int,input().split())
K=int(input())
for i in range(K):
if A>=B:
B=B*2
M=K-(i+1)
if A<B:
break
C=C*(2**M)
if C>B and A<B:
print('Yes')
else:
print('No') | A,B,C=map(int,input().split())
K=int(input())
M=K
for i in range(K):
if A>=B:
B=B*2
M=K-(i+1)
if A<B:
break
C=C*(2**M)
if C>B and A<B:
print('Yes')
else:
print('No') | [["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 0, 32], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 12, 22]] | 5 | 91 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
for (int i = 1; i <= k; i++) {
if (a > b) {
b *= 2;
continue;
}
if (a < b && b > c) {
c *= 2;
}
}
if (a < b && b < c) {
cout << "Yes" << endl;
} else {
cout << "No" ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
for (int i = 1; i <= k; i++) {
if (a >= b) {
b *= 2;
continue;
}
if (a < b && b >= c) {
c *= 2;
}
}
if (a < b && b < c) {
cout << "Yes" << endl;
} else {
cout << "No... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 20]] | 1 | 108 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int A;
int B;
int C;
int K;
int p;
int r;
cin >> A >> B >> C;
cin >> K;
p = 0;
for (int i = 0; i < K + 1; i++) {
if (A < B)
break;
B = B + B;
p++;
}
if (p > K) {
cout << "No" << endl;
return 0;
}
r = 0;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A;
int B;
int C;
int K;
int p;
int r;
cin >> A >> B >> C;
cin >> K;
p = 0;
for (int i = 0; i < K + 1; i++) {
if (A < B)
break;
B = B + B;
p++;
}
if (p > K) {
cout << "No" << endl;
return 0;
}
r = 0;
... | [["+", 8, 9, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 9, 0, 7, 15, 16, 12, 16, 12, 13]] | 1 | 173 |
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int A, B, C, K;
cin >> A >> B >> C;
cin >> K;
while (K > 0) {
if (A > B) {
B *= 2;
K--;
continue;
}
C *= 2;
K--;
}
if (A < B && B < C) {
cout << "Yes" << endl;
} else {
cout << "No" << end... | #include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int A, B, C, K;
cin >> A >> B >> C;
cin >> K;
while (K > 0) {
if (A >= B) {
B *= 2;
K--;
continue;
}
C *= 2;
K--;
}
if (A < B && B < C) {
cout << "Yes" << endl;
} else {
cout << "No" << en... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 107 |
A,B,C = list(map(int,input().split()))
K = int(input())
flag= 0
for i in range(K):
if A>=B:
B *=2
if C <= B:
C *=2
if C >B and B>A:
flag = 1
break
if flag == 0:
print("No")
else:
print("Yes") | A,B,C = list(map(int,input().split()))
K = int(input())
flag= 0
for i in range(K):
if A>=B:
B *=2
elif C <= B:
C *=2
if C >B and B>A:
flag = 1
break
if flag == 0:
print("No")
else:
print("Yes") | [["-", 0, 656, 0, 7, 8, 196, 0, 57, 0, 121], ["+", 0, 7, 8, 196, 0, 57, 75, 665, 0, 683]] | 5 | 88 |
a,b,c =map(int,input().split())
p=int(input())
cnt=0
for i in range(1,p+1):
for j in range(1,p+1):
for k in range(1,p+1):
if i+j+k==p+3 and a*2**(i-1) < b*2**(j-1) and b*2**(j-1) < c*2**(k-1):
cnt+=1
if cnt >0:
print('Yes')
else:
print('No') | a,b,c =map(int,input().split())
p=int(input())
cnt=0
for i in range(1,p+2):
for j in range(1,p+2):
for k in range(1,p+2):
if i+j+k==p+3 and a*2**(i-1) < b*2**(j-1) and b*2**(j-1) < c*2**(k-1):
cnt+=1
if cnt >0:
print('Yes')
else:
print('No') | [["-", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 138 |
#include <iostream>
int main() {
int a, b, c, k;
std::cin >> a >> b >> c >> k;
for (int i = 0; i < k; ++i) {
if (a > b) {
b = b * 2;
continue;
}
if (b > c) {
c = c * 2;
}
}
int x = b - a;
int y = c - b;
if (x > 0 && y > 0) {
std::cout << "Yes" << std::endl;
} els... | #include <iostream>
int main() {
int a, b, c, k;
std::cin >> a >> b >> c >> k;
for (int i = 0; i < k; ++i) {
if (a >= b) {
b = b * 2;
continue;
}
if (b >= c) {
c = c * 2;
}
}
int x = b - a;
int y = c - b;
if (x > 0 && y > 0) {
std::cout << "Yes" << std::endl;
} e... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 128 |
def resolve():
A, B, C = list(map(int, input().split()))
K = int(input())
cnt = 0
while cnt < K:
if A >= B:
B *= 2
cnt += 1
if B >= C:
C *= 2
cnt += 1
cnt += 1
if A < B < C:
print('Yes')
else:
print('No')
... | def resolve():
A, B, C = list(map(int, input().split()))
K = int(input())
cnt = 0
while cnt < K:
if A >= B:
B *= 2
cnt += 1
continue
if B >= C:
C *= 2
cnt += 1
continue
cnt += 1
if A < B < C:
prin... | [["+", 8, 196, 0, 57, 64, 196, 0, 116, 0, 117]] | 5 | 92 |
// In the Name of God
/*#include<bits/stdc++.h>
#define test(t) int t; cin>>t; while(t--)
#define REP(i,n) for(int i=0;i<(n);i++)
#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define FORE(i,a,b) for(int i=(a);i<=(b);i++)
#define FORD(i,a,b) for(int i=(a);i>=(b);i--)
#define ll long long int
#define em emplace_back
#def... | // In the Name of God
#include <bits/stdc++.h>
#define test(t) \
int t; \
cin >> t; \
while (t--)
#define REP(i, ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22]] | 1 | 245 |
#include <iostream>
using namespace std;
int main() {
int r, g, b, k;
cin >> r >> g >> b;
cin >> k;
while (g < r && k > 0) {
g *= 2;
k--;
}
while (b < g && k > 0) {
b *= 2;
k--;
}
if (b > g && g > r)
cout << " Yes " << endl;
else {
cout << " No " << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int r, g, b, k;
cin >> r >> g >> b;
cin >> k;
while (g <= r && k > 0) {
g *= 2;
k--;
}
while (b <= g && k > 0) {
b *= 2;
k--;
}
if (b > g && g > r)
cout << " Yes " << endl;
else {
cout << " No " << endl;
}
} | [["-", 0, 52, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 52, 15, 339, 51, 16, 31, 16, 17, 19]] | 1 | 100 |
a, b, c = map(int, input().split())
k = int(input())
for i in range(k):
if a > b:
b = b*2
else:
c = c*2
if a < b and b < c:
print("Yes")
else:
print("No")
| a, b, c = map(int, input().split())
k = int(input())
for i in range(k):
if a >= b:
b = b*2
else:
c = c*2
if a < b and b < c:
print("Yes")
else:
print("No")
| [["-", 0, 7, 8, 196, 0, 57, 15, 666, 667, 47], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 667, 20]] | 5 | 74 |
a,b,c=(int(x) for x in input().split())
k=int(input())
flag=True
for i in range(k+1):
if a<2**(k-i)*b and 2**(k-i)*b<2**i*c:
print("Yes",i)
exit()
flag=False
break
if flag:
print("No") | a,b,c=(int(x) for x in input().split())
k=int(input())
flag=True
for i in range(k+1):
if a<2**(k-i)*b and 2**(k-i)*b<2**i*c:
print("Yes")
exit()
flag=False
break
if flag:
print("No") | [["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 21], ["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 22]] | 5 | 96 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
while (k--) {
if (b < a)
b = b * 2;
else
... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
while (k--) {
if (b <= a)
b = b * 2;
else... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 109 |
#include <bits/stdc++.h>
#define INF 0x3f3f3f3f
#define rep(i, a, n) for (int i = (a); i < (n); i++)
#define per(i, a, n) for (int i = (a); i > (n); i--)
typedef long long ll;
const int maxn = 2e5 + 5;
const int mod = 1e9 + 7;
using namespace std;
void solve() {
ll a, b, c, k;
cin >> a >> b >> c >> k;
while ((a ... | #include <bits/stdc++.h>
#define INF 0x3f3f3f3f
#define rep(i, a, n) for (int i = (a); i < (n); i++)
#define per(i, a, n) for (int i = (a); i > (n); i--)
typedef long long ll;
const int maxn = 2e5 + 5;
const int mod = 1e9 + 7;
using namespace std;
void solve() {
ll a, b, c, k;
cin >> a >> b >> c >> k;
while ((a ... | [["-", 51, 16, 31, 23, 0, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 23, 0, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 23, 0, 16, 12, 16, 17, 47], ["+", 51, 16, 31, 23, 0, 16, 12, 16, 17, 20], ["+", 0, 52, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 52, 15, 339, 51, 16, 12, 16, 12, 13], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 4... | 1 | 205 |
#include <bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp>
//#include<ext/pb_ds/tree_policy.hpp>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stdio.h>
#include <string>
#include <vector>
#define READ freopen("in.txt", "r"... | #include <bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp>
//#include<ext/pb_ds/tree_policy.hpp>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stdio.h>
#include <string>
#include <vector>
#define READ freopen("in.txt", "r"... | [["-", 0, 52, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 52, 15, 339, 51, 16, 12, 16, 17, 20]] | 1 | 207 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
/// BISMILLAHIR RAHMANIR RAHIM
int main() {
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
if (b > a && c > b) {
cout << "Yes" << endl;
return 0;
}
while (a > b && k > 0) {
b = b * 2;
k--;
}
while (b > c && k >... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
/// BISMILLAHIR RAHMANIR RAHIM
int main() {
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
if (b > a && c > b) {
cout << "Yes" << endl;
return 0;
}
while (a >= b && k > 0) {
b = b * 2;
k--;
}
while (b >= c && k... | [["-", 0, 52, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 52, 15, 339, 51, 16, 31, 16, 17, 20]] | 1 | 135 |
#include <iostream>
int main() {
std::cin.tie(0);
std::ios::sync_with_stdio(false);
int A, B, C;
std::cin >> A >> B >> C;
int K;
std::cin >> K;
std::string ans = "No";
while (K > 0) {
if (B < A) {
B *= 2;
} else if (C < B) {
C *= 2;
}
--K;
}
if (C > B && B > A) {
an... | #include <iostream>
int main() {
std::cin.tie(0);
std::ios::sync_with_stdio(false);
int A, B, C;
std::cin >> A >> B >> C;
int K;
std::cin >> K;
std::string ans = "No";
while (K > 0) {
if (B <= A) {
B *= 2;
} else if (C <= B) {
C *= 2;
}
--K;
}
if (C > B && B > A) {
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 124 |
#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 (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;
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" << endl;
} else {
cout << "No" << endl;
}
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 103 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int K;
cin >> K;
bool ans = false;
rep(i, K) {
if (A > B)
B *= 2;
else if (B > C)
C *= 2;
if (A <= B && B <= C) {
ans = true;
bre... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int K;
cin >> K;
bool ans = false;
rep(i, K) {
if (A >= B)
B *= 2;
else if (B >= C)
C *= 2;
if (A < B && B < C) {
ans = true;
bre... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17,... | 1 | 118 |
#include <cstdio>
int main() {
int a, b, c, k;
scanf("%d%d%d%d", &a, &b, &c, &k);
int op = 0;
while (a >= b) {
b *= 2;
++op;
}
while (b >= c) {
c *= 2;
++op;
}
if (op <= k)
printf("YES\n");
else
printf("NO\n");
return 0;
}
| #include <cstdio>
int main() {
int a, b, c, k;
scanf("%d%d%d%d", &a, &b, &c, &k);
int op = 0;
while (a >= b) {
b *= 2;
++op;
}
while (b >= c) {
c *= 2;
++op;
}
if (op <= k)
printf("Yes\n");
else
printf("No\n");
return 0;
}
| [["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 97 |
#include <bits/stdc++.h>
using namespace std;
///******************************** C o n t a i n e r
///********************************///
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef vector<pii> vii;... | #include <bits/stdc++.h>
using namespace std;
///******************************** C o n t a i n e r
///********************************///
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef vector<pii> vii;... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 707 |
#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 (k--) {
if (b <= a) {
b = b * 2;
} else if (c <= b) {
c = c * 2;
}
}
if (c > b && b > a) {
cout << "YES" << endl;
} else
cout << "NO" << endl... | #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 (k--) {
if (b <= a) {
b = b * 2;
} else if (c <= b) {
c = c * 2;
}
}
if (c > b && b > a) {
cout << "Yes" << endl;
} else
cout << "No" << endl... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 99 |
#include "bits/stdc++.h"
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
void Main() {
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
rep(i, k) {
if (b < a) {
b = 2 * b;
} else if (c < b) {
c = 2 * c;
}
}
if (... | #include "bits/stdc++.h"
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
void Main() {
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
rep(i, k) {
if (b <= a) {
b = 2 * b;
} else if (c <= b) {
c = 2 * c;
}
}
if... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 174 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
ll mod = 1e9 + 7;
int main() {
/* Faster input ouput */
// ios_base::sync_with_stdio(false);
// cin.tie(NULL);
// cout.tie(NULL);
/* To read input from a file and output to a file */
// freopen("input.txt","r",stdin);
// freopen("ou... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
ll mod = 1e9 + 7;
int main() {
/* Faster input ouput */
// ios_base::sync_with_stdio(false);
// cin.tie(NULL);
// cout.tie(NULL);
/* To read input from a file and output to a file */
// freopen("input.txt","r",stdin);
// freopen("ou... | [["+", 0, 1, 0, 11, 12, 16, 12, 2, 63, 22], ["-", 0, 11, 12, 16, 12, 23, 0, 16, 17, 48], ["+", 0, 11, 12, 16, 12, 2, 3, 4, 0, 21]] | 1 | 252 |
[A, B, C] = [int(i) for i in input().split()]
K = int(input())
for i in range(1, K+1):
_B = B * (2 ** i)
if A < _B:
for j in range(1, K+1-i):
_C = C * (2 ** j)
if _B < _C:
print('Yes')
break
else:
continue
break
else:
print('No') | [A, B, C] = [int(i) for i in input().split()]
K = int(input())
for i in range(K+1):
_B = B * (2 ** i)
if A < _B:
for j in range(K+1-i):
_C = C * (2 ** j)
if _B < _C:
print('Yes')
break
else:
continue
break
else:
print('No') | [["-", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612], ["-", 0, 656, 0, 7, 12, 652, 3, 4, 0, 21], ["-", 64, 196, 0, 7, 12, 652, 3, 4, 0, 612], ["-", 64, 196, 0, 7, 12, 652, 3, 4, 0, 21]] | 5 | 105 |
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <iostream> // cout, endl, cin
... | #include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <iostream> // cout, endl, cin
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 35]] | 1 | 208 |
#include <bits/stdc++.h>
using namespace std;
using p = pair<int, int>;
#define int long long
#define rep(i, N) for (int i = 0; i < N; i++)
signed main() {
int R, G, B, K;
cin >> R >> G >> B >> K;
rep(i, K) {
if (G < R)
G *= 2;
else
B *= 2;
}
if (R < G && G < B)
cout << "Yes" << endl;... | #include <bits/stdc++.h>
using namespace std;
using p = pair<int, int>;
#define int long long
#define rep(i, N) for (int i = 0; i < N; i++)
signed main() {
int R, G, B, K;
cin >> R >> G >> B >> K;
rep(i, K) {
if (G <= R)
G *= 2;
else
B *= 2;
}
if (R < G && G < B)
cout << "Yes" << endl... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 105 |
#include <bits/stdc++.h>
using namespace std;
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
#define deg_to_rad(deg) (((deg) / 360) * 2 * M_PI)
#define rad_to_deg(rad) (((rad) / 2 / M_PI) * 360)
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i < (int)(n); i++)
typ... | #include <bits/stdc++.h>
using namespace std;
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
#define deg_to_rad(deg) (((deg) / 360) * 2 * M_PI)
#define rad_to_deg(rad) (((rad) / 2 / M_PI) * 360)
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i < (int)(n); i++)
typ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 49, 22], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 147], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["-", 0, 52, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 52, 15, 339, 51, 16, 31, 16, 17, 20]] | 1 | 159 |
R,G,B=map(int,input().split())
K=int(input())
#print(R,G,B,K)
for i in range(K):
if(B<=G):
B*=2
if(G<=R):
G*=2
#print(R,G,B,K)
if(R<G and G<B):
print('Yes')
else:
print('No') | R,G,B=map(int,input().split())
K=int(input())
#print(R,G,B,K)
for i in range(K):
#print(R,G,B,K)
if(B<=G):
B*=2
continue
if(G<=R):
G*=2
continue
#print(R,G,B,K)
if(R<G and G<B):
print('Yes')
else:
print('No') | [["+", 8, 196, 0, 57, 64, 196, 0, 116, 0, 117]] | 5 | 81 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
// c>b>a
int k;
cin >> k;
while (b <= a) {
b = b * 2;
k--;
}
while (c <= b) {
c = c * 2;
k--;
}
// cout<<k<<endl;
// cout<<a<<" "<<b<<" "<<c<<endl;
if (k < 0)
cout << "N0" << endl;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
// c>b>a
int k;
cin >> k;
while (b <= a) {
b = b * 2;
k--;
}
while (c <= b) {
c = c * 2;
k--;
}
// cout<<k<<endl;
// cout<<a<<" "<<b<<" "<<c<<endl;
if (k < 0)
cout << "No" << endl;
... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 94 |
#include <bits/stdc++.h>
using namespace std;
#define ioS \
ios::sync_with_stdio(false); \
cin.tie(0);
#define li long int
#define ll long li
#define ull unsigned ll
#define pi pair<int, int>
#define v... | #include <bits/stdc++.h>
using namespace std;
#define ioS \
ios::sync_with_stdio(false); \
cin.tie(0);
#define li long int
#define ll long li
#define ull unsigned ll
#define pi pair<int, int>
#define v... | [["-", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22], ["-", 0, 43, 49, 50, 51, 2, 3, 4, 0, 24], ["-", 49, 50, 51, 2, 3, 4, 0, 16, 31, 22], ["-", 49, 50, 51, 2, 3, 4, 0, 16, 17, 85], ["-", 49, 50, 51, 2, 3, 4, 0, 16, 12, 22], ["-", 0, 43, 49, 50, 51, 2, 3, 4, 0, 25], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13]] | 1 | 175 |
#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 (a >= b) {
b = b * 2;
count++;
}
while (b >= c) {
c *= 2;
count++;
}
if (count > k)
cout << "NO\n";
else
cout << "YES\n";
return 0;
} | #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 (a >= b) {
b = b * 2;
count++;
}
while (b >= c) {
c *= 2;
count++;
}
if (count > k)
cout << "No\n";
else
cout << "Yes\n";
return 0;
} | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 95 |
a,b,c = gets.chomp.split(' ').map(&:to_i)
k = gets.chomp.to_i
k.times do
if (b < a)
b = b*2
next
end
if (c < b)
c = c*2
next
end
if (a < b && b < c)
puts 'Yes'
exit
end
end
puts (a < b && b < c) ? 'Yes' : 'No' | a,b,c = gets.chomp.split(' ').map(&:to_i)
k = gets.chomp.to_i
k.times do
if (b <= a)
b = b*2
next
end
if (c <= b)
c = c*2
next
end
if (a < b && b < c)
puts 'Yes'
exit
end
end
puts (a < b && b < c) ? 'Yes' : 'No' | [["-", 8, 736, 0, 121, 15, 739, 0, 738, 17, 18], ["+", 8, 736, 0, 121, 15, 739, 0, 738, 17, 19]] | 4 | 94 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
// cout << a << b << c << k<< endl;
int count = 0;
while (a > b) {
b *= 2;
count++;
// cout << b << " " << count << endl;
}
while (b > c) {
c *= 2;
count++;
// cout << c << " " << ... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
// cout << a << b << c << k<< endl;
int count = 0;
while (a >= b) {
b *= 2;
count++;
// cout << b << " " << count << endl;
}
while (b >= c) {
c *= 2;
count++;
// cout << c << " " <... | [["-", 8, 9, 0, 52, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 52, 15, 339, 51, 16, 17, 20]] | 1 | 96 |
A,B,C=map(int,input().split())
K=int(input())
for a in range(K):
if A>B:
B*=2
elif B>C:
C*=2
if A<B and B<C:
print("Yes")
else:
print("No") | A,B,C=map(int,input().split())
K=int(input())
for a in range(K):
if A>=B:
B*=2
elif B>=C:
C*=2
if A<B and B<C:
print("Yes")
else:
print("No") | [["-", 0, 7, 8, 196, 0, 57, 15, 666, 667, 47], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 667, 20], ["-", 8, 196, 0, 57, 75, 665, 15, 666, 667, 47], ["+", 8, 196, 0, 57, 75, 665, 15, 666, 667, 20]] | 5 | 73 |
#include <iostream>
using namespace std;
int main() {
int A, B, C, k;
cin >> A >> B >> C >> k;
while (k--) {
if (B < A)
B *= 2;
else if (C < B)
C *= 2;
}
// cout<<A<<B<<C<<endl;
if (B > A && C > B)
cout << "YES";
else
cout << "NO";
}
| #include <iostream>
using namespace std;
int main() {
int A, B, C, k;
cin >> A >> B >> C >> k;
while (k--) {
if (B <= A)
B *= 2;
else if (C <= B)
C *= 2;
}
// cout<<A<<B<<C<<endl;
if (B > A && C > B)
cout << "Yes";
else
cout << "No";
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76... | 1 | 83 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
#define rep(i, n) for (int i = 0; i < (n); i++)
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
bool ok = false;
for (int i = 0; i <= k; i++) {
int d = b;
int e = c;
int j = k - i;
d *= pow(2, i);
e *= pow(2, j);
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long int;
#define rep(i, n) for (int i = 0; i < (n); i++)
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
bool ok = false;
for (int i = 0; i <= k; i++) {
int d = b;
int e = c;
int j = k - i;
d *= pow(2, i);
e *= pow(2, j);
... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 22]] | 1 | 137 |
#include <bits/stdc++.h>
#define rep(i, n) for (int64_t i = 0; i < (int64_t)(n); i++)
#define all(v) v.begin(), v.end()
using ll = long long;
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
rep(i, k) {
if (a > b)
b *= 2;
else if (b > c)
c *= 2;
}
if (a < b && b ... | #include <bits/stdc++.h>
#define rep(i, n) for (int64_t i = 0; i < (int64_t)(n); i++)
#define all(v) v.begin(), v.end()
using ll = long long;
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
rep(i, k) {
if (a >= b)
b *= 2;
else if (b >= c)
c *= 2;
}
if (a < b && ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 103 |
import sys
def handler():
a, b, c = [int(i) for i in input().strip().split()]
bar = int(input().strip())
foo = 0
while b <= a:
b *= 2
foo += 1
while c <= b:
c *= 2
foo += 1
if foo <= bar:
sys.stdout.write('YES\n')
else:
sys.stdout.write('NO\n... | import sys
def handler():
a, b, c = [int(i) for i in input().strip().split()]
bar = int(input().strip())
foo = 0
while b <= a:
b *= 2
foo += 1
while c <= b:
c *= 2
foo += 1
if foo <= bar:
sys.stdout.write('Yes\n')
else:
sys.stdout.write('No\n... | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 0, 652, 3, 4, 0, 557, 0, 6, 0, 44], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 557, 0, 6, 0, 44]] | 5 | 130 |
#include <iostream>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
while (k and b < a) {
k--;
b *= 2;
}
while (k and c < b) {
k--;
c *= 2;
}
if (c > b and b > a)
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 (k and b <= a) {
k--;
b *= 2;
}
while (k and c <= b) {
k--;
c *= 2;
}
if (c > b and b > a)
cout << "Yes";
else
cout << "No";
return 0;
} | [["-", 0, 52, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 52, 15, 339, 51, 16, 12, 16, 17, 19]] | 1 | 91 |
#include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stdio.h>
#include <string>
#include <vector>
#define ll long long
#define IO ... | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stdio.h>
#include <string>
#include <vector>
#define ll long long
#define IO ... | [["-", 0, 52, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 52, 15, 339, 51, 16, 12, 16, 17, 19]] | 1 | 142 |
#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 (C < B)
C *= 2;
if (A < B && B < C)
cout << "Yes";
else
cout << "No";
cout << endl;
} | #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 (C <= B)
C *= 2;
if (A < B && B < C)
cout << "Yes";
else
cout << "No";
cout << endl;
} | [["-", 0, 52, 8, 57, 15, 339, 51, 16, 17, 18], ["+", 0, 52, 8, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 84 |
a,b,c,k=map(int,open(0).read().split())
import sys
count=0
while b<a:
b*=2
count+=1
if count>k:
print('No')
sys.exit()
while c<b:
c*=2
count+=1
if count>k:
print('No')
sys.exit()
print('Yes') | a,b,c,k=map(int,open(0).read().split())
import sys
count=0
while b<=a:
b*=2
count+=1
if count>k:
print('No')
sys.exit()
while c<=b:
c*=2
count+=1
if count>k:
print('No')
sys.exit()
print('Yes') | [["-", 36, 36, 0, 656, 0, 52, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 52, 15, 666, 667, 19]] | 5 | 90 |
def main():
a,b,c=map(int,input().split())
k=int(input())
cnt=0
while cnt < k:
cnt+=1
if a > b: b*=2
elif b > c: c*=2
else:
break
if a < b and b < c: print('Yes')
else: print('No')
return
if __name__=='__main__':
main()
| def main():
a,b,c=map(int,input().split())
k=int(input())
cnt=0
while cnt < k:
cnt+=1
if a >= b: b*=2
elif b >= c: c*=2
else:
break
if a < b and b < c: print('Yes')
else: print('No')
return
if __name__=='__main__':
main()
| [["-", 0, 52, 8, 196, 0, 57, 15, 666, 667, 47], ["+", 0, 52, 8, 196, 0, 57, 15, 666, 667, 20], ["-", 8, 196, 0, 57, 75, 665, 15, 666, 667, 47], ["+", 8, 196, 0, 57, 75, 665, 15, 666, 667, 20]] | 5 | 95 |
#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); ... | [["-", 0, 52, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 52, 15, 339, 51, 16, 31, 16, 17, 19]] | 1 | 573 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, K;
cin >> A >> B >> C >> K;
int count = 0;
while (A >= B) {
B *= 2;
count++;
}
while (B >= C) {
C *= 2;
count++;
}
if (count <= K) {
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;
int count = 0;
while (A >= B) {
B *= 2;
count++;
}
while (B >= C) {
C *= 2;
count++;
}
if (count <= K) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 93 |
#include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> P;
typedef tuple<int, int, int> T;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
rep(i, k) {
if (b < a)
b *= 2;
els... | #include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> P;
typedef tuple<int, int, int> T;
int main() {
int a, b, c, k;
cin >> a >> b >> c >> k;
rep(i, k) {
if (b <= a)
b *= 2;
el... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 122 |
#include <algorithm>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <regex>
#include <set>
#include <stack>
#include <vector>
using namespace std;
#pragma region
#define r... | #include <algorithm>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <random>
#include <regex>
#include <set>
#include <stack>
#include <vector>
using namespace std;
#pragma region
#define r... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 475 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
while (k > 0 && b < a) {
b *= 2;
k--;
}
while (c < b && k > 0) {
c *= 2;
k--;
}
if (c > b && b > a)
cout << "Yes" << endl;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
while (k > 0 && b <= a) {
b *= 2;
k--;
}
while (c <= b && k > 0) {
c *= 2;
k--;
}
if (c > b && b > a)
cout << "Yes" << endl... | [["-", 0, 52, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 52, 15, 339, 51, 16, 12, 16, 17, 19], ["-", 0, 52, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 52, 15, 339, 51, 16, 31, 16, 17, 19]] | 1 | 115 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
for (int i = 0; i < k; i++) {
if (c < b) {
c *= 2;
} else if (a > b) {
b *= 2;
}
}
if (a < b && b < c) {
cout << "... | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a, b, c;
cin >> a >> b >> c;
int k;
cin >> k;
for (int i = 0; i < k; i++) {
if (c <= b) {
c *= 2;
} else if (a >= b) {
b *= 2;
}
}
if (a < b && b < c) {
cout <<... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 119 |
import random as rng
import itertools as it
import collections as col
import heapq as hq
import sys
import copy as cp
sys.setrecursionlimit(10**9)
def dump_impl(*objects):
print(*objects, file=sys.stderr)
def dump_dummy(*objects):
pass
dump = dump_impl if "DEBUG" in sys.argv else dump_dummy
def odd(n): ... | import random as rng
import itertools as it
import collections as col
import heapq as hq
import sys
import copy as cp
sys.setrecursionlimit(10**9)
def dump_impl(*objects):
print(*objects, file=sys.stderr)
def dump_dummy(*objects):
pass
dump = dump_impl if "DEBUG" in sys.argv else dump_dummy
def odd(n): ... | [["+", 0, 7, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 7, 12, 652, 3, 4, 0, 657, 12, 612]] | 5 | 206 |
#include <iostream>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
int x = 0;
while (b < a) {
b *= 2;
x += 1;
}
while (c < b) {
c *= 2;
x += 1;
}
if (x <= k)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, k;
cin >> a >> b >> c;
cin >> k;
int x = 0;
while (b <= a) {
b *= 2;
x += 1;
}
while (c <= b) {
c *= 2;
x += 1;
}
if (x <= k)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 8, 9, 0, 52, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 52, 15, 339, 51, 16, 17, 19]] | 1 | 96 |
a,b,c = [int(num) for num in input().split()]
k = int(input())
operation = 0
while operation < k and b < a:
b *= 2
operation += 1
while operation < k and c < b:
c *= 2
operation += 1
if a < b < c:
print("Yes")
else:
print("No") | a,b,c = [int(num) for num in input().split()]
k = int(input())
operation = 0
while operation < k and b <= a:
b *= 2
operation += 1
while operation < k and c <= b:
c *= 2
operation += 1
if a < b < c:
print("Yes")
else:
print("No") | [["-", 0, 656, 0, 52, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 52, 15, 679, 12, 666, 667, 19]] | 5 | 84 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep2(i, n) for (int i = 1; i <= (n); ++i)
#define all(x) (x).begin(), (x).end()
#define Sort(x) sort((x).begin(), (x).end())
#define Sort2(x) sort((x).begin(), (x).end(), greater<int>())
#define pb push_back
using namespace std;
using ll =... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep2(i, n) for (int i = 1; i <= (n); ++i)
#define all(x) (x).begin(), (x).end()
#define Sort(x) sort((x).begin(), (x).end())
#define Sort2(x) sort((x).begin(), (x).end(), greater<int>())
#define pb push_back
using namespace std;
using ll =... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 169 |
#include <algorithm>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <queue>
#include <stack>
#include <vector>
#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... | #include <algorithm>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <queue>
#include <stack>
#include <vector>
#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... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 153 |
#include <algorithm>
#include <cmath>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define rep(i, a, b) for (int i = (a); i < (b); i++)
#define per(i, a, b) for (int i = (b)-1; i >= (a); i--)
#define pb push_back
#define mp make_pair
#define ... | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define rep(i, a, b) for (int i = (a); i < (b); i++)
#define per(i, a, b) for (int i = (b)-1; i >= (a); i--)
#define pb push_back
#define mp make_pair
#define ... | [["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 1 | 245 |
// Generated at 2020-07-25 20:11:06 UTC+8
// Created by Alphagocc
#include <bits/stdc++.h>
#ifdef USE_PBDS
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/priority_queue.hpp>
#endif
using namespace std;
#define FI __inline__ __attribute__((always_inline))
#define TN typename
#define TP template
class IO {
... | // Generated at 2020-07-25 20:12:52 UTC+8
// Created by Alphagocc
#include <bits/stdc++.h>
#ifdef USE_PBDS
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/priority_queue.hpp>
#endif
using namespace std;
#define FI __inline__ __attribute__((always_inline))
#define TN typename
#define TP template
class IO {
... | [["-", 0, 2, 3, 4, 0, 41, 64, 5, 0, 6], ["+", 0, 2, 3, 4, 0, 41, 64, 5, 0, 6], ["-", 0, 2, 3, 4, 0, 41, 75, 5, 0, 6], ["+", 0, 2, 3, 4, 0, 41, 75, 5, 0, 6]] | 1 | 1,637 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int k = sc.nextInt();
for (int i = 0; i < k; i++) {
if (a > b) {
b = b * 2;
cont... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int k = sc.nextInt();
for (int i = 0; i < k; i++) {
if (a >= b) {
b = b * 2;
con... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 20], ["-", 0, 57, 75, 57, 15, 15, 0, 16, 17, 47], ["+", 0, 57, 75, 57, 15, 15, 0, 16, 17, 20]] | 3 | 155 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.