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 |
|---|---|---|---|---|
a,v=[int(_) for _ in input().split()]
b,w=[int(_) for _ in input().split()]
T=n=int(input())
if (abs(a-b)<=abs(v-w)*T):
print("YES")
else:
print("NO") | a,v=[int(_) for _ in input().split()]
b,w=[int(_) for _ in input().split()]
T=n=int(input())
if (abs(a-b)<=(v-w)*T):
print("YES")
else:
print("NO") | [["-", 15, 23, 0, 666, 0, 657, 31, 652, 63, 22]] | 5 | 83 |
#include <bits/stdc++.h>
using namespace std;
using lli = long long int;
lli a, b, v, w, t;
int main(void) {
cin >> a >> v;
cin >> b >> w;
cin >> t;
if ((v - w) * t >= b - a)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
using lli = long long int;
lli a, b, v, w, t;
int main(void) {
cin >> a >> v;
cin >> b >> w;
cin >> t;
if ((v - w) * t >= abs(b - a))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [["+", 0, 57, 15, 339, 51, 16, 12, 2, 63, 22], ["+", 15, 339, 51, 16, 12, 2, 3, 4, 0, 24], ["+", 15, 339, 51, 16, 12, 2, 3, 4, 0, 25]] | 1 | 81 |
a,v = map(int, input().split())
b,w = map(int, input().split())
t = int(input())
if v*t >= w*t + (b-a):
print("YES")
else:
print("NO") | a,v = map(int, input().split())
b,w = map(int, input().split())
t = int(input())
if v*t >= w*t + abs(b-a):
print("YES")
else:
print("NO") | [["+", 0, 57, 15, 666, 0, 657, 12, 652, 63, 22]] | 5 | 69 |
a,v=list(map(int,input().split()))
b,w=list(map(int,input().split()))
t=int(input())
#print(a,v,b,w,t)
if (v-w)*t>=(b-a):
print('YES')
else:
print('NO') | a,v=list(map(int,input().split()))
b,w=list(map(int,input().split()))
t=int(input())
#print(a,v,b,w,t)
if (v-w)*t>=abs(b-a):
print('YES')
else:
print('NO') | [["+", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22]] | 5 | 76 |
a,v = gets.chomp.split.map(&:to_i)
b,w = gets.chomp.split.map(&:to_i)
t = gets.chomp.to_i
if w >= v
puts 'NO'
exit
end
l = (a-b).abs
oi = l/(v-w)
if oi <= t
puts 'YES'
else
puts 'NO'
end
| a,v = gets.chomp.split.map(&:to_i)
b,w = gets.chomp.split.map(&:to_i)
t = gets.chomp.to_i
if w >= v
puts 'NO'
exit
end
l = (a-b).abs
oi = l.to_f/(v-w)
if oi <= t
puts 'YES'
else
puts 'NO'
end
| [["+", 0, 493, 0, 662, 12, 738, 31, 652, 17, 131], ["+", 0, 493, 0, 662, 12, 738, 31, 652, 735, 22]] | 4 | 79 |
#include <algorithm>
#include <cstdio>
using namespace std;
int main() {
int A, V, B, W, T;
scanf("%lld%lld%lld%lld%lld", &A, &V, &B, &W, &T);
if (abs(A - B) > (V - W) * T) {
printf("NO\n");
} else
printf("YES\n");
} | #include <algorithm>
#include <cstdio>
using namespace std;
int main() {
long long A, V, B, W, T;
scanf("%lld%lld%lld%lld%lld", &A, &V, &B, &W, &T);
if (abs(A - B) > (V - W) * T) {
printf("NO\n");
} else
printf("YES\n");
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 83 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (v - w > 0 && abs(a - b) / (long double)abs(v - w) <= t)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (v - w > 0 && abs(a - b) / (long double)abs(v - w) <= t)
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [["-", 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 | 81 |
#include <bits/stdc++.h>
typedef long long ll;
using namespace std;
//#define N 110
//#define M 61
//#define MOD 100003
// vector <pair<int,int> > edge[M];
// int d[N][N];
// priority_queue <pair<ll,ll>,vector<pair<ll,ll> >,greater<pair<ll,ll> > >q;
// queue <int> q;
// ll cnte[N];
// int ans=0;
// vector <int> edge[N]... | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
//#define N 110
//#define M 61
//#define MOD 100003
// vector <pair<int,int> > edge[M];
// int d[N][N];
// priority_queue <pair<ll,ll>,vector<pair<ll,ll> >,greater<pair<ll,ll> > >q;
// queue <int> q;
// ll cnte[N];
// int ans=0;
// vector <int> edge[N]... | [["-", 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 | 120 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define f(i, x, n) for (int i = x; i < n; i++)
#define all(c) c.begin(), c.end()
const int MOD = 1e9 + 7, N = 5e5 + 10;
const int LINF = LLONG_MAX;
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a, v, b, w, t;
cin >> a >... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define f(i, x, n) for (int i = x; i < n; i++)
#define all(c) c.begin(), c.end()
const int MOD = 1e9 + 7, N = 5e5 + 10;
const int LINF = LLONG_MAX;
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a, v, b, w, t;
cin >> a >... | [["-", 64, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 64, 9, 0, 43, 49, 50, 51, 16, 17, 33]] | 1 | 184 |
grid = []
for i in range(3):
array = list(map(int, input().strip().split()))
grid.append(array)
if grid[1][0]-grid[0][0]<(grid[0][1]-grid[1][1])*grid[2][0]:
print("YES")
else:
print("NO") | grid = []
for i in range(3):
array = list(map(int, input().strip().split()))
grid.append(array)
if abs(grid[1][0]-grid[0][0])<=(grid[0][1]-grid[1][1])*grid[2][0]:
print("YES")
else:
print("NO")
| [["+", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 24], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 25], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 96 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int A = sc.nextInt();
int V = sc.nextInt();
int B = sc.nextInt();
int W = sc.nextInt();
int T = sc.nextInt();
if (W >= V) {
System.out.println("NO");
return;... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int A = sc.nextInt();
int V = sc.nextInt();
int B = sc.nextInt();
int W = sc.nextInt();
int T = sc.nextInt();
if (W >= V) {
System.out.println("NO");
return;... | [["-", 3, 4, 0, 510, 15, 16, 31, 16, 17, 72], ["+", 3, 4, 0, 510, 15, 16, 31, 16, 17, 33], ["-", 3, 4, 0, 510, 15, 16, 12, 16, 17, 72], ["+", 3, 4, 0, 510, 15, 16, 12, 16, 17, 33]] | 3 | 178 |
A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
d = abs(A - B)
if d < (V - W) * T:
print('YES')
else:
print('NO') | A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
d = abs(A - B)
if d <= (V - W) * T:
print('YES')
else:
print('NO') | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 73 |
// B.
#include <algorithm>
#include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
using namespace std;
typedef long long LL;
int main() {
LL a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
LL dist = abs(a - b);
LL diff = v - w;
bool ans = diff > 0;
if (ans) {
LL c = dist / diff;
... | // B.
#include <algorithm>
#include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
using namespace std;
typedef long long LL;
int main() {
LL a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
LL dist = abs(a - b);
LL diff = v - w;
bool ans = diff > 0;
if (ans) {
LL mx = t * diff;
if... | [["-", 0, 57, 64, 9, 0, 43, 49, 50, 49, 22], ["+", 0, 57, 64, 9, 0, 43, 49, 50, 49, 22], ["-", 64, 9, 0, 43, 49, 50, 51, 16, 31, 22], ["-", 64, 9, 0, 43, 49, 50, 51, 16, 17, 85], ["+", 64, 9, 0, 43, 49, 50, 51, 16, 31, 22], ["+", 64, 9, 0, 43, 49, 50, 51, 16, 17, 48], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["-"... | 1 | 119 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rrep(i, n) for (int i = (n)-1; i >= 0; i--)
#define rep1(i, n) for (int i = 1; i <= (n); i++)
#define rrep1(i, n) for (int i = (n); i > 0; i--)
#define ll long long
#define pi pair<int, int>
#define pll pair<ll, ll>
#define MOD 10000000... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rrep(i, n) for (int i = (n)-1; i >= 0; i--)
#define rep1(i, n) for (int i = 1; i <= (n); i++)
#define rrep1(i, n) for (int i = (n); i > 0; i--)
#define ll long long
#define pi pair<int, int>
#define pll pair<ll, ll>
#define MOD 10000000... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 85], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48]] | 1 | 138 |
input_a = input().split()
a = int(input_a[0])
v = int(input_a[1])
input_b = input().split()
b = int(input_b[0])
w = int(input_b[1])
t = int(input())
distance = abs(a - b)
relative_velocity = v - w
if relative_velocity <= 0:
print("NO")
elif distance / relative_velocity < t:
print("YES")
else:
print("NO") | input_a = input().split()
a = int(input_a[0])
v = int(input_a[1])
input_b = input().split()
b = int(input_b[0])
w = int(input_b[1])
t = int(input())
distance = abs(a - b)
relative_velocity = v - w
if relative_velocity <= 0:
print("NO")
elif distance / relative_velocity > t:
print("NO")
else:
print("YES") | [["-", 0, 656, 0, 57, 75, 665, 15, 666, 667, 18], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 667, 47], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 107 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
double a, b, v, w, t, dist;
cin >> a >> v >> b >> w >> t;
if (a - b >= 0)
dist = a - b;
else
dist = b - a;
if (dist < (v - w) * t)
cout ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
double a, b, v, w, t, dist;
cin >> a >> v >> b >> w >> t;
if (a - b >= 0)
dist = a - b;
else
dist = b - a;
if (dist <= (v - w) * t)
cout... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 114 |
a,v=map(int,input().split())
b,w=map(int,input().split())
t=int(input())
if a>b:
muki=-1
else:
muki=1
at=a+v*muki*t
bt=b+w*muki*t
if muki:
if at>=bt:
print("YES")
else:
print("NO")
else:
if at<=bt:
print("YES")
else:
print("NO") | a,v=map(int,input().split())
b,w=map(int,input().split())
t=int(input())
if a>b:
muki=-1
else:
muki=1
at=a+v*muki*t
bt=b+w*muki*t
if muki==1:
if at>=bt:
print("YES")
else:
print("NO")
else:
if at<=bt:
print("YES")
else:
print("NO") | [["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 60], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612]] | 5 | 115 |
a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
a_dis = t*v
b_dis = abs(a-b) + t*w
if a_dis > b_dis:
print("YES")
else:
print("NO") | a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
a_dis = t*v
b_dis = abs(a-b) + t*w
if a_dis >= b_dis:
print("YES")
else:
print("NO") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20]] | 5 | 76 |
import sys
input = lambda: sys.stdin.readline().rstrip()
sys.setrecursionlimit(10**7)
INF = 10**20
def I(): return int(input())
def F(): return float(input())
def S(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [int(x)-1 for x in input().split()]
def LF(): return [float(x) for ... | import sys
input = lambda: sys.stdin.readline().rstrip()
sys.setrecursionlimit(10**7)
INF = 10**20
def I(): return int(input())
def F(): return float(input())
def S(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [int(x)-1 for x in input().split()]
def LF(): return [float(x) for ... | [["+", 64, 196, 0, 57, 15, 666, 0, 652, 63, 22], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 24], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 25]] | 5 | 212 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < n; i++)
const ll INF = 1001001001;
const double PI = 3.141592653;
const ll sosu = 1000000007; //大きい素数
//提出のときに言語がc++似合っていることを確認する
//絶対値の関数
int z(int a, int b) {
if (a > b)
return a - b;
else
return ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < n; i++)
const ll INF = 1001001001;
const double PI = 3.141592653;
const ll sosu = 1000000007; //大きい素数
//提出のときに言語がc++似合っていることを確認する
//絶対値の関数
int z(int a, int b) {
if (a > b)
return a - b;
else
return ... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 135 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
int i, j, k;
i = (v - w) * t;
j = b - a;
j = abs(j);
if (i > j)
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
long long int i, j, k;
i = (v - w) * t;
j = b - a;
j = abs(j);
if (i >= j)
cout << "YES";
else
cout << "NO";
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 84 |
/*
* ┌─┐ ┌─┐ + +
* ┌──┘ ┴───────┘ ┴──┐++
* │ │
* │ ─── │++ + + +
* ███████───███████ │+
* │ │+
* │ ─┴─ │
* │ │
* └───┐ ┌───┘
* │ │
* │ │ + +
* │ │ Code... | /*
* ┌─┐ ┌─┐ + +
* ┌──┘ ┴───────┘ ┴──┐++
* │ │
* │ ─── │++ + + +
* ███████───███████ │+
* │ │+
* │ ─┴─ │
* │ │
* └───┐ ┌───┘
* │ │
* │ │ + +
* │ │ Code... | [["-", 15, 339, 51, 16, 12, 16, 31, 2, 63, 22]] | 1 | 745 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0, i##_len = (int)(n); i < i##_len; i++)
#define rep1(i, n) for (int i = 1, i##_len = (int)(n); i <= i##_len; i++)
#define rrep(i, n) for (int i = (int)(n)-1; 0 <= i; i--)
#define rrep1(i, n) for (int i = (int)(n); 1 <= i; i--)
#define each(it, c) ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0, i##_len = (int)(n); i < i##_len; i++)
#define rep1(i, n) for (int i = 1, i##_len = (int)(n); i <= i##_len; i++)
#define rrep(i, n) for (int i = (int)(n)-1; 0 <= i; i--)
#define rrep1(i, n) for (int i = (int)(n); 1 <= i; i--)
#define each(it, c) ... | [["+", 12, 23, 0, 41, 15, 16, 31, 2, 63, 22], ["+", 0, 41, 15, 16, 31, 2, 3, 4, 0, 24], ["+", 0, 41, 15, 16, 31, 2, 3, 4, 0, 25]] | 1 | 225 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
using ld = long double;
const ld pi = 3.141592653589793;
#ifdef EBUG
#define debug(x) cout << "\033[31m" << #x << ": " << x << "\033[0m\n";
#else
#... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
using ld = long double;
const ld pi = 3.141592653589793;
#ifdef EBUG
#define debug(x) cout << "\033[31m" << #x << ": " << x << "\033[0m\n";
#else
#... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 85], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48]] | 1 | 146 |
def main():
A,V = map(int, input().split())
B,W = map(int, input().split())
T = int(input())
if V-W<=0:
print('NO')
elif abs(A-B)//(V-W)<=T:
print('YES')
else:
print('NO')
main()
| def main():
A,V = map(int, input().split())
B,W = map(int, input().split())
T = int(input())
if V-W<=0:
print('NO')
elif abs(A-B)/(V-W)<=T:
print('YES')
else:
print('NO')
main()
| [["-", 0, 57, 75, 665, 15, 666, 0, 657, 17, 676], ["+", 0, 57, 75, 665, 15, 666, 0, 657, 17, 85]] | 5 | 91 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<ll> vl;
typedef vector<string> vs;
using pll = pair<ll, ll>;
using vl = vector<ll>;
using vll = vector<vl>;
using vpll = vector<pll>;
struct Edge {
ll to;
ll cost;
};
using Graph = vector<vector<Edge>>;
#define FOR(i, a, b) for (ll... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<ll> vl;
typedef vector<string> vs;
using pll = pair<ll, ll>;
using vl = vector<ll>;
using vll = vector<vl>;
using vpll = vector<pll>;
struct Edge {
ll to;
ll cost;
};
using Graph = vector<vector<Edge>>;
#define FOR(i, a, b) for (ll... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 72], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 33], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 72], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 33]] | 1 | 312 |
#include <bits/stdc++.h>
using namespace std;
using str = string;
using ll = long long;
#define REP(i, n) for (int i = 0; i < int(n); i++)
#define RREP(i, n) for (int i = int(n) - 1; i >= 0; i--)
#define FOR(i, f, t) for (int i = int(f); i <= int(t); i++)
#define RFOR(i, f, t) for (int i = int(f); i >= int(t); i--)
#de... | #include <bits/stdc++.h>
using namespace std;
using str = string;
using ll = long long;
#define REP(i, n) for (int i = 0; i < int(n); i++)
#define RREP(i, n) for (int i = int(n) - 1; i >= 0; i--)
#define FOR(i, f, t) for (int i = int(f); i <= int(t); i++)
#define RFOR(i, f, t) for (int i = int(f); i >= int(t); i--)
#de... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 188 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
long V = sc.nextLong();
long B = sc.nextLong();
long W = sc.nextLong();
long T = sc.nextLong();
if (Math.abs(B - A) < (V - W... | import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
long V = sc.nextLong();
long B = sc.nextLong();
long W = sc.nextLong();
long T = sc.nextLong();
if (Math.abs(B - A) <= (V - ... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 19]] | 3 | 128 |
a,v = map(int, input().split())
b,w = map(int, input().split())
t=int(input())
rev = v-w
if rev*t >= (b-a):
print("YES")
else:
print("NO") | a,v = map(int, input().split())
b,w = map(int, input().split())
t=int(input())
rev = v-w
if rev*t >= abs(b-a):
print("YES")
else:
print("NO") | [["+", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22]] | 5 | 70 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr long long MOD = 1000000007;
constexpr long long INF = 1LL << 60;
const long double PI = acosl(-1.0);
constexpr long double EPS = 1e-11;
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr long long MOD = 1000000007;
constexpr long long INF = 1LL << 60;
const long double PI = acosl(-1.0);
constexpr long double EPS = 1e-11;
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 199 |
A,V = map(int,input().split())
B,W = map(int,input().split())
T = int(input())
v = V - W
sa = abs(A-B)
if v <= 0:
print("NO")
else:
if sa / v < T:
print("YES")
else:
print("NO")
| A,V = map(int,input().split())
B,W = map(int,input().split())
T = int(input())
v = V - W
sa = abs(A-B)
if v <= 0:
print("NO")
else:
if sa / v <= T:
print("YES")
else:
print("NO")
| [["-", 75, 76, 8, 196, 0, 57, 15, 666, 667, 18], ["+", 75, 76, 8, 196, 0, 57, 15, 666, 667, 19]] | 5 | 87 |
#include <bits/stdc++.h>
using namespace std;
#ifdef ENABLE_DEBUG_OUTPUT
#define DEBUG_LOG(s) cout << s << endl;
#else
#define DEBUG_LOG(s) void();
#endif
int main() {
int64_t a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
cout << (abs(a - b) < (v - w) * t ? "YES" : "NO") << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#ifdef ENABLE_DEBUG_OUTPUT
#define DEBUG_LOG(s) cout << s << endl;
#else
#define DEBUG_LOG(s) void();
#endif
int main() {
int64_t a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
cout << (abs(a - b) <= (v - w) * t ? "YES" : "NO") << endl;
return 0;
} | [["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 18], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 19]] | 1 | 83 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ll long long
ll gcd(ll x, ll y) { return (x % y) ? gcd(y, x % y) : y; } //最大公約数
ll lcm(ll x, ll y) { return x / gcd(x, y) * y; } //最小公倍数
using Graph = vector<vector<ll>>;
ll inf = 300000000000000000;
con... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ll long long
ll gcd(ll x, ll y) { return (x % y) ? gcd(y, x % y) : y; } //最大公約数
ll lcm(ll x, ll y) { return x / gcd(x, y) * y; } //最小公倍数
using Graph = vector<vector<ll>>;
ll inf = 300000000000000000;
con... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 158 |
#include <bits/stdc++.h>
using namespace std;
#define sz(x) (int)((x).size())
#define forn(i, n) for (int i = 0; i < n; i++)
#define forse(i, s, e) for (int i = s; i < e; i++)
#define pb push_back
#define fi first
#define se second
#define all(vec) vec.begin(), vec.end()
#define time() ((double)clock() / CLOCKS_PER_S... | #include <bits/stdc++.h>
using namespace std;
#define sz(x) (int)((x).size())
#define forn(i, n) for (int i = 0; i < n; i++)
#define forse(i, s, e) for (int i = s; i < e; i++)
#define pb push_back
#define fi first
#define se second
#define all(vec) vec.begin(), vec.end()
#define time() ((double)clock() / CLOCKS_PER_S... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 48], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22]] | 1 | 218 |
a,v = map(int,input().split())
b,w = map(int,input().split())
t = int(input())
dist = b - a
time_dif = v - w
if dist > time_dif*t:
print('NO')
else:
print('YES') | a,v = map(int,input().split())
b,w = map(int,input().split())
t = int(input())
dist = abs(b - a)
time_dif = v - w
if dist > time_dif*t:
print('NO')
else:
print('YES') | [["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 71 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define REP(i, m, n) for (int i = (int)(m); i < (int)(n); i++)
#define rep(i, n) REP(i, 0, n)
#define RREP(i, m, n) for (int i = (int)(m); i >= (int)(n); i--)
#define rrep(i, n) RREP(i, n - 1, 0)
#define all(v) v.begin(), v.end()
const int inf = 1e9 + 7... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define REP(i, m, n) for (int i = (int)(m); i < (int)(n); i++)
#define rep(i, n) REP(i, 0, n)
#define RREP(i, m, n) for (int i = (int)(m); i >= (int)(n); i--)
#define rrep(i, n) RREP(i, n - 1, 0)
#define all(v) v.begin(), v.end()
const int inf = 1e9 + 7... | [["-", 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 | 155 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define ld long double
#define ff first
#define ss second
#define pb push_back
#define all(x) x.begin(), x.end()
#define pll pair<int, int>
#define mp make_pair
#define bp __builtin_popcountll
const int N = 10000005;
const int MOD = 1000000007;
#def... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define ld long double
#define ff first
#define ss second
#define pb push_back
#define all(x) x.begin(), x.end()
#define pll pair<int, int>
#define mp make_pair
#define bp __builtin_popcountll
const int N = 10000005;
const int MOD = 1000000007;
#def... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 31, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 31, 22]] | 1 | 148 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll A, B, V, W, T;
int main() {
cin >> A >> V >> B >> W >> T;
if (A + V * T >= B + W * T && A - V * T <= B + W * T)
puts("YES");
else
puts("NO");
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll A, B, V, W, T;
int main() {
cin >> A >> V >> B >> W >> T;
if (A + V * T >= B + W * T && A - V * T <= B - W * T)
puts("YES");
else
puts("NO");
} | [["-", 15, 339, 51, 16, 12, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 17, 33]] | 1 | 81 |
a, v = list(map(int,input().strip().split()))
b, w = list(map(int,input().strip().split()))
t = int(input())
if w - v >= 0:
print("NO")
else:
time = abs(a-b)/(v-w)
if t <= time:
print("YES")
else:
print("NO") | a, v = list(map(int,input().strip().split()))
b, w = list(map(int,input().strip().split()))
t = int(input())
if w - v >= 0:
print("NO")
else:
time = abs(a-b)/(v-w)
if time <= t:
print("YES")
else:
print("NO") | [["-", 75, 76, 8, 196, 0, 57, 15, 666, 0, 22], ["-", 75, 76, 8, 196, 0, 57, 15, 666, 667, 19], ["+", 75, 76, 8, 196, 0, 57, 15, 666, 667, 19], ["+", 75, 76, 8, 196, 0, 57, 15, 666, 0, 22]] | 5 | 102 |
#include <bits/stdc++.h>
#define for_int(i, a, b) for (int i = (a); i <= (b); ++i)
#define rep_int(i, a, b) for (int i = (a); i >= (b); --i)
#define for_ll(i, a, b) for (ll i = (a); i <= (b); ++i)
#define rep_ll(i, a, b) for (ll i = (a); i >= (b); --i)
#define ull unsigned long long
#define ll long long
#define db doub... | #include <bits/stdc++.h>
#define for_int(i, a, b) for (int i = (a); i <= (b); ++i)
#define rep_int(i, a, b) for (int i = (a); i >= (b); --i)
#define for_ll(i, a, b) for (ll i = (a); i <= (b); ++i)
#define rep_ll(i, a, b) for (ll i = (a); i >= (b); --i)
#define ull unsigned long long
#define ll long long
#define db doub... | [["-", 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 | 261 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
bool ok = false;
if (a < b) {
if (a + v * t >= b + w * t)
ok = true;
} else {
if (a - v * t ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
bool ok = false;
if (a < b) {
if (a + v * t >= b + w * t)
ok = true;
} else {
if (a - v * t ... | [["-", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 130 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
#define ll long long
#define ff first
#define ss second
#define pb push_back
#define mp make_pair
const ll inf = (ll)1e9 + 7;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll i, j, k;
ll a, v, b, w, t;
cin >> a >> v >> b >> w >>... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
#define ll long long
#define ff first
#define ss second
#define pb push_back
#define mp make_pair
const ll inf = (ll)1e9 + 7;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll i, j, k;
ll a, v, b, w, t;
cin >> a >> v >> b >> w >>... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 79]] | 1 | 176 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int v = sc.nextInt();
int b = sc.nextInt();
int w = sc.nextInt();
int t = sc.nextInt();
if (w >= v || Math.abs(a - b) / (v - w) > t) {
System.o... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int v = sc.nextInt();
int b = sc.nextInt();
int w = sc.nextInt();
int t = sc.nextInt();
if (w >= v || Math.abs(a - b) / (double)(v - w) > t) {
... | [["+", 12, 16, 31, 16, 12, 74, 39, 511, 0, 512], ["+", 0, 16, 12, 16, 31, 16, 12, 74, 0, 25], ["+", 12, 16, 31, 16, 12, 74, 51, 23, 0, 24]] | 3 | 130 |
a, v = map(int,input().split())
b, w = map(int,input().split())
t = int(input())
if v > w and abs(a-b)//(v-w)<=t:
print("YES")
else:
print("NO") | a, v = map(int,input().split())
b, w = map(int,input().split())
t = int(input())
if v > w and abs(a-b)/(v-w)<=t:
print("YES")
else:
print("NO") | [["-", 0, 57, 15, 679, 12, 666, 0, 657, 17, 676], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 85]] | 5 | 74 |
#include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i... | #include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i... | [["-", 64, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 64, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 91, 17, 111]] | 1 | 346 |
A, V = [int(v) for v in input().strip().split(" ")]
B, W = [int(v) for v in input().strip().split(" ")]
T = int(input().strip())
if B - A <= (V - W) * T:
print("YES")
else:
print("NO") | A, V = [int(v) for v in input().strip().split(" ")]
B, W = [int(v) for v in input().strip().split(" ")]
T = int(input().strip())
if abs(B - A) <= (V - W) * T:
print("YES")
else:
print("NO") | [["+", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 24], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 25]] | 5 | 93 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using vll = vector<ll>;
#define all(v) v.begin(), v.end()
int main() {
ll A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (W >= V)
cout << "No" << endl;
else {
if (B > A) {
B =... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using vll = vector<ll>;
#define all(v) v.begin(), v.end()
int main() {
ll A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (W >= V)
cout << "NO" << endl;
else {
if (B > A) {
B =... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 168 |
#東京海上日動 プログラミングコンテスト2020 b
a,v = map(int, input().split())
b,w = map(int, input().split())
t = int(input())
dis = abs(a-b)
move = abs(w-v)
if dis <= move * t:
print('YES')
else:
print('NO') | #東京海上日動 プログラミングコンテスト2020 b
a,v = map(int, input().split())
b,w = map(int, input().split())
t = int(input())
dis = abs(a-b)
move = v-w
if dis <= move * t:
print('YES')
else:
print('NO')
| [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 662, 12, 652, 3, 4, 0, 657, 31, 22], ["-", 0, 662, 12, 652, 3, 4, 0, 657, 17, 33], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 33], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 22]] | 5 | 78 |
A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
delta_v = V - W
if delta_v <= 0:
print('No')
elif (abs(A - B) + delta_v - 1) // delta_v > T:
print('No')
else:
print('Yes')
| A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
delta_v = V - W
if delta_v <= 0:
print('NO')
elif (abs(A - B) + delta_v - 1) // delta_v > T:
print('NO')
else:
print('YES')
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 88 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
// your code goes here
long long a, b, v, w;
cin >> a >> v >> b >> w;
long long x;
cin >> x;
long long k1 = x * v, k2 = x * w + abs(a - b);
if (k1 >= k2)
cout << "Yes";
else
cout << "No";
return 0;
}
| #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
// your code goes here
long long a, b, v, w;
cin >> a >> v >> b >> w;
long long x;
cin >> x;
long long k1 = x * v, k2 = x * w + abs(a - b);
if (k1 >= k2)
cout << "YES";
else
cout << "NO";
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 | 86 |
a,v=map(int,input().split())
b,w=map(int,input().split())
t=int(input())
if v-w!=0 and (a-b)/(v-w)<=t:
print("YES")
else:
print("NO")
| a,v=map(int,input().split())
b,w=map(int,input().split())
t=int(input())
if v-w>0 and abs(a-b)/(v-w)<=t:
print("YES")
else:
print("NO") | [["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 79], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 47], ["+", 15, 679, 12, 666, 0, 657, 31, 652, 63, 22]] | 5 | 75 |
#include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
typedef long long ll;
#define MOD 1000000007
using namespace std;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO" << endl;
return 0;
}
if (abs(b - a) / (v - w) <= t) {
cout << "YES" << endl;
} ... | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
typedef long long ll;
#define MOD 1000000007
using namespace std;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO" << endl;
return 0;
}
if (abs(b - a) <= (v - w) * t) {
cout << "YES" << endl;
} ... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 85], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48]] | 1 | 106 |
A,V = map(int,input().split())
B,W = map(int,input().split())
T = int(input())
if W-V == 0 or abs(A-B)/abs(W-V) > T:
print('NO')
else:
print('YES') | A,V = map(int,input().split())
B,W = map(int,input().split())
T = int(input())
if W>=V or abs(A-B)/abs(W-V) > T:
print('NO')
else:
print('YES') | [["-", 0, 57, 15, 679, 31, 666, 0, 657, 17, 33], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 20], ["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 60], ["-", 0, 656, 0, 57, 15, 679, 31, 666, 0, 612]] | 5 | 77 |
#include <bits/stdc++.h>
using namespace std;
typedef long long i64;
int main() {
i64 a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if ((v - w) * t >= b - a)
cout << "YES\n";
else
cout << "NO\n";
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long i64;
int main() {
i64 a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if ((v - w) * t >= abs(b - a))
cout << "YES\n";
else
cout << "NO\n";
}
| [["+", 0, 57, 15, 339, 51, 16, 12, 2, 63, 22], ["+", 15, 339, 51, 16, 12, 2, 3, 4, 0, 24], ["+", 15, 339, 51, 16, 12, 2, 3, 4, 0, 25]] | 1 | 69 |
#include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <memory>
#include <numeric>
#include <queue>
#include <set>
#include <... | #include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <memory>
#include <numeric>
#include <queue>
#include <set>
#include <... | [["+", 49, 50, 51, 16, 31, 23, 0, 16, 17, 33], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 12, 13]] | 1 | 164 |
#include <algorithm>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
using namespace std;
#define rep(i, a, n) fo... | #include <algorithm>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string.h>
#include <string>
#include <time.h>
#include <vector>
using namespace std;
#define rep(i, a, n) fo... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40]] | 1 | 626 |
#include <algorithm>
#include <climits>
#include <cmath>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <unordered_set>
#include <vector>
using namespace std... | #include <algorithm>
#include <climits>
#include <cmath>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <unordered_set>
#include <vector>
using namespace std... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 121 |
a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
ans = "NO"
if (v-w)*t >= (b-a):
ans = "YES"
print(ans) | a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
ans = "NO"
if (v-w)*t >= abs(b-a):
ans = "YES"
print(ans) | [["+", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22]] | 5 | 69 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rrep(i, n) for (int i = (int)(n - 1); i >= 0; i--)
#define all(x) (x).begin(), (x).end()
#define sz(x) int(x.size())
#define get_unique(x) x.erase(unique(all(x)), x.end());
typedef long long ll;
typedef complex<do... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rrep(i, n) for (int i = (int)(n - 1); i >= 0; i--)
#define all(x) (x).begin(), (x).end()
#define sz(x) int(x.size())
#define get_unique(x) x.erase(unique(all(x)), x.end());
typedef long long ll;
typedef complex<do... | [["+", 0, 43, 49, 50, 51, 16, 12, 2, 63, 22], ["+", 49, 50, 51, 16, 12, 2, 3, 4, 0, 24], ["+", 49, 50, 51, 16, 12, 2, 3, 4, 0, 25]] | 1 | 348 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
int dist = (b - a);
int spe = (v - w);
if ((long long)spe * t >= dist)
printf("YES");
else
printf("NO");
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
int dist = abs(b - a);
int spe = (v - w);
if ((long long)spe * t >= dist)
printf("YES");
else
printf("NO");
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22]] | 1 | 80 |
A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
D = B - A
if (V - W)*T >= D:
print("YES")
else:
print("NO")
| A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
D = abs(B - A)
if (V - W)*T >= D:
print("YES")
else:
print("NO")
| [["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 70 |
#include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdint>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <regex>
#include ... | #include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdint>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <regex>
#include ... | [["+", 12, 23, 0, 41, 15, 16, 12, 2, 63, 22], ["+", 0, 41, 15, 16, 12, 2, 3, 4, 0, 24], ["+", 0, 41, 15, 16, 12, 2, 3, 4, 0, 25]] | 1 | 1,091 |
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <ve... | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <ve... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 391 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
ll a, v, b, w, t;
int main() {
cin >> a >> v >> b >> w >> t;
if (abs(a - b) < (v - w) * t) {
cout << "YES";
} else {
cout << "NO";
}
}
| #include <bits/stdc++.h>
using namespace std;
#define ll long long
ll a, v, b, w, t;
int main() {
cin >> a >> v >> b >> w >> t;
if (abs(a - b) <= (v - w) * t) {
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]] | 1 | 72 |
a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
d = abs(a - b)
s = v - w
if (s > 0 and t * s > d):
print('YES')
else:
print('NO') | a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
d = abs(a - b)
s = v - w
if (s > 0 and t * s >= d):
print('YES')
else:
print('NO') | [["-", 0, 57, 15, 23, 0, 679, 12, 666, 667, 47], ["+", 0, 57, 15, 23, 0, 679, 12, 666, 667, 20]] | 5 | 80 |
a, v = [int(i) for i in input().split()]
b, w = [int(i) for i in input().split()]
t = int(input())
if v <= w:
print('No')
else:
if abs(a - b) <= t * (v - w):
print('Yes')
else:
print('No') | a, v = [int(i) for i in input().split()]
b, w = [int(i) for i in input().split()]
t = int(input())
if v <= w:
print('NO')
else:
if abs(a - b) <= t * (v - w):
print('YES')
else:
print('NO') | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 91 |
A,V=map(int,input().split())
B,W=map(int,input().split())
t=input()
T=int(t)
if abs(B-A)+(V-W)*T <=0:
print('YES')
else:
print('NO')
| A,V=map(int,input().split())
B,W=map(int,input().split())
t=input()
T=int(t)
if abs(B-A)-(V-W)*T <=0:
print('YES')
else:
print('NO')
| [["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 72], ["+", 0, 656, 0, 57, 15, 666, 0, 657, 17, 33]] | 5 | 75 |
ma = lambda :map(int,input().split())
ni = lambda:int(input())
import collections
import math
import itertools
gcd = math.gcd
a,v = ma()
b,w = ma()
t = ni()
if w>=v:
print("NO")
exit()
d = abs(a-b)
if d + w*t <v*t:
print("YES")
else:
print("NO")
| ma = lambda :map(int,input().split())
ni = lambda:int(input())
import collections
import math
import itertools
gcd = math.gcd
a,v = ma()
b,w = ma()
t = ni()
if w>=v:
print("NO")
exit()
d = abs(a-b)
if d + w*t <=v*t:
print("YES")
else:
print("NO")
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 103 |
#define rep(i, n) for (int i = 0; i < n; i++)
#include <bits/stdc++.h>
#include <climits>
#include <iostream>
using namespace std;
typedef long long ll;
int main() {
int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (A - B > 0)
A = A - B;
else
A = B - A;
if (V <= W)
cout << "NO" << endl;
els... | #define rep(i, n) for (int i = 0; i < n; i++)
#include <bits/stdc++.h>
#include <climits>
#include <iostream>
using namespace std;
typedef long long ll;
int main() {
double A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (A - B > 0)
A = A - B;
else
A = B - A;
if (V <= W)
cout << "NO" << endl;
... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 121 |
#include <bits/stdc++.h>
using namespace std;
#define REP(i, init, n) for (int i = (int)(init); i < (int)(n); i++)
#define vi vector<int>
#define vl vector<long>
#define vvi vector<vector<int>>
#define vvl vector<vector<long>>
#define pint pair<int, int>
#define plong pair<long, long>
int main() {
int A, V, B, W, T... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, init, n) for (int i = (int)(init); i < (int)(n); i++)
#define vi vector<int>
#define vl vector<long>
#define vvi vector<vector<int>>
#define vvl vector<vector<long>>
#define pint pair<int, int>
#define plong pair<long, long>
int main() {
long A, V, B, W, ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 49, 50, 51, 2, 3, 4, 0, 16, 31, 22], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 31, 22], ["-", 49, 50, 51, 2, 3, 4, 0, 16, 12, 22], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 12, 22]] | 1 | 132 |
// #pragma GCC target("avx,avx2,fma")
// #pragma GCC optimization ("Ofast")
// #pragma GCC optimization ("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
// #include <ext/pb_ds/assoc_container.hpp>
// #include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
// template <typename T>
// using ord... | // #pragma GCC target("avx,avx2,fma")
// #pragma GCC optimization ("Ofast")
// #pragma GCC optimization ("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
// #include <ext/pb_ds/assoc_container.hpp>
// #include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
// template <typename T>
// using ord... | [["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 152], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["-", 51, 16, 12, 16, 31, 23, 0, 16, 12, 22], ["+", 51, 16, 12, 16, 31, 23, 0, 16, 12, 22]] | 1 | 281 |
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define ss second
#define ff first
#define N 100005
#define inf 1000000009
#define ll long long
#define pii pair<int, int>
#define sz(a) int(a.size())
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
ll a, b, v, w, t;
int main() {
scanf("%lld%ll... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define ss second
#define ff first
#define N 100005
#define inf 1000000009
#define ll long long
#define pii pair<int, int>
#define sz(a) int(a.size())
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
ll a, b, v, w, t;
int main() {
scanf("%lld%ll... | [["-", 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, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 0, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 166 |
A,V = map(int,input().split())
B,W = map(int,input().split())
T = int(input())
if A - B >= 0 :
C = A - B
else:
C = B - A
X = V - W
Z = T * X
if C - Z >= 0:
print("NO")
else:
print("YES") | A,V = map(int,input().split())
B,W = map(int,input().split())
T = int(input())
if A - B >= 0 :
C = A - B
else:
C = B - A
X = V - W
Z = T * X
if C - Z > 0:
print("NO")
else:
print("YES") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47]] | 5 | 90 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (a < b) {
if (a + t * v >= b + t * w)
cout << "YES";
else
cout << "NO";
} else {
if (a + t * v <= b + t * w)
cout << "YES";
else
cout << "NO";
}
retu... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (a < b) {
if (a + t * v >= b + t * w)
cout << "YES";
else
cout << "NO";
} else {
if (a + t * -1 * v <= b + t * -1 * w)
cout << "YES";
else
cout << "NO";
... | [["+", 51, 16, 31, 16, 12, 16, 31, 16, 12, 13], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 48], ["+", 51, 16, 12, 16, 12, 16, 31, 16, 17, 48], ["+", 51, 16, 12, 16, 12, 16, 31, 16, 12, 13]] | 1 | 104 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
#define ld long double
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
#define ld long double
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
... | [["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95], ["+", 8, 9, 0, 57, 75, 76, 0, 1, 0, 22], ["+", 8, 9, 0, 57, 75, 76, 0, 1, 0, 35]] | 1 | 407 |
a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
s = v-w
d = b-a
if(s*t>=d):
print('YES')
else:
print('NO') | a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
s = v-w
d = b-a
d = abs(d)
if(s*t>=d):
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], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 73 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (abs(b - a) <= v - w * t)
cout << "YES";
else
cout << "NO";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (abs(b - a) <= (v - w) * t)
cout << "YES";
else
cout << "NO";
} | [["+", 15, 339, 51, 16, 12, 16, 31, 23, 0, 24], ["+", 15, 339, 51, 16, 12, 16, 31, 23, 0, 25]] | 1 | 64 |
import io,sys
sys.setrecursionlimit(10**6)
def main():
a,v = map(int,sys.stdin.readline().rstrip().split())
b,w = map(int,sys.stdin.readline().rstrip().split())
t = int(input())
l = abs(a-b)
p = abs(v-w)
if p != 0 and l/p <= t:
print("YES")
else:
print("NO")
main() | import io,sys
sys.setrecursionlimit(10**6)
def main():
a,v = map(int,sys.stdin.readline().rstrip().split())
b,w = map(int,sys.stdin.readline().rstrip().split())
t = int(input())
l = abs(a-b)
p = v-w
if p > 0 and l/p <= t:
print("YES")
else:
print("NO")
main() | [["-", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25], ["-", 8, 196, 0, 57, 15, 679, 31, 666, 667, 79], ["+", 8, 196, 0, 57, 15, 679, 31, 666, 667, 47]] | 5 | 117 |
#include <bits/stdc++.h>
using namespace std;
using i64 = int_fast64_t;
#define rep(i, N) for (i64 i = 0; i < N; i++)
#define Rep(i, k, N) for (i64 i = k; i < N; i++)
#define all(v) v.begin(), v.end()
#define eb emplace_back
#define Cout(s) cout << s << endl
string Yes(bool b) {
if (b) {
return "Yes";
} else {
... | #include <bits/stdc++.h>
using namespace std;
using i64 = int_fast64_t;
#define rep(i, N) for (i64 i = 0; i < N; i++)
#define Rep(i, k, N) for (i64 i = k; i < N; i++)
#define all(v) v.begin(), v.end()
#define eb emplace_back
#define Cout(s) cout << s << endl
string Yes(bool b) {
if (b) {
return "Yes";
} else {
... | [["-", 31, 23, 0, 16, 12, 23, 0, 16, 17, 72], ["+", 31, 23, 0, 16, 12, 23, 0, 16, 17, 33]] | 1 | 186 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef vector<int> vint;
typedef vector<double> vd;
typedef vector<ll> vll;
typedef vector<string> vstr;
typedef vector<vector<int>> vvint;
typedef vector<pair<int, int>> v... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef vector<int> vint;
typedef vector<double> vd;
typedef vector<ll> vll;
typedef vector<string> vstr;
typedef vector<vector<int>> vvint;
typedef vector<pair<int, int>> v... | [["-", 0, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 0, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 581 |
import sys
import os
import itertools
from collections import deque
def main():
if os.getenv("ENV")=='LOCAL':
sys.stdin = open(os.path.dirname(__file__)+'/input.txt', 'r')
A,V=map(int, input().split())
B,W=map(int, input().split())
T=int(input())
if T*W+abs(A-W)<=T*V:
print('YES')... | import sys
import os
import itertools
from collections import deque
def main():
if os.getenv("ENV")=='LOCAL':
sys.stdin = open(os.path.dirname(__file__)+'/input.txt', 'r')
A,V=map(int, input().split())
B,W=map(int, input().split())
T=int(input())
if T*W+abs(A-B)<=T*V:
print('YES')... | [["-", 0, 657, 12, 652, 3, 4, 0, 657, 12, 22], ["+", 0, 657, 12, 652, 3, 4, 0, 657, 12, 22]] | 5 | 132 |
# -*- coding: utf-8 -*-
def solve():
A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
if V-W >0 and abs(A-B)/V-W <= T:
return 'YES'
return 'NO'
if __name__ == '__main__':
print(solve())
| # -*- coding: utf-8 -*-
def solve():
A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
if V-W >0 and abs(A-B)/(V-W) <= T:
return 'YES'
return 'NO'
if __name__ == '__main__':
print(solve())
| [["+", 15, 679, 12, 666, 0, 657, 12, 23, 0, 24], ["+", 15, 679, 12, 666, 0, 657, 12, 23, 0, 25]] | 5 | 87 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long v = sc.nextLong();
long b = sc.nextLong();
long w = sc.nextLong();
long t = sc.nextLong();
long r = Math.max(a - b, b - a);
if (t * (v - w)... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long v = sc.nextLong();
long b = sc.nextLong();
long w = sc.nextLong();
long t = sc.nextLong();
long r = Math.max(a - b, b - a);
if (t * (v - w)... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 135 |
def lscan; gets.split.map(&:to_i); end
a,v = lscan
b,w = lscan
t = gets.to_i
if v <= w
puts 'NO'
else
d = (b-a).abs
u = v - w
if (d/u) <= t
puts 'YES'
else
puts 'NO'
end
end | def lscan; gets.split.map(&:to_i); end
a,v = lscan
b,w = lscan
t = gets.to_i
if v <= w
puts 'NO'
else
d = (b-a).abs
u = v - w
if (d.to_r/u) <= t
puts 'YES'
else
puts 'NO'
end
end | [["+", 15, 738, 31, 739, 0, 738, 31, 652, 17, 131], ["+", 15, 738, 31, 739, 0, 738, 31, 652, 735, 22]] | 4 | 71 |
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;
int main() {
long long int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v < w... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;
int main() {
long long int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 0, 57, 15, 339, 51, 16, 31, 2, 63, 22], ["+", 15, 339, 51, 16, 31, 2, 3, 4, 0, 24], ["+", 15, 339, 51, 16, 31, 2, 3, 4, 0, 25]] | 1 | 107 |
a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
if v <= w:
print('No')
else:
if abs(a - b) <= abs(v - w) * t:
print('Yes')
else:
print('No')
| a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
if v <= w:
print('NO')
else:
if abs(a - b) <= abs(v - w) * t:
print('YES')
else:
print('NO')
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 84 |
a, v = map(int,input().split())
b, w = map(int,input().split())
t = int(input())
if a <= b:
if a+v*t >= b+w*t:
print("YES")
else:
print("NO")
else:
if a+v*t <= b+w*t:
print("YES")
else:
print("NO") | a, v = map(int,input().split())
b, w = map(int,input().split())
t = int(input())
if a <= b:
if a+v*t >= b+w*t:
print("YES")
else:
print("NO")
else:
if a-v*t <= b-w*t:
print("YES")
else:
print("NO") | [["-", 8, 196, 0, 57, 15, 666, 0, 657, 17, 72], ["+", 8, 196, 0, 57, 15, 666, 0, 657, 17, 33]] | 5 | 101 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (abs(b - a) - (t * v - t * w) < 0) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
int64_t a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (abs(b - a) - (t * v - t * w) <= 0) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 88 |
a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
x = t * (v - w)
if (b - a) <= x:
print('YES')
else:
print('NO') | a, v = map(int, input().split())
b, w = map(int, input().split())
t = int(input())
x = t * (v - w)
if abs(b - a) <= x:
print('YES')
else:
print('NO')
| [["+", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22]] | 5 | 72 |
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
using ll = long long;
const ll MOD = 1000000007;
const double pi = acos(-1);
int main() {
ll A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (W >= V && A != B) {
cout << "NO" << endl;
retu... | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
using ll = long long;
const ll MOD = 1000000007;
const double pi = acos(-1);
int main() {
ll A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (W >= V && A != B) {
cout << "NO" << endl;
retu... | [["-", 51, 16, 12, 16, 31, 23, 0, 42, 0, 32], ["+", 51, 16, 12, 16, 31, 23, 0, 16, 17, 33]] | 1 | 130 |
#include <bits/stdc++.h>
#define ll long long
#define endl "\n"
#define pb push_back
#define f(i, n) for (int i = 0; i < n; i++)
#define f1(i, n) for (int i = 1; i < n; i++)
#define rf(i, n) for (int i = n - 1; i >= 0; i--)
#define rep(a, b, c) for (int a = b; a < c; a++)
#define repn(a, b, c) for (int a = b; a <= c; a... | #include <bits/stdc++.h>
#define ll long long
#define endl "\n"
#define pb push_back
#define f(i, n) for (int i = 0; i < n; i++)
#define f1(i, n) for (int i = 1; i < n; i++)
#define rf(i, n) for (int i = n - 1; i >= 0; i--)
#define rep(a, b, c) for (int a = b; a < c; a++)
#define repn(a, b, c) for (int a = b; a <= c; a... | [["+", 49, 50, 51, 23, 0, 16, 31, 74, 0, 24], ["+", 51, 23, 0, 16, 31, 74, 39, 77, 39, 40], ["+", 49, 50, 51, 23, 0, 16, 31, 74, 0, 25], ["+", 49, 50, 51, 23, 0, 16, 12, 74, 0, 24], ["+", 51, 23, 0, 16, 12, 74, 39, 77, 39, 40], ["+", 49, 50, 51, 23, 0, 16, 12, 74, 0, 25]] | 1 | 620 |
import sys
readline = sys.stdin.readline
readall = sys.stdin.read
ns = lambda: readline().rstrip()
ni = lambda: int(readline().rstrip())
nm = lambda: map(int, readline().split())
nl = lambda: list(map(int, readline().split()))
prn = lambda x: print(*x, sep='\n')
def solve():
a, v = nm()
b, w = nm()
t = ni... | import sys
readline = sys.stdin.readline
readall = sys.stdin.read
ns = lambda: readline().rstrip()
ni = lambda: int(readline().rstrip())
nm = lambda: map(int, readline().split())
nl = lambda: list(map(int, readline().split()))
prn = lambda x: print(*x, sep='\n')
def solve():
a, v = nm()
b, w = nm()
t = ni... | [["-", 0, 14, 8, 196, 0, 57, 15, 666, 667, 18], ["+", 0, 14, 8, 196, 0, 57, 15, 666, 667, 19]] | 5 | 150 |
a,v = list(map(int, input().split()))
b,w = list(map(int, input().split()))
t = int(input())
diff = abs(a-b)
V = abs(v-w)
if V <= 0:
print('NO')
else:
if diff<=V*t:
print('YES')
else:
print('NO')
| a,v = list(map(int, input().split()))
b,w = list(map(int, input().split()))
t = int(input())
diff = abs(a-b)
V = v-w
if V <= 0:
print('NO')
else:
if diff<=V*t:
print('YES')
else:
print('NO') | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 96 |
A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
ans = "No"
if A < B:
x = A + V * T
y = B + W * T
if x >= y:
ans = "Yes"
else:
x = A - V * T
y = B - W * T
if x <= y:
ans = "Yes"
print(ans) | A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
ans = "NO"
if A < B:
x = A + V * T
y = B + W * T
if x >= y:
ans = "YES"
else:
x = A - V * T
y = B - W * T
if x <= y:
ans = "YES"
print(ans) | [["-", 0, 656, 0, 1, 0, 662, 12, 557, 0, 6], ["+", 0, 656, 0, 1, 0, 662, 12, 557, 0, 6], ["-", 64, 196, 0, 1, 0, 662, 12, 557, 0, 6], ["+", 64, 196, 0, 1, 0, 662, 12, 557, 0, 6]] | 5 | 104 |
#include <bits/stdc++.h>
#if ONLINE_JUDGE
#define DEBUG false
#else
#define DEBUG true
#endif
#define REP(i, k, n) \
for (signed long long int i = (signed long long int)(k); \
i < (signed long long int)(n); i++)
#define rep(i, n) REP... | #include <bits/stdc++.h>
#if ONLINE_JUDGE
#define DEBUG false
#else
#define DEBUG true
#endif
#define REP(i, k, n) \
for (signed long long int i = (signed long long int)(k); \
i < (signed long long int)(n); i++)
#define rep(i, n) REP... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 22]] | 1 | 686 |
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/rope>
#define ff(i, a, b) for (int(i) = (a); (i) <= (b); ++(i))
#define fb(i, a, b) for (int(i) = (a); (i) >= (b); --(i))
#define mod 998244353
#define xx first
#define yy second
#define all(a) (a).begi... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/rope>
#define ff(i, a, b) for (int(i) = (a); (i) <= (b); ++(i))
#define fb(i, a, b) for (int(i) = (a); (i) >= (b); --(i))
#define mod 998244353
#define xx first
#define yy second
#define all(a) (a).begi... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 187 |
#include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rrep(i, n) for (int i = 1; i < (n + 1); ++i)
const double PI = 3.141592653589793238463;
using namespace std;
using ll = long long;
const ll INF = +10010010000;
typedef pair<int, int> P;
const int mod = 1e9 + 7;
stru... | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rrep(i, n) for (int i = 1; i < (n + 1); ++i)
const double PI = 3.141592653589793238463;
using namespace std;
using ll = long long;
const ll INF = +10010010000;
typedef pair<int, int> P;
const int mod = 1e9 + 7;
stru... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 572 |
#include <iostream>
#include <vector>
using namespace std;
int main() {
long long A, V;
cin >> A >> V;
long long B, W;
cin >> B >> W;
long long T;
cin >> T;
long long dist;
if (B >= 0) {
dist = B - A;
} else {
dist = abs(B - A);
}
long long speed = V - W;
if (speed * T >= dist) {
... | #include <iostream>
#include <vector>
using namespace std;
int main() {
long long A, V;
cin >> A >> V;
long long B, W;
cin >> B >> W;
long long T;
cin >> T;
long long dist;
if (B >= 0) {
dist = B - A;
} else {
dist = abs(B - A);
}
long long speed = V - W;
if (speed * T >= dist) {
... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 113 |
# -*- coding: utf-8 -*-
def input_one_number():
return int(input())
def input_multiple_number():
return map(int, input().split())
def input_multiple_number_as_list():
return list(map(int, input().split()))
A , V = input_multiple_number()
B, W = input_multiple_number()
T = input_one_number()
D = abs(B-... | # -*- coding: utf-8 -*-
def input_one_number():
return int(input())
def input_multiple_number():
return map(int, input().split())
def input_multiple_number_as_list():
return list(map(int, input().split()))
A , V = input_multiple_number()
B, W = input_multiple_number()
T = input_one_number()
D = abs(B-... | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 110 |
A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
if abs(B-A) <= T*(V-W):
print("Yes")
else:
print("No")
| A, V = map(int, input().split())
B, W = map(int, input().split())
T = int(input())
if abs(B-A) <= T*(V-W):
print("YES")
else:
print("NO")
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 70 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.