problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k | fixed_code stringlengths 12 526k | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M | fixed_submission_id int64 2 1.54M | user_id stringlengths 10 10 | language stringclasses 8
values |
|---|---|---|---|---|---|---|---|
p02642 | #include <bits/stdc++.h>
#define int long long
using namespace std;
const int MAXN = 1e6 + 1000;
bool ok[MAXN];
main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int N;
cin >> N;
memset(ok, true, sizeof(ok));
set<int> s;
for (int i = 0; i < N; i++) {
int n;
cin >> n;
if (s.count(n)... | #include <bits/stdc++.h>
#define int long long
using namespace std;
const int MAXN = 1e6 + 1000;
bool ok[MAXN];
main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int N;
cin >> N;
memset(ok, true, sizeof(ok));
set<int> s;
for (int i = 0; i < N; i++) {
int n;
cin >> n;
if (s.count(n)... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,085 | 365,086 | u827016215 | cpp |
p02642 | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
typedef long long ll;
const int N = 2e5 + 4;
const int A = 1e6 + 4;
int vis[N];
int n, a[N];
inline int read() {
int x = 0;
char c = getchar();
while (c < '0' || c > '9')
c = getchar();
while (c >= '0' && c <=... | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
typedef long long ll;
const int N = 2e5 + 4;
const int A = 1e6 + 4;
int vis[A];
int n, a[N];
inline int read() {
int x = 0;
char c = getchar();
while (c < '0' || c > '9')
c = getchar();
while (c >= '0' && c <=... | [
"identifier.change",
"variable_declaration.array_dimensions.change"
] | 365,089 | 365,090 | u479230440 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
const int MOD = (int)1e9 + 7;
const int INF = (int)1e9 * 2;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
cout << ((v - w) * t > abs(b - a) ? "YES" : ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
const int MOD = (int)1e9 + 7;
const int INF = (int)1e9 * 2;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
cout << ((v - w) * t >= abs(a - b) ? "YES" : ... | [
"variable_declaration.type.change",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"io.output.change",
"expression.operation.binary.remove"
] | 365,104 | 365,102 | u459100168 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
const ll M = 998244353;
int si[] = {-1, 0, 1, 0};
int sj[] = {0, -1, 0, 1};
int main() {
ll a, v, b, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (w >= v) {
cout << "NO" << endl;
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
const ll M = 998244353;
int si[] = {-1, 0, 1, 0};
int sj[] = {0, -1, 0, 1};
int main() {
ll a, v, b, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (w >= v) {
cout << "NO" << endl;
... | [
"control_flow.branch.if.condition.change"
] | 365,105 | 365,106 | u106342872 | cpp |
p02646 | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int a, b, v, w;
int t;
int main() {
scanf("%d%d", &a, &v);
scanf("%d%d", &b, &w);
scanf("%d", &t);
if (v <= w)
printf("No");
else if (ceil((double)abs(a - b) / (v - w)) > t)
printf("No");
else
printf("Yes");
return 0;
... | #include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int a, b, v, w;
int t;
int main() {
scanf("%d%d", &a, &v);
scanf("%d%d", &b, &w);
scanf("%d", &t);
if (v <= w)
printf("NO");
else if (ceil((double)abs(a - b) / (v - w)) > t)
printf("NO");
else
printf("YES");
return 0;
... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 365,128 | 365,129 | u648316846 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
int main() {
LL a, b, v, w, t;
scanf("%lld%lld%lld%lld%lld", &a, &b, &v, &w, &t);
puts((v - w) * t >= abs(a - b) ? "YES" : "NO");
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
int main() {
LL a, b, v, w, t;
scanf("%lld%lld%lld%lld%lld", &a, &v, &b, &w, &t);
puts((v - w) * t >= abs(a - b) ? "YES" : "NO");
return 0;
} | [
"identifier.change",
"call.arguments.change"
] | 365,130 | 365,131 | u690281951 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
double A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
if ((B - A) <= (V - W) * T) {
cout << "YES" << endl;
return 0;
}
cout << "NO" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
if (abs(B - A) <= (V - W) * T) {
cout << "YES" << endl;
return 0;
}
cout << "NO" << endl;
return 0;
}
| [
"call.add",
"control_flow.branch.if.condition.change"
] | 365,151 | 365,152 | u469315559 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
typedef long long ll;
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
ll s = abs(a - b);
ll s1 = (v - w) * t;
if (s < s1)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
typedef long long ll;
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
ll s = abs(a - b);
ll s1 = (v - w) * t;
if (s <= s1)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,159 | 365,160 | u948917469 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long A, V;
cin >> A >> V;
long B, W;
cin >> B >> W;
long T;
cin >> T;
long dist;
bool can;
if (V <= W)
can = false;
else {
long catchup = W - V;
if (A > B)
dist = A - B;
else
dist = B - A;
if (catchup * T >= ... | #include <bits/stdc++.h>
using namespace std;
int main() {
long A, V;
cin >> A >> V;
long B, W;
cin >> B >> W;
long T;
cin >> T;
long dist;
bool can;
if (V <= W)
can = false;
else {
long catchup = V - W;
if (A > B)
dist = A - B;
else
dist = B - A;
if (catchup * T >= ... | [
"expression.operation.binary.remove"
] | 365,183 | 365,184 | u430394202 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> VI;
ll mm = 1000000000;
ll MM = mm + 7;
#define rep(i, n) for (int i = 0; i < n; i++)
#define PI 3.141592653589793
int main() {
ll a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
ll dis = abs(b - a);
ll spd = v - w;
if (dis... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> VI;
ll mm = 1000000000;
ll MM = mm + 7;
#define rep(i, n) for (int i = 0; i < n; i++)
#define PI 3.141592653589793
int main() {
ll a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
ll dis = abs(b - a);
ll spd = v - w;
if (dis... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,191 | 365,192 | u927053131 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep2(i, a, n) for (int i = (a); i < (n); i++)
#define all(vec) vec.begin(), vec.end()
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vll = vector<ll>;
int main() {
ll A, V, B, W, T;
cin >... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep2(i, a, n) for (int i = (a); i < (n); i++)
#define all(vec) vec.begin(), vec.end()
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vll = vector<ll>;
int main() {
ll A, V, B, W, T;
cin >... | [
"expression.operation.binary.remove"
] | 365,195 | 365,196 | u124142430 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep2(i, a, n) for (int i = (a); i < (n); i++)
#define all(vec) vec.begin(), vec.end()
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vll = vector<ll>;
int main() {
ll A, V, B, W, T;
cin >... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep2(i, a, n) for (int i = (a); i < (n); i++)
#define all(vec) vec.begin(), vec.end()
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vll = vector<ll>;
int main() {
ll A, V, B, W, T;
cin >... | [
"expression.operation.binary.remove",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 365,197 | 365,196 | u124142430 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; ++i)
#define REP(i, a, b) for (int i = int(a); i < (int)b; ++i)
#define Graph vector<vecctor<ll>>
#define pairs vector<pair<ll, ll>>
#define pb push_back
using namespace std;
using ll = long long;
const ll INF = 1e18;
const double PI = acos(-1);
t... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; ++i)
#define REP(i, a, b) for (int i = int(a); i < (int)b; ++i)
#define Graph vector<vecctor<ll>>
#define pairs vector<pair<ll, ll>>
#define pb push_back
using namespace std;
using ll = long long;
const ll INF = 1e18;
const double PI = acos(-1);
t... | [
"call.remove",
"control_flow.branch.if.condition.change"
] | 365,208 | 365,209 | u976983883 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; ++i)
#define REP(i, a, b) for (int i = int(a); i < (int)b; ++i)
#define Graph vector<vecctor<ll>>
#define pairs vector<pair<ll, ll>>
#define pb push_back
using namespace std;
using ll = long long;
const ll INF = 1e18;
const double PI = acos(-1);
t... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)n; ++i)
#define REP(i, a, b) for (int i = int(a); i < (int)b; ++i)
#define Graph vector<vecctor<ll>>
#define pairs vector<pair<ll, ll>>
#define pb push_back
using namespace std;
using ll = long long;
const ll INF = 1e18;
const double PI = acos(-1);
t... | [
"control_flow.branch.if.condition.change"
] | 365,210 | 365,209 | u976983883 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
string ans = "NO";
long long distance = abs(a - b);
long long speed = abs(v - w);
if (distance <= speed * t) {
ans = "YES";
}
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
string ans = "NO";
long long distance = abs(a - b);
long long speed = v - w;
if (distance <= speed * t) {
ans = "YES";
}
cout << ans << endl;
}
| [
"call.remove",
"call.arguments.change"
] | 365,214 | 365,215 | u264007769 | cpp |
p02646 | // include
// ------------------------------------------------
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
// func
// ------------------------------------------------
int CalcSumOfDigit(int n); // 各桁の和を計算する。
int getDigit(int n); // 数字の桁数を取得する。
string upper(string str); // 英字を大文字に変換する。
strin... | // include
// ------------------------------------------------
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
// func
// ------------------------------------------------
int CalcSumOfDigit(int n); // 各桁の和を計算する。
int getDigit(int n); // 数字の桁数を取得する。
string upper(string str); // 英字を大文字に変換する。
strin... | [
"expression.operation.binary.remove"
] | 365,230 | 365,229 | u610897920 | cpp |
p02646 | #include <iostream>
#define REP(loop, n) for (int i = (loop); i < n; ++i)
using namespace std;
int main(void) {
long A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
// 距離
long dst = abs(A - B);
// 速度差
long diff = V - W;
if (V > W && dst / diff <= T) {
cout << "YES" << endl;
} else {... | #include <iostream>
#define REP(loop, n) for (int i = (loop); i < n; ++i)
using namespace std;
int main(void) {
long A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
// 距離
long dst = abs(A - B);
// 速度差
long diff = V - W;
if (V > W && dst <= T * diff) {
cout << "YES" << endl;
} else {... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 365,287 | 365,288 | u569164623 | cpp |
p02646 | #include <iostream>
#define REP(loop, n) for (int i = (loop); i < n; ++i)
using namespace std;
int main(void) {
int A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
// 距離
int dst = abs(A - B);
// 速度差
int diff = V - W;
if (V > W && dst / diff <= T) {
cout << "YES" << endl;
} else {
... | #include <iostream>
#define REP(loop, n) for (int i = (loop); i < n; ++i)
using namespace std;
int main(void) {
long double A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
// 距離
double dst = abs(A - B);
// 速度差
double diff = V - W;
if (V > W && dst / diff <= T) {
cout << "YES" << endl;... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 365,289 | 365,290 | u569164623 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long double A, B, V, W, T;
double X;
cin >> A >> V >> B >> W >> T;
if (W < V) {
X = abs(A - B) / (W - V);
if (X <= T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
cout << "NO" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long double A, B, V, W, T;
double X;
cin >> A >> V >> B >> W >> T;
if (W < V) {
X = abs(A - B) / (V - W);
if (X <= T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
cout << "NO" << endl;
}
}
| [
"expression.operation.binary.remove",
"assignment.change"
] | 365,297 | 365,298 | u740002394 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, V, W, T;
double X;
cin >> A >> V >> B >> W >> T;
if (W < V) {
X = abs(A - B) / (W - V);
if (X <= T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
cout << "NO" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long double A, B, V, W, T;
double X;
cin >> A >> V >> B >> W >> T;
if (W < V) {
X = abs(A - B) / (V - W);
if (X <= T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
cout << "NO" << endl;
}
}
| [
"variable_declaration.type.narrow.change",
"variable_declaration.type.widen.change",
"expression.operation.binary.remove",
"assignment.change"
] | 365,299 | 365,298 | u740002394 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, V, W, T;
double X;
cin >> A >> V >> B >> W >> T;
if (W < V) {
X = abs(A - B) / (W - V);
if (X < T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
cout << "NO" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long double A, B, V, W, T;
double X;
cin >> A >> V >> B >> W >> T;
if (W < V) {
X = abs(A - B) / (V - W);
if (X <= T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
cout << "NO" << endl;
}
}
| [
"variable_declaration.type.narrow.change",
"variable_declaration.type.widen.change",
"expression.operation.binary.remove",
"assignment.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,300 | 365,298 | u740002394 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, v, w;
int t;
cin >> a >> v >> b >> w >> t;
if (a - b <= (v - w) * t) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, v, w;
int t;
cin >> a >> v >> b >> w >> t;
if (abs(a - b) <= (v - w) * t) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 365,308 | 365,309 | u385825353 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, v, w;
int t;
cin >> a >> v >> b >> w >> t;
if (abs(a - b) <= abs(v - w) * t) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, v, w;
int t;
cin >> a >> v >> b >> w >> t;
if (abs(a - b) <= (v - w) * t) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 365,310 | 365,309 | u385825353 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n - 1; i >= 0; i--)
#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 SORT(v, n) sort(v, v + n);
#define VSORT(v) sort(v.begin(), v.end()... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n - 1; i >= 0; i--)
#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 SORT(v, n) sort(v, v + n);
#define VSORT(v) sort(v.begin(), v.end()... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 365,311 | 365,312 | u986276444 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
ll a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
ll c, d, e;
if (a > b) {
c = a - b;
} else if (a < b) {
c = b - a;
}
if (c < 0)
c *= -1;
d = v - w;
if (d <= 0) {
... | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
double a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
double c, d, e;
if (a > b) {
c = a - b;
} else if (a < b) {
c = b - a;
}
if (c < 0)
c *= -1;
d = v - w;
if (d <... | [
"variable_declaration.type.change",
"control_flow.branch.if.condition.change",
"call.add"
] | 365,313 | 365,314 | u573909039 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
/// ----------------------------- (Debug) ------------------------------
#define sim template <class c
#define ris return *this
#define dor > debug &operator<<
#define eni(x) \
sim > typename enable_if<size... | #include <bits/stdc++.h>
using namespace std;
/// ----------------------------- (Debug) ------------------------------
#define sim template <class c
#define ris return *this
#define dor > debug &operator<<
#define eni(x) \
sim > typename enable_if<size... | [
"control_flow.branch.if.condition.change"
] | 365,317 | 365,318 | u591816127 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ll A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
if (W >= V) {
cout << "NO" << endl;
return 0;
}
ll dist = abs(A - B);
if ((V - W) >= dist / T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ll A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
if (W >= V) {
cout << "NO" << endl;
return 0;
}
ll dist = abs(A - B);
if ((V - W) * T >= dist) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 365,331 | 365,332 | u538808095 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long A, V, B, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
long long D = A - B;
long long dist = (V - W) * T;
if (dist >= D) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long A, V, B, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
long long D = abs(A - B);
long long dist = (V - W) * T;
if (dist >= D) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| [
"call.add",
"call.arguments.change"
] | 365,341 | 365,342 | u150155436 | cpp |
p02646 | ///......বিসমিল্লাহির রাহমানির রাহিম......///
///......পরম করুণাময় অসীম দয়ালু আল্লাহতায়ালার নামে শুরু করছি.....///
/*
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─████████████████───██████──██████────────████████████████───██████████████─... | ///......বিসমিল্লাহির রাহমানির রাহিম......///
///......পরম করুণাময় অসীম দয়ালু আল্লাহতায়ালার নামে শুরু করছি.....///
/*
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
─████████████████───██████──██████────────████████████████───██████████████─... | [
"call.remove",
"call.arguments.change"
] | 365,354 | 365,355 | u634819638 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (A < B) {
if (B - A < (V - W) * T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
if (A - B < (V - W) * T) {
cout << "YES" << endl;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (A < B) {
if (B - A <= (V - W) * T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
if (A - B <= (V - W) * T) {
cout << "YES" << endl;
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,356 | 365,357 | u991713078 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (A < B) {
if (B - A < (V - W) * T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
if (A - B < (V - W) * T) {
cout << "YES" << endl;
} else {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (A < B) {
if (B - A <= (V - W) * T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
if (A - B <= (V - W) * T) {
cout << "YES" << endl;
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,358 | 365,357 | u991713078 | cpp |
p02646 | #include <iostream>
using namespace std;
int main() {
int a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if ((v - w) * t > abs(a - b)) {
cout << "YES" << endl;
return 0;
} else {
cout << "NO" << endl;
return 0;
}
} | #include <iostream>
using namespace std;
int main() {
long long a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if ((v - w) * t >= abs(a - b)) {
cout << "YES" << endl;
return 0;
} else {
cout << "NO" << endl;
return 0;
}
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,385 | 365,384 | u790493075 | cpp |
p02646 | // author: Harsh Nema
#include <bits/stdc++.h>
#define ll long long int
#define ld long double
#define F first
#define S second
const ll mod = 1e9 + 7;
const ll INF = 922337203685477;
#define pb push_back
#define deb(x) cout << '>' << #x << ':' << x << endl;
#define fastio ... | // author: Harsh Nema
#include <bits/stdc++.h>
#define ll long long int
#define ld long double
#define F first
#define S second
const ll mod = 1e9 + 7;
const ll INF = 922337203685477;
#define pb push_back
#define deb(x) cout << '>' << #x << ':' << x << endl;
#define fastio ... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,388 | 365,389 | u792608995 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long double a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (w >= v)
cout << "NO" << endl;
else {
if (abs(a - b) / (v - w) < t)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long double a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (w >= v)
cout << "NO" << endl;
else {
if (abs(a - b) / (v - w) <= t)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,394 | 365,395 | u729703601 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (w >= v)
cout << "NO" << endl;
else {
if (abs(a - b) / (v - w) < t)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long double a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (w >= v)
cout << "NO" << endl;
else {
if (abs(a - b) / (v - w) <= t)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
return 0;
}
| [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,396 | 365,395 | u729703601 | cpp |
p02646 | /*input
1 2
3 3
3
*/
/*
**************************
* *
* AUTHOR :: knight_coder *
* *
**************************
*/
#include <bits/stdc++.h>
#define lld long long int
#define pb push_back
#define ppb pop_back
#define endl '\n'
#define mii map<lld, lld>
#define msi map<string, lld>
#define mis map<lld, str... | /*input
1 2
3 3
3
*/
/*
**************************
* *
* AUTHOR :: knight_coder *
* *
**************************
*/
#include <bits/stdc++.h>
#define lld long long int
#define pb push_back
#define ppb pop_back
#define endl '\n'
#define mii map<lld, lld>
#define msi map<string, lld>
#define mis map<lld, str... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 365,397 | 365,398 | u258814764 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
#define MOD 1000000007
#define mod9 1000000009
#define fast \
ios_base ::sync_with_stdio(0); \
cin.tie(NULL); ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
#define MOD 1000000007
#define mod9 1000000009
#define fast \
ios_base ::sync_with_stdio(0); \
cin.tie(NULL); ... | [
"control_flow.branch.if.condition.change",
"identifier.change"
] | 365,401 | 365,402 | u399195724 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
string ans = "NO";
if (abs(b - a) + (w - v) * t < 0)
ans = "YES";
cout << ans;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
string ans = "NO";
if (abs(b - a) + (w - v) * t <= 0)
ans = "YES";
cout << ans;
} | [
"variable_declaration.type.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,407 | 365,406 | u100307849 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (a < b)
cout << (a + v * t >= b + w * t ? "YES" : "NO") << endl;
else
cout << (a + v * t <= b + w * t ? "YES" : "NO") << endl;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (a < b)
cout << (a + v * t >= b + w * t ? "YES" : "NO") << endl;
else
cout << (a - v * t <= b - w * t ? "YES" : "NO") << endl;
}
| [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 365,408 | 365,409 | u810896795 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (a < b)
cout << (a + v * t >= b + w * t ? "YES" : "NO") << endl;
else
cout << (a + v * t <= b + w * t ? "YES" : "NO") << endl;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (a < b)
cout << (a + v * t >= b + w * t ? "YES" : "NO") << endl;
else
cout << (a - v * t <= b - w * t ? "YES" : "NO") << endl;
}
| [
"variable_declaration.type.change",
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 365,410 | 365,409 | u810896795 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define REP1(i, n) for (int i = 1, i##_len = (n); i < i##_len; ++i)
#define ll long long
static const int MAX = 10000;
static const ll INFTY = 1e12;
template <class T> inline bool chmax(T &a, T b) {
if (... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define REP1(i, n) for (int i = 1, i##_len = (n); i < i##_len; ++i)
#define ll long long
static const int MAX = 10000;
static const ll INFTY = 1e12;
template <class T> inline bool chmax(T &a, T b) {
if (... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 365,415 | 365,416 | u488878376 | cpp |
p02646 | // ConsoleApplication1.cpp : このファイルには 'main'
// 関数が含まれています。プログラム実行の開始と終了がそこで行われます。
//
//#include "pch.h"
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.... | // ConsoleApplication1.cpp : このファイルには 'main'
// 関数が含まれています。プログラム実行の開始と終了がそこで行われます。
//
//#include "pch.h"
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 365,431 | 365,432 | u065467277 | cpp |
p02646 | // ConsoleApplication1.cpp : このファイルには 'main'
// 関数が含まれています。プログラム実行の開始と終了がそこで行われます。
//
//#include "pch.h"
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.... | // ConsoleApplication1.cpp : このファイルには 'main'
// 関数が含まれています。プログラム実行の開始と終了がそこで行われます。
//
//#include "pch.h"
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 365,433 | 365,432 | u065467277 | cpp |
p02646 | // ConsoleApplication1.cpp : このファイルには 'main'
// 関数が含まれています。プログラム実行の開始と終了がそこで行われます。
//
//#include "pch.h"
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.... | // ConsoleApplication1.cpp : このファイルには 'main'
// 関数が含まれています。プログラム実行の開始と終了がそこで行われます。
//
//#include "pch.h"
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.... | [
"variable_declaration.type.primitive.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 365,434 | 365,432 | u065467277 | cpp |
p02646 | #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 fi first
#define se second
using namespace std;
using lint = long long;
using uint = unsigned int;
using ulint = unsigned long long;
using ldouble = long double;
using pii = pair<int, int>;... | #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 fi first
#define se second
using namespace std;
using lint = long long;
using uint = unsigned int;
using ulint = unsigned long long;
using ldouble = long double;
using pii = pair<int, int>;... | [
"variable_declaration.type.primitive.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,441 | 365,440 | u757584836 | cpp |
p02646 | //
// main.cpp
// T2020B
//
// Created by TakahiroUryu on 2020/06/15.
// Copyright © 2020 TakahiroUryu. All rights reserved.
//
#include <iostream>
using namespace std;
using ll = long long;
int main(int argc, const char *argv[]) {
ll a, v, b, w, t;
bool ok = true;
cin >> a >> v >> b >> w >> t;
if (w >= v)... | //
// main.cpp
// T2020B
//
// Created by TakahiroUryu on 2020/06/15.
// Copyright © 2020 TakahiroUryu. All rights reserved.
//
#include <iostream>
using namespace std;
using ll = long long;
int main(int argc, const char *argv[]) {
ll a, v, b, w, t;
bool ok = true;
cin >> a >> v >> b >> w >> t;
if (w >= v)... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 365,448 | 365,449 | u423827009 | cpp |
p02646 | #include <algorithm>
#include <climits>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define LL long long
#define Pi 3.14159265358979;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr)... | #include <algorithm>
#include <climits>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define LL long long int
#define Pi 3.14159265358979;
int main() {
ios::sync_with_stdio(false);
cin.tie(null... | [
"expression.operation.binary.remove"
] | 365,456 | 365,457 | u289838402 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef vector<ll> vi;
#define INF (1e9)
const string YES = "YES";
const string NO = "NO";
int main() {
ll A;
cin >> A;
ll V;
cin >> V;
ll B;
cin >> B;
ll W;
cin >> W;
ll T;
cin >> T;
bool ans = false;
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef vector<ll> vi;
#define INF (1e9)
const string YES = "YES";
const string NO = "NO";
int main() {
ll A;
cin >> A;
ll V;
cin >> V;
ll B;
cin >> B;
ll W;
cin >> W;
ll T;
cin >> T;
bool ans = false;
... | [
"misc.opposites",
"expression.operator.compare.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 365,458 | 365,459 | u551373727 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using st = string;
using ch = char;
using db = double;
using bl = bool;
using vll = vector<long long>;
using vdb = vector<db>;
using vst = vector<st>;
using vch = vector<char>;
using vbl = vector<bl>;
using vvll = vecto... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using st = string;
using ch = char;
using db = double;
using bl = bool;
using vll = vector<long long>;
using vdb = vector<db>;
using vst = vector<st>;
using vch = vector<char>;
using vbl = vector<bl>;
using vvll = vecto... | [
"control_flow.loop.for.condition.change",
"io.output.change"
] | 365,462 | 365,463 | u729173935 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define all(x) (x).begin(), (x).end()
using ll = long long;
using namespace std;
template <typename T> using vec = std::vector<T>;
int main() {
ll A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
ll diff = (V - W);
if (abs(A - B) / T <= diff) ... | #include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define all(x) (x).begin(), (x).end()
using ll = long long;
using namespace std;
template <typename T> using vec = std::vector<T>;
int main() {
ll A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
ll diff = (V - W);
if (abs(A - B) <= diff * T) ... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 365,466 | 365,467 | u945359338 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define INF 1e18
typedef long long ll;
typedef pair<int, int> P;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
int d = abs(a - b);
if (v <= w) {
cout << "NO" << endl;
return 0;
}
int s = v - w;
if (d < (ll)s * t) {
cout << "YES" <<... | #include <bits/stdc++.h>
using namespace std;
#define INF 1e18
typedef long long ll;
typedef pair<int, int> P;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
int d = abs(a - b);
if (v <= w) {
cout << "NO" << endl;
return 0;
}
int s = v - w;
if (d <= (ll)s * t) {
cout << "YES" <... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,470 | 365,471 | u095414611 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
void solve() {
ll a, b, v, w, x;
cin >> a >> v >> b >> w >> x;
ll sum = abs(b - a);
for (int i = 0; i < x; i++) {
sum += v - w;
if (sum <= 0) {
cout << "YES\n";
return;
}
}
cout << "NO\n";
}
int main() {
in... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
void solve() {
ll a, b, v, w, x;
cin >> a >> v >> b >> w >> x;
ll sum = abs(b - a);
for (int i = 0; i < x; i++) {
sum += w - v;
if (sum <= 0) {
cout << "YES\n";
return;
}
}
cout << "NO\n";
}
int main() {
in... | [
"expression.operation.binary.remove",
"assignment.change"
] | 365,479 | 365,480 | u795263927 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
void solve() {
int a, b, v, w, x;
cin >> a >> v >> b >> w >> x;
int sum = abs(b - a);
for (int i = 0; i < x; i++) {
sum += v - w;
if (sum <= 0) {
cout << "YES\n";
return;
}
}
cout << "NO\n";
}
int main() {
... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
void solve() {
ll a, b, v, w, x;
cin >> a >> v >> b >> w >> x;
ll sum = abs(b - a);
for (int i = 0; i < x; i++) {
sum += w - v;
if (sum <= 0) {
cout << "YES\n";
return;
}
}
cout << "NO\n";
}
int main() {
in... | [
"variable_declaration.type.change",
"expression.operation.binary.remove",
"assignment.change"
] | 365,482 | 365,480 | u795263927 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define MOD 1000000007LL
#define rep(i, n) for (ll(i) = 0LL; (i) < (ll)(n); (i)++)
#define rep2(i, s, e) for (ll(i) = (ll)(s); (i) < (ll)(e); (i)++)
#define repi(i, n) for (ll(i) = 0LL; (i) <= ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define MOD 1000000007LL
#define rep(i, n) for (ll(i) = 0LL; (i) < (ll)(n); (i)++)
#define rep2(i, s, e) for (ll(i) = (ll)(s); (i) < (ll)(e); (i)++)
#define repi(i, n) for (ll(i) = 0LL; (i) <= ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 365,483 | 365,484 | u196953553 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define MOD 1000000007LL
#define rep(i, n) for (ll(i) = 0LL; (i) < (ll)(n); (i)++)
#define rep2(i, s, e) for (ll(i) = (ll)(s); (i) < (ll)(e); (i)++)
#define repi(i, n) for (ll(i) = 0LL; (i) <= ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define MOD 1000000007LL
#define rep(i, n) for (ll(i) = 0LL; (i) < (ll)(n); (i)++)
#define rep2(i, s, e) for (ll(i) = (ll)(s); (i) < (ll)(e); (i)++)
#define repi(i, n) for (ll(i) = 0LL; (i) <= ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,485 | 365,484 | u196953553 | cpp |
p02646 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stdio.h>
#include <vector>
#define ll long long
using namespace std;
int main() {
int a, b;
int v, w;
int t;
cin >> a >> v;
cin >> b >> w;... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stdio.h>
#include <vector>
#define ll long long
using namespace std;
int main() {
int a, b;
int v, w;
int t;
cin >> a >> v;
cin >> b >> w;... | [
"control_flow.branch.if.condition.change"
] | 365,497 | 365,498 | u915401678 | cpp |
p02646 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <utility>
#include <vector>
using namespace std;
using int64 = long long;
struct aaa {
aaa() {
cin.tie(nullptr);
ios::sync_with_stdio(fals... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <utility>
#include <vector>
using namespace std;
using int64 = long long;
struct aaa {
aaa() {
cin.tie(nullptr);
ios::sync_with_stdio(fals... | [
"variable_declaration.type.change",
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 365,499 | 365,500 | u259046272 | cpp |
p02646 | #include <algorithm>
#include <cassert>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
#include <limits.h>
using namespace std;
typedef long long ll;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <cl... | #include <algorithm>
#include <cassert>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
#include <limits.h>
using namespace std;
typedef long long ll;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <cl... | [
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 365,507 | 365,508 | u644332191 | cpp |
p02646 | #include <iostream>
#include <sstream>
using namespace std;
#include <algorithm>
#include <bits/stdc++.h>
#include <iterator>
#include <utility>
#define go return 0
#define rep(i, n) for (int i = 0; i < n; ++i)
#define rep(j, m) for (int j = 0; j < m; ++j)
#define REP(i, n) for (int i = 1; i <= n; ++i)
#define all(v) (... | #include <iostream>
#include <sstream>
using namespace std;
#include <algorithm>
#include <bits/stdc++.h>
#include <iterator>
#include <utility>
#define go return 0
#define rep(i, n) for (int i = 0; i < n; ++i)
#define rep(j, m) for (int j = 0; j < m; ++j)
#define REP(i, n) for (int i = 1; i <= n; ++i)
#define all(v) (... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,529 | 365,530 | u587447760 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(v) v.begin(), v.end()
int main() {
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
long long l = abs(a - b);
if ((w - v) >= 0) {
cout << "NO" << endl;
} else {
if ((v - w) * t <= l) {
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(v) v.begin(), v.end()
int main() {
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
long long l = abs(a - b);
if ((w - v) >= 0) {
cout << "NO" << endl;
} else {
if ((v - w) * t >= l) {
... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,531 | 365,532 | u356640380 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b;
long long v, w, t;
string ans = "NO";
cin >> a >> v >> b >> w >> t;
for (ll i = 1; i <= t; i++) {
if (a <= b) {
if ((a + i * v) >= (b + i * w)) {
ans = "YES";
break;
}
} else {
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b;
long long v, w, t;
string ans = "NO";
cin >> a >> v >> b >> w >> t;
for (ll i = 1; i <= t; i++) {
if (a <= b) {
if ((a + i * v) >= (b + i * w)) {
ans = "YES";
break;
}
} else {
... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,540 | 365,541 | u861656988 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b;
long long v, w, t;
string ans = "NO";
cin >> a >> v >> b >> w >> t;
for (ll i = 1; i <= t; i++) {
if (a >= b) {
if ((a + i * v) >= (b + i * w)) {
ans = "YES";
break;
}
} else {
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b;
long long v, w, t;
string ans = "NO";
cin >> a >> v >> b >> w >> t;
for (ll i = 1; i <= t; i++) {
if (a <= b) {
if ((a + i * v) >= (b + i * w)) {
ans = "YES";
break;
}
} else {
... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,542 | 365,541 | u861656988 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define repI(i, d, n) for (int i = (d); i < (n); ++i)
#define reps1(i, n) for (int i = 1; i < (n); ++i)
using namespace std;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <clas... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define repI(i, d, n) for (int i = (d); i < (n); ++i)
#define reps1(i, n) for (int i = 1; i < (n); ++i)
using namespace std;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <clas... | [
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 365,543 | 365,544 | u438662618 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i <= (int)(n); i++)
using P = pair<int, int>;
using pq = priority_queue<int>;
typedef long long ll;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >>... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i <= (int)(n); i++)
using P = pair<int, int>;
using pq = priority_queue<int>;
typedef long long ll;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >>... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,545 | 365,546 | u025047544 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; i++)
int main() {
long long a, v, b, w;
cin >> a >> v >> b >> w;
long long t;
cin >> t;
long long dis = abs(b - a);
long long rel = v - w;
if (rel > 0) {
bool ans = ((dis - 1) / rel <= t);
cout << (ans ? "YES"... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; i++)
int main() {
long long a, v, b, w;
cin >> a >> v >> b >> w;
long long t;
cin >> t;
long long dis = abs(b - a);
long long rel = v - w;
if (rel > 0) {
bool ans = ((dis - 1) / rel < t);
cout << (ans ? "YES" ... | [
"expression.operator.compare.change",
"expression.operation.binary.change"
] | 365,555 | 365,556 | u869519920 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; i++)
int main() {
long long a, v, b, w;
cin >> a >> v >> b >> w;
long long t;
cin >> t;
long long dis = b - a;
long long rel = v - w;
if (rel > 0) {
bool ans = ((dis - 1) / rel <= t);
cout << (ans ? "YES" : "N... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; i++)
int main() {
long long a, v, b, w;
cin >> a >> v >> b >> w;
long long t;
cin >> t;
long long dis = abs(b - a);
long long rel = v - w;
if (rel > 0) {
bool ans = ((dis - 1) / rel < t);
cout << (ans ? "YES" ... | [
"call.add",
"call.arguments.change",
"expression.operator.compare.change",
"expression.operation.binary.change"
] | 365,557 | 365,556 | u869519920 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define INF 2147483647
#define LINF 9223372036854775807
#define MOD 1000000007
#define MOD2 998244353
template <class T, class U> bool chmax(T &a, const U &b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T, class U> bool chmin(T &a, const U ... | #include <bits/stdc++.h>
using namespace std;
#define INF 2147483647
#define LINF 9223372036854775807
#define MOD 1000000007
#define MOD2 998244353
template <class T, class U> bool chmax(T &a, const U &b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T, class U> bool chmin(T &a, const U ... | [
"variable_declaration.type.change",
"identifier.change",
"call.function.change",
"expression.operation.binary.change"
] | 365,566 | 365,567 | u355424600 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
const int INF = 1 << 30;
const long long LINF = 1LL << 60;
const long long MOD = (long long)1e9 + 7;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
string ans;
if (a < b) {
ans = ((a + v * t >= b + w * t) ? "Yes" : "No"... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
const int INF = 1 << 30;
const long long LINF = 1LL << 60;
const long long MOD = (long long)1e9 + 7;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
string ans;
if (a < b) {
ans = ((a + v * t >= b + w * t) ? "YES" : "NO"... | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change",
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 365,611 | 365,610 | u480806810 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, a, b) for (ll i = ll(a); i < ll(b); i++)
#define irep(i, a, b) for (ll i = ll(a); i >= ll(b); i--)
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) {
... | #include <bits/stdc++.h>
#define rep(i, a, b) for (ll i = ll(a); i < ll(b); i++)
#define irep(i, a, b) for (ll i = ll(a); i >= ll(b); i--)
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) {
... | [
"control_flow.branch.if.condition.change"
] | 365,616 | 365,617 | u499009346 | cpp |
p02646 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >> B >> W;
ll T;
cin >> T;
if (V <... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >> B >> W;
ll T;
cin >> T;
if (V <... | [
"call.arguments.change"
] | 365,620 | 365,621 | u745267317 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a, av;
ll b, bv;
ll t;
cin >> a >> av;
cin >> b >> bv >> t;
if (av * t - bv * t >= b - a)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a, av;
ll b, bv;
ll t;
cin >> a >> av;
cin >> b >> bv >> t;
if (av * t - bv * t >= abs(b - a))
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| [
"control_flow.branch.if.condition.change",
"call.add"
] | 365,640 | 365,641 | u322266296 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, v, b, w;
cin >> a >> v >> b >> w;
int t;
cin >> t;
if (abs((v - w) * t) >= abs(b - a))
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, v, b, w;
cin >> a >> v >> b >> w;
int t;
cin >> t;
if ((long long)(v - w) * t >= abs(b - a))
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| [
"control_flow.branch.if.condition.change"
] | 365,649 | 365,648 | u587622858 | cpp |
p02646 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define req(i, n) for (int i = 1; i <= n; i++)
#define rrep(i, n) for (int i = n - 1; i >... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define req(i, n) for (int i = 1; i <= n; i++)
#define rrep(i, n) for (int i = n - 1; i >... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 365,650 | 365,651 | u670898337 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
//#include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
#define fio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | #include <bits/stdc++.h>
using namespace std;
//#include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
#define fio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | [
"control_flow.branch.if.condition.change"
] | 365,652 | 365,653 | u170129909 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = (0); i < (n); i++)
using namespace std;
typedef long long ll;
template <class T> bool chmax(T &a, const T &b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> bool chmin(T &a, const T &b) {
if (a > b) {
a = b;
return 1;
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = (0); i < (n); i++)
using namespace std;
typedef long long ll;
template <class T> bool chmax(T &a, const T &b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> bool chmin(T &a, const T &b) {
if (a > b) {
a = b;
return 1;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 365,654 | 365,655 | u755830696 | cpp |
p02646 | #include <algorithm>
#include <bits/stdc++.h>
using namespace std;
vector<pair<int, int>> g;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if ((v * t - w * t) - abs(a - b) > 0) {
cout << "YES";
} else {
cout << "NO";
}
} | #include <algorithm>
#include <bits/stdc++.h>
using namespace std;
vector<pair<int, int>> g;
int main() {
long long a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if ((v * t - w * t) - abs(a - b) >= 0) {
cout << "YES";
} else {
cout << "NO";
}
}
| [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,658 | 365,657 | u891945807 | cpp |
p02646 | /*
* author :Sadik Hassan
*
*/
#include "bits/stdc++.h"
using namespace std;
#define ll long long
#define nl "\n"
#define pb push_back
#define fi first
#define se second
#define PI (acos(-1.0))
#define _SAD() \
ios::sync_with_stdio(0), cin.tie(0), cou... | /*
* author :Sadik Hassan
*
*/
#include "bits/stdc++.h"
using namespace std;
#define ll long long
#define nl "\n"
#define pb push_back
#define fi first
#define se second
#define PI (acos(-1.0))
#define _SAD() \
ios::sync_with_stdio(0), cin.tie(0), cou... | [
"assignment.value.change",
"expression.operation.unary.arithmetic.remove"
] | 365,660 | 365,661 | u351012095 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define Pb push_back
#define Mp make_pair
#define ff first
#define ss second
#define Max(x, y, z) max(x, max(y, z))
#define Min(x, y, z) min(x, min(y, z))
#define INF LONG_LONG_MAX
#define MINF LONG_LONG_MIN
#define endl "\n"
#define IOS ... | #include <bits/stdc++.h>
using namespace std;
#define Pb push_back
#define Mp make_pair
#define ff first
#define ss second
#define Max(x, y, z) max(x, max(y, z))
#define Min(x, y, z) min(x, min(y, z))
#define INF LONG_LONG_MAX
#define MINF LONG_LONG_MIN
#define endl "\n"
#define IOS ... | [] | 365,667 | 365,668 | u084875333 | cpp |
p02646 | #include <bits/stdc++.h>
#define IO \
std::ios_base::sync_with_stdio(false); \
std::cin.tie(NULL); \
std::cout.tie(NULL);
#define FIN freopen("entrada... | #include <bits/stdc++.h>
#define IO \
std::ios_base::sync_with_stdio(false); \
std::cin.tie(NULL); \
std::cout.tie(NULL);
#define FIN freopen("entrada... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 365,669 | 365,670 | u565314437 | cpp |
p02646 | #include <bits/stdc++.h>
#define vsort(v) sort(v.begin(), v.end())
#define rvsort(v) sort(v.begin(), v.end(), greater<ll>())
#define ll long long
#define ld long double
#define rep(i, s, g) for (ll i = (s); i < (g); i++)
#define mod 1000000007
#define vfind(v, target) find(v.begin(), v.end(), target)
#define notFound(v... | #include <bits/stdc++.h>
#define vsort(v) sort(v.begin(), v.end())
#define rvsort(v) sort(v.begin(), v.end(), greater<ll>())
#define ll long long
#define ld long double
#define rep(i, s, g) for (ll i = (s); i < (g); i++)
#define mod 1000000007
#define vfind(v, target) find(v.begin(), v.end(), target)
#define notFound(v... | [
"control_flow.branch.if.condition.change"
] | 365,680 | 365,681 | u695857481 | cpp |
p02646 | #include <bits/stdc++.h>
#define vsort(v) sort(v.begin(), v.end())
#define rvsort(v) sort(v.begin(), v.end(), greater<ll>())
#define ll long long
#define ld long double
#define rep(i, s, g) for (ll i = (s); i < (g); i++)
#define mod 1000000007
#define vfind(v, target) find(v.begin(), v.end(), target)
#define notFound(v... | #include <bits/stdc++.h>
#define vsort(v) sort(v.begin(), v.end())
#define rvsort(v) sort(v.begin(), v.end(), greater<ll>())
#define ll long long
#define ld long double
#define rep(i, s, g) for (ll i = (s); i < (g); i++)
#define mod 1000000007
#define vfind(v, target) find(v.begin(), v.end(), target)
#define notFound(v... | [
"control_flow.branch.if.condition.change"
] | 365,682 | 365,681 | u695857481 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO" << endl;
return 0;
} else {
long long kyori0 = b - a;
long long kyori1 = v - w;
if (kyori0 > 0 && kyori0 <= t * kyori1) {
cout << "YES" << endl;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO" << endl;
return 0;
} else {
long long kyori0 = b - a;
long long kyori1 = v - w;
if (abs(kyori0) <= t * kyori1) {
cout << "YES" << endl;
} els... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 365,683 | 365,684 | u550374978 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
long long d = abs(a - b);
if (v > w && d >= (v - w) * t)
cout << "YES" << '\n';
else
cout << "NO" << '\n';
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
long long d = abs(a - b);
if (v > w && d <= (v - w) * t)
cout << "YES" << '\n';
else
cout << "NO" << '\n';
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,685 | 365,686 | u879391720 | cpp |
p02646 | #pragma GCC optimize("Ofast")
#include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <complex>
#include <iostream>
#define FIXED_FLOAT(x) std::fixed << std::setprecision(7) << (x)
#define fast \
ios::sync_with_stdio(0); ... | #pragma GCC optimize("Ofast")
#include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <complex>
#include <iostream>
#define FIXED_FLOAT(x) std::fixed << std::setprecision(7) << (x)
#define fast \
ios::sync_with_stdio(0); ... | [
"expression.operation.binary.remove"
] | 365,689 | 365,690 | u141092992 | cpp |
p02646 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (v <= w) {
cout << "NO";
} else {
ll k = abs(b - a);
if (k / (v - w) <= t) {
cout << "YES";
} else {
cout << "NO";
}
}
return 0;
}... | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (v == w) {
cout << "NO";
} else {
ll k = abs(b - a);
if (k <= (v - w) * t) {
cout << "YES";
} else {
cout << "NO";
}
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,706 | 365,707 | u173252932 | cpp |
p02646 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (v == w) {
cout << "NO";
} else {
ll k = abs(b - a);
if (k / (v - w) <= t) {
cout << "YES";
} else {
cout << "NO";
}
}
return 0;
} | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (v == w) {
cout << "NO";
} else {
ll k = abs(b - a);
if (k <= (v - w) * t) {
cout << "YES";
} else {
cout << "NO";
}
}
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 365,708 | 365,707 | u173252932 | cpp |
p02646 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (v <= w) {
cout << "NO";
} else {
ll k = abs(b - a);
if (k / (v - w) < t) {
cout << "YES";
} else {
cout << "NO";
}
}
return 0;
}
| #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (v == w) {
cout << "NO";
} else {
ll k = abs(b - a);
if (k <= (v - w) * t) {
cout << "YES";
} else {
cout << "NO";
}
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,709 | 365,707 | u173252932 | cpp |
p02646 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (v <= w) {
cout << "NO";
} else {
ll k = abs(b - a);
if (k / (v - w) <= t) {
cout << "YES";
} else {
cout << "NO";
}
}
return 0;
} | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (v == w) {
cout << "NO";
} else {
ll k = abs(b - a);
if (k <= (v - w) * t) {
cout << "YES";
} else {
cout << "NO";
}
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,710 | 365,707 | u173252932 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
// print(fixed << setprecision(10));
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define repk(i, n, k) for (ll i = k; i < (n); i++)
#define all(n) n.begin(), n.end()
#define print(n) cout << n << endl
double PI = acos(-1.0);
int INF = 1e9;
ll LINF ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
// print(fixed << setprecision(10));
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define repk(i, n, k) for (ll i = k; i < (n); i++)
#define all(n) n.begin(), n.end()
#define print(n) cout << n << endl
double PI = acos(-1.0);
int INF = 1e9;
ll LINF ... | [
"variable_declaration.type.change",
"expression.operation.binary.remove"
] | 365,711 | 365,712 | u713575610 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
#define pri(str) cout << str << endl
using ll = long long;
using P = pair<int, int>;
const ll MX = 1e18;
const long double PI = acos(-1);
int main() {
ll a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if ((b - a) <= t * ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
#define pri(str) cout << str << endl
using ll = long long;
using P = pair<int, int>;
const ll MX = 1e18;
const long double PI = acos(-1);
int main() {
ll a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (abs(b - a) <= ... | [
"call.add",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove",
"expression.operation.binary.add"
] | 365,723 | 365,722 | u946762234 | cpp |
p02646 | // The comment below is the wrong answer
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
using namespace std;
using ... | // The comment below is the wrong answer
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
using namespace std;
using ... | [
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 365,724 | 365,725 | u711997425 | cpp |
p02646 | #include <bits/stdc++.h>
#define PI 3.14159265359
#define rep(i, a, n) for (int i = a; i < (int)n; ++i)
#define SZ(x) ((int)(x).size()) // size() unsigned -> int
#define descSort(a) sort(a.begin(), a.end(), std::greater<int>())
using namespace std;
typedef long long ll;
const ll INF = 1e9 + 7;
ll gcd(ll x, ll y) {
i... | #include <bits/stdc++.h>
#define PI 3.14159265359
#define rep(i, a, n) for (int i = a; i < (int)n; ++i)
#define SZ(x) ((int)(x).size()) // size() unsigned -> int
#define descSort(a) sort(a.begin(), a.end(), std::greater<int>())
using namespace std;
typedef long long ll;
const ll INF = 1e9 + 7;
ll gcd(ll x, ll y) {
i... | [
"control_flow.loop.for.condition.change",
"io.output.change"
] | 365,728 | 365,729 | u817523595 | cpp |
p02646 | #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 ((b - a) < (v - w) * t)
cout << "YES" << endl;
else
cout << "NO" << endl;
} else {
if ((a - b) < (v - w) * t)
cout << "YES" << endl;
else
co... | #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 ((b - a) <= (v - w) * t)
cout << "YES" << endl;
else
cout << "NO" << endl;
} else {
if ((a - b) <= (v - w) * t)
cout << "YES" << endl;
else
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,730 | 365,731 | u509750572 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long ll;
typedef long double ld;
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define repr(i, n) for (ll i = (n - 1); i >= 0; i--)
#define all(x) x.begin(), x.end()
#define br cout << "\n";
using namespace std;
const long long INF = 1e10;
const long long MOD = 1e9 + 7;
using Grap... | #include <bits/stdc++.h>
typedef long long ll;
typedef long double ld;
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define repr(i, n) for (ll i = (n - 1); i >= 0; i--)
#define all(x) x.begin(), x.end()
#define br cout << "\n";
using namespace std;
const long long INF = 1e10;
const long long MOD = 1e9 + 7;
using Grap... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,740 | 365,741 | u799939777 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
long long c = (v - w) * t, d = b - a;
if (c >= d)
cout << "YES\n";
else
cout << "NO\n";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
long long c = (v - w) * t, d = abs(a - b);
if (c >= d)
cout << "YES\n";
else
cout << "NO\n";
}
| [
"call.arguments.add"
] | 365,744 | 365,745 | u233473835 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >> B >> W;
ll T;
cin >> T;
ll D = A - B;
ll D2 = (V - W) * T;
puts(D <= D2 ? "YES" : "NO");
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >> B >> W;
ll T;
cin >> T;
ll D = abs(A - B);
ll D2 = (V - W) * T;
puts(D <= D2 ? "YES" : "NO");
}
| [
"call.add",
"call.arguments.change"
] | 365,746 | 365,747 | u100792685 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >> B, W;
ll T;
cin >> T;
ll D = A - B;
ll D2 = (V - W) * T;
puts(D <= D2 ? "YES" : "NO");
} | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >> B >> W;
ll T;
cin >> T;
ll D = abs(A - B);
ll D2 = (V - W) * T;
puts(D <= D2 ? "YES" : "NO");
}
| [
"call.add",
"call.arguments.change"
] | 365,748 | 365,747 | u100792685 | cpp |
p02646 | #include <iostream>
#include <string>
using namespace std;
int main() {
long long a, v, b, w, t = 0;
cin >> a;
cin >> v;
cin >> b;
cin >> w;
cin >> t;
if (abs(a - b) == (v - w) * t) {
puts("YES");
} else {
puts("NO");
}
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
long long a, v, b, w, t = 0;
cin >> a;
cin >> v;
cin >> b;
cin >> w;
cin >> t;
if (abs(a - b) <= (v - w) * t) {
puts("YES");
} else {
puts("NO");
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,760 | 365,761 | u061375135 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); i++)
#define REP2(i, x, n) for (int i = x; i < (n); i++)
#define ALL(n) begin(n), end(n)
#define sz(x) int(x.size())
using ll = long long;
using P = pair<int, int>;
const ll LLINF = numeric_limits<long long>::max();
const int mod =... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); i++)
#define REP2(i, x, n) for (int i = x; i < (n); i++)
#define ALL(n) begin(n), end(n)
#define sz(x) int(x.size())
using ll = long long;
using P = pair<int, int>;
const ll LLINF = numeric_limits<long long>::max();
const int mod =... | [
"call.add",
"call.arguments.change"
] | 365,769 | 365,770 | u490963780 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); i++)
#define REP2(i, x, n) for (int i = x; i < (n); i++)
#define ALL(n) begin(n), end(n)
#define sz(x) int(x.size())
using ll = long long;
using P = pair<int, int>;
const ll LLINF = numeric_limits<long long>::max();
const int mod =... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); i++)
#define REP2(i, x, n) for (int i = x; i < (n); i++)
#define ALL(n) begin(n), end(n)
#define sz(x) int(x.size())
using ll = long long;
using P = pair<int, int>;
const ll LLINF = numeric_limits<long long>::max();
const int mod =... | [
"variable_declaration.type.change",
"call.add",
"call.arguments.change"
] | 365,771 | 365,770 | u490963780 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.