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 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 =... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"variable_declaration.type.change",
"call.add",
"call.arguments.change",
"identifier.change",
"expression.operation.binary.change"
] | 365,772 | 365,770 | u490963780 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t + 1) {
cout << "YES" << endl;
... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
} e... | [
"expression.operation.binary.remove"
] | 365,774 | 365,775 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
float temp = abs(b - a) * (1.0);
float tm = v - w;
float p = (temp / tm);
if (p < t) {
cout << "YES" << endl;
} else ... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
} e... | [
"variable_declaration.type.primitive.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,778 | 365,775 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t + 1) {
cout << "YES" << endl;
... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
} e... | [
"expression.operation.binary.remove"
] | 365,774 | 365,780 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
float temp = abs(b - a) * (1.0);
float tm = v - w;
float p = (temp / tm);
if (p < t) {
cout << "YES" << endl;
} else ... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
} e... | [
"variable_declaration.type.primitive.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,778 | 365,780 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t + 1) {
cout << "YES" << endl;
... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
int tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
} else... | [
"variable_declaration.type.primitive.change",
"expression.operation.binary.remove"
] | 365,774 | 365,781 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
float temp = abs(b - a) * (1.0);
float tm = v - w;
float p = (temp / tm);
if (p <= t + 1) {
cout << "YES" << endl;
} ... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
int tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
} else... | [
"variable_declaration.type.primitive.change",
"expression.operation.binary.remove"
] | 365,777 | 365,781 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
float temp = abs(b - a) * (1.0);
float tm = v - w;
float p = (temp / tm);
if (p < t) {
cout << "YES" << endl;
} else ... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
int tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
} else... | [
"variable_declaration.type.primitive.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,778 | 365,781 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t + 1) {
cout << "YES" << endl;
... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
double t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
int tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
} ... | [
"variable_declaration.type.change",
"variable_declaration.type.primitive.change",
"expression.operation.binary.remove"
] | 365,774 | 365,782 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
float temp = abs(b - a) * (1.0);
float tm = v - w;
float p = (temp / tm);
if (p <= t + 1) {
cout << "YES" << endl;
} ... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
double t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
int tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
} ... | [
"variable_declaration.type.change",
"variable_declaration.type.primitive.change",
"expression.operation.binary.remove"
] | 365,777 | 365,782 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
float temp = abs(b - a) * (1.0);
float tm = v - w;
float p = (temp / tm);
if (p < t) {
cout << "YES" << endl;
} else ... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
double t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
int tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
} ... | [
"variable_declaration.type.change",
"variable_declaration.type.primitive.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,778 | 365,782 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t + 1) {
cout << "YES" << endl;
... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
double t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
... | [
"variable_declaration.type.change",
"expression.operation.binary.remove"
] | 365,774 | 365,783 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
float temp = abs(b - a) * (1.0);
float tm = v - w;
float p = (temp / tm);
if (p <= t + 1) {
cout << "YES" << endl;
} ... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
double t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
... | [
"variable_declaration.type.change",
"variable_declaration.type.primitive.change",
"expression.operation.binary.remove"
] | 365,777 | 365,783 | u624995773 | cpp |
p02646 | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
ll t;
cin >> t;
if (v > w) {
float temp = abs(b - a) * (1.0);
float tm = v - w;
float p = (temp / tm);
if (p < t) {
cout << "YES" << endl;
} else ... | #include <bits/stdc++.h>
typedef long long int ll;
using namespace std;
int main() {
ll a, v;
cin >> a >> v;
ll b, w;
cin >> b >> w;
double t;
cin >> t;
if (v > w) {
double temp = abs(b - a) * (1.0);
double tm = v - w;
double p = (temp / tm);
if (p <= t) {
cout << "YES" << endl;
... | [
"variable_declaration.type.change",
"variable_declaration.type.primitive.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,778 | 365,783 | u624995773 | cpp |
p02646 | /*
ID: zhaowei10
TASK:
LANG: C++14
*/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/rope>
using namespace __gnu_cxx;
using namespace __gnu_pbds;
using namespace std;
#ifdef LOCAL
#include <debug.h>
#else
#define debug(...) 0
#endif
int main() {
... | /*
ID: zhaowei10
TASK:
LANG: C++14
*/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/rope>
using namespace __gnu_cxx;
using namespace __gnu_pbds;
using namespace std;
#ifdef LOCAL
#include <debug.h>
#else
#define debug(...) 0
#endif
int main() {
... | [
"call.remove",
"call.arguments.change"
] | 365,797 | 365,798 | u378991640 | cpp |
p02646 |
#include <cmath>
#include <iostream>
using namespace std;
int main() {
long long int a, b;
long long int v, w, t;
std::cin >> a >> v;
std::cin >> b >> w;
std::cin >> t;
long long int distance = abs(b - a);
long long int speed = abs(w - v);
if (w - v >= 0 || b < a) {
cout << "NO" << endl;
re... |
#include <cmath>
#include <iostream>
using namespace std;
int main() {
long long int a, b;
long long int v, w, t;
std::cin >> a >> v;
std::cin >> b >> w;
std::cin >> t;
long long int distance = abs(b - a);
long long int speed = abs(w - v);
if (w - v >= 0) {
cout << "NO" << endl;
return 0;
... | [
"expression.operation.binary.remove"
] | 365,813 | 365,814 | u650736793 | cpp |
p02646 | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define all(v) (v).begin(), (v).end()
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using vi = vector<int>;
const ll INF = 1LL << 60;
const int MOD = 1e9 + 7;
const int N = 2e5 + 5;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >>... | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define all(v) (v).begin(), (v).end()
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using vi = vector<int>;
const ll INF = 1LL << 60;
const int MOD = 1e9 + 7;
const int N = 2e5 + 5;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >>... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,817 | 365,818 | u414689295 | cpp |
p02646 | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define all(v) (v).begin(), (v).end()
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using vi = vector<int>;
const ll INF = 1LL << 60;
const int MOD = 1e9 + 7;
const int N = 2e5 + 5;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >>... | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define all(v) (v).begin(), (v).end()
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using vi = vector<int>;
const ll INF = 1LL << 60;
const int MOD = 1e9 + 7;
const int N = 2e5 + 5;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >>... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 365,819 | 365,818 | u414689295 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, v, b, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
long long d = abs(a - b);
long long dd = (v - w) * t;
if (d < dd)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, v, b, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
long long d = abs(a - b);
long long dd = (v - w) * t;
if (d <= dd)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,822 | 365,823 | u181410612 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define LIMIT 1000000007 // 10^9+7
#define rep(i, n) for (int i = 0; i < (int)n; i++)
/* 一括cin */
template <class H> void CIN(H &h) { cin >> h; }
template <class H, class... T> void CIN(H &h, T &...t) {
cin >> h;
CIN(t...);
}
int main() {
ll a, ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define LIMIT 1000000007 // 10^9+7
#define rep(i, n) for (int i = 0; i < (int)n; i++)
/* 一括cin */
template <class H> void CIN(H &h) { cin >> h; }
template <class H, class... T> void CIN(H &h, T &...t) {
cin >> h;
CIN(t...);
}
int main() {
ll a, ... | [
"expression.operation.binary.remove",
"assignment.change"
] | 365,833 | 365,834 | u271743799 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, x, y, t;
cin >> a >> x;
cin >> b >> y;
cin >> t;
cout << ((x - y) * t > abs(a - b) ? "YES" : "NO");
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, x, y, t;
cin >> a >> x;
cin >> b >> y;
cin >> t;
cout << ((x - y) * t >= abs(a - b) ? "YES" : "NO");
}
| [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 365,835 | 365,836 | u950603962 | cpp |
p02646 | #include <bits/stdc++.h>
#include <iostream>
#include <math.h>
using namespace std;
typedef long long ll;
int main(void) {
ll a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
cout << (abs(a - b) / (v - w) <= t ? "YES" : "NO") << endl;
return 0;
}
| #include <bits/stdc++.h>
#include <iostream>
#include <math.h>
using namespace std;
typedef long long ll;
int main(void) {
ll a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
cout << (abs(a - b) <= (v - w) * t ? "YES" : "NO") << endl;
return 0;
}
| [
"control_flow.loop.for.condition.change",
"io.output.change"
] | 365,837 | 365,838 | u228372657 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
const ll mod = 1000000007;
const ll INF = 9223372036854775807;
#define Sort(a) sort(a.begin(), a.end())
#define Bsort(a) sort(a.begin(), a.end(), greater<ll>())
#define Pi acos(-1)
int main() {
cin.tie(0);
ios_base::syn... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
const ll mod = 1000000007;
const ll INF = 9223372036854775807;
#define Sort(a) sort(a.begin(), a.end())
#define Bsort(a) sort(a.begin(), a.end(), greater<ll>())
#define Pi acos(-1)
int main() {
cin.tie(0);
ios_base::syn... | [
"call.add",
"call.arguments.change"
] | 365,860 | 365,861 | u234762276 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
const ll mod = 1000000007;
const ll INF = 9223372036854775807;
#define Sort(a) sort(a.begin(), a.end())
#define Bsort(a) sort(a.begin(), a.end(), greater<ll>())
#define Pi acos(-1)
int main() {
cin.tie(0);
ios_base::syn... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
const ll mod = 1000000007;
const ll INF = 9223372036854775807;
#define Sort(a) sort(a.begin(), a.end())
#define Bsort(a) sort(a.begin(), a.end(), greater<ll>())
#define Pi acos(-1)
int main() {
cin.tie(0);
ios_base::syn... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change"
] | 365,862 | 365,861 | u234762276 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
const ll mod = 1000000007;
const ll INF = 9223372036854775807;
#define Sort(a) sort(a.begin(), a.end())
#define Bsort(a) sort(a.begin(), a.end(), greater<ll>())
#define Pi acos(-1)
int main() {
cin.tie(0);
ios_base::syn... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
const ll mod = 1000000007;
const ll INF = 9223372036854775807;
#define Sort(a) sort(a.begin(), a.end())
#define Bsort(a) sort(a.begin(), a.end(), greater<ll>())
#define Pi acos(-1)
int main() {
cin.tie(0);
ios_base::syn... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,863 | 365,861 | u234762276 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
const ll mod = 1000000007;
const ll INF = 9223372036854775807;
#define Sort(a) sort(a.begin(), a.end())
#define Bsort(a) sort(a.begin(), a.end(), greater<ll>())
#define Pi acos(-1)
int main() {
cin.tie(0);
ios_base::syn... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
const ll mod = 1000000007;
const ll INF = 9223372036854775807;
#define Sort(a) sort(a.begin(), a.end())
#define Bsort(a) sort(a.begin(), a.end(), greater<ll>())
#define Pi acos(-1)
int main() {
cin.tie(0);
ios_base::syn... | [
"call.add",
"call.arguments.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,864 | 365,861 | u234762276 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, start, n) for (ll i = (ll)(start); i < (ll)(n); ++i)
int N, M;
void func() {
ll A, V, B, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
bool ans = false;
if (V > W) {
if (abs(B - A) / (V - W) <= T)
ans = true;
}
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, start, n) for (ll i = (ll)(start); i < (ll)(n); ++i)
int N, M;
void func() {
ll A, V, B, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
bool ans = false;
if (V > W) {
if (abs(B - A) <= (V - W) * T)
ans = true;
}
... | [
"control_flow.branch.if.condition.change"
] | 365,869 | 365,870 | u336661848 | cpp |
p02646 | // Date of submission: 13-06-2020
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const ll N = 1e5 + 5;
//------------------------------------------------------------------------------
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll a, b, v, w, t;
cin >> a >> v >> b >> w >... | // Date of submission: 13-06-2020
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const ll N = 1e5 + 5;
//------------------------------------------------------------------------------
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll a, b, v, w, t;
cin >> a >> v >> b >> w >... | [
"control_flow.branch.if.condition.change"
] | 365,871 | 365,872 | u271891209 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long int a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
long long int temp = llabs(a - b);
if (temp <= t * (w - v))
cout << "YES";
else
cout << "NO";
}
| #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long int a, b, v, w, t;
cin >> a >> v;
cin >> b >> w;
cin >> t;
long long int temp = llabs(a - b);
if (temp <= t * (v - w))
cout << "YES";
else
cout << "NO";
}
| [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 365,897 | 365,898 | u395478557 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ll A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
ll dif = abs(A - B);
ll difV = V - W;
// ll mxA = max(abs(9000000000-A),abs(-9000000000-A)... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ll A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
ll dif = abs(A - B);
ll difV = V - W;
if ((difV * T) >= dif) {
cout << "YES" << endl;
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,911 | 365,912 | u338506769 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (w >= v) {
cout << "NO" << '\n';
return 0;
}
cout << ((abs(a - b) / abs(v - w) < t) ? "YES" : "NO") << '\n';
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (w >= v) {
cout << "NO" << '\n';
return 0;
}
cout << ((abs(a - b) <= abs(v - w) * t) ? "YES" : "NO") << '\n';
}
| [
"control_flow.loop.for.condition.change",
"io.output.change"
] | 365,937 | 365,938 | u021083776 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (w >= v) {
cout << "NO" << '\n';
return 0;
}
cout << ((abs(a - b) / abs(v - w) <= t) ? "YES" : "NO") << '\n';
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (w >= v) {
cout << "NO" << '\n';
return 0;
}
cout << ((abs(a - b) <= abs(v - w) * t) ? "YES" : "NO") << '\n';
}
| [
"control_flow.loop.for.condition.change",
"io.output.change"
] | 365,939 | 365,938 | u021083776 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
ll s = abs(a - b);
ll g = (v - w) * t;
if (s <= g) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
ll s = abs(a - b);
ll g = (v - w) * t;
if (s <= g) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 365,944 | 365,945 | u629548179 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
int s = abs(a - b);
int g = (v - w) * t;
if (s <= g) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
ll s = abs(a - b);
ll g = (v - w) * t;
if (s <= g) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
}
| [
"variable_declaration.type.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 365,946 | 365,945 | u629548179 | cpp |
p02646 | #include <bits/stdc++.h>
#include <sstream>
using namespace std;
typedef long long ll;
// loop
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= (ll)(b); i++)
#define FORD(i, a, b) for (ll i = a; i >= (ll)(b); i--)
// STL
#def... | #include <bits/stdc++.h>
#include <sstream>
using namespace std;
typedef long long ll;
// loop
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= (ll)(b); i++)
#define FORD(i, a, b) for (ll i = a; i >= (ll)(b); i--)
// STL
#def... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,962 | 365,963 | u820888375 | cpp |
p02646 | #include <bits/stdc++.h>
#include <sstream>
using namespace std;
typedef long long ll;
// loop
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= (ll)(b); i++)
#define FORD(i, a, b) for (ll i = a; i >= (ll)(b); i--)
// STL
#def... | #include <bits/stdc++.h>
#include <sstream>
using namespace std;
typedef long long ll;
// loop
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= (ll)(b); i++)
#define FORD(i, a, b) for (ll i = a; i >= (ll)(b); i--)
// STL
#def... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,964 | 365,963 | u820888375 | cpp |
p02646 | #include <bits/stdc++.h>
#include <sstream>
using namespace std;
typedef long long ll;
// loop
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= (ll)(b); i++)
#define FORD(i, a, b) for (ll i = a; i >= (ll)(b); i--)
// STL
#def... | #include <bits/stdc++.h>
#include <sstream>
using namespace std;
typedef long long ll;
// loop
#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= (ll)(b); i++)
#define FORD(i, a, b) for (ll i = a; i >= (ll)(b); i--)
// STL
#def... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 365,965 | 365,963 | u820888375 | cpp |
p02646 | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <sstream>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int main() {
long long int A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (W < V) {
if (A - B <= (V - W) * T) {
cou... | #include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <sstream>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
int main() {
long long int A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (W < V) {
if (abs(A - B) <= (V - W) * T) {
... | [
"control_flow.branch.if.condition.change"
] | 365,967 | 365,968 | u478316383 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
long A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
long vel, dist;
vel = V - W;
dist = labs(A - B);
if (vel > 0 && dist / vel <= T) {
cout << "YES\n";
} else {
cout << "NO\n";
}
re... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
long A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
long vel, dist;
vel = V - W;
dist = labs(A - B);
if (vel > 0 && dist <= T * vel) {
cout << "YES\n";
} else {
cout << "NO\n";
}
re... | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 366,001 | 366,002 | u970335822 | cpp |
p02646 | #include <bits/stdc++.h> //C++の機能を「全て」読み込むための命令
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define cout(x) cout << x << endl
#define all(v) v.begin(), v.end()
using namespace std;
//型エイリアス
using vi = vector<int>;
using ll = long long;
using P = pair<int, int>;
using Graph = vector<vector<int>>;
const ll inf = 1e18... | #include <bits/stdc++.h> //C++の機能を「全て」読み込むための命令
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define cout(x) cout << x << endl
#define all(v) v.begin(), v.end()
using namespace std;
//型エイリアス
using vi = vector<int>;
using ll = long long;
using P = pair<int, int>;
using Graph = vector<vector<int>>;
const ll inf = 1e18... | [
"variable_declaration.type.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,012 | 366,013 | u000134728 | cpp |
p02646 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
const long long INF = (long long)(1e18) + 1;
int main() {
long long a, v;
long long b, w;
cin >> a >> v;
cin >> b >> w;
long long t;
cin >> t;
long long diff = (b - a);
... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
const long long INF = (long long)(1e18) + 1;
int main() {
long long a, v;
long long b, w;
cin >> a >> v;
cin >> b >> w;
long long t;
cin >> t;
long long diff = abs(b - a... | [
"call.add",
"literal.string.change",
"io.output.change"
] | 366,017 | 366,018 | u146814698 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
const int MAX = 1e5 + 5;
#define dbg(a) cout << "-> " << __LINE__ << ": " << #a << " = " << a << endl
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
b -= a;
b = abs(b);
a = 0;
if (a + v * t >= ... | #include <bits/stdc++.h>
using namespace std;
const int MAX = 1e5 + 5;
#define dbg(a) cout << "-> " << __LINE__ << ": " << #a << " = " << a << endl
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
b -= a;
b = abs(b);
a = 0;
if (a + v * t >= ... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 366,029 | 366,030 | u222758739 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
const int MAX = 1e5 + 5;
#define dbg(a) cout << "-> " << __LINE__ << ": " << #a << " = " << a << endl
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
b -= a;
b = abs(b);
if (a + v * t >= b + v * w... | #include <bits/stdc++.h>
using namespace std;
const int MAX = 1e5 + 5;
#define dbg(a) cout << "-> " << __LINE__ << ": " << #a << " = " << a << endl
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
long long a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
b -= a;
b = abs(b);
a = 0;
if (a + v * t >= ... | [
"assignment.add",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 366,031 | 366,030 | u222758739 | cpp |
p02646 | #include <iostream>
using namespace std;
int main() {
long long A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (V <= W) {
cout << "NO" << endl;
} else {
if (A > B) {
if ((A - B) / (V - W) < T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
... | #include <iostream>
using namespace std;
int main() {
long long A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (V <= W) {
cout << "NO" << endl;
} else {
if (A > B) {
if ((A - B) <= (V - W) * T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
... | [
"control_flow.branch.if.condition.change"
] | 366,032 | 366,033 | u390830889 | cpp |
p02646 | #include <bits/stdc++.h>
#define forr(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rrep(i, n) for (int i = 1; i <= (n); i++)
#define ALL(a) (a.begin()), (a.end())
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
const ll LI... | #include <bits/stdc++.h>
#define forr(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rrep(i, n) for (int i = 1; i <= (n); i++)
#define ALL(a) (a.begin()), (a.end())
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
const ll LI... | [
"control_flow.branch.if.condition.change",
"control_flow.branch.else.remove",
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 366,034 | 366,035 | u045224675 | cpp |
p02646 | /*
Author: QAQAutomaton
Lang: C++
Code: B.cpp
Mail: lk@qaq-am.com
Blog: https://www.qaq-am.com/
*/
#include <bits/stdc++.h>
#define int long long
#define debug(...) fprintf(stderr, __VA_ARGS__)
#define DEBUG printf("Passing [%s] in LINE %d\n", __FUNCTION__, __LINE__)
#define Debug debug("Passing [%s] in LINE %d\n", __F... | /*
Author: QAQAutomaton
Lang: C++
Code: B.cpp
Mail: lk@qaq-am.com
Blog: https://www.qaq-am.com/
*/
#include <bits/stdc++.h>
#define int long long
#define debug(...) fprintf(stderr, __VA_ARGS__)
#define DEBUG printf("Passing [%s] in LINE %d\n", __FUNCTION__, __LINE__)
#define Debug debug("Passing [%s] in LINE %d\n", __F... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 366,046 | 366,047 | u228297051 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (ll i = 0; i < n; i++)
#define all(n) n.begin(), n.end()
#define yn(x) cout << (x ? "Yes" : "No") << endl;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if ((abs(a - b) < (v - w) * t) && (v > w))
cout <<... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (ll i = 0; i < n; i++)
#define all(n) n.begin(), n.end()
#define yn(x) cout << (x ? "Yes" : "No") << endl;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if ((abs(a - b) <= (v - w) * t) && (v > w))
cout <<... | [
"variable_declaration.type.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,048 | 366,049 | u240370848 | cpp |
p02646 | #include "bits/stdc++.h"
#include <algorithm>
#include <assert.h>
#include <complex>
#include <iomanip>
#include <iostream>
#include <map>
#include <memory>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#pragma warning(disable : 4... | #include "bits/stdc++.h"
#include <algorithm>
#include <assert.h>
#include <complex>
#include <iomanip>
#include <iostream>
#include <map>
#include <memory>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#pragma warning(disable : 4... | [
"call.add",
"call.arguments.change"
] | 366,121 | 366,122 | u019239408 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
long long int A, B, V, W;
int T;
cin >> A >> V >> B >> W >> T;
bool ans = 0;
if (A < B) {
A = A + V * T;
B = B + W * T;
if (A >= B) {
ans = 1;
}
} else {
A = A - V * T;
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
long int A, B, V, W;
int T;
cin >> A >> V >> B >> W >> T;
bool ans = 0;
if (A < B) {
A = A + V * T;
B = B + W * T;
if (A >= B) {
ans = 1;
}
} else {
A = A - V * T;
B = B... | [
"variable_declaration.type.narrow.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,135 | 366,136 | u572073783 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
long int A, B, V, W;
int T;
cin >> A >> V >> B >> W >> T;
bool ans = 0;
if (A < B) {
A = A + V * T;
B = B + W * T;
if (A >= B) {
ans = 1;
}
} else {
A = A - V * T;
B = B... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
long int A, B, V, W;
int T;
cin >> A >> V >> B >> W >> T;
bool ans = 0;
if (A < B) {
A = A + V * T;
B = B + W * T;
if (A >= B) {
ans = 1;
}
} else {
A = A - V * T;
B = B... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,137 | 366,136 | u572073783 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
long int A, B;
int V, W, T;
cin >> A >> V >> B >> W >> T;
bool ans = 0;
if (A < B) {
A = A + V * T;
B = B + W * T;
if (A >= B) {
ans = 1;
}
} else {
A = A - V * T;
B = B... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
long int A, B, V, W;
int T;
cin >> A >> V >> B >> W >> T;
bool ans = 0;
if (A < B) {
A = A + V * T;
B = B + W * T;
if (A >= B) {
ans = 1;
}
} else {
A = A - V * T;
B = B... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,138 | 366,136 | u572073783 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
int A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
bool ans = 0;
if (A < B) {
A = A + V * T;
B = B + W * T;
if (A >= B) {
ans = 1;
}
} else {
A = A - V * T;
B = B - W * T;
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main() {
long int A, B, V, W;
int T;
cin >> A >> V >> B >> W >> T;
bool ans = 0;
if (A < B) {
A = A + V * T;
B = B + W * T;
if (A >= B) {
ans = 1;
}
} else {
A = A - V * T;
B = B... | [
"variable_declaration.type.widen.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,139 | 366,136 | u572073783 | 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;
if ((abs(A - B) < T * (V - W)))
cout << "YES" << endl;
else
cout << "NO" << endl;
} | #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;
if ((abs(A - B) <= T * (V - W)))
cout << "YES" << endl;
else
cout << "NO" << endl;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,168 | 366,167 | u397805509 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
int D;
if (B < A) {
D = abs(A - B);
} else {
D = abs(B - A);
}
int64_t vw = V - W * T;
if (V > W && vw >= D) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
... | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
int D;
if (B < A) {
D = abs(A - B);
} else {
D = abs(B - A);
}
int64_t vw = (V - W) * T;
if (V > W && vw >= D) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
... | [] | 366,169 | 366,170 | u694570403 | 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 (a < b) {
while (t > 0) {
a += v;
b += w;
if (a == b) {
cout << "YES" << endl;
return 0;
... | #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 (a < b) {
while (t > 0) {
a += v;
b += w;
if (a >= b) {
cout << "YES" << endl;
return 0;
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,179 | 366,178 | u573564324 | cpp |
p02646 | #include <cstdlib>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main() {
long A, V; // oni
long B, W; // nigeteru
long double T;
cin >> A >> V >> B >> W >> T;
if (V <= W) {
printf("NO");
return 0;
}
if (A == B) {
printf("YES");
... | #include <cstdlib>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main() {
long A, V; // oni
long B, W; // nigeteru
long T;
cin >> A >> V >> B >> W >> T;
if (V <= W) {
printf("NO");
return 0;
}
if (A == B) {
printf("YES");
return ... | [
"variable_declaration.type.narrow.change",
"call.add",
"call.arguments.change"
] | 366,180 | 366,181 | u733536018 | cpp |
p02646 | #include <cstdlib>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main() {
long A, V; // oni
long B, W; // nigeteru
long T;
cin >> A >> V >> B >> W >> T;
if (V <= W) {
printf("NO");
return 0;
}
if (A == B) {
printf("YES");
return ... | #include <cstdlib>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main() {
long A, V; // oni
long B, W; // nigeteru
long T;
cin >> A >> V >> B >> W >> T;
if (V <= W) {
printf("NO");
return 0;
}
if (A == B) {
printf("YES");
return ... | [
"variable_declaration.type.widen.change",
"call.add",
"call.arguments.change"
] | 366,182 | 366,181 | u733536018 | cpp |
p02646 | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
using namespace std;
using ll = long long;
using vec = vector<ll>;
using vect = vector<double>;
using Graph = vector<vector<ll>>;
#define loop(i, n) for (ll i = 0; i < n; i++)
#define Loop(i, m, n) for (ll i = m; i < n; i++)
#define pool(i, n) for (ll i = n; i >= 0; i--)
... | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
using namespace std;
using ll = long long;
using vec = vector<ll>;
using vect = vector<double>;
using Graph = vector<vector<ll>>;
#define loop(i, n) for (ll i = 0; i < n; i++)
#define Loop(i, m, n) for (ll i = m; i < n; i++)
#define pool(i, n) for (ll i = n; i >= 0; i--)
... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change"
] | 366,187 | 366,188 | u607229598 | cpp |
p02646 | #include <cstdlib>
#include <ctime>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (a >= b) {
if (t * (v - w) >= (a - b)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else {
if (t * (v - w) >... | #include <cstdlib>
#include <ctime>
#include <iostream>
#include <string>
using namespace std;
int main() {
long long a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (a >= b) {
if (t * (v - w) >= (a - b)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} else {
if (t * (v ... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 366,235 | 366,234 | u594676818 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
long A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (W - V >= 0) {
cout << "No" << endl;
} else if (W - V < 0 && abs(B - A) > abs(W - V) * T) {
cout << "No" << endl;
} else {
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 (W - V >= 0) {
cout << "NO" << endl;
} else if (W - V < 0 && abs(B - A) > abs(W - V) * T) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
} | [
"variable_declaration.type.widen.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 366,236 | 366,237 | u738646116 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (W - V >= 0) {
cout << "No" << endl;
} else if (W - V < 0 && abs(B - A) > abs(W - V) * T) {
cout << "No" << endl;
} else {
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 (W - V >= 0) {
cout << "NO" << endl;
} else if (W - V < 0 && abs(B - A) > abs(W - V) * T) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 366,238 | 366,237 | u738646116 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, V, B, W, T;
cin >> A >> V >> B >> W >> T;
if (W - V >= 0) {
cout << "No" << endl;
} else if (W - V <= 0 && abs(B - A) > abs(W - V) * T) {
cout << "No" << endl;
} else {
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 (W - V >= 0) {
cout << "NO" << endl;
} else if (W - V < 0 && abs(B - A) > abs(W - V) * T) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,239 | 366,237 | u738646116 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, V, B, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (A < B) {
if (V * T + A < W * T + B) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
} else {
if (W * T + A < V * T + B) {
cout << "YES" << end... | #include <bits/stdc++.h>
using namespace std;
int main() {
long A, V, B, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (A < B) {
if (V * T + A < W * T + B) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
} else {
if (W * T + A > V * T + B) {
cout << "NO" << end... | [
"variable_declaration.type.primitive.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"io.output.change"
] | 366,247 | 366,245 | u092401038 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, V, B, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (A < B) {
if (V * T + A < W * T + B) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
} else {
if (W * T + A < V * T + B) {
cout << "NO" << endl... | #include <bits/stdc++.h>
using namespace std;
int main() {
long A, V, B, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (A < B) {
if (V * T + A < W * T + B) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
} else {
if (W * T + A > V * T + B) {
cout << "NO" << end... | [
"variable_declaration.type.primitive.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,248 | 366,245 | u092401038 | cpp |
p02646 | #include <bits/stdc++.h>
#include <string.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
const int INF = 1001001001;
int main() {
ll a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (a > b)
a = -a;
b = -b;
while (t > 0) {
a ... | #include <bits/stdc++.h>
#include <string.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
const int INF = 1001001001;
int main() {
ll a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
if (a > b) {
a = -a;
b = -b;
}
while (t > 0) ... | [] | 366,257 | 366,258 | u493928141 | cpp |
p02646 | /*
* Project: okio Marine & Nichido Programing Contest 2020 B - Tag
* Author: toms74209200 <https://github.com/toms74209200>
*
* Created on 2020/06/13
* Copyright (c) 2020 toms74209200
*
* This software is released under the MIT License.
* http://opensource.org/licenses/mit-license.php
*/
#include <cstdio>
#in... | /*
* Project: okio Marine & Nichido Programing Contest 2020 B - Tag
* Author: toms74209200 <https://github.com/toms74209200>
*
* Created on 2020/06/13
* Copyright (c) 2020 toms74209200
*
* This software is released under the MIT License.
* http://opensource.org/licenses/mit-license.php
*/
#include <cstdio>
#in... | [] | 366,263 | 366,264 | u781458283 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define MOD 1000000007
#define MOD2 998244353
#define INF MOD
#define LINF (1LL << 60)
#define EPS (1e-10)
typedef long long Int;
typedef pair<Int, Int> P;
int main() {
Int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define MOD 1000000007
#define MOD2 998244353
#define INF MOD
#define LINF (1LL << 60)
#define EPS (1e-10)
typedef long long Int;
typedef pair<Int, Int> P;
int main() {
Int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if... | [
"control_flow.branch.if.condition.change"
] | 366,265 | 366,266 | u868237899 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(void) {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
int difSpeed = v - w;
int dis = abs(a - b);
if (difSpeed > 0 && dis / difSpeed <= t) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(void) {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
int difSpeed = v - w;
int dis = abs(a - b);
if (difSpeed > 0 && (double)dis / difSpeed <= (double)t) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
... | [
"control_flow.branch.if.condition.change"
] | 366,275 | 366,276 | u550297915 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >> B >> W;
ll T;
cin >> T;
if (V <= W) {
cout << "NO" << endl;
exit(0);
}
ll al = A + (T * V);
ll bl = B + (T * W);
if (al < bl) {
cout << "NO"... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
int main() {
ll A, V;
cin >> A >> V;
ll B, W;
cin >> B >> W;
ll T;
cin >> T;
if (V <= W) {
cout << "NO" << endl;
exit(0);
}
ll al = A + (T * V);
ll bl = B + (T * W);
if (al < bl) {
cout << "NO"... | [
"literal.string.change",
"io.output.change"
] | 366,288 | 366,289 | u701527888 | cpp |
p02646 | // In the name of god
#include <bits/stdc++.h>
#pragma GCC optimize("02")
#define F first
#define S second
#define pb push_back
using namespace std;
using ll = long long;
const ll maxn = 2e5 + 5, inf = 1e18 + 18;
ll a, b, v, w, t;
int main() {
ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
cin >> a >> v >> b... | // In the name of god
#include <bits/stdc++.h>
#pragma GCC optimize("02")
#define F first
#define S second
#define pb push_back
using namespace std;
using ll = long long;
const ll maxn = 2e5 + 5, inf = 1e18 + 18;
ll a, b, v, w, t;
int main() {
ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
cin >> a >> v >> b... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 366,290 | 366,291 | u264116128 | cpp |
p02646 | #include <algorithm>
#include <bits/stdc++.h>
#include <iostream>
#include <string>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define ll long long
const ll MOD = 1000000007;
int main() {
int a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
bool ok ... | #include <algorithm>
#include <bits/stdc++.h>
#include <iostream>
#include <string>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define ll long long
const ll MOD = 1000000007;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
bool ok =... | [
"variable_declaration.type.change",
"literal.string.change",
"io.output.change"
] | 366,315 | 366,314 | u090005176 | cpp |
p02646 | #include <iostream>
using namespace std;
int main() {
long long a, b, v, w, 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)
cout << "YES" << endl;
el... | #include <iostream>
using namespace std;
int main() {
long long a, b, v, w, 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)
cout << "YES" << endl;
el... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 366,320 | 366,321 | u259032543 | cpp |
p02646 | #include <iostream>
using namespace std;
int main() {
long long a, b, v, w, 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)
cout << "YES" << endl;
els... | #include <iostream>
using namespace std;
int main() {
long long a, b, v, w, 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)
cout << "YES" << endl;
el... | [
"literal.string.change",
"literal.string.case.change",
"io.output.change",
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 366,322 | 366,321 | u259032543 | cpp |
p02646 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
using namespace std;
using ll = long long;
using Pii = pai... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
using namespace std;
using ll = long long;
using Pii = pai... | [
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"expression.off_by_one",
"io.output.change"
] | 366,323 | 366,324 | u440312135 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
#define fi first
#define se second
#define pb push_back
#define forn(i, n) for (int i = 0; i < (n); i++)
#define for1(i, n) for (int i = 1; i <= n; i++)
#define forr(i, n) for (int i = n; i >= 0; i--)
#define all(x) x.begin(), x.end()
const int MAXN = ... | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
#define fi first
#define se second
#define pb push_back
#define forn(i, n) for (int i = 0; i < (n); i++)
#define for1(i, n) for (int i = 1; i <= n; i++)
#define forr(i, n) for (int i = n; i >= 0; i--)
#define all(x) x.begin(), x.end()
const int MAXN = ... | [
"control_flow.branch.if.condition.change"
] | 366,335 | 366,336 | u556835576 | cpp |
p02646 | #include <bits/stdc++.h>
#define rep(i, cc, n) for (int i = cc; i <= n; ++i)
#define drep(i, cc, n) for (int i = cc; i >= n; --i)
#define sz(s) (int)(s.size())
#define vecprint(v) \
rep(i, 0, v.size() - 1) cout << v[i] << " "; ... | #include <bits/stdc++.h>
#define rep(i, cc, n) for (int i = cc; i <= n; ++i)
#define drep(i, cc, n) for (int i = cc; i >= n; --i)
#define sz(s) (int)(s.size())
#define vecprint(v) \
rep(i, 0, v.size() - 1) cout << v[i] << " "; ... | [
"control_flow.branch.if.condition.change"
] | 366,337 | 366,338 | u736278528 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
cout << ((long long)t * (v - w) >= abs(a - b) ? "Yes" : "No");
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int a, b, v, w, t;
cin >> a >> v >> b >> w >> t;
cout << ((long long)t * (v - w) >= abs(a - b) ? "YES" : "NO");
return 0;
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 366,341 | 366,342 | u434431289 | cpp |
p02646 | #include <bits/stdc++.h>
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#define ll long long
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define pii pair<ll, ll>
#define vi vector<ll>
#define vii vector<pi... | #include <bits/stdc++.h>
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#define ll long long
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define pii pair<ll, ll>
#define vi vector<ll>
#define vii vector<pi... | [
"variable_declaration.type.change"
] | 366,352 | 366,353 | u513424663 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
ll A;
cin >> A;
ll V;
cin >> V;
ll B;
cin >> B;
ll W;
cin >> W;
ll T;
cin >> T;
ll D = abs(A - B);
string ans = "NO";
if (T * V >= T * W + D)
ans = "Yes";
cou... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
ll A;
cin >> A;
ll V;
cin >> V;
ll B;
cin >> B;
ll W;
cin >> W;
ll T;
cin >> T;
ll D = abs(A - B);
string ans = "NO";
if (T * V >= T * W + D)
ans = "YES";
cou... | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 366,356 | 366,357 | u339233484 | cpp |
p02646 | #define ll long long
#define ull unsigned long long
#define pb push_back
#define mp make_pair
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int isprime(int n) {
int count = 0;
for (int i = 2; i <= sqrt(n); i++)
if (n % i == 0)
count++;
if (count)
return 0;
return 1;
}
int main(... | #define ll long long
#define ull unsigned long long
#define pb push_back
#define mp make_pair
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int isprime(int n) {
int count = 0;
for (int i = 2; i <= sqrt(n); i++)
if (n % i == 0)
count++;
if (count)
return 0;
return 1;
}
int main(... | [
"control_flow.branch.else.add"
] | 366,358 | 366,359 | u815572914 | cpp |
p02646 | #define ll long long
#define ull unsigned long long
#define pb push_back
#define mp make_pair
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int isprime(int n) {
int count = 0;
for (int i = 2; i <= sqrt(n); i++)
if (n % i == 0)
count++;
if (count)
return 0;
return 1;
}
int main(... | #define ll long long
#define ull unsigned long long
#define pb push_back
#define mp make_pair
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int isprime(int n) {
int count = 0;
for (int i = 2; i <= sqrt(n); i++)
if (n % i == 0)
count++;
if (count)
return 0;
return 1;
}
int main(... | [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.else.add"
] | 366,360 | 366,359 | u815572914 | cpp |
p02646 | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define INF 2e9
#define ALL(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
int main() {
ll A, B, T, V, W, tmp, d;
cin >> A >> V >>... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define INF 2e9
#define ALL(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
int main() {
ll A, B, T, V, W, tmp, d;
cin >> A >> V >>... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,363 | 366,364 | u930957768 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y, v, w, d;
cin >> x >> y >> v >> w >> d;
int dis = abs(x - y);
if (dis <= (v - w) * d) {
cout << "YES\n";
} else {
cout << "NO\n";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long x, y, v, w, d;
cin >> x >> v >> y >> w >> d;
long long dis = abs(x - y);
if (dis <= (v - w) * d) {
cout << "YES\n";
} else {
cout << "NO\n";
}
return 0;
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"expression.operation.binary.remove"
] | 366,369 | 366,368 | u734192058 | cpp |
p02646 | #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
typedef long long ll;
int main() {
ll A, B, V, W, T;
scanf("%lld %lld", &A, &V);
scanf("%lld %lld", &B, &W);
scanf("%lld", &T);
if (abs(A - B) < (V - W) * T) {
cout << "YES" << endl;
} else {
cout << "N0" << endl;
}... | #include <cmath>
#include <iostream>
#include <stdio.h>
using namespace std;
typedef long long ll;
int main() {
ll A, B, V, W, T;
scanf("%lld %lld", &A, &V);
scanf("%lld %lld", &B, &W);
scanf("%lld", &T);
if (abs(A - B) <= (V - W) * T) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"io.output.change"
] | 366,376 | 366,377 | u965093879 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long int A, B, V, W, T;
cin >> A >> W;
cin >> B >> V;
cin >> T;
if (abs(A - B) <= T * (V - W)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long int A, B, V, W, T;
cin >> A >> W;
cin >> B >> V;
cin >> T;
if (abs(A - B) <= T * (W - V)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 366,393 | 366,394 | u813269498 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long int A, B, V, W, T;
cin >> A >> W;
cin >> B >> V;
cin >> T;
if (abs(A - B) < T * (V - W)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
long long int A, B, V, W, T;
cin >> A >> W;
cin >> B >> V;
cin >> T;
if (abs(A - B) <= T * (W - V)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 366,395 | 366,394 | u813269498 | cpp |
p02646 | #include <bits/stdc++.h>
using intl = long long;
using itnl = long long; // typo用
using uintl = unsigned long long;
using itn = int; // typo用
using ld = long double;
using namespace std;
#define rep(i, n) for (intl i = 0; i < (intl)(n); i++)
#define rrep(i, n) for (intl i = (intl)(n)-1; i >= 0; i--)
#define repi(i, a, ... | #include <bits/stdc++.h>
using intl = long long;
using itnl = long long; // typo用
using uintl = unsigned long long;
using itn = int; // typo用
using ld = long double;
using namespace std;
#define rep(i, n) for (intl i = 0; i < (intl)(n); i++)
#define rrep(i, n) for (intl i = (intl)(n)-1; i >= 0; i--)
#define repi(i, a, ... | [
"control_flow.branch.if.condition.change"
] | 366,396 | 366,397 | u344119694 | cpp |
p02646 | #include <bits/stdc++.h>
using intl = long long;
using itnl = long long; // typo用
using uintl = unsigned long long;
using itn = int; // typo用
using ld = long double;
using namespace std;
#define rep(i, n) for (intl i = 0; i < (intl)(n); i++)
#define rrep(i, n) for (intl i = (intl)(n)-1; i >= 0; i--)
#define repi(i, a, ... | #include <bits/stdc++.h>
using intl = long long;
using itnl = long long; // typo用
using uintl = unsigned long long;
using itn = int; // typo用
using ld = long double;
using namespace std;
#define rep(i, n) for (intl i = 0; i < (intl)(n); i++)
#define rrep(i, n) for (intl i = (intl)(n)-1; i >= 0; i--)
#define repi(i, a, ... | [
"control_flow.branch.if.condition.change",
"call.add"
] | 366,398 | 366,397 | u344119694 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
string ans = "YES";
if (V <= W) {
ans = "NO";
} else if (abs(A - B) >= T * (V - W)) {
ans = "NO";
}
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long int A, B, V, W, T;
cin >> A >> V >> B >> W >> T;
string ans = "YES";
if (V <= W) {
ans = "NO";
} else if (abs(A - B) > T * (V - W)) {
ans = "NO";
}
cout << ans << endl;
}
| [
"variable_declaration.type.widen.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,434 | 366,435 | u638440267 | 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 ((B - A) + (W - V) * T <= 0) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (abs(B - A) + (W - V) * T <= 0) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"call.add",
"control_flow.branch.if.condition.change"
] | 366,464 | 366,465 | u852125621 | 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 ((B - A) + (W - V) * T < 0) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B, V, W, T;
cin >> A >> V;
cin >> B >> W;
cin >> T;
if (abs(B - A) + (W - V) * T <= 0) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | [
"call.add",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 366,466 | 366,465 | u852125621 | 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;
int v, w;
int kyori;
int speed, t;
cin >> a >> v >> b >> w >> t;
kyori = abs(b - a);
speed = v - w;
if (speed * t - kyori > 0) {
cout << "YES" << endl;
}
else {
cout << "NO... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
int main() {
long a, b;
long v, w;
long kyori;
long speed, t;
cin >> a >> v >> b >> w >> t;
kyori = abs(b - a);
speed = v - w;
if (speed * t - kyori >= 0) {
cout << "YES" << endl;
}
else {
cout <... | [
"variable_declaration.type.primitive.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,475 | 366,476 | u783260496 | cpp |
p02646 | #include <bits/stdc++.h>
using ll = long long;
using namespace std;
using Graph = vector<vector<ll>>;
int main() {
ll a, v, b, w;
cin >> a >> v >> b >> w;
ll t;
cin >> t;
ll dist = abs(a - b);
ll diff = v - w;
if (dist >= diff * t) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
} | #include <bits/stdc++.h>
using ll = long long;
using namespace std;
using Graph = vector<vector<ll>>;
int main() {
ll a, v, b, w;
cin >> a >> v >> b >> w;
ll t;
cin >> t;
ll dist = abs(a - b);
ll diff = v - w;
if (dist > diff * t) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 366,479 | 366,480 | u830087664 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define puts(i) cout << i << endl
#define pi 3.14159265358979323846264338
#define pb push_back
#define mp make_pair
#define inf 10000
using ll = long long;
using P = pair<int, int>;
using Pll = pair<ll, ll>;
ll divisor = 100000... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define puts(i) cout << i << endl
#define pi 3.14159265358979323846264338
#define pb push_back
#define mp make_pair
#define inf 10000
using ll = long long;
using P = pair<int, int>;
using Pll = pair<ll, ll>;
ll divisor = 100000... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 366,481 | 366,482 | u827974318 | cpp |
p02646 | #include <cstdlib>
#include <iostream>
using namespace std;
int main() {
long long a, b, v, w, t, le, sp;
cin >> a >> v;
cin >> b >> w;
cin >> t;
le = abs(a - b);
sp = (v - w) * t;
if (sp >= le) {
cout << "yes";
} else {
cout << "no";
}
} | #include <cstdlib>
#include <iostream>
using namespace std;
int main() {
long long a, b, v, w, t, le, sp;
cin >> a >> v;
cin >> b >> w;
cin >> t;
le = abs(a - b);
sp = (v - w) * t;
if (sp >= le) {
cout << "YES";
} else {
cout << "NO";
}
} | [
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 366,483 | 366,484 | u093185928 | cpp |
p02646 | // clang-format off
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i,n) for(int i=0;i<(int)(n);++i)
#define all(x) (x).begin(),(x).end()
#define pb push_back
#define fi first
#define se second
#define dbg(x) cout<<#x" = "<<((x))<<endl
template<class T,class U> ostream& operator<<(ostrea... | // clang-format off
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i,n) for(int i=0;i<(int)(n);++i)
#define all(x) (x).begin(),(x).end()
#define pb push_back
#define fi first
#define se second
#define dbg(x) cout<<#x" = "<<((x))<<endl
template<class T,class U> ostream& operator<<(ostrea... | [
"misc.opposites",
"expression.operator.compare.change",
"function.return_value.change",
"expression.operation.binary.change"
] | 366,491 | 366,492 | u696805736 | cpp |
p02646 | #include <bits/stdc++.h>
#define arep(a, i, n) for (int i = (a); i < (n); i++)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define cinf(x, n) \
for (int i = 0; i < (n); i++) \
cin >> x[i];
#define coutf(... | #include <bits/stdc++.h>
#define arep(a, i, n) for (int i = (a); i < (n); i++)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define cinf(x, n) \
for (int i = 0; i < (n); i++) \
cin >> x[i];
#define coutf(... | [
"variable_declaration.type.change"
] | 366,506 | 366,507 | u067797863 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if ((b - a) <= (v - w) * t)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a, v, b, w, t;
cin >> a >> v >> b >> w >> t;
if (abs(b - a) <= (v - w) * t)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
| [
"call.add",
"control_flow.branch.if.condition.change"
] | 366,514 | 366,515 | u101204895 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = 1e18;
const int inf = 1e9;
#define rep(i, a, b) for (int i = a; i < b; i++)
#define per(i, b, a) for (int i = a - 1; i >= b; i--)
using Graph = vector<vector<int>>;
using pint = pair<int, int>;
int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = 1e18;
const int inf = 1e9;
#define rep(i, a, b) for (int i = a; i < b; i++)
#define per(i, b, a) for (int i = a - 1; i >= b; i--)
using Graph = vector<vector<int>>;
using pint = pair<int, int>;
int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.number.change",
"assignment.value.change"
] | 366,534 | 366,535 | u877494916 | cpp |
p02646 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = 1e18;
const int inf = 1e9;
#define rep(i, a, b) for (int i = a; i < b; i++)
#define per(i, b, a) for (int i = a - 1; i >= b; i--)
using Graph = vector<vector<int>>;
using pint = pair<int, int>;
int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll INF = 1e18;
const int inf = 1e9;
#define rep(i, a, b) for (int i = a; i < b; i++)
#define per(i, b, a) for (int i = a - 1; i >= b; i--)
using Graph = vector<vector<int>>;
using pint = pair<int, int>;
int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0... | [
"variable_declaration.type.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.number.change",
"assignment.value.change"
] | 366,536 | 366,535 | u877494916 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.