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 |
|---|---|---|---|---|---|---|---|
p02646 | #include <bits/stdc++.h>
using namespace std;
#define mp make_pair
typedef long long ll;
const int N = 1e7 + 1;
int main() {
ll a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
ll dis = abs(a - b), speed;
speed = v - w;
if (speed <= 0) {
cout << "NO";
return 0;
}
ll time = dis / speed;
if (time <= ... | #include <bits/stdc++.h>
using namespace std;
#define mp make_pair
typedef long long ll;
const int N = 1e7 + 1;
int main() {
ll a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
double dis = abs(a - b), speed;
speed = v - w;
if (speed <= 0) {
cout << "NO";
return 0;
}
double time = dis / speed;
if (... | [
"variable_declaration.type.change"
] | 366,567 | 366,568 | u175694641 | cpp |
p02646 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
struct p {
ll ads;
ll verb;
};
int main() {
p a, b;
ll t;
while (cin >> a.ads >> a.verb >> b.ads >> b.verb >> t) {
if (a.ads < b.ads) // a is behind b
{
if ((a.verb - b.verb) * t >= b.ads - a.ads)
printf("YES\n");
... | #include <bits/stdc++.h>
#define ll long long
using namespace std;
struct p {
ll ads;
ll verb;
};
int main() {
p a, b;
ll t;
while (cin >> a.ads >> a.verb >> b.ads >> b.verb >> t) {
if (a.ads < b.ads) // a is behind b
{
if ((a.verb - b.verb) * t >= b.ads - a.ads)
printf("YES\n");
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 366,614 | 366,615 | u019189612 | cpp |
p02646 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
struct p {
int ads;
int verb;
};
int main() {
p a, b;
int t;
while (cin >> a.ads >> a.verb >> b.ads >> b.verb >> t) {
if (a.ads < b.ads) // a is behind b
{
if ((a.verb - b.verb) * t >= b.ads - a.ads)
printf("YES\n");
... | #include <bits/stdc++.h>
#define ll long long
using namespace std;
struct p {
ll ads;
ll verb;
};
int main() {
p a, b;
ll t;
while (cin >> a.ads >> a.verb >> b.ads >> b.verb >> t) {
if (a.ads < b.ads) // a is behind b
{
if ((a.verb - b.verb) * t >= b.ads - a.ads)
printf("YES\n");
... | [
"variable_declaration.type.change",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 366,616 | 366,615 | u019189612 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
double second;
second = abs(B - A) / (V - W);
// 追いつかない場合
if (V <= W) {
cout << "NO" << endl;
}
// T秒以内に追いつく場合
else if (second <= T) {
cout << "YES" << endl;
} else {
cout << "NO"... | #include <bits/stdc++.h>
using namespace std;
int main() {
double A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
double second;
second = abs(B - A) / (V - W);
// 追いつかない場合
if (V <= W) {
cout << "NO" << endl;
}
// T秒以内に追いつく場合
else if (second <= T) {
cout << "YES" << endl;
} else {
cout << "... | [
"variable_declaration.type.primitive.change"
] | 366,627 | 366,628 | u412057008 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
int second;
second = abs(B - A) / (V - W);
// 追いつかない場合
if (V <= W) {
cout << "NO" << endl;
}
// T秒以内に追いつく場合
else if (second < T) {
cout << "YES" << endl;
} else {
cout << "NO" << ... | #include <bits/stdc++.h>
using namespace std;
int main() {
double A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
double second;
second = abs(B - A) / (V - W);
// 追いつかない場合
if (V <= W) {
cout << "NO" << endl;
}
// T秒以内に追いつく場合
else if (second <= T) {
cout << "YES" << endl;
} else {
cout << "... | [
"variable_declaration.type.primitive.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,629 | 366,628 | u412057008 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
int second;
second = (B - A) / (V - W);
// 追いつかない場合
if (V <= W) {
cout << "NO" << endl;
}
// T秒以内に追いつく場合
else if (second <= T) {
cout << "YES" << endl;
} else {
cout << "NO" << en... | #include <bits/stdc++.h>
using namespace std;
int main() {
double A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
double second;
second = abs(B - A) / (V - W);
// 追いつかない場合
if (V <= W) {
cout << "NO" << endl;
}
// T秒以内に追いつく場合
else if (second <= T) {
cout << "YES" << endl;
} else {
cout << "... | [
"variable_declaration.type.primitive.change",
"call.add"
] | 366,631 | 366,628 | u412057008 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
int second;
second = abs(B - A) / (V - W);
// 追いつかない場合
if (V <= W) {
cout << "NO" << endl;
}
// T秒以内に追いつく場合
else if (second <= T + 0.5) {
cout << "YES" << endl;
} else {
cout << "... | #include <bits/stdc++.h>
using namespace std;
int main() {
double A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
double second;
second = abs(B - A) / (V - W);
// 追いつかない場合
if (V <= W) {
cout << "NO" << endl;
}
// T秒以内に追いつく場合
else if (second <= T) {
cout << "YES" << endl;
} else {
cout << "... | [
"variable_declaration.type.primitive.change",
"expression.operation.binary.remove"
] | 366,633 | 366,628 | u412057008 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
int second;
second = abs(B - A) / (V - W);
if (V <= W) {
cout << "NO" << endl;
} else if (second < T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
double second;
second = abs(B - A) / (V - W);
// 追いつかない場合
if (V <= W) {
cout << "NO" << endl;
}
// T秒以内に追いつく場合
else if (second <= T) {
cout << "YES" << endl;
} else {
cout << "... | [
"variable_declaration.type.primitive.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,635 | 366,628 | u412057008 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
int second;
second = abs(B - A) / (V - W);
if (V <= W) {
cout << "NO" << endl;
} else if (second <= T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
double A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
double second;
second = abs(B - A) / (V - W);
// 追いつかない場合
if (V <= W) {
cout << "NO" << endl;
}
// T秒以内に追いつく場合
else if (second <= T) {
cout << "YES" << endl;
} else {
cout << "... | [
"variable_declaration.type.primitive.change"
] | 366,636 | 366,628 | u412057008 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
if (A < B) {
if ((A + V * T) >= (B + W * T)) {
cout << "YES" << endl;
return 0;
} else {
cout << "NO" << endl;
return 0;
}
} else {
if ((A + V * T) <= (B + W... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
if (A < B) {
if ((A + V * T) >= (B + W * T)) {
cout << "YES" << endl;
return 0;
} else {
cout << "NO" << endl;
return 0;
}
} else {
if ((A - V * T) <= (B - W... | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 366,637 | 366,638 | u717573950 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
long long A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
if (W >= V || abs(A - B) / (V - W) > T)
cout << "NO" << endl;
else
cout << "YES" << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
long double A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
if (W >= V || abs(A - B) / (V - W) > T)
cout << "NO" << endl;
else
cout << "YES" << endl;
} | [
"variable_declaration.type.narrow.change",
"variable_declaration.type.widen.change"
] | 366,652 | 366,653 | u749022615 | 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 (w >= v or abs(a - b) / abs(v - w) > t)
cout << "NO"
<< "\n";
else
cout << "YES"
<< "\n";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (w >= v or (long double) abs(a - b) / abs(v - w) > t)
cout << "NO"
<< "\n";
else
cout << "YES"
<< "\n";
} | [
"control_flow.branch.if.condition.change",
"call.arguments.add"
] | 366,659 | 366,660 | u672611103 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#include <math.h>
#include <set>
#define pai arccos(-1);
#define keta(n) cout << fixed << setprecision((n));
#define ll long long;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v * t - w * t >= b... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#include <math.h>
#include <set>
#define pai arccos(-1);
#define keta(n) cout << fixed << setprecision((n));
#define ll long long;
int main() {
long long int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v * t -... | [
"variable_declaration.type.widen.change",
"control_flow.branch.if.condition.change",
"call.add"
] | 366,674 | 366,675 | u591601596 | cpp |
p02646 | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdint>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <new>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#defin... | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdint>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <new>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#defin... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove",
"expression.operation.binary.remove"
] | 366,683 | 366,684 | u121734488 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b;
long long v, w;
long long t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (v > w) {
if (abs(a - b) / (v - w) <= t) {
cout << "YES" << endl;
return 0;
}
}
cout << "NO" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b;
long long v, w;
long long t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (v > w) {
if ((double)abs(a - b) / (v - w) <= t) {
cout << "YES" << endl;
return 0;
}
}
cout << "NO" << endl;
} | [
"control_flow.branch.if.condition.change"
] | 366,717 | 366,718 | u524568016 | cpp |
p02646 | //#pragma GCC optimize ("Ofast")
//#pragma GCC optimize ("unroll-loops")
//#pragma GCC target("avx,avx2,fma")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/rope>
#define pb push_back
#define F first
#define S second
#define ins insert
#define mp ma... | //#pragma GCC optimize ("Ofast")
//#pragma GCC optimize ("unroll-loops")
//#pragma GCC target("avx,avx2,fma")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/rope>
#define pb push_back
#define F first
#define S second
#define ins insert
#define mp ma... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,722 | 366,723 | u065126454 | 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 (w - v >= 0) {
cout << "No" << endl;
return 0;
} else {
long long int d = v - w;
if (abs(a - b) <= d * t) {
cout << "Yes" << endl;
} else {
cout << "No" <<... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (w - v >= 0) {
cout << "NO" << endl;
return 0;
} else {
long long int d = v - w;
if (abs(a - b) <= d * t) {
cout << "YES" << endl;
} else {
cout << "NO" <<... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 366,743 | 366,744 | u384877958 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
void solve() {
ll a, v, b, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
ll p = v * t;
ll q = w * t;
bool flag = false;
if (a < b) {
p += a;
q += b;
if (p > q) {
flag = true;
}
} else {
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
void solve() {
ll a, v, b, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
ll p = v * t;
ll q = w * t;
bool flag = false;
if (a < b) {
p += a;
q += b;
if (p >= q) {
flag = true;
}
} else {... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,745 | 366,746 | u316829626 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
// 型定義
typedef long long ll;
typedef pair<ll, ll> P;
// forループ
#define REP(i, n) for (ll i = 0; i < (ll)(n); ++i)
// 定数宣言
const int INF = 1e9;
const int MOD = 1e9 + 7;
const ll LINF = 1e18;
// グラフ表現
using Graph = vector<vector<int>>;
// グラフの辺表現
using Edge = map<pair<in... | #include <bits/stdc++.h>
using namespace std;
// 型定義
typedef long long ll;
typedef pair<ll, ll> P;
// forループ
#define REP(i, n) for (ll i = 0; i < (ll)(n); ++i)
// 定数宣言
const int INF = 1e9;
const int MOD = 1e9 + 7;
const ll LINF = 1e18;
// グラフ表現
using Graph = vector<vector<int>>;
// グラフの辺表現
using Edge = map<pair<in... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 366,753 | 366,754 | u443975466 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v < w || v == w) {
cout << "NO" << endl;
return 0;
}
int ans = 0;
if (abs(a - b) % abs(v - w) != 0) {
ans = abs(a - b) % abs(v - w) + 1;
} else {
ans = abs(a - b) % abs(v - w);
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v < w || v == w) {
cout << "NO" << endl;
return 0;
}
int ans = 0;
if (abs(a - b) % abs(v - w) != 0) {
ans = abs(a - b) / abs(v - w) + 1;
} else {
ans = abs(a - b) / abs(v - w);
... | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 366,757 | 366,758 | u834753207 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int64_t i = 0; i < (int64_t)(n); i++)
#define all(v) v.begin(), v.end()
using ll = long long;
using namespace std;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO";
return 0;
}
if (b < a)
swap(a, b);
rep(i, t... | #include <bits/stdc++.h>
#define rep(i, n) for (int64_t i = 0; i < (int64_t)(n); i++)
#define all(v) v.begin(), v.end()
using ll = long long;
using namespace std;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO";
return 0;
}
if (b < a)
swap(a, b);
rep(i, t... | [
"expression.operation.binary.remove",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,759 | 366,760 | u018372223 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int64_t i = 0; i < (int64_t)(n); i++)
#define all(v) v.begin(), v.end()
using ll = long long;
using namespace std;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO";
return 0;
}
if (b < a)
swap(a, b);
rep(i, t... | #include <bits/stdc++.h>
#define rep(i, n) for (int64_t i = 0; i < (int64_t)(n); i++)
#define all(v) v.begin(), v.end()
using ll = long long;
using namespace std;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO";
return 0;
}
if (b < a)
swap(a, b);
rep(i, t... | [
"expression.operation.binary.remove"
] | 366,761 | 366,760 | u018372223 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t a, v, b, w, t; // a,v鬼 b,w子供 t時間
int ans = 0;
int i = 0;
cin >> a >> v >> b >> w >> t;
for (i = 0; i < t; i++) {
if (a > b) {
a -= v;
b -= w;
if (a == b || a << b) {
ans = 1;
i = t;
} else {
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t a, v, b, w, t; // a,v鬼 b,w子供 t時間
int ans = 0;
int i = 0;
cin >> a >> v >> b >> w >> t;
for (i = 0; i < t; i++) {
if (a > b) {
a -= v;
b -= w;
if (a == b || a < b) {
ans = 1;
i = t;
} else {
... | [
"misc.typo",
"control_flow.branch.if.condition.change"
] | 366,762 | 366,763 | u749987608 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (V <= W) {
cout << "NO" << endl;
}
else if (T * (V - W) < abs(A - B)) {
cout << "NO" << endl;
}
else {
cout << "Yes" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (V <= W) {
cout << "NO" << endl;
}
else if (T * (V - W) < abs(A - B)) {
cout << "NO" << endl;
}
else {
cout << "YES" << endl;
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 366,764 | 366,765 | u398848665 | cpp |
p02646 | #include <iostream>
#include <math.h>
using namespace std;
int main() {
long long a, b;
long long v, w, t;
cin >> a >> v >> b >> w >> t;
if (a < b) {
if (a + v * t >= b + w * t)
cout << "YES" << endl;
else
cout << "NO" << endl;
} else {
if (a + v * t <= b + w * t)
cout << "YES"... | #include <iostream>
#include <math.h>
using namespace std;
int main() {
long long a, b;
long long v, w, t;
cin >> a >> v >> b >> w >> t;
if (a < b) {
if (a + v * t >= b + w * t)
cout << "YES" << endl;
else
cout << "NO" << endl;
} else {
if (a - v * t <= b - w * t)
cout << "YES"... | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 366,769 | 366,770 | u963074160 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define RREP(i, n) for (int i = (int)(n)-1; i >= 0; --i)
#define FOR(i, a, n) for (int i = (a); i < (n); ++i)
#define RFOR(i, a, n) for (int i = (int)(n)-1; i >= (a); --i)
#define SZ(x) ((int)(x).size())
#define ALL(x) (x).... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define RREP(i, n) for (int i = (int)(n)-1; i >= 0; --i)
#define FOR(i, a, n) for (int i = (a); i < (n); ++i)
#define RFOR(i, a, n) for (int i = (int)(n)-1; i >= (a); --i)
#define SZ(x) ((int)(x).size())
#define ALL(x) (x).... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 366,774 | 366,775 | u960524878 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long int big;
big relVel(big v, big w) { return v - w; }
bool posbl(big a, big v, big b, big w, big dead) {
big dist = (b - a);
big rel = relVel(v, w);
// cout<<rel<<" ";
if (rel > 0) {
double time = ((double)abs(dist)) / ((double)abs(rel));
... | #include <bits/stdc++.h>
using namespace std;
typedef long long int big;
big relVel(big v, big w) { return v - w; }
bool posbl(big a, big v, big b, big w, big dead) {
big dist = (b - a);
big rel = relVel(v, w);
// cout<<rel<<" ";
if (rel > 0) {
double time = ((double)abs(dist)) / ((double)abs(rel));
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,786 | 366,787 | u987599107 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i, n) for (ll i = 0; i < n; i++)
#define P pair<ll, ll>
#define Graph vector<vector<ll>>
#define INF (1ll << 60)
#define mod 1000000007
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;
#define ll long long
#define rep(i, n) for (ll i = 0; i < n; i++)
#define P pair<ll, ll>
#define Graph vector<vector<ll>>
#define INF (1ll << 60)
#define mod 1000000007
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return... | [
"control_flow.branch.if.condition.change"
] | 366,788 | 366,789 | u582588783 | cpp |
p02646 | #include <cmath>
#include <ctype.h>
#include <iostream>
#include <limits.h>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
long long A, B, V, W, T;
int main() {
cin >> A >> V >> B >> W >> T;
if (abs(A - B) < (V - W) * T) {
cout << "YES" << en... | #include <cmath>
#include <ctype.h>
#include <iostream>
#include <limits.h>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
long long A, B, V, W, T;
int main() {
cin >> A >> V >> B >> W >> T;
if (abs(A - B) <= (V - W) * T) {
cout << "YES" << e... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,792 | 366,793 | u227887205 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define MOD (long long)(1e9 + 7)
#define INF (1LL << 60)
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define rep1(i, n) for (ll i = 1; i <= (n); i++)
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define MOD (long long)(1e9 + 7)
#define INF (1LL << 60)
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define rep1(i, n) for (ll i = 1; i <= (n); i++)
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 366,799 | 366,800 | u803684095 | cpp |
p02646 | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define ALL(v) v.begin(), v.end()
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
int a, v, b, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
int le, vs;
le = abs(a - b);
vs = v - w;
if (vs * t ... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define ALL(v) v.begin(), v.end()
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ll a, v, b, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
ll le, vs;
le = abs(a - b); // min = 1;
vs = v - w;
i... | [
"variable_declaration.type.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,807 | 366,808 | u849151695 | cpp |
p02646 | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define fbo find_by_order
#define ook order_of_key
typedef long long ll;
typedef pair<ll... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define fbo find_by_order
#define ook order_of_key
typedef long long ll;
typedef pair<ll... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,813 | 366,814 | u415347296 | cpp |
p02646 | // header
#ifdef LOCAL
#include "cxx-prettyprint-master/prettyprint.hpp"
#define debug(x) cout << x << endl
#else
#define debug(...) 42
#endif
#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
// types
using namespace std;
using ll = long long;
using ul = unsigned long long;
using ld = long double;
typedef pair<ll... | // header
#ifdef LOCAL
#include "cxx-prettyprint-master/prettyprint.hpp"
#define debug(x) cout << x << endl
#else
#define debug(...) 42
#endif
#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
// types
using namespace std;
using ll = long long;
using ul = unsigned long long;
using ld = long double;
typedef pair<ll... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 366,815 | 366,816 | u310678820 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define mod 1e9 + 7
int main() {
long long int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (a < b)
{
if ((v - w) * t >= b - a)
cout << "YES";
else
cout << "NO";
}
else
{
if ((w - v) * t >= a - b)
cout << "YES";
... | #include <bits/stdc++.h>
using namespace std;
#define mod 1e9 + 7
int main() {
long long int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (a < b)
{
if ((v - w) * t >= b - a)
cout << "YES";
else
cout << "NO";
}
else
{
if ((v - w) * t >= a - b)
cout << "YES";
... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 366,847 | 366,848 | u162472790 | cpp |
p02646 | #include <iostream>
using namespace std;
int main() {
int a, v, b, w, t;
int sp, de;
cin >> a >> v >> b >> w >> t;
sp = v - w;
de = b - a;
if (de < 0)
de *= -1;
if (de < sp * t)
cout << "YES\n";
else
cout << "NO\n";
return 0;
} | #include <iostream>
using namespace std;
int main() {
long long a, v, b, w, t;
long long sp, de;
cin >> a >> v >> b >> w >> t;
sp = v - w;
de = b - a;
if (de < 0)
de *= -1;
if (de <= sp * t)
cout << "YES\n";
else
cout << "NO\n";
return 0;
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,859 | 366,858 | u236195336 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, N) for (int i = 0; i < (int)N; i++)
#define LOOP(i, N) for (int i = 1; i <= (int)N; i++)
#define RREP(i, N) for (int i = (int)N - 1; i >= 0; i--)
#define RLOOP(i, N) for (int i = (int)N; i > 0; i--)
#define FOR(i, a, b) for (int i = a; i < (int)b; i++)
#def... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, N) for (int i = 0; i < (int)N; i++)
#define LOOP(i, N) for (int i = 1; i <= (int)N; i++)
#define RREP(i, N) for (int i = (int)N - 1; i >= 0; i--)
#define RLOOP(i, N) for (int i = (int)N; i > 0; i--)
#define FOR(i, a, b) for (int i = a; i < (int)b; i++)
#def... | [
"variable_declaration.type.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,873 | 366,872 | u458311335 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, N) for (int i = 0; i < (int)N; i++)
#define LOOP(i, N) for (int i = 1; i <= (int)N; i++)
#define RREP(i, N) for (int i = (int)N - 1; i >= 0; i--)
#define RLOOP(i, N) for (int i = (int)N; i > 0; i--)
#define FOR(i, a, b) for (int i = a; i < (int)b; i++)
#def... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, N) for (int i = 0; i < (int)N; i++)
#define LOOP(i, N) for (int i = 1; i <= (int)N; i++)
#define RREP(i, N) for (int i = (int)N - 1; i >= 0; i--)
#define RLOOP(i, N) for (int i = (int)N; i > 0; i--)
#define FOR(i, a, b) for (int i = a; i < (int)b; i++)
#def... | [
"variable_declaration.type.change",
"identifier.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,874 | 366,872 | u458311335 | cpp |
p02646 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 366,877 | 366,878 | u754514364 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int64_t A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
string ans = "NO";
if (V < W) {
cout << ans << endl;
return 0;
}
if (abs(A - B) / abs(V - W) <= T)
ans = "YES";
cout << ans << ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
long double A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
string ans = "NO";
if (V <= W) {
cout << ans << endl;
return 0;
}
if (abs(A - B) / abs(V - W) <= T)
ans = "YES";
cout << a... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,885 | 366,886 | u957143460 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int64_t A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
string ans = "NO";
if (V <= W) {
cout << ans << endl;
return 0;
}
if (abs(A - B) / abs(V - W) <= T)
ans = "YES";
cout << ans <<... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
long double A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
string ans = "NO";
if (V <= W) {
cout << ans << endl;
return 0;
}
if (abs(A - B) / abs(V - W) <= T)
ans = "YES";
cout << a... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 366,887 | 366,886 | u957143460 | cpp |
p02646 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
#include <cmath>
#include <iomanip>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <vector>
using ll = long long;
using vi = vector<int>;
using vl = vector<ll>;
using vvi = vector<vi>;
using vs = vector<string>;
... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
#include <cmath>
#include <iomanip>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <vector>
using ll = long long;
using vi = vector<int>;
using vl = vector<ll>;
using vvi = vector<vi>;
using vs = vector<string>;
... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 366,901 | 366,902 | u032437757 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
void solve(ll a, ll v1, ll b, ll w1, ll t) {
ll s1, s2;
s1 = v1 * t;
s2 = w1 * t;
if (b - a + s2 <= s1)
cout << "YES";
else
cout << "NO";
}
int main() {
ll a, v1, b, w1, t;
cin >> a >> v1;
cin >> b >> w1;
cin >> t;
solve(a, ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
void solve(ll a, ll v1, ll b, ll w1, ll t) {
ll s1, s2;
s1 = v1 * t;
s2 = w1 * t;
if (abs(b - a) + s2 <= s1)
cout << "YES";
else
cout << "NO";
}
int main() {
ll a, v1, b, w1, t;
cin >> a >> v1;
cin >> b >> w1;
cin >> t;
solv... | [
"control_flow.branch.if.condition.change"
] | 366,908 | 366,909 | u025616818 | cpp |
p02646 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <vector>
using namespace std;
int main() {
long A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (abs(A - B) < (V - W) * T) {
cout << "YES";
} else {
cout << "NO";
}
} | #include <algorithm>
#include <cmath>
#include <iostream>
#include <vector>
using namespace std;
int main() {
long A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (abs(A - B) <= (V - W) * T) {
cout << "YES";
} else {
cout << "NO";
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,918 | 366,919 | u594249018 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
long long a, b, v, w, t;
string ans;
cin >> a >> v >> b >> w >> t;
ans = "NO";
if (v > w) {
if (t >= (abs(a - b) / (v - w)))
ans = "YES";
}
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
long long a, b, v, w, t;
string ans;
cin >> a >> v >> b >> w >> t;
ans = "NO";
if (v > w) {
if (t >= ((double)abs(a - b) / (v - w)))
ans = "YES";
}
cout << ans << endl;
}
| [
"control_flow.branch.if.condition.change"
] | 366,929 | 366,930 | u372940733 | cpp |
p02646 | #include <bits/stdc++.h>
#define X first
#define Y second
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pii;
typedef pair<ll, int> pli;
typedef pair<ll, ll> pll;
const ll INF = 2e18;
const int inf = 1e9 + 10;
const int maxN = 1e5 + 10;
const int maxD = 15;
const int maxH = ... | #include <bits/stdc++.h>
#define X first
#define Y second
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pii;
typedef pair<ll, int> pli;
typedef pair<ll, ll> pll;
const ll INF = 2e18;
const int inf = 1e9 + 10;
const int maxN = 1e5 + 10;
const int maxD = 15;
const int maxH = ... | [
"misc.opposites",
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 366,970 | 366,971 | u807919574 | cpp |
p02646 | #include <algorithm>
#include <cstring>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
ll a, b, c, i, j, k;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cin >> a >> b >> i >> j;
cin >> c;
a = abs(a - i);
b = abs(b - j) * c;
if (a <= b)
cout ... | #include <algorithm>
#include <cstring>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
ll a, b, c, i, j, k;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cin >> a >> b >> i >> j;
cin >> c;
a = abs(a - i);
b = (b - j) * c;
if (a <= b)
cout << ... | [] | 366,972 | 366,973 | u748042489 | cpp |
p02644 | #include <bits/stdc++.h>
using namespace std;
/*
H * W <= 1e6なのでbfsすれば良い?
Kが10^6なので分岐が多すぎる
O(4 * 1e6)
*/
int main(void) {
int h, w, k;
cin >> h >> w >> k;
int from_x, from_y, to_x, to_y;
cin >> from_x >> from_y >> to_x >> to_y;
from_x--;
from_y--;
to_x--;
to_y--;
vector<vector<bool>> grid(h, vector<... | #include <bits/stdc++.h>
using namespace std;
/*
H * W <= 1e6なのでbfsすれば良い?
Kが10^6なので分岐が多すぎる
O(4 * 1e6)
*/
int main(void) {
int h, w, k;
cin >> h >> w >> k;
int from_x, from_y, to_x, to_y;
cin >> from_x >> from_y >> to_x >> to_y;
from_x--;
from_y--;
to_x--;
to_y--;
vector<vector<bool>> grid(h, vector<... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 367,015 | 367,016 | u013408661 | cpp |
p02644 | #include <bits/stdc++.h>
using namespace std;
/*
H * W <= 1e6なのでbfsすれば良い?
Kが10^6なので分岐が多すぎる
O(4 * 1e6)
*/
int main(void) {
int h, w, k;
cin >> h >> w >> k;
int from_x, from_y, to_x, to_y;
cin >> from_x >> from_y >> to_x >> to_y;
from_x--;
from_y--;
to_x--;
to_y--;
vector<vector<bool>> grid(h, vector<... | #include <bits/stdc++.h>
using namespace std;
/*
H * W <= 1e6なのでbfsすれば良い?
Kが10^6なので分岐が多すぎる
O(4 * 1e6)
*/
int main(void) {
int h, w, k;
cin >> h >> w >> k;
int from_x, from_y, to_x, to_y;
cin >> from_x >> from_y >> to_x >> to_y;
from_x--;
from_y--;
to_x--;
to_y--;
vector<vector<bool>> grid(h, vector<... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 367,017 | 367,016 | u013408661 | cpp |
p02644 | #define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
// template
#define rep(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define ALL(v) (v).begin(), (v).end()
typedef long long int ll;
const int inf = 0x3fffffff;
const ll INF = 0x1fffffffffffffff;
const double eps = 1e-12;
template <typename ... | #define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
// template
#define rep(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define ALL(v) (v).begin(), (v).end()
typedef long long int ll;
const int inf = 0x3fffffff;
const ll INF = 0x1fffffffffffffff;
const double eps = 1e-12;
template <typename ... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,020 | 367,021 | u407614884 | cpp |
p02644 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < (n); i++)
#define pb push_back
#define eb emplace_back
#define all(v) (v).begin(), (v).end()
#define fi first
#define se second
using vint = vector<int>;
using pint = pair<int, int>;
using vpint = vector<pint>;... |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < (n); i++)
#define pb push_back
#define eb emplace_back
#define all(v) (v).begin(), (v).end()
#define fi first
#define se second
using vint = vector<int>;
using pint = pair<int, int>;
using vpint = vector<pint>;... | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 367,073 | 367,074 | u685892567 | cpp |
p02644 | #include <bits/stdc++.h>
#define FASTIO \
ios::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define LL long long int
using nam... | #include <bits/stdc++.h>
#define FASTIO \
ios::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define LL long long int
using nam... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,077 | 367,078 | u248340295 | cpp |
p02646 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <vector>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define FOR(i, s, e) for (int(i) = (s); (i) < (e); (i)++)
#define vecall(itr, vec) ... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <vector>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define FOR(i, s, e) for (int(i) = (s); (i) < (e); (i)++)
#define vecall(itr, vec) ... | [
"variable_declaration.type.change",
"call.add",
"call.arguments.change"
] | 367,087 | 367,088 | u892557780 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(a) (a).begin(), (a).end()
typedef vector<int> vi;
const int INF = 1LL << 60; // 10e18+10e17ちょっとくらい
const int MOD = 1000000007;
const int MAX_N = 200100;
signed main() {
/... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define all(a) (a).begin(), (a).end()
typedef vector<int> vi;
const int INF = 1LL << 60; // 10e18+10e17ちょっとくらい
const int MOD = 1000000007;
const int MAX_N = 200100;
signed main() {
/... | [
"control_flow.branch.if.condition.change"
] | 367,096 | 367,097 | u913836622 | cpp |
p02646 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
#define rep(i, n) for (ll i = 0; i < (ll)n; i++)
int main() {
ll A, B;
ll V, W;
ll T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
ll realDist = abs(A - B);
ll lim... | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
#define rep(i, n) for (ll i = 0; i < (ll)n; i++)
int main() {
ll A, B;
ll V, W;
ll T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
ll realDist = abs(A - B);
ll lim... | [] | 367,098 | 367,099 | u499578155 | cpp |
p02646 | #include "bits/stdc++.h"
#include <random>
#define REP(i, n) for (ll i = 0; i < ll(n); ++i)
#define RREP(i, n) for (ll i = ll(n) - 1; i >= 0; --i)
#define FOR(i, m, n) for (ll i = m; i < ll(n); ++i)
#define RFOR(i, m, n) for (ll i = ll(n) - 1; i >= ll(m); --i)
#define ALL(v) (v).begin(), (v).end()
#define UNIQUE(v) v.e... | #include "bits/stdc++.h"
#include <random>
#define REP(i, n) for (ll i = 0; i < ll(n); ++i)
#define RREP(i, n) for (ll i = ll(n) - 1; i >= 0; --i)
#define FOR(i, m, n) for (ll i = m; i < ll(n); ++i)
#define RFOR(i, m, n) for (ll i = ll(n) - 1; i >= ll(m); --i)
#define ALL(v) (v).begin(), (v).end()
#define UNIQUE(v) v.e... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 367,102 | 367,103 | u918357423 | cpp |
p02646 | #include "bits/stdc++.h"
#include <random>
#define REP(i, n) for (ll i = 0; i < ll(n); ++i)
#define RREP(i, n) for (ll i = ll(n) - 1; i >= 0; --i)
#define FOR(i, m, n) for (ll i = m; i < ll(n); ++i)
#define RFOR(i, m, n) for (ll i = ll(n) - 1; i >= ll(m); --i)
#define ALL(v) (v).begin(), (v).end()
#define UNIQUE(v) v.e... | #include "bits/stdc++.h"
#include <random>
#define REP(i, n) for (ll i = 0; i < ll(n); ++i)
#define RREP(i, n) for (ll i = ll(n) - 1; i >= 0; --i)
#define FOR(i, m, n) for (ll i = m; i < ll(n); ++i)
#define RFOR(i, m, n) for (ll i = ll(n) - 1; i >= ll(m); --i)
#define ALL(v) (v).begin(), (v).end()
#define UNIQUE(v) v.e... | [
"variable_declaration.type.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 367,104 | 367,103 | u918357423 | cpp |
p02646 | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main() {
long long int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
long long int sec = 0;
if (W - V == 0 || W - V > 0) {
cout << "NO" << endl;
}
else {
sec = (max(A, B) - min(A, B)) / (V - W);
if (sec <= T)
cout << ... | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main() {
double A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
double sec = 0;
if (W - V == 0 || W - V > 0) {
cout << "NO" << endl;
}
else {
sec = (max(A, B) - min(A, B)) / (V - W);
if (sec <= T)
cout << "YES" << endl;... | [
"variable_declaration.type.primitive.change"
] | 367,112 | 367,113 | u350046688 | cpp |
p02646 | #include <algorithm>
#include <bitset>
#include <chrono>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <stack>
#include <unordered_map>
#include <vector>
using namespace std;
using ll = long long;
const ll INF = (ll)1e18 + 1;
const ll... | #include <algorithm>
#include <bitset>
#include <chrono>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <stack>
#include <unordered_map>
#include <vector>
using namespace std;
using ll = long long;
const ll INF = (ll)1e18 + 1;
const ll... | [
"variable_declaration.type.change"
] | 367,116 | 367,117 | u645961531 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
long long a, v, b, w, t;
int main() {
cin >> a >> v >> b >> w >> t;
puts(abs(b - a) <= abs(v - w) * t ? "YES" : "NO");
} | #include <bits/stdc++.h>
using namespace std;
long long a, v, b, w, t;
int main() {
cin >> a >> v >> b >> w >> t;
puts(abs(b - a) <= (v - w) * t ? "YES" : "NO");
} | [
"call.arguments.change"
] | 367,120 | 367,121 | u807064686 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
long long a, v, b, w, t;
int main() {
cin >> a >> v >> b >> w >> t;
puts(abs(b - a) < abs(v - w) * t ? "YES" : "NO");
} | #include <bits/stdc++.h>
using namespace std;
long long a, v, b, w, t;
int main() {
cin >> a >> v >> b >> w >> t;
puts(abs(b - a) <= (v - w) * t ? "YES" : "NO");
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 367,122 | 367,121 | u807064686 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
long long a, v, b, w, t;
int main() {
cin >> a >> v >> b >> w >> t;
puts(abs(b - a) < (v - w) * t ? "YES" : "NO");
} | #include <bits/stdc++.h>
using namespace std;
long long a, v, b, w, t;
int main() {
cin >> a >> v >> b >> w >> t;
puts(abs(b - a) <= (v - w) * t ? "YES" : "NO");
} | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 367,123 | 367,121 | u807064686 | cpp |
p02646 | #include <bits/stdc++.h>
#include <cmath>
#include <queue>
#include <stdint.h>
#include <string.h>
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | #include <bits/stdc++.h>
#include <cmath>
#include <queue>
#include <stdint.h>
#include <string.h>
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); ... | [
"variable_declaration.type.change"
] | 367,124 | 367,125 | u359421636 | cpp |
p02646 | #include <iostream>
using namespace std;
int main() {
long A, V;
long B, W;
long T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (A < B) {
if ((A + V * T) >= (B + W * T)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
if ((A - V * T) >= (B - W * T)) {
... | #include <iostream>
using namespace std;
int main() {
long A, V;
long B, W;
long T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (A < B) {
if ((A + V * T) >= (B + W * T)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
if ((A - V * T) <= (B - W * T)) {
... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,128 | 367,129 | u534732555 | cpp |
p02646 | #include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
int a, v;
cin >> a >> v;
int b, w;
cin >> b >> w;
int t;
cin >> t;
if (llabs(a - b) <= t * (v - w)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
int a, v;
cin >> a >> v;
int b, w;
cin >> b >> w;
int t;
cin >> t;
if (llabs(a - b) <= t * (v - w)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 367,130 | 367,131 | u396589934 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define pp pair<int, int>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define rep2(i, m, n) for (int(i) = (m); (i) < (n); (i)++)
#define ll long long
#define ld long double
#define all(a) (a).begin(), (a).end()
#define mk make_pair
ll mod = 998244353;
int inf = 100... | #include <bits/stdc++.h>
using namespace std;
#define pp pair<int, int>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define rep2(i, m, n) for (int(i) = (m); (i) < (n); (i)++)
#define ll long long
#define ld long double
#define all(a) (a).begin(), (a).end()
#define mk make_pair
ll mod = 998244353;
int inf = 100... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,161 | 367,162 | u443971699 | cpp |
p02646 | #include <iostream>
#include <string>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
long long int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (abs(v * t - w * t) >= abs(a - b))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | #include <iostream>
#include <string>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
long long int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v * t - w * t >= abs(a - b))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"control_flow.branch.if.condition.change"
] | 367,165 | 367,166 | u030611628 | cpp |
p02646 | #include <iostream>
#include <string>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (abs(v * t - w * t) >= abs(a - b))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | #include <iostream>
#include <string>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
long long int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v * t - w * t >= abs(a - b))
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | [
"call.remove",
"control_flow.branch.if.condition.change"
] | 367,167 | 367,166 | u030611628 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
bool solve() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
int dist = abs(b - a);
int dv = (v - w);
if (dv < 0)
return false;
int steps = dist / dv;
if (dist % dv)
++steps;
if (steps <= t)
return true;
return false;
}
int main() {
ios:... | #include <bits/stdc++.h>
using namespace std;
bool solve() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
int dist = abs(b - a);
int dv = (v - w);
if (dv <= 0)
return false;
int steps = dist / dv;
if (dist % dv)
++steps;
if (steps <= t)
return true;
return false;
}
int main() {
ios... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,168 | 367,169 | u453925372 | cpp |
p02646 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <utility>
#include <vector>
const double PI = acos(-1);
#define rep(i, n) for (int i = 0; i < (n); i++)
usi... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <utility>
#include <vector>
const double PI = acos(-1);
#define rep(i, n) for (int i = 0; i < (n); i++)
usi... | [
"call.remove",
"call.arguments.change"
] | 367,176 | 367,177 | u272628953 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
long double a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO\n";
return 0;
}
if (a > b) {
if (v > w) {
if (b - a <= t * (v - w)) {
cout << "YES\n";
} e... | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
long double a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO\n";
return 0;
}
if (a < b) {
if (v > w) {
if (b - a <= t * (v - w)) {
cout << "YES\n";
} e... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,178 | 367,179 | u045890912 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
const string YES = "YES";
const string NO = "NO";
void solve(long long A, long long V, long long B, long long W, long long T) {
long long dist = B - A;
long long diff = (W - V) * T;
cout << ((dist + diff <= 0) ? YES : NO) << endl;
}
// Generated by 1.1.7.1 https:/... | #include <bits/stdc++.h>
using namespace std;
const string YES = "YES";
const string NO = "NO";
void solve(long long A, long long V, long long B, long long W, long long T) {
long long dist = abs(B - A);
long long diff = (W - V) * T;
cout << ((dist + diff <= 0) ? YES : NO) << endl;
}
// Generated by 1.1.7.1 ht... | [
"call.add",
"call.arguments.change"
] | 367,180 | 367,181 | u019151685 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using grid = vector<vector<char>>;
int dx[] = {0, 1, -1, 0, 1, -1, 1, -1}; // i<4:4way i<8:8way
int dy[] = {1, 0, 0, -1, 1, -1, -1, 1};
constexpr ll MOD = 1000000007;
// constexpr ll MOD = 998244353;
constexpr ll INF = 1050000000;
constexpr ll LONGI... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using grid = vector<vector<char>>;
int dx[] = {0, 1, -1, 0, 1, -1, 1, -1}; // i<4:4way i<8:8way
int dy[] = {1, 0, 0, -1, 1, -1, -1, 1};
constexpr ll MOD = 1000000007;
// constexpr ll MOD = 998244353;
constexpr ll INF = 1050000000;
constexpr ll LONGI... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 367,188 | 367,189 | u385617244 | cpp |
p02646 | #include <algorithm>
#include <cassert>
#include <cmath>
#include <ctime>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> p;
... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <ctime>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> p;
... | [
"control_flow.branch.if.condition.change"
] | 367,190 | 367,191 | u917502362 | cpp |
p02646 | #include <iostream>
int main(int argc, char *argv[]) {
long long a, b, v, w, t;
std::cin >> a >> v >> b >> w >> t;
bool ans = (v * t - w * t) >= (b - a);
std::cout << (ans ? "YES" : "NO") << std::endl;
}
| #include <iostream>
int main(int argc, char *argv[]) {
long long a, b, v, w, t;
std::cin >> a >> v >> b >> w >> t;
bool ans = (v * t - w * t) >= std::abs(b - a);
std::cout << (ans ? "YES" : "NO") << std::endl;
}
| [] | 367,192 | 367,193 | u089888152 | cpp |
p02646 | #include <iostream>
int main(int argc, char *argv[]) {
int a, b, v, w, t;
std::cin >> a >> v >> b >> w >> t;
bool ans = (v * t - w * t) >= (b - a);
std::cout << (ans ? "YES" : "NO") << std::endl;
}
| #include <iostream>
int main(int argc, char *argv[]) {
long long a, b, v, w, t;
std::cin >> a >> v >> b >> w >> t;
bool ans = (v * t - w * t) >= std::abs(b - a);
std::cout << (ans ? "YES" : "NO") << std::endl;
}
| [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 367,194 | 367,193 | u089888152 | 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;
}
if (V < W) { //子供のほうが早い
cout << "No" << endl;
return 0;
}
long long dist = B - A;
if (dist < 0) {
dist = -dist;
}... | #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;
}
if (V < W) { //子供のほうが早い
cout << "NO" << endl;
return 0;
}
long long dist = B - A;
if (dist < 0) {
dist = -dist;
}... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 367,202 | 367,203 | u835523614 | cpp |
p02646 |
#include <bits/stdc++.h>
using namespace std;
#define fastio \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0); ... |
#include <bits/stdc++.h>
using namespace std;
#define fastio \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0); ... | [
"expression.operation.binary.remove"
] | 367,221 | 367,222 | u990746416 | cpp |
p02646 | #include <iostream>
using namespace std;
int main() {
double a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (b > a) {
if (b + t * w <= a + t * v) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
if (b - t * w >= a - t * v) {
cout << "Yes" << en... | #include <iostream>
using namespace std;
int main() {
double a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (b > a) {
if (b + t * w <= a + t * v) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
if (b - t * w >= a - t * v) {
cout << "YES" << en... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 367,227 | 367,228 | u335365831 | cpp |
p02646 | #include <iostream>
using namespace std;
int main() {
double a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (b > a) {
if (b + t * w <= a + t * v) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else {
if (b - t * w >= a - t * v) {
cout << "Yes" << en... | #include <iostream>
using namespace std;
int main() {
double a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (b > a) {
if (b + t * w <= a + t * v) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
if (b - t * w >= a - t * v) {
cout << "YES" << en... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 367,229 | 367,228 | u335365831 | cpp |
p02646 | #include <bits/stdc++.h>
#define FOR(i, a, n) for (int(i) = (int)(a); (i) < (int)(n); ++(i))
#define FORe(i, a, n) for (int(i) = (int)(a); (i) <= (int)(n); ++(i))
#define rFOR(i, a, n) for (int(i) = (int)(n)-1; (i) >= (int)(a); --(i))
#define rFORe(i, a, n) for (int(i) = (int)(n); (i) >= (int)(a); --(i))
#define REP(i,... | #include <bits/stdc++.h>
#define FOR(i, a, n) for (int(i) = (int)(a); (i) < (int)(n); ++(i))
#define FORe(i, a, n) for (int(i) = (int)(a); (i) <= (int)(n); ++(i))
#define rFOR(i, a, n) for (int(i) = (int)(n)-1; (i) >= (int)(a); --(i))
#define rFORe(i, a, n) for (int(i) = (int)(n); (i) >= (int)(a); --(i))
#define REP(i,... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,230 | 367,231 | u809589926 | cpp |
p02646 | #include <bits/stdc++.h>
#include <cctype>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) (v).begin(), (v).end()
typedef long long int ll;
#define pi 3.1415926535897932384
#define E9 1000000000
#define eps 1e-4
#define pii pair<int, int>
int main() {
ll A, V, B, W, T;
cin >> A ... | #include <bits/stdc++.h>
#include <cctype>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) (v).begin(), (v).end()
typedef long long int ll;
#define pi 3.1415926535897932384
#define E9 1000000000
#define eps 1e-4
#define pii pair<int, int>
int main() {
ll A, V, B, W, T;
cin >> A ... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,243 | 367,244 | u474180590 | cpp |
p02646 |
// Problem : B - Tag
// Contest : AtCoder - Tokio Marine & Nichido Fire Insurance Programming Contest
// 2020 URL :
// https://atcoder.jp/contests/tokiomarine2020/tasks/tokiomarine2020_b Memory
// Limit : 1024 MB Time Limit : 2000 ms Powered by CP Editor
// (https://github.com/cpeditor/cpeditor)
#include <algorithm>
... |
// Problem : B - Tag
// Contest : AtCoder - Tokio Marine & Nichido Fire Insurance Programming Contest
// 2020 URL :
// https://atcoder.jp/contests/tokiomarine2020/tasks/tokiomarine2020_b Memory
// Limit : 1024 MB Time Limit : 2000 ms Powered by CP Editor
// (https://github.com/cpeditor/cpeditor)
#include <algorithm>
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,251 | 367,252 | u805304731 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define ll unsigned long long int
using namespace std;
int main() {
ll A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (W >= V) {
cout << "NO" << endl;
} else {
ll diff;
if (A > B)
diff = A - B;
else
diff = B... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define ll long long int
using namespace std;
int main() {
ll A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (W >= V) {
cout << "NO" << endl;
} else {
ll diff;
if (A > B)
diff = A - B;
else
diff = B - A;
... | [] | 367,260 | 367,261 | u269804060 | cpp |
p02646 | #include <iostream>
#include <math.h>
using namespace std;
int main() {
int A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (T * (V - W) > abs(B - A)) {
cout << "YES";
} else {
cout << "NO";
}
} | #include <iostream>
#include <math.h>
using namespace std;
int main() {
long long A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (T * (V - W) >= abs(B - A)) {
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"
] | 367,270 | 367,269 | u928810872 | cpp |
p02646 | /*
Author :- Gaurang_Kothiya
Quote :- " Practice makes a man perfect. "
*/
#include <bits/stdc++.h>
#include <bitset>
#include <cstdint>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <functional>
#include <initializer_list>
using namespace std;
using namespace... | /*
Author :- Gaurang_Kothiya
Quote :- " Practice makes a man perfect. "
*/
#include <bits/stdc++.h>
#include <bitset>
#include <cstdint>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <functional>
#include <initializer_list>
using namespace std;
using namespace... | [
"variable_declaration.type.change"
] | 367,299 | 367,300 | u060505687 | cpp |
p02646 | /*
Author :- Gaurang_Kothiya
Quote :- " Practice makes a man perfect. "
*/
#include <bits/stdc++.h>
#include <bitset>
#include <cstdint>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <functional>
#include <initializer_list>
using namespace std;
using namespace... | /*
Author :- Gaurang_Kothiya
Quote :- " Practice makes a man perfect. "
*/
#include <bits/stdc++.h>
#include <bitset>
#include <cstdint>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <functional>
#include <initializer_list>
using namespace std;
using namespace... | [] | 367,301 | 367,300 | u060505687 | cpp |
p02646 | #include <iostream>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (w >= v) {
cout << "NO" << endl;
return 0;
}
if (llabs(a - b) / llabs(v - w) > t) {
cout << "NO" << endl;
... | #include <iostream>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (w >= v) {
cout << "NO" << endl;
return 0;
}
if (llabs(a - b) > llabs(v - w) * t) {
cout << "NO" << endl;
... | [
"control_flow.branch.if.condition.change"
] | 367,304 | 367,305 | u202978565 | cpp |
p02646 | #include <iostream>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (w >= v) {
cout << "No" << endl;
return 0;
}
if (llabs(a - b) > llabs(v - w) * t) {
cout << "No" << endl;
... | #include <iostream>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (w >= v) {
cout << "NO" << endl;
return 0;
}
if (llabs(a - b) > llabs(v - w) * t) {
cout << "NO" << endl;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 367,306 | 367,305 | u202978565 | cpp |
p02646 | #include <iostream>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (w >= v) {
cout << "No" << endl;
return 0;
}
if (abs(a - b) > abs(v - w) * t) {
cout << "No" << endl;
} ... | #include <iostream>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
int main() {
ll a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
if (w >= v) {
cout << "NO" << endl;
return 0;
}
if (llabs(a - b) > llabs(v - w) * t) {
cout << "NO" << endl;
... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"identifier.change",
"call.function.change",
"control_flow.branch.if.condition.change"
] | 367,307 | 367,305 | u202978565 | cpp |
p02646 | #include <algorithm>
#include <functional>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (n); i++)
typedef long long ll;
typedef pair<ll, ll> p;
const int INF = 1001001001;
const double... | #include <algorithm>
#include <functional>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (n); i++)
typedef long long ll;
typedef pair<ll, ll> p;
const int INF = 1001001001;
const double... | [
"variable_declaration.type.change"
] | 367,312 | 367,313 | u770486670 | cpp |
p02646 | #include <algorithm>
#include <functional>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (n); i++)
typedef long long ll;
typedef pair<ll, ll> p;
const int INF = 1001001001;
const double... | #include <algorithm>
#include <functional>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (n); i++)
typedef long long ll;
typedef pair<ll, ll> p;
const int INF = 1001001001;
const double... | [
"variable_declaration.type.change"
] | 367,314 | 367,313 | u770486670 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
#define rep(i, n) for (int i = 0; i < (n); i++)
using P = pair<int, int>;
int main() {
long long a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
long long dis = abs(b - a);
ll run = v - w;
if (run <= 0) {
cout << "NO"... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
#define rep(i, n) for (int i = 0; i < (n); i++)
using P = pair<int, int>;
int main() {
long long a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
long long dis = abs(b - a);
ll run = v - w;
if (run <= 0) {
cout << "NO"... | [
"misc.opposites",
"control_flow.branch.if.condition.change"
] | 367,335 | 367,336 | u069652661 | cpp |
p02646 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#define rep(i, n) for (ll i = 0; i < (ll)n; i++)
#define swap(a,... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#define rep(i, n) for (ll i = 0; i < (ll)n; i++)
#define swap(a,... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 367,344 | 367,345 | u040251933 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define pii pair<int, int>
#define vi vector<int>
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define sz(x) (x).size()
#define all(x) (x).begin(), (x).end() // Forward traversal
#define rall(x) (x).rbegin, (x).rend(... | #include <bits/stdc++.h>
using namespace std;
#define pii pair<int, int>
#define vi vector<int>
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define sz(x) (x).size()
#define all(x) (x).begin(), (x).end() // Forward traversal
#define rall(x) (x).rbegin, (x).rend(... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,356 | 367,357 | u298033264 | cpp |
p02646 | #include <cmath>
#include <iostream>
using namespace std;
int main() {
int a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO" << endl;
return 0;
}
if (fabs(a - b) < (fabs(v - w) * t)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | #include <cmath>
#include <iostream>
using namespace std;
int main() {
int a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO" << endl;
return 0;
}
if (fabs(a - b) <= (fabs(v - w) * t)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,358 | 367,359 | u380844736 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
long long A, V, B, W, T;
int main() {
cin >> A >> V >> B >> W >> T;
cout << ((abs(A - B) <= abs(V - W) * T) ? "YES" : "NO") << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
long long A, V, B, W, T;
int main() {
cin >> A >> V >> B >> W >> T;
cout << ((abs(A - B) <= (V - W) * T) ? "YES" : "NO") << endl;
return 0;
} | [] | 367,360 | 367,361 | u547576401 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
double a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO" << endl;
return 0;
}
if (max(a - b, b - a) / (v - w) < t) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
double a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (v <= w) {
cout << "NO" << endl;
return 0;
}
if (max(a - b, b - a) / (v - w) <= t) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 367,362 | 367,363 | u018890850 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
int a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (v == w) {
cout << "NO" << endl;
return 0;
}
if (v - w < 0) {
cout << "NO" << endl;
return 0;
}
if (abs(a - b) / (v - w) <= t) {
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (v == w) {
cout << "NO" << endl;
return 0;
}
if (v - w < 0) {
cout << "NO" << endl;
return 0;
}
if (abs(a - b) <= (v - w) * t)... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"control_flow.branch.if.condition.change"
] | 367,378 | 367,377 | u594933155 | 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 currentDiff = abs(A - B);
long long runDiff = abs(V - W);
// cout << runDiff * T << endl;
// if ((A + (V * T)) >= (B + (W * T))) {
if (currentDiff <= (runDiff * T)) {
cout <... | #include <bits/stdc++.h>
using namespace std;
//
int main() {
long long A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
long long currentDiff = abs(A - B);
long long runDiff = (V - W);
// cout << runDiff * T << endl;
// if ((A + (V * T)) >= (B + (W * T))) {
if (currentDiff <= (runDiff * T)) {
cout << "... | [] | 367,379 | 367,380 | u138379734 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
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 A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
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"
] | 367,392 | 367,393 | u579001504 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.