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, D;
cin >> A >> B >> C >> D;
while (A > 0 && C > 0) {
C = C - B;
if (C == 0) {
break;
}
A = A - D;
if (A == 0) {
break;
}
}
if (A == 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
while (A > 0 && C > 0) {
C = C - B;
if (C <= 0) {
break;
}
A = A - D;
if (A <= 0) {
break;
}
}
if (A <= 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 102 |
import java.io.*;
public class Main {
static int a, b, c, d;
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] in = br.readLine().split(" ");
a = Integer.parseInt(in[0]);
b = Integer.parseInt(in[1]);
... | import java.io.*;
public class Main {
static int a, b, c, d;
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] in = br.readLine().split(" ");
a = Integer.parseInt(in[0]);
b = Integer.parseInt(in[1]);
... | [["+", 0, 52, 8, 196, 0, 1, 0, 27, 0, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 27, 0, 29], ["+", 8, 196, 0, 52, 8, 196, 0, 1, 0, 35]] | 3 | 180 |
from math import ceil
A, B, C, D = map(int, input().split())
Takahashi = ceil(A/D)
Aoki = ceil(C/D)
if Takahashi >= Aoki:
print("Yes")
else:
print("No") | from math import ceil
A, B, C, D = map(int, input().split())
Takahashi = ceil(A/D)
Aoki = ceil(C/B)
if Takahashi >= Aoki:
print("Yes")
else:
print("No") | [["-", 0, 662, 12, 652, 3, 4, 0, 657, 12, 22], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 22]] | 5 | 59 |
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,copy,time
sys.setrecursionlimit(10**8)
input = sys.stdin.readline
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp():
'''
一つの整数
'''
return int(input())
def inpl():
'''
一行に複数の整数
'''
return l... | from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,copy,time
sys.setrecursionlimit(10**8)
input = sys.stdin.readline
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp():
'''
一つの整数
'''
return int(input())
def inpl():
'''
一行に複数の整数
'''
return l... | [["-", 0, 662, 12, 652, 3, 4, 0, 657, 31, 22], ["-", 0, 662, 12, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 22]] | 5 | 168 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
for (int i = 0; i < 200; ++i) {
c -= b;
if (c == 0) {
cout << "Yes" << endl;
break;
}
a -= d;
if (a == 0) {
cout << "No" << endl;
break;
}
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
for (int i = 0; i < 200; ++i) {
c -= b;
if (c <= 0) {
cout << "Yes" << endl;
break;
}
a -= d;
if (a <= 0) {
cout << "No" << endl;
break;
}
}
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 91 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
for (int i = 0;; i++) {
if (i % 2 == 0)
c -= b;
else
a -= d;
if (a < 0) {
cout << "No" << endl;
return 0;
}
if (c < 0) {
cout << "Yes" << endl;
return 0;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
for (int i = 0;; i++) {
if (i % 2 == 0)
c -= b;
else
a -= d;
if (a <= 0) {
cout << "No" << endl;
return 0;
}
if (c <= 0) {
cout << "Yes" << endl;
return 0;
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 102 |
a,b,c,d=map(int,input().split())
while 0<a or 0<c:
c-=b
if c==0:
break
a-=d
if a<=c:
print("No")
else:
print("Yes") | a,b,c,d=map(int,input().split())
while 0<a or 0<c:
c-=b
if c<=0:
break
a-=d
if a<=0:
print("No")
else:
print("Yes") | [["-", 0, 52, 8, 196, 0, 57, 15, 666, 667, 60], ["+", 0, 52, 8, 196, 0, 57, 15, 666, 667, 19], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612]] | 5 | 60 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double a, b, c, d;
cin >> a >> b >> c >> d;
int m = ceil(c / b);
int n = ceil(a / d);
if (m >= n)
cout << "No" << endl;
else
cout << "Yes" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double a, b, c, d;
cin >> a >> b >> c >> d;
int m = ceil(c / b); // q
int n = ceil(a / d); // g
if (m > n)
cout << "No" << endl;
else
cout << "Yes" << endl;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 74 |
#define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <bitset>
#include <deque>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#define ll long long... | #define _CRT_SECURE_NO_WARNINGS
#include <algorithm>
#include <bitset>
#include <deque>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#define ll long long... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18]] | 1 | 213 |
A, B, C, D = [int(s) for s in input().split()]
takahashi_attacks = A // D if A % D == 0 else A // D + 1
aoki_attacks = C // B if C % B == 0 else C // B + 1
print('Yes') if takahashi_attacks <= aoki_attacks else print('No')
| A, B, C, D = [int(s) for s in input().split()]
aoki_attacks = A // D if A % D == 0 else A // D + 1
takahashi_attacks = C // B if C % B == 0 else C // B + 1
print('Yes') if takahashi_attacks <= aoki_attacks else print('No') | [["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22]] | 5 | 75 |
a, b, c, d = list(map(int, input().split()))
i = 1
while a>0 and c>0:
if i % 2 == 0:
a -= d
else:
c -= b
else:
if a > c:
print("Yes")
else:
print("No")
| a, b, c, d = list(map(int, input().split()))
i = 1
while a>0 and c>0:
if i % 2 == 0:
a -= d
else:
c -= b
i += 1
else:
if a > c:
print("Yes")
else:
print("No")
| [["+", 0, 52, 8, 196, 0, 1, 0, 677, 31, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 677, 17, 107], ["+", 0, 52, 8, 196, 0, 1, 0, 677, 12, 612]] | 5 | 71 |
#include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int x = (d + b - 1) / b;
int y = (a + d - 1) / d;
if (x <= y) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int x = (c + b - 1) / b;
int y = (a + d - 1) / d;
if (x <= y) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [["-", 51, 16, 31, 23, 0, 16, 31, 16, 31, 22], ["+", 51, 16, 31, 23, 0, 16, 31, 16, 31, 22]] | 1 | 87 |
A, B, C, D = map(int, input().split())
while True:
C = C - B
if C < 0:
print('No')
break
A = A - D
if A < 0:
print('Yes')
break
| A, B, C, D = map(int, input().split())
while True:
C = C - B
if C <= 0:
print('Yes')
break
A = A - D
if A <= 0:
print('No')
break
| [["-", 0, 52, 8, 196, 0, 57, 15, 666, 667, 18], ["+", 0, 52, 8, 196, 0, 57, 15, 666, 667, 19], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 57 |
#include <bits/stdc++.h>
#include <cmath>
#include <cstdlib>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
const ll INF = 1e18;
inline void chmax(ll &a, ll b) { a = max(a, b); }
inline void chmin(ll &a, ll b) { a = min(a, b); }
int main() {
int a,... | #include <bits/stdc++.h>
#include <cmath>
#include <cstdlib>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
const ll INF = 1e18;
inline void chmax(ll &a, ll b) { a = max(a, b); }
inline void chmin(ll &a, ll b) { a = min(a, b); }
int main() {
int a,... | [["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25]] | 1 | 157 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int TH, T, AH, A;
cin >> TH >> T >> AH >> A;
for (int i = 0; i < 200; i++) {
if (i % 2 == 0) {
AH -= T;
} else {
TH -= A;
}
if (AH < 0) {
cout << "No" << endl;
return 0;
}
if (TH < 0) {
cout << "Y... |
#include <bits/stdc++.h>
using namespace std;
int main() {
int TH, T, AH, A;
cin >> TH >> T >> AH >> A;
for (int i = 0; i < 200; i++) {
if (i % 2 == 0) {
AH -= T;
} else {
TH -= A;
}
if (AH <= 0) {
cout << "Yes" << endl;
return 0;
}
if (TH <= 0) {
cout <<... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 106 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(s, i, n) for (int i = (int)s; i < (int)(n); i++)
#define pb push_back
typedef long long ll;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
bool k = true;
while (a >= 0 && c >= 0) {
c -= b;... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(s, i, n) for (int i = (int)s; i < (int)(n); i++)
#define pb push_back
typedef long long ll;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
bool k = true;
while (a >= 0 && c >= 0) {
c -= b;... | [["-", 0, 57, 64, 9, 0, 1, 0, 11, 12, 147], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 12, 146], ["-", 0, 57, 64, 9, 0, 1, 0, 11, 12, 146], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 12, 147]] | 1 | 132 |
#include <bits/stdc++.h>
#define MAXN 100010
#define pii pair<int, int>
#define ff first
#define ss second
#define ll long long
#define in_range(x, y, n) (x >= 0 and x < n and y >= 0 and y < n)
using namespace std;
const int mod = 1e9 + 7;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int diva = a / d,... | #include <bits/stdc++.h>
#define MAXN 100010
#define pii pair<int, int>
#define ff first
#define ss second
#define ll long long
#define in_range(x, y, n) (x >= 0 and x < n and y >= 0 and y < n)
using namespace std;
const int mod = 1e9 + 7;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int diva = a / d,... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 129 |
#include <bits/stdc++.h>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstring>
#define endl "\n"
#define ll long long int
#define vi vector<int>
#define vll vector<ll>
#define vvi vector<vi>
#define pii pair<int, int>
#define pll pair<long long, long long>
#define mod 1000000007
#d... |
#include <bits/stdc++.h>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstring>
#define endl "\n"
#define ll long long int
#define vi vector<int>
#define vll vector<ll>
#define vvi vector<vi>
#define pii pair<int, int>
#define pll pair<long long, long long>
#define mod 1000000007
#d... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["-", 51, 16, 12, 23, 0, 16, 12, 16, 31, 22], ["+", 51, 16, 12, 23, 0, 16, 12, 16, 31, 22]] | 1 | 298 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int m, n;
m = c / b;
n = a / d;
if (c % b != 0)
m++;
if (a % d != 0)
n++;
if (m >= n)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int m, n;
m = c / b;
n = a / d;
if (c % b != 0)
m++;
if (a % d != 0)
n++;
if (m <= n)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 93 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
int num1 = (C + B) / B;
int num2 = (A + D) / D;
string ret = (num1 >= num2) ? "Yes" : "No";
cout << ret << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
int num1 = (C + B - 1) / B;
int num2 = (A + D - 1) / D;
string ret = (num1 <= num2) ? "Yes" : "No";
cout << ret << endl;
return 0;
} | [["+", 49, 50, 51, 16, 31, 23, 0, 16, 17, 33], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 12, 13], ["-", 49, 50, 51, 41, 15, 23, 0, 16, 17, 20], ["+", 49, 50, 51, 41, 15, 23, 0, 16, 17, 19]] | 1 | 79 |
a,b,c,d= map(int, input().split())
e=a//d
f=c//b
if a%d!=0:
e+=1
if c%b!=0:
f+=1
if e<=f:
print("Yes")
else:
print("No")
| a,b,c,d= map(int, input().split())
e=a//d
f=c//b
if a%d!=0:
e+=1
if c%b!=0:
f+=1
if f<=e:
print("Yes")
else:
print("No") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22]] | 5 | 69 |
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
while (true) {
A -= B;
if (A <= 0) {
cout << "Yes" << endl;
break;
}
C -= D;
if (C <= 0) {
cout <<... | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
while (true) {
C -= B;
if (C <= 0) {
cout << "Yes" << endl;
break;
}
A -= D;
if (A <= 0) {
cout <<... | [["-", 0, 52, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 52, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22]] | 1 | 91 |
a,b,c,d=map(int, input().split())
aoki = int(c/b)
if c % b != 0:
aoki += 1
taka = int(a/d)
if a % d != 0:
taka += 1
if aoki <= taka+1:
print("Yes")
else:
print("No")
| a,b,c,d=map(int, input().split())
aoki = int(c/b)
if c % b != 0:
aoki += 1
taka = int(a/d)
if a % d != 0:
taka += 1
if aoki <= taka:
print("Yes")
else:
print("No")
| [["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 72], ["-", 0, 656, 0, 57, 15, 666, 0, 657, 12, 612]] | 5 | 77 |
#include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d %d %d %d", &a, &b, &c, &d);
while (a > 0) {
c -= b;
if (c <= 0)
break;
a -= d;
}
if (c > 0)
printf("No\n");
else
printf("yes\n");
return 0;
} | #include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d %d %d %d", &a, &b, &c, &d);
while (a > 0) {
c -= b;
if (c <= 0)
break;
a -= d;
}
if (a > 0)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["-", 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]] | 0 | 86 |
num=list(map(int,input().split()))
while 1:
num[2]=num[2]-num[1]
if num[2]<=0:
print("Yes")
break
num[0]=num[0]-num[3]
if num[3]<=0:
print("No")
break | num=list(map(int,input().split()))
while 1:
num[2]=num[2]-num[1]
if num[2]<=0:
print("Yes")
break
num[0]=num[0]-num[3]
if num[0]<=0:
print("No")
break | [["-", 8, 196, 0, 57, 15, 666, 0, 206, 206, 612], ["+", 8, 196, 0, 57, 15, 666, 0, 206, 206, 612]] | 5 | 78 |
import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int a, b, c, d;
a = sc.nextInt();
b = sc.nextInt();
c = sc.nextInt();
d = sc.nextInt();
while (true) {
b -= c;
if (b <= 0) {
System.out.println("Yes");
... | import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int a, b, c, d;
a = sc.nextInt();
b = sc.nextInt();
c = sc.nextInt();
d = sc.nextInt();
while (true) {
c -= b;
if (c <= 0) {
System.out.println("Yes");
... | [["-", 0, 52, 8, 196, 0, 1, 0, 11, 31, 22], ["-", 0, 52, 8, 196, 0, 1, 0, 11, 17, 110], ["+", 0, 52, 8, 196, 0, 1, 0, 11, 17, 110], ["+", 0, 52, 8, 196, 0, 1, 0, 11, 12, 22], ["-", 8, 196, 0, 57, 15, 15, 0, 16, 31, 22], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 31, 22]] | 3 | 131 |
///////////////////////////////////////////////////////////////////////////////
#include <bits/stdc++.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
using namespace std;
///////////////////////////////////////////////////////////////////////////////
#define DEBUG 0
#define pb push_back
#define V ve... | ///////////////////////////////////////////////////////////////////////////////
#include <bits/stdc++.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
using namespace std;
///////////////////////////////////////////////////////////////////////////////
#define DEBUG 0
#define pb push_back
#define V ve... | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 6,429 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int A = c / b + ((c % b) != 0), B = a / d + ((a % d) != 0);
if (A >= B)
printf("Yes\n");
else
printf("No\n");
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int A = c / b + ((c % b) != 0), B = a / d + ((a % d) != 0);
if (A <= B)
printf("Yes\n");
else
printf("No\n");
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 90 |
#include <iostream>
#include <math.h>
#include <vector>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
int t = 0;
while (A > 0 && C > 0) {
if (t % 2 == 0)
C -= B;
else
A -= D;
t++;
}
// cout << A << " " << C << endl;
if (A <= 0)
cout << "no" <<... | #include <iostream>
#include <math.h>
#include <vector>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
int t = 0;
while (A > 0 && C > 0) {
if (t % 2 == 0)
C -= B;
else
A -= D;
t++;
}
// cout << A << " " << C << endl;
if (A <= 0)
cout << "No" <<... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 99 |
a, b, c, d = map(int, input().split())
if c % b == 0:
takahashi = c / b
else:
takahashi = c / b + 1
if a % d == 0:
aoki = a / d
else:
aoki = a / d + 1
if takahashi <= aoki:
print("Yes")
else:
print("No") | a, b, c, d = map(int, input().split())
if c % b == 0:
takahashi = c // b
else:
takahashi = c // b + 1
if a % d == 0:
aoki = a // d
else:
aoki = a // d + 1
# print(takahashi)
# print(aoki)
if takahashi <= aoki:
print("Yes")
else:
print("No") | [["-", 64, 196, 0, 1, 0, 662, 12, 657, 17, 85], ["+", 64, 196, 0, 1, 0, 662, 12, 657, 17, 676], ["-", 0, 1, 0, 662, 12, 657, 31, 657, 17, 85], ["+", 0, 1, 0, 662, 12, 657, 31, 657, 17, 676]] | 5 | 81 |
HP_t, ATK_t, HP_a, ATK_a = [int(x) for x in input().split()]
while True:
HP_t = HP_t - ATK_a
if HP_t <= 0:
print('No')
break
HP_a = HP_a - ATK_t
if HP_a <= 0:
print('Yes')
break | HP_t, ATK_t, HP_a, ATK_a = [int(x) for x in input().split()]
while True:
HP_a = HP_a - ATK_t
if HP_t <= 0:
print('No')
break
HP_t = HP_t - ATK_a
if HP_a <= 0:
print('Yes')
break | [["-", 0, 52, 8, 196, 0, 1, 0, 662, 31, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 662, 31, 22], ["-", 8, 196, 0, 1, 0, 662, 12, 657, 31, 22], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 31, 22], ["-", 8, 196, 0, 1, 0, 662, 12, 657, 12, 22], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 12, 22]] | 5 | 61 |
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
typedef long long ll;
#define all(x) (x).begin(), (x).end()
/**ABC 164*/
int main() {
int n, m, o, p;
cin >> n >> m >> o >> p;
while (n > 0 && p > 0) {
o -= m;
n -= p;
}
if (n <= 0)
cout << "No" << endl;
else
cout << "Yes" << e... | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
typedef long long ll;
#define all(x) (x).begin(), (x).end()
/**ABC 164*/
int main() {
int n, m, o, p;
cin >> n >> m >> o >> p;
while (n > 0 && p > 0) {
o -= m;
n -= p;
}
if (n <= 0 && o > 0)
cout << "No" << endl;
else
cout << "... | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 92 |
A, B, C, D = map(int, input().split())
while A > 0 and C > 0:
C = C - B
if C <= 0:
break
else:
A = A - D
if A == 0:
ans = 'No'
else:
ans = 'Yes'
print(ans)
| A, B, C, D = map(int, input().split())
while A > 0 and C > 0:
C = C - B
if C <= 0:
break
else:
A = A - D
if A <= 0:
ans = 'No'
else:
ans = 'Yes'
print(ans)
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 60], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 68 |
#include <bits/stdc++.h>
#define IOS \
ios::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0)
#define ll long long int
#define pii p... | #include <bits/stdc++.h>
#define IOS \
ios::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0)
#define ll long long int
#define pii p... | [["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35], ["+", 75, 76, 0, 9, 0, 1, 0, 11, 31, 22], ["+", 75, 76, 0, 9, 0, 1, 0, 11, 17, 32], ["+", 75, 76, 0, 9, 0, 1, 0, 11, 12, 13], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46]] | 1 | 162 |
#include <iostream>
using namespace std;
int main(void) {
int t_hp;
int t_atk;
int a_hp;
int a_atk;
cin >> t_hp >> t_atk >> a_hp >> a_atk;
while (true) {
a_hp -= t_atk;
if (a_hp < 0) {
cout << "No";
break;
}
t_hp -= a_atk;
if (t_hp < 0) {
cout << "Yes";
break;... | #include <iostream>
using namespace std;
int main(void) {
int t_hp;
int t_atk;
int a_hp;
int a_atk;
cin >> t_hp >> t_atk >> a_hp >> a_atk;
while (true) {
a_hp -= t_atk;
if (a_hp <= 0) {
cout << "Yes";
break;
}
t_hp -= a_atk;
if (t_hp <= 0) {
cout << "No";
brea... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 84 |
#include <stdio.h>
#include <stdlib.h>
int main() {
int a, b, c, d;
scanf("%d %d %d %d", &a, &b, &c, &d);
int turn = 0;
while ((a >= 0) && (c >= 0)) {
if (turn % 2 == 0) {
c -= b;
} else {
a -= d;
}
turn += 1;
}
if (a <= 0) {
printf("No");
} else {
printf("Yes");
}... | #include <stdio.h>
#include <stdlib.h>
int main() {
int a, b, c, d;
scanf("%d %d %d %d", &a, &b, &c, &d);
int turn = 0;
while ((a > 0) && (c > 0)) {
if (turn % 2 == 0) {
c -= b;
} else {
a -= d;
}
turn += 1;
}
if (a <= 0) {
printf("No");
} else {
printf("Yes");
}
... | [["-", 15, 23, 0, 16, 31, 23, 0, 16, 17, 20], ["+", 15, 23, 0, 16, 31, 23, 0, 16, 17, 47], ["-", 15, 23, 0, 16, 12, 23, 0, 16, 17, 20], ["+", 15, 23, 0, 16, 12, 23, 0, 16, 17, 47]] | 0 | 112 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define REP(i, n) for (int i = 0; i < n; i++)
#define ALL(n) begin(n), end(n)
int main() {
int a, b, c, d;
int a_num, c_num;
cin >> a >> b >> c >> d;
a_num = (c + b - 1) / b;
c_num = (a + d - 1) / d;
string ans;
if (a_num >= c_num) {
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define REP(i, n) for (int i = 0; i < n; i++)
#define ALL(n) begin(n), end(n)
int main() {
int a, b, c, d;
int a_num, c_num;
cin >> a >> b >> c >> d;
a_num = (c + b - 1) / b;
c_num = (a + d - 1) / d;
string ans;
if (a_num <= c_num) {
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 112 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
int takahashi = (A - 1) / D;
int aoki = (B - 1) / C;
if (takahashi - 1 >= aoki)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
int takahashi = (A - 1) / D;
int aoki = (C - 1) / B;
if (takahashi >= aoki)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [["-", 49, 50, 51, 16, 31, 23, 0, 16, 31, 22], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 31, 22], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 33], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13]] | 1 | 81 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
for (int i = 1;; i++) {
C -= B;
A -= D;
if (C <= 0) {
cout << "yes";
break;
}
if (D <= 0) {
cout << "no";
break;
}
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
for (int i = 1;; i++) {
C -= B;
A -= D;
if (C <= 0) {
cout << "Yes";
break;
} else if (A <= 0) {
cout << "No";
break;
}
}
}
| [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 7, 8, 9, 0, 57, 75, 76, 0, 95], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 31, 22]] | 1 | 84 |
#include <bits/stdc++.h>
using namespace std;
typedef short sho;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef double db;
typedef string str;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<ld, ld> pld;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef... | #include <bits/stdc++.h>
using namespace std;
typedef short sho;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef double db;
typedef string str;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<ld, ld> pld;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef... | [["-", 51, 16, 31, 23, 0, 16, 31, 16, 31, 22], ["+", 51, 16, 31, 23, 0, 16, 31, 16, 31, 22], ["-", 51, 16, 31, 23, 0, 16, 31, 16, 12, 22], ["+", 51, 16, 31, 23, 0, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 22]] | 1 | 377 |
#include <algorithm>
#include <array>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <stack>
#include <vector>
using namespace std;
int gcd(int a, int b) {
if (a % b == 0) {
return (b);
} else {
return (gcd(b, a % b));
}
}
int mod = 1000000000 + 7;
long long minmax(int ... | #include <algorithm>
#include <array>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <stack>
#include <vector>
using namespace std;
int gcd(int a, int b) {
if (a % b == 0) {
return (b);
} else {
return (gcd(b, a % b));
}
}
int mod = 1000000000 + 7;
long long minmax(int ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18]] | 1 | 227 |
a,b,c,d = map(int,input().split())
cnt = 0
while (a >= 0 and c >= 0):
if cnt % 2 == 0:
c = c - b
else:
a = a - d
cnt += 1
if c <= 0:
print("Yes")
else:
print("No") | a,b,c,d = map(int,input().split())
cnt = 0
while (a > 0 and c > 0):
if cnt % 2 == 0:
c = c - b
else:
a = a - d
cnt += 1
if c <= 0:
print("Yes")
else:
print("No") | [["-", 0, 52, 15, 23, 0, 679, 31, 666, 667, 20], ["+", 0, 52, 15, 23, 0, 679, 31, 666, 667, 47], ["-", 0, 52, 15, 23, 0, 679, 12, 666, 667, 20], ["+", 0, 52, 15, 23, 0, 679, 12, 666, 667, 47]] | 5 | 75 |
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
while (A > 0 || C > 0) {
/* 高橋 */
C = C - D;
if (C < 0) {
cout << "Yes" << endl;
break;
}
/* 青木 */
A = A - D;
if (A < 0) {
... | #include <cmath>
#include <cstdlib>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
while (A > 0 || C > 0) {
/* 高橋 */
C = C - B;
if (C <= 0) {
cout << "Yes" << endl;
break;
}
/* 青木 */
A = A - D;
if (A <= 0) ... | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 100 |
#include <algorithm>
#include <iomanip> // std::setw(int), std::setfill(char)
#include <ios> // std::left, std::right
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int main() {
in... | #include <algorithm>
#include <iomanip> // std::setw(int), std::setfill(char)
#include <ios> // std::left, std::right
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int main() {
in... | [["-", 0, 52, 15, 339, 51, 16, 12, 16, 17, 152], ["+", 0, 52, 15, 339, 51, 16, 12, 16, 17, 47]] | 1 | 131 |
/* 164b.c */
#include <stdio.h>
int main(void) {
int a, b, c, d = 0;
int tak, aok = 0;
scanf("%d %d %d %d", &a, &b, &c, &d);
aok = c - b;
tak = a - d;
if (aok <= 0) {
printf("Yes");
return 0;
} else if (tak <= 0) {
printf("No");
return 0;
}
for (int i = 0; i < 100; i++) {
aok = ao... | /* 164b.c */
#include <stdio.h>
int main(void) {
int a, b, c, d = 0;
int tak, aok = 0;
scanf("%d %d %d %d", &a, &b, &c, &d);
aok = c - b;
tak = a - d;
if (aok <= 0) {
printf("Yes");
return 0;
} else if (tak <= 0) {
printf("No");
return 0;
}
for (int i = 0; i < 100; i++) {
aok = ao... | [["+", 0, 7, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 7, 8, 9, 0, 1, 0, 11, 17, 32], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 33], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 0 | 155 |
#include <bits/stdc++.h>
using ll = long long;
using namespace std;
void solve() {
int a, b, c, d;
cin >> b >> c >> d;
for (int i = 0;; ++i) {
if (i & 1)
a -= d;
else
c -= b;
if (a <= 0) {
cout << "No\n";
return;
} else if (c <= 0) {
cout << "Yes\n";
return;
... | #include <bits/stdc++.h>
using ll = long long;
using namespace std;
void solve() {
int a, b, c, d;
cin >> a >> b >> c >> d;
for (int i = 0;; ++i) {
if (i & 1)
a -= d;
else
c -= b;
if (a <= 0) {
cout << "No\n";
return;
} else if (c <= 0) {
cout << "Yes\n";
retur... | [["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 31, 16, 17, 152]] | 1 | 159 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
#define FOR(i, m, n) for (int i = (m); i < (n); i++)
#define FORR(i, m, n) for (int i = (m); i >= (n); i--)
#define... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
#define FOR(i, m, n) for (int i = (m); i < (n); i++)
#define FORR(i, m, n) for (int i = (m); i >= (n); i--)
#define... | [["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 60], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 19]] | 1 | 483 |
#include <bits/stdc++.h>
#define ll long long
#define ld long double
#define pb push_back
#define F first
#define S second
// #define loop(i,n) for(int i=0;i<n;i++)
// #define loops(i,s,n) for(int i=s;i<=n;i++)
#define fast \
ios::sync_with_stdio(0); ... | #include <bits/stdc++.h>
#define ll long long
#define ld long double
#define pb push_back
#define F first
#define S second
// #define loop(i,n) for(int i=0;i<n;i++)
// #define loops(i,s,n) for(int i=s;i<=n;i++)
#define fast \
ios::sync_with_stdio(0); ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 79], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22]] | 1 | 165 |
#include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int winner = 0;
while (winner == 0) {
c = c - b;
if (c <= 0) {
winner = 1;
}
a = a - d;
if (a <= 0) {
winner = 2;
}
}
if (winner == 1) {
cout << "Yes";
} else {
cout <... | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int winner = 0;
while (winner == 0) {
c = c - b;
if (c <= 0) {
winner = 1;
break;
}
a = a - d;
if (a <= 0) {
winner = 2;
break;
}
}
if (winner == 1) {
cout << "Y... | [["+", 8, 9, 0, 57, 64, 9, 0, 93, 0, 94], ["+", 8, 9, 0, 57, 64, 9, 0, 93, 0, 35], ["+", 8, 9, 0, 57, 64, 9, 0, 1, 0, 35]] | 1 | 106 |
def io():
return map(int,input().split())
def op():
return list(map(int,input().split()))
a,b,c,d=io()
while 1:
c=c-b
if c<=0:
print('yes')
break
a-=d
if a<=0:
print('no')
break | def io():
return map(int,input().split())
def op():
return list(map(int,input().split()))
a,b,c,d=io()
while 1:
c=c-b
if c<=0:
print('Yes')
break
a-=d
if a<=0:
print('No')
break | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 85 |
#include <iostream>
int main(int argc, char *argv[]) {
int a, b, c, d;
std::cin >> a >> b >> c >> d;
int i = 0;
while (a > 0 && c >> 0) {
if (i % 2 == 0)
c -= b;
else
a -= d;
++i;
}
if (a > 0)
std::cout << "Yes" << std::endl;
else
std::cout << "No" << std::endl;
}
| #include <iostream>
int main(int argc, char *argv[]) {
int a, b, c, d;
std::cin >> a >> b >> c >> d;
int i = 0;
while (a > 0 && c > 0) {
if (i % 2 == 0)
c -= b;
else
a -= d;
++i;
}
if (a > 0)
std::cout << "Yes" << std::endl;
else
std::cout << "No" << std::endl;
}
| [["-", 0, 52, 15, 339, 51, 16, 12, 16, 17, 152], ["+", 0, 52, 15, 339, 51, 16, 12, 16, 17, 47]] | 1 | 105 |
#include <bits/stdc++.h>
#include <unordered_map>
#include <unordered_set>
using namespace std;
#define int long long
#define REP(i, m, n) for (int i = (m); i < (n); i++)
#define rep(i, n) REP(i, 0, n)
#define pb push_back
#define all(a) a.begin(), a.end()
#define rall(c) (c).rbegin(), (c).rend()
#define mp make_pair
#... | #include <bits/stdc++.h>
#include <unordered_map>
#include <unordered_set>
using namespace std;
#define int long long
#define REP(i, m, n) for (int i = (m); i < (n); i++)
#define rep(i, n) REP(i, 0, n)
#define pb push_back
#define all(a) a.begin(), a.end()
#define rall(c) (c).rbegin(), (c).rend()
#define mp make_pair
#... | [["-", 31, 16, 31, 23, 0, 16, 31, 16, 12, 22], ["+", 31, 16, 31, 23, 0, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22]] | 1 | 145 |
#include <bits/stdc++.h>
#define ll long long
using namespace std;
#define Mod 1000000007
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
if ((c + b - 1) / b >= (a + d - 1) / d)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
#define ll long long
using namespace std;
#define Mod 1000000007
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
if (((c + b - 1) / b) <= ((a + d - 1) / d))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [["+", 51, 16, 31, 23, 0, 16, 31, 23, 0, 24], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 0, 57, 15, 339, 51, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 24], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 25]] | 1 | 79 |
import math
from collections import defaultdict
ml=lambda:map(int,input().split())
ll=lambda:list(map(int,input().split()))
ii=lambda:int(input())
ip=lambda:(input())
"""========main code==============="""
a,b,c,d=ml()
i=0
while(a>0 and c>0):
if(i%2==0):
c-=b
else:
a-=d
i+=1
if(a==0):
... | import math
from collections import defaultdict
ml=lambda:map(int,input().split())
ll=lambda:list(map(int,input().split()))
ii=lambda:int(input())
ip=lambda:(input())
"""========main code==============="""
a,b,c,d=ml()
i=0
while(a>0 and c>0):
if(i%2==0):
c-=b
else:
a-=d
i+=1
if(a<=0):
... | [["-", 0, 656, 0, 57, 15, 23, 0, 666, 667, 60], ["+", 0, 656, 0, 57, 15, 23, 0, 666, 667, 19], ["-", 36, 36, 0, 656, 0, 57, 75, 76, 0, 95], ["+", 36, 36, 0, 656, 0, 57, 75, 665, 0, 683], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 0, 22], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 667, 19], ["+", 0, 656, 0, 57, 75, 665, 15, 666... | 5 | 129 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
const int MOD = 1e9 + 7;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int s = (c + b - 1) / b, t = (a + d - 1) / d;
if (s < t)
puts("No");
else
puts("Yes");... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
const int MOD = 1e9 + 7;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int s = (c + b - 1) / b, t = (a + d - 1) / d;
if (s > t)
puts("No");
else
puts("Yes");... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 99 |
A, B, C, D = map(int, input().split())
tak = - (-C//B)
oak = -(-D//A)
if tak <= oak:
print('Yes')
else:
print('No') | A, B, C, D = map(int, input().split())
tak = - (-C//B)
oak = -(-A//D)
if tak <= oak:
print('Yes')
else:
print('No') | [["-", 12, 664, 28, 23, 0, 657, 31, 664, 28, 22], ["-", 0, 662, 12, 664, 28, 23, 0, 657, 17, 676], ["+", 0, 662, 12, 664, 28, 23, 0, 657, 17, 676], ["+", 0, 662, 12, 664, 28, 23, 0, 657, 12, 22]] | 5 | 57 |
from math import ceil
a, b, c, d = map(int, input().split())
if ceil(a/d) >= ceil(c/d):
print("Yes")
else:
print("No") | from math import ceil
a, b, c, d = map(int, input().split())
if ceil(a/d) >= ceil(c/b):
print("Yes")
else:
print("No") | [["-", 15, 666, 0, 652, 3, 4, 0, 657, 12, 22], ["+", 15, 666, 0, 652, 3, 4, 0, 657, 12, 22]] | 5 | 53 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;
#define FOR(i, l, r) for (int(i) = int(l); int(i) <= i... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;
#define FOR(i, l, r) for (int(i) = int(l); int(i) <= i... | [["-", 15, 339, 51, 16, 31, 23, 0, 42, 0, 22], ["+", 15, 339, 51, 16, 31, 23, 0, 42, 0, 22]] | 1 | 1,520 |
#include <bits/stdc++.h>
using namespace std;
int a, b, c, d;
int main() {
cin >> a >> b >> c >> d;
for (int i = 1;; i++) {
d -= b;
if (c <= 0)
cout << "Yes", exit(0);
a -= c;
if (a <= 0)
cout << "No", exit(0);
}
}
| #include <bits/stdc++.h>
using namespace std;
int a, b, c, d;
int main() {
cin >> a >> b >> c >> d;
for (int i = 1;; i++) {
c -= b;
if (c <= 0)
cout << "Yes", exit(0);
a -= d;
if (a <= 0)
cout << "No", exit(0);
}
}
| [["-", 0, 7, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 7, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 7, 8, 9, 0, 1, 0, 11, 12, 22], ["+", 0, 7, 8, 9, 0, 1, 0, 11, 12, 22]] | 1 | 86 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll cc = 0;
while (1) {
if (a <= 0 || c <= 0)
break;
if (cc % 2 == 0) {
c -= b;
} else {
a -... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll cc = 0;
while (1) {
if (a <= 0 || c <= 0)
break;
if (cc % 2 == 0) {
c -= b;
} else {
a -... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 127 |
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <map>
#include <stack>
#include <string>
#include <vector>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
int i = 0;
while (A > 0 and C > 0) {
if (i % 2 == 0) {
C ... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <map>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
int i = 0;
while (A > 0 and C > 0) {
if (i % 2 =... | [["+", 36, 36, 36, 36, 0, 30, 0, 135, 136, 137], ["+", 36, 36, 36, 36, 0, 30, 0, 135, 0, 138], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 119 |
#!/usr/bin/env python3
from pprint import pprint
from collections import deque, defaultdict
import sys
sys.setrecursionlimit(10 ** 6)
inf = float("inf")
a, b, c, d = map(int, input().split())
i = 0
while a > 0 and c > 0:
if i % 2 == 0:
c -= b
else:
a -= d
if a > 0:
print('Yes')
else:
... | #!/usr/bin/env python3
from pprint import pprint
from collections import deque, defaultdict
import sys
sys.setrecursionlimit(10 ** 6)
inf = float("inf")
a, b, c, d = map(int, input().split())
i = 0
while a > 0 and c > 0:
if i % 2 == 0:
c -= b
else:
a -= d
i += 1
if a > 0:
print('Yes... | [["+", 0, 52, 8, 196, 0, 1, 0, 677, 31, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 677, 17, 107], ["+", 0, 52, 8, 196, 0, 1, 0, 677, 12, 612]] | 5 | 95 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
while (a > 0 || c > 0) {
c = c - b;
a = a - d;
if (c == 0) {
cout << "Yes";
break;
} else if (a == 0) {
cout << "No";
break;
}
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
while (a > 0 || c > 0) {
c = c - b;
a = a - d;
if (c <= 0) {
cout << "Yes";
break;
} else if (a <= 0) {
cout << "No";
break;
}
}
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 91 |
#include <bits/stdc++.h>
using namespace std;
#define go(i, a, n) for (ll i = a; i < n; i++)
#define gor(i, a, n) for (int i = n - 1; i >= a; i--)
#define show(x) cout << x << '\n'
#define ll long long
#define ull unsigned long long
#define ld long double
#define pb push_back
#define mp make_pair
#define mt make_tuple
... | #include <bits/stdc++.h>
using namespace std;
#define go(i, a, n) for (ll i = a; i < n; i++)
#define gor(i, a, n) for (int i = n - 1; i >= a; i--)
#define show(x) cout << x << '\n'
#define ll long long
#define ull unsigned long long
#define ld long double
#define pb push_back
#define mp make_pair
#define mt make_tuple
... | [["+", 0, 52, 8, 9, 0, 1, 0, 27, 28, 22], ["+", 0, 52, 8, 9, 0, 1, 0, 27, 17, 29], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 900 |
import math
A, B, C, D = map(int, input().split())
taka = math.ceil(C / B)
aoki = math.ceil(A / D)
print('Yes' if taka == aoki else 'No') | import math
A, B, C, D = map(int, input().split())
taka = math.ceil(C / B)
aoki = math.ceil(A / D)
print('Yes' if taka <= aoki else 'No') | [["-", 0, 652, 3, 4, 0, 41, 0, 666, 667, 60], ["+", 0, 652, 3, 4, 0, 41, 0, 666, 667, 19]] | 5 | 56 |
from math import ceil
A, B, C, D = map(int,input().split())
t = ceil(C / A)
a = ceil(A / D)
if t <= a:
print('Yes')
else:
print('No') | from math import ceil
A, B, C, D = map(int,input().split())
t = ceil(C / B)
a = ceil(A / D)
if t <= a:
print('Yes')
else:
print('No') | [["-", 0, 662, 12, 652, 3, 4, 0, 657, 12, 22], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 22]] | 5 | 59 |
A,B,C,D = map(int,input().split())
for i in range(10000):
C -= B
if C <= 0:
print("Yes")
break
A -= D
if B <= 0:
print("No")
break | A,B,C,D = map(int,input().split())
for i in range(100000):
C -= B
if C <= 0:
print("Yes")
break
A -= D
if A <= 0:
print("No")
break | [["-", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612], ["+", 0, 656, 0, 7, 12, 652, 3, 4, 0, 612], ["-", 0, 7, 8, 196, 0, 57, 15, 666, 0, 22], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 0, 22]] | 5 | 58 |
/*
ID: swagchicken1
PROG:
LANG: C++11
*/
#include <algorithm>
#include <cctype>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#inclu... | /*
ID: swagchicken1
PROG:
LANG: C++11
*/
#include <algorithm>
#include <cctype>
#include <chrono>
#include <climits>
#include <cmath>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#inclu... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 267 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int t = 0;
while (a > 0 && c > 0) {
if (t == 0) {
c -= b;
t = 1;
} else {
a -= d;
t = 0;
}
}
if (a < 0)
cout << "No" << endl;
else
cout <<... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int t = 0;
while (a > 0 && c > 0) {
if (t == 0) {
c -= b;
t = 1;
} else {
a -= d;
t = 0;
}
}
if (a <= 0)
cout << "No" << endl;
else
cout <... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 107 |
a, b, c, d = [int(i) for i in input().split()]
x = (d + b - 1) // b
y = (a + c - 1) // c
if x > y:
print("No")
else:
print("Yes")
| a, b, c, d = [int(i) for i in input().split()]
x = (c + b - 1) // b
y = (a + d - 1) // d
if x > y:
print("No")
else:
print("Yes")
| [["-", 12, 657, 31, 23, 0, 657, 31, 657, 31, 22], ["+", 12, 657, 31, 23, 0, 657, 31, 657, 31, 22], ["-", 12, 657, 31, 23, 0, 657, 31, 657, 12, 22], ["+", 12, 657, 31, 23, 0, 657, 31, 657, 12, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 657, 12, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 22]] | 5 | 65 |
#include <bits/stdc++.h>
using namespace std;
#define Endl '\n'
typedef long long int lli;
void solve();
int main(int argc, char const *argv[]) {
ios_base::sync_with_stdio(false);
cin.tie(0);
solve();
}
void solve() {
int A, B, C, D;
cin >> A >> B >> C >> D;
int turn = 0;
while (A > 0 && C > 0) {
if (... | #include <bits/stdc++.h>
using namespace std;
#define Endl '\n'
typedef long long int lli;
void solve();
int main(int argc, char const *argv[]) {
ios_base::sync_with_stdio(false);
cin.tie(0);
solve();
}
void solve() {
int A, B, C, D;
cin >> A >> B >> C >> D;
int turn = 0;
while (A > 0 && C > 0) {
if (... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 146 |
import sys,collections as cl,bisect as bs
sys.setrecursionlimit(100000)
input = sys.stdin.readline
mod = 10**9+7
Max = sys.maxsize
def l(): #intのlist
return list(map(int,input().split()))
def m(): #複数文字
return map(int,input().split())
def onem(): #Nとかの取得
return int(input())
def s(x): #圧縮
a = []
if l... | import sys,collections as cl,bisect as bs
sys.setrecursionlimit(100000)
input = sys.stdin.readline
mod = 10**9+7
Max = sys.maxsize
def l(): #intのlist
return list(map(int,input().split()))
def m(): #複数文字
return map(int,input().split())
def onem(): #Nとかの取得
return int(input())
def s(x): #圧縮
a = []
if l... | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 340 |
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef tree<int, null_type, less<int>, rb_tree_tag,
tree_order_statistics_node_update>
myds;
#define fastio ... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef tree<int, null_type, less<int>, rb_tree_tag,
tree_order_statistics_node_update>
myds;
#define fastio ... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 304 |
import sys
sys.setrecursionlimit(10**6)
from math import floor,ceil,sqrt,factorial,log
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect... | import sys
sys.setrecursionlimit(10**6)
from math import floor,ceil,sqrt,factorial,log
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect... | [["+", 0, 52, 8, 196, 0, 1, 0, 677, 31, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 677, 17, 107], ["+", 0, 52, 8, 196, 0, 1, 0, 677, 12, 612]] | 5 | 350 |
#include <bits/stdc++.h>
using namespace std;
inline int toInt(string s) {
int v;
istringstream sin(s);
sin >> v;
return v;
}
template <class T> inline string toString(T x) {
ostringstream sout;
sout << x;
return sout.str();
}
typedef long long ll;
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef... | #include <bits/stdc++.h>
using namespace std;
inline int toInt(string s) {
int v;
istringstream sin(s);
sin >> v;
return v;
}
template <class T> inline string toString(T x) {
ostringstream sout;
sout << x;
return sout.str();
}
typedef long long ll;
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef... | [["-", 0, 52, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 52, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 405 |
import sys
input = sys.stdin.readline
A, B, C, D = map(int, input().split())
t = 0
while A > 0 and (C > 0):
if t % 2: A -= D
else: C -= B
t += 1
if A: print("Yes")
else: print("No") | import sys
input = sys.stdin.readline
A, B, C, D = map(int, input().split())
t = 0
while A > 0 and (C > 0):
if t % 2: A -= D
else: C -= B
t += 1
if A > 0: print("Yes")
else: print("No") | [["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612]] | 5 | 76 |
A, B, C, D = map(int, input().split())
i = 0
while A > 0 and C > 0:
if i % 2 == 0: C -= B
else: A -= D
print('Yes' if A > 0 else 'No') | A, B, C, D = map(int, input().split())
i = 0
while A > 0 and C > 0:
if i % 2 == 0: C -= B
else: A -= D
i += 1
print('Yes' if A > 0 else 'No') | [["+", 0, 52, 8, 196, 0, 1, 0, 677, 31, 22], ["+", 0, 52, 8, 196, 0, 1, 0, 677, 17, 107], ["+", 0, 52, 8, 196, 0, 1, 0, 677, 12, 612]] | 5 | 61 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
while (1) {
c -= b;
if (c < 1) {
puts("Yes");
return 0;
}
a -= d;
if (d < 1) {
puts("No");
return 0;
}
}
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
while (1) {
c -= b;
if (c < 1) {
puts("Yes");
return 0;
}
a -= d;
if (a < 1) {
puts("No");
return 0;
}
}
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22]] | 1 | 87 |
#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>;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
double x = ceil((double)c / b);
double y = ceil((double)a / d);
if (x >= y) {
cout << "Yes" << endl;
} el... | #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>;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
double x = ceil((double)c / b);
double y = ceil((double)a / d);
if (x <= y) {
cout << "Yes" << endl;
} el... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 111 |
#include <bits/stdc++.h>
using namespace std;
#pragma GCC target("avx2")
#pragma GCC optimization("O3")
#pragma GCC optimization("unroll-loops")
#define flash \
ios_base::sync_with_stdio(false); \
cin.tie(0);... | #include <bits/stdc++.h>
using namespace std;
#pragma GCC target("avx2")
#pragma GCC optimization("O3")
#pragma GCC optimization("unroll-loops")
#define flash \
ios_base::sync_with_stdio(false); \
cin.tie(0);... | [["-", 8, 9, 0, 57, 15, 339, 51, 91, 28, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 91, 28, 22]] | 1 | 262 |
/*
Author:zeke
pass System Test!
GET AC!!
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include... | /*
Author:zeke
pass System Test!
GET AC!!
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include... | [["+", 0, 52, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 52, 8, 9, 0, 1, 0, 11, 17, 130], ["+", 0, 52, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 349 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
#define mod 1000000007
#define iP pair<int, int>
#define gcd(a, b) __gcd(a, b)
#define pb push_back
#define inf 1e15
#define mod1 998244353
#define pi 3.141592653589793238
void solve(int tc) {
int a, b, c, d;
cin >> a >> ... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
#define mod 1000000007
#define iP pair<int, int>
#define gcd(a, b) __gcd(a, b)
#define pb push_back
#define inf 1e15
#define mod1 998244353
#define pi 3.141592653589793238
void solve(int tc) {
int a, b, c, d;
cin >> a >> ... | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 191 |
#N = int(input())
l = [int(x) for x in input().split()]
while True:
l[2] = l[2] - l[1]
if l[2] <= 0:
print("Yes")
break
l[0] = l[0] ^ l[3]
if l[0] <= 0:
print("No")
break | #N = int(input())
l = [int(x) for x in input().split()]
while True:
l[2] = l[2] - l[1]
if l[2] <= 0:
print("Yes")
break
l[0] = l[0] - l[3]
if l[0] <= 0:
print("No")
break | [["-", 8, 196, 0, 1, 0, 662, 12, 657, 17, 140], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 17, 33]] | 5 | 80 |
A,B,C,D = map(int,input().split())
# A,C 体力
# B,D 攻撃
while True:
C -= B
if C <= 0:
print('YES')
break
A -= D
if A <= 0:
print('NO')
break | A,B,C,D = map(int,input().split())
# A,C 体力
# B,D 攻撃
while True:
C -= B
if C <= 0:
print('Yes')
break
A -= D
if A <= 0:
print('No')
break
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 55 |
A,B,C,D=$<.read.split.map(&:to_i)
a = (C/B.to_f).ceil
b = (A/D.to_f).ceil
if a <= b
p 'Yes'
else
p 'No'
end
| A,B,C,D=$<.read.split.map(&:to_i)
a = (C/B.to_f).ceil
b = (A/D.to_f).ceil
if a <= b
puts 'Yes'
else
puts 'No'
end
| [["-", 0, 493, 0, 121, 64, 749, 0, 652, 735, 22], ["+", 0, 493, 0, 121, 64, 749, 0, 652, 735, 22], ["-", 0, 493, 0, 121, 75, 95, 0, 652, 735, 22], ["+", 0, 493, 0, 121, 75, 95, 0, 652, 735, 22]] | 4 | 55 |
a,b,c,d=map(int, input().split())
while a<=0 or c<=0:
c-=b
a-=d
if c<=0:
print('Yes')
exit()
elif a<=0:
print('No')
exit() | a,b,c,d=map(int, input().split())
while a>0 or c>0:
c-=b
a-=d
if c<=0:
print('Yes')
exit()
elif a<=0:
print('No')
exit()
| [["-", 0, 656, 0, 52, 15, 679, 31, 666, 667, 19], ["+", 0, 656, 0, 52, 15, 679, 31, 666, 667, 47], ["-", 0, 656, 0, 52, 15, 679, 12, 666, 667, 19], ["+", 0, 656, 0, 52, 15, 679, 12, 666, 667, 47]] | 5 | 63 |
#include <bits/stdc++.h>
using namespace std::literals::string_literals;
using i64 = std::int_fast64_t;
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
template <typename T> std::vector<T> make_v(size_t a) {
return std::vector<T>(a);
}
template <typename T, typename... Ts> auto make_v(size_t a, T... | #include <bits/stdc++.h>
using namespace std::literals::string_literals;
using i64 = std::int_fast64_t;
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
template <typename T> std::vector<T> make_v(size_t a) {
return std::vector<T>(a);
}
template <typename T, typename... Ts> auto make_v(size_t a, T... | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 228 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr int mo = 1e9 + 7;
constexpr int inf = 1 << 30;
constexpr ll infl = 1ll << 60;
constexpr ll mo2 = 998244353;
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
int a, b, c, d;
cin >> a >> b >> c >> d;
int count = 0;
wh... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr int mo = 1e9 + 7;
constexpr int inf = 1 << 30;
constexpr ll infl = 1ll << 60;
constexpr ll mo2 = 998244353;
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
int a, b, c, d;
cin >> a >> b >> c >> d;
int count = 0;
wh... | [["+", 0, 52, 8, 9, 0, 1, 0, 27, 28, 22], ["+", 0, 52, 8, 9, 0, 1, 0, 27, 17, 29], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35]] | 1 | 154 |
A,B,C,D = [int(_n) for _n in input().split()]
taka = C / B + (0 if C % B == 0 else 1)
aoki = A / D + (0 if A % D == 0 else 1)
print("Yes" if taka <= aoki else "No") | A,B,C,D = [int(_n) for _n in input().split()]
taka = C // B + (0 if C % B == 0 else 1)
aoki = A // D + (0 if A % D == 0 else 1)
# print(taka)
# print(aoki)
print("Yes" if taka <= aoki else "No") | [["-", 0, 1, 0, 662, 12, 657, 31, 657, 17, 85], ["+", 0, 1, 0, 662, 12, 657, 31, 657, 17, 676]] | 5 | 72 |
import math
a,b,c,d = map(int,input().split())
t = math.ceil(c/b)
o = math.ceil(a/d)
print(t,o)
if t <= o:
print('Yes')
else:
print('No') | import math
a,b,c,d = map(int,input().split())
t = math.ceil(c/b)
o = math.ceil(a/d)
if t <= o:
print('Yes')
else:
print('No') | [["-", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 67 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
while (true) {
C -= B;
if (C < 1) {
cout << "Yes" << endl;
break;
}
A -= D;
if (A < 1) {
cout << "No" << endl;
}
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C, D;
cin >> A >> B >> C >> D;
while (true) {
C -= B;
if (C < 1) {
cout << "Yes" << endl;
break;
}
A -= D;
if (A < 1) {
cout << "No" << endl;
break;
}
}
} | [["+", 8, 9, 0, 57, 64, 9, 0, 93, 0, 94], ["+", 8, 9, 0, 57, 64, 9, 0, 93, 0, 35]] | 1 | 79 |
a,b,c,d = [int(i) for i in input().split()]
while True:
c -= b
if c <= 0:
print("Yes")
exit()
a -= d
if d <= 0:
print("No")
exit() | a,b,c,d = [int(i) for i in input().split()]
while True:
c -= b
if c <= 0:
print("Yes")
exit()
a -= d
if a <= 0:
print("No")
exit() | [["-", 0, 52, 8, 196, 0, 57, 15, 666, 0, 22], ["+", 0, 52, 8, 196, 0, 57, 15, 666, 0, 22]] | 5 | 61 |
A, B, C, D = map(int,input().split())
while True:
C -= B
if C <= 0:
ans = 'Yes'
break
A -= D
if C <= 0:
ans = 'No'
break
print(ans) | A, B, C, D = map(int,input().split())
while True:
C -= B
if C <= 0:
ans = 'Yes'
break
A -= D
if A <= 0:
ans = 'No'
break
print(ans)
| [["-", 0, 52, 8, 196, 0, 57, 15, 666, 0, 22], ["+", 0, 52, 8, 196, 0, 57, 15, 666, 0, 22]] | 5 | 55 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (ll i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define m1(x) memset(x, -1, sizeof(x))
const int INF = 1e9;
const ll MOD = 1e9 + 7;
const double PI = 3.141592653589;
int main() {
in... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (ll i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define m1(x) memset(x, -1, sizeof(x))
const int INF = 1e9;
const ll MOD = 1e9 + 7;
const double PI = 3.141592653589;
int main() {
in... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 142 |
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <functional>
#include <iostream>
using namespace __gnu_pbds;
using namespace std;
// Declaring ordered_set
typedef tree<long long int, null_type, less<long long int>, rb_tree_tag,
tree_order_stat... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <functional>
#include <iostream>
using namespace __gnu_pbds;
using namespace std;
// Declaring ordered_set
typedef tree<long long int, null_type, less<long long int>, rb_tree_tag,
tree_order_stat... | [["+", 0, 52, 8, 9, 0, 57, 64, 9, 0, 45], ["+", 8, 9, 0, 57, 64, 9, 0, 1, 0, 35], ["+", 8, 9, 0, 57, 64, 9, 0, 93, 0, 94], ["+", 0, 52, 8, 9, 0, 57, 64, 9, 0, 46]] | 1 | 311 |
#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define ll long long
using namespace std;
// typedef vector<unsigned int>vec;
// typedef vector<ll>vec;
// typedef vector<vec> mat;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
const int dx[8] = {1, 0, -1, 0, 1, -1, -1, 1};
const int dy[8] = {... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define ll long long
using namespace std;
// typedef vector<unsigned int>vec;
// typedef vector<ll>vec;
// typedef vector<vec> mat;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
const int dx[8] = {1, 0, -1, 0, 1, -1, -1, 1};
const int dy[8] = {... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 310 |
/**
If comrades that you trust gather around you, hope can take physical form and
become visible. That’s what I believe.
*/
#include <bits/stdc++.h>
using namespace std;
/**
(▀̿Ĺ̯▀̿ ̿) (ง ͠° ͟ل͜ ͡°)ง
*/
auto main() -> int {
ios_base::sync_with_stdio(false);
cin.tie(0);
int a, b, c, d;
cin >> a >> b >> c >> d;
... | /**
If comrades that you trust gather around you, hope can take physical form and
become visible. That’s what I believe.
*/
#include <bits/stdc++.h>
using namespace std;
/**
(▀̿Ĺ̯▀̿ ̿) (ง ͠° ͟ل͜ ͡°)ง
*/
auto main() -> int {
ios_base::sync_with_stdio(false);
cin.tie(0);
int a, b, c, d;
cin >> a >> b >> c >> d;
... | [["-", 0, 57, 75, 76, 0, 1, 0, 11, 31, 22], ["+", 0, 57, 75, 76, 0, 1, 0, 11, 31, 22]] | 1 | 109 |
/**
* code generated by JHelper
* More info: https://github.com/AlexeyDmitriev/JHelper
* @author champon
*/
#include <bits/stdc++.h>
#include <fstream>
#include <iostream>
#define se cout << "test ok" << endl;
#define sp << " " <<
#define enl "\n"
using namespace std;
using ll = long long;
using ld = long double;
... | /**
* code generated by JHelper
* More info: https://github.com/AlexeyDmitriev/JHelper
* @author champon
*/
#include <bits/stdc++.h>
#include <fstream>
#include <iostream>
#define se cout << "test ok" << endl;
#define sp << " " <<
#define enl "\n"
using namespace std;
using ll = long long;
using ld = long double;
... | [["-", 8, 9, 0, 57, 15, 339, 51, 91, 17, 111], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 868 |
A, B, C, D = map(int, input().split())
while True:
C -= B
if C <= 0:
print("Yes")
exit()
A -= D
if A < 0:
print("No")
exit() | A, B, C, D = map(int, input().split())
while True:
C -= B
if C <= 0:
print("Yes")
exit()
A -= D
if A <= 0:
print("No")
exit() | [["-", 0, 52, 8, 196, 0, 57, 15, 666, 667, 18], ["+", 0, 52, 8, 196, 0, 57, 15, 666, 667, 19]] | 5 | 57 |
#include <algorithm>
#include <iostream>
#include <queue>
#include <stack>
#include <stdio.h>
#include <vector>
using ll = long long int;
const int INF = (1 << 30);
const ll INFLL = (1ll << 60);
const ll MOD = (ll)(1e9 + 7);
#define l_ength size
void mul_mod(ll &a, ll b) {
a *= b;
a %= MOD;
}
void add_mod(ll &a... | #include <algorithm>
#include <iostream>
#include <queue>
#include <stack>
#include <stdio.h>
#include <vector>
using ll = long long int;
const int INF = (1 << 30);
const ll INFLL = (1ll << 60);
const ll MOD = (ll)(1e9 + 7);
#define l_ength size
void mul_mod(ll &a, ll b) {
a *= b;
a %= MOD;
}
void add_mod(ll &a... | [["-", 0, 52, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 52, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22]] | 1 | 228 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.