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 |
|---|---|---|---|---|---|---|---|
p04003 | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
typedef long long ll;
typedef pair<int, int> pii;
const int mn = 1e5 + 5;
const int mm = 1e6 + 5;
int n, m;
int cnt;
struct edge {
int to, dist;
};
vector<edge> g[mm];
int d[mm];
unordered_map<int, int> h[mn];
struct node {
int id, dist;
bo... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
typedef long long ll;
typedef pair<int, int> pii;
const int mn = 1e5 + 5;
const int mm = 1e6 + 5;
int n, m;
int cnt;
struct edge {
int to, dist;
};
vector<edge> g[mm];
int d[mm];
unordered_map<int, int> h[mn];
struct node {
int id, dist;
bo... | [
"identifier.change",
"variable_access.subscript.index.change"
] | 1,507,317 | 1,507,318 | u168093684 | cpp |
p04003 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> Pa;
const long long INF = 1ll << 62;
const int maxn = 2e6 + 10;
ll n, m, cnt;
map<ll, ll> Ma[maxn]; //标记
vector<Pa> V[maxn]; //存放pair关系
int vis[maxn];
ll dist[maxn];
int getid(int u, int v) //返回编号
{
if (Ma[u][v] == 0)
Ma[u]... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> Pa;
const long long INF = 1ll << 62;
const int maxn = 2e6 + 10;
ll n, m, cnt;
map<ll, ll> Ma[maxn]; //标记
vector<Pa> V[maxn]; //存放pair关系
int vis[maxn];
ll dist[maxn];
int getid(int u, int v) //返回编号
{
if (Ma[u][v] == 0)
Ma[u]... | [
"identifier.change",
"call.arguments.change"
] | 1,507,325 | 1,507,326 | u349009650 | cpp |
p04003 | #include <bits/stdc++.h>
using namespace std;
struct edge {
edge() {}
edge(int to, int cost, int c) : to(to), cost(cost), c(c) {}
int to, cost, c;
};
int main() {
int n, m;
cin >> n >> m;
map<int, vector<edge>> G[100000];
vector<map<int, int>> C(100000);
for (int i = 0; i < m; ++i) {
int u, v, c... | #include <bits/stdc++.h>
using namespace std;
struct edge {
edge() {}
edge(int to, int cost, int c) : to(to), cost(cost), c(c) {}
int to, cost, c;
};
int main() {
int n, m;
cin >> n >> m;
map<int, vector<edge>> G[100000];
vector<map<int, int>> C(100000);
for (int i = 0; i < m; ++i) {
int u, v, c... | [
"identifier.change",
"call.arguments.change"
] | 1,507,348 | 1,507,349 | u802071009 | cpp |
p04003 | #include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define FOR(a, b, c) for (int a = b; a <= c; ++a)
#define pb push_back
#define mp make_pair
typedef pair<int, int> ii;
typedef pair<int, ii> iii;
const int N = 2e5 + 10;
const int oo = 1e9;
struct state {
int dist, u, ci;
};
int n, m;... | #include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define FOR(a, b, c) for (int a = b; a <= c; ++a)
#define pb push_back
#define mp make_pair
typedef pair<int, int> ii;
typedef pair<int, ii> iii;
const int N = 2e5 + 10;
const int oo = 1e9;
struct state {
int dist, u, ci;
};
int n, m;... | [
"identifier.change",
"call.arguments.change"
] | 1,507,356 | 1,507,357 | u292091954 | cpp |
p04003 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <map>
#include <queue>
#include <set>
#include <vector>
#define SF scanf
#define PF printf
#define MAXN 100010
using namespace std;
int dist[MAXN];
vector<int> a[MAXN], w[MAXN];
struct node {
int col, sum, x;
node() {}
node(int co... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <map>
#include <queue>
#include <set>
#include <vector>
#define SF scanf
#define PF printf
#define MAXN 100010
using namespace std;
int dist[MAXN];
vector<int> a[MAXN], w[MAXN];
struct node {
int col, sum, x;
node() {}
node(int co... | [
"variable_declaration.type.change",
"literal.number.change",
"assignment.value.change",
"call.function.change"
] | 1,507,358 | 1,507,359 | u889536435 | cpp |
p04003 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <map>
#include <queue>
#include <set>
#include <vector>
#define SF scanf
#define PF printf
#define MAXN 100010
using namespace std;
int dist[MAXN];
vector<int> a[MAXN], w[MAXN];
struct node {
int col, sum, x;
node() {}
node(int co... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <map>
#include <queue>
#include <set>
#include <vector>
#define SF scanf
#define PF printf
#define MAXN 100010
using namespace std;
int dist[MAXN];
vector<int> a[MAXN], w[MAXN];
struct node {
int col, sum, x;
node() {}
node(int co... | [
"literal.number.change",
"assignment.value.change"
] | 1,507,358 | 1,507,360 | u889536435 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
const int MOD = 1000000007;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a < b)
cout << b * c << endl;
else
cout << (b * c) + (a - b) * d << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
const int MOD = 1000000007;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a < b)
cout << a * c << endl;
else
cout << (b * c) + (a - b) * d << endl;
return 0;
} | [
"identifier.change",
"io.output.change"
] | 1,507,372 | 1,507,373 | u477561421 | cpp |
p04011 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using p = pair<int, int>;
typedef vector<int> vi;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k) {
cout << x * k + y * (n - k) << endl;
return 0;
}
cout << x * k ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using p = pair<int, int>;
typedef vector<int> vi;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k) {
cout << x * k + y * (n - k) << endl;
return 0;
}
cout << x * n ... | [
"identifier.change",
"io.output.change"
] | 1,507,374 | 1,507,375 | u518622487 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long n, k, x, y, sum = 0;
cin >> n >> k >> x >> y;
if (n / k > 0) {
sum += (x * k);
sum += ((n % k) * y);
} else {
sum += (n * x);
}
cout << sum << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long n, k, x, y, sum = 0;
cin >> n >> k >> x >> y;
if (n > k) {
sum += (x * k);
sum += ((n - k) * y);
} else {
sum += (n * x);
}
cout << sum << endl;
}
| [
"expression.operation.binary.remove",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 1,507,383 | 1,507,384 | u018679195 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(void) {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k)
cout << k * x + y * (n - k) << endl;
else
cout << k * x << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(void) {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k)
cout << k * x + y * (n - k) << endl;
else
cout << n * x << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,507,385 | 1,507,386 | u149842804 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
cout << min(K, N) * X + min(0, N - K) * Y << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
cout << min(K, N) * X + max(0, N - K) * Y << endl;
}
| [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 1,507,396 | 1,507,397 | u347057617 | cpp |
p04011 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cmath>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cmath>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)... | [
"call.add",
"call.arguments.change"
] | 1,507,400 | 1,507,401 | u131946248 | cpp |
p04011 |
#include <bits/stdc++.h>
using namespace std;
#define C continue;
#define R return
#define D double
#define I insert
#define ll long long
#define ld long double
#define ull unsigned long long
#define ui unsigned int
#define pb push_back
#define pf push_front
#define vi vector<int>
#define vc vector<char>
#define ... |
#include <bits/stdc++.h>
using namespace std;
#define C continue;
#define R return
#define D double
#define I insert
#define ll long long
#define ld long double
#define ull unsigned long long
#define ui unsigned int
#define pb push_back
#define pf push_front
#define vi vector<int>
#define vc vector<char>
#define ... | [
"identifier.change",
"io.output.change"
] | 1,507,402 | 1,507,403 | u953467372 | cpp |
p04011 | //#include <bits/stdc++.h>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef vector<int> vint;
typedef vector<vector<int>> vvint;
typedef vector<long long> vll, vLL;
typed... | //#include <bits/stdc++.h>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef vector<int> vint;
typedef vector<vector<int>> vvint;
typedef vector<long long> vll, vLL;
typed... | [
"identifier.change",
"io.output.change"
] | 1,507,404 | 1,507,405 | u652420316 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, total;
cin >> n >> k >> x >> y;
if (n < k) {
total = n * x;
cout << total << endl;
} else {
total = (n * x) + ((n - k) * y);
cout << total << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, total;
cin >> n >> k >> x >> y;
if (n <= k) {
total = n * x;
cout << total << endl;
} else {
total = k * x + (n - k) * y;
cout << total << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 1,507,414 | 1,507,415 | u718674810 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, total;
cin >> n >> k >> x >> y;
if (n < k) {
total = n * x;
cout << total << endl;
} else {
total = (n * x) + ((n - k) * y);
cout << total << endl;
}
return 0;
} |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, total;
cin >> n >> k >> x >> y;
if (n < k) {
total = n * x;
cout << total << endl;
} else {
total = (k * x) + ((n - k) * y);
cout << total << endl;
}
return 0;
} | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,414 | 1,507,416 | u718674810 | cpp |
p04011 | #include <algorithm>
#include <iostream>
using namespace std;
#define LL long long
int main() {
LL t = 1;
// cin >> t;
while (t--) {
LL n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << x * k;
else
cout << x * k + y * (n - k);
}
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
#define LL long long
int main() {
LL t = 1;
// cin >> t;
while (t--) {
LL n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << x * n;
else
cout << x * k + y * (n - k);
}
return 0;
} | [
"identifier.change",
"io.output.change"
] | 1,507,436 | 1,507,437 | u009725181 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << k * x;
else {
int sum = k * x;
n -= k;
sum += n * y;
cout << sum;
}
}
| #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * x;
else {
int sum = k * x;
n -= k;
sum += n * y;
cout << sum;
}
}
| [
"identifier.change",
"io.output.change"
] | 1,507,444 | 1,507,445 | u829521436 | cpp |
p04011 | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << n * x << endl;
} else {
cout << (n - k) * y + n * x << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << n * x << endl;
} else {
cout << (n - k) * y + k * x << endl;
}
} | [
"identifier.change",
"io.output.change"
] | 1,507,452 | 1,507,453 | u071245748 | cpp |
p04011 | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << n * x << endl;
} else {
cout << (k - n) * y + n * x << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << n * x << endl;
} else {
cout << (n - k) * y + k * x << endl;
}
} | [
"expression.operation.binary.remove",
"identifier.change",
"io.output.change"
] | 1,507,454 | 1,507,453 | u071245748 | cpp |
p04011 |
#include <bits/stdc++.h>
using namespace std;
// defines...
#define ll long long
#define tata return;
#define pb push_back
#define mp make_pair
#define in insert
#define run \
ios_base::sync_with_stdio(false); ... |
#include <bits/stdc++.h>
using namespace std;
// defines...
#define ll long long
#define tata return;
#define pb push_back
#define mp make_pair
#define in insert
#define run \
ios_base::sync_with_stdio(false); ... | [
"identifier.change",
"io.output.change"
] | 1,507,455 | 1,507,456 | u353919145 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y;
long long int sum = 0;
cin >> n >> k >> x >> y;
if (n > k)
sum = x * k + y * (n - k);
else
sum = x * k;
cout << sum;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y;
long long int sum = 0;
cin >> n >> k >> x >> y;
if (n > k)
sum = x * k + y * (n - k);
else
sum = x * n;
cout << sum;
return 0;
}
| [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,457 | 1,507,458 | u353919145 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, sum = 0;
cin >> n >> k >> x >> y;
if (n > k)
sum = x * k + y * (n - k);
else
sum = x * k;
cout << sum;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y;
long long int sum = 0;
cin >> n >> k >> x >> y;
if (n > k)
sum = x * k + y * (n - k);
else
sum = x * n;
cout << sum;
return 0;
}
| [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,459 | 1,507,458 | u353919145 | cpp |
p04011 | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
while (cin >> n >> k >> x >> y) {
if (k <= n) {
cout << n * x << endl;
} else {
cout << (n - k) * y + k * x << endl;
}
}
} | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
while (cin >> n >> k >> x >> y) {
if (k >= n) {
cout << n * x << endl;
} else {
cout << (n - k) * y + k * x << endl;
}
}
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,507,465 | 1,507,466 | u406687688 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << k * x << endl;
} else {
cout << k * x + (n - k) * y << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << n * x << endl;
} else {
cout << k * x + (n - k) * y << endl;
}
return 0;
}
| [
"identifier.change",
"io.output.change"
] | 1,507,474 | 1,507,475 | u565245377 | cpp |
p04011 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
using namespace std;
using P = pair<int, int>;
using ll = long long;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a <= b)
cout << c * a << endl;
else
co... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
using namespace std;
using P = pair<int, int>;
using ll = long long;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a <= b)
cout << c * a << endl;
else
co... | [
"identifier.change",
"io.output.change"
] | 1,507,478 | 1,507,479 | u534923072 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using P = pair<int, string>;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
int ans;
if (n <= k)
ans = x * k;
else if (k < n)
ans = x * k + y * (n - k);
cout << ans << end... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using P = pair<int, string>;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
int ans = 0;
if (n <= k)
ans = x * n;
else if (k < n)
ans = x * k + y * (n - k);
cout << ans <<... | [
"variable_declaration.value.change",
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,486 | 1,507,487 | u425086757 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using P = pair<int, string>;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
int ans = 0;
if (n <= k)
ans = x;
else if (k < n)
ans = x + y * (n - k);
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using P = pair<int, string>;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
int ans = 0;
if (n <= k)
ans = x * n;
else if (k < n)
ans = x * k + y * (n - k);
cout << ans <<... | [
"assignment.change"
] | 1,507,488 | 1,507,487 | u425086757 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y, S;
cin >> N >> K >> X >> Y;
if (N >= K) {
S = (N - K + 1) * X + (N - K) * Y;
cout << S << endl;
} else {
S = N * X;
cout << S << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y, S;
cin >> N >> K >> X >> Y;
if (N >= K) {
S = K * X + (N - K) * Y;
cout << S << endl;
} else {
S = N * X;
cout << S << endl;
}
return 0;
} | [] | 1,507,496 | 1,507,497 | u106837834 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= K) {
cout << N * X << endl;
} else {
cout << (N * X) + (N - K) * Y << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= K) {
cout << N * X << endl;
} else {
cout << (K * X) + (N - K) * Y << endl;
}
} | [
"identifier.change",
"io.output.change"
] | 1,507,498 | 1,507,499 | u412057008 | cpp |
p04011 | /*
* cpp_filepath
*/
// C++ 14
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstring> // memset
#include <iostream>
#include <vector>
using namespace std;
#define ll long long
#define loop(__x, __start, __end) for (int __x = __start; __x < __end; __x++)
template <class T> ostream &operator<<(ost... | /*
* cpp_filepath
*/
// C++ 14
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstring> // memset
#include <iostream>
#include <vector>
using namespace std;
#define ll long long
#define loop(__x, __start, __end) for (int __x = __start; __x < __end; __x++)
template <class T> ostream &operator<<(ost... | [
"identifier.change",
"io.output.change"
] | 1,507,500 | 1,507,501 | u823862638 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N >= K)
cout << K * X + (N - K) * Y;
else
cout << K * X;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N >= K)
cout << K * X + (N - K) * Y;
else
cout << N * X;
}
| [
"identifier.change",
"io.output.change"
] | 1,507,502 | 1,507,503 | u371149954 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll MOD = 1000000007;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N >= K) {
cout << K * X + (N - K) * Y << endl;
} else
cout << K * N << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll MOD = 1000000007;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N >= K) {
cout << K * X + (N - K) * Y << endl;
} else
cout << X * N << endl;
}
| [
"identifier.change",
"io.output.change"
] | 1,507,506 | 1,507,507 | u328811800 | cpp |
p04011 | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k)
cout << x * k + y * (n - k) << endl;
else
cout << x * k << endl;
} | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k)
cout << x * k + y * (n - k) << endl;
else
cout << x * n << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,507,512 | 1,507,513 | u437739548 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= N) {
cout << X * K << endl;
} else {
cout << X * K + Y * (N - K) << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= K) {
cout << X * N << endl;
} else {
cout << X * K + Y * (N - K) << endl;
}
}
| [
"identifier.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 1,507,516 | 1,507,517 | u201534796 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= K) {
cout << X * K << endl;
} else {
cout << X * K + Y * (N - K) << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= K) {
cout << X * N << endl;
} else {
cout << X * K + Y * (N - K) << endl;
}
}
| [
"identifier.change",
"io.output.change"
] | 1,507,518 | 1,507,517 | u201534796 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= K) {
cout << X * K << endl;
} else {
cout << X * N + Y * (N - K) << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= K) {
cout << X * N << endl;
} else {
cout << X * K + Y * (N - K) << endl;
}
}
| [
"identifier.change",
"io.output.change"
] | 1,507,519 | 1,507,517 | u201534796 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= K) {
cout << X * K << endl;
} else {
cout << X * N + Y * (K - N) << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= K) {
cout << X * N << endl;
} else {
cout << X * K + Y * (N - K) << endl;
}
}
| [
"identifier.change",
"io.output.change",
"expression.operation.binary.remove"
] | 1,507,520 | 1,507,517 | u201534796 | cpp |
p04011 | #include <iostream>
using namespace std;
int main() {
int n, k, x, y, ret;
cin >> n;
cin >> k;
cin >> x;
cin >> y;
if (n > k) {
ret = k * x + (n - k) * y;
} else {
ret = k * x;
}
cout << ret << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int n, k, x, y, ret;
cin >> n;
cin >> k;
cin >> x;
cin >> y;
if (n > k) {
ret = k * x + (n - k) * y;
} else {
ret = n * x;
}
cout << ret << endl;
return 0;
} | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,521 | 1,507,522 | u286201019 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rep2(i, a, b) for (int i = (a); i < (b); i++)
typedef long long ll;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k) {
cout << k * x + (n - k) * y << endl;
} else {
cout << k * x << en... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rep2(i, a, b) for (int i = (a); i < (b); i++)
typedef long long ll;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k) {
cout << k * x + (n - k) * y << endl;
} else {
cout << n * x << en... | [
"identifier.change",
"io.output.change"
] | 1,507,527 | 1,507,528 | u010806195 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, V) for (int i = 0; i < V; i++)
#define _GLIBCXX_DEBUG
int n, k, x, y;
int fee() {
if (n > k) {
return x * k + y + (n - k);
} else {
return x * n;
}
}
int main() {
cin >> n >> k >> x >> y;
cout << fee();
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, V) for (int i = 0; i < V; i++)
#define _GLIBCXX_DEBUG
int n, k, x, y;
int fee() {
if (n > k) {
return x * k + y * (n - k);
} else {
return x * n;
}
}
int main() {
cin >> n >> k >> x >> y;
cout << fee();
} | [
"expression.operator.arithmetic.change",
"function.return_value.change",
"expression.operation.binary.change"
] | 1,507,535 | 1,507,536 | u371787528 | cpp |
p04011 | #include <iostream>
using namespace std;
int main() {
int n, k, x, y, a;
cin >> n >> k >> x >> y;
if (k > n) {
a = k * x;
} else {
a = k * x + (n - k) * y;
}
cout << a;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int n, k, x, y, a;
cin >> n >> k >> x >> y;
if (k > n) {
a = n * x;
} else {
a = k * x + (n - k) * y;
}
cout << a;
return 0;
}
| [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,539 | 1,507,540 | u215376033 | cpp |
p04011 | #include <bits/stdc++.h>
#define repp(i, l, r) for (long long i = (l); i < (r); i++)
#define rep(i, n) for (long long i = 0; i < (n); ++i)
#define per(i, n) for (long long i = (n); i >= 0; --i)
const int INF = 2147483647; // int max
const long long int MOD = 1000000007;
using namespace std;
using ll = long long;
using ... | #include <bits/stdc++.h>
#define repp(i, l, r) for (long long i = (l); i < (r); i++)
#define rep(i, n) for (long long i = 0; i < (n); ++i)
#define per(i, n) for (long long i = (n); i >= 0; --i)
const int INF = 2147483647; // int max
const long long int MOD = 1000000007;
using namespace std;
using ll = long long;
using ... | [
"identifier.change",
"io.output.change",
"identifier.replace.add",
"literal.replace.remove"
] | 1,507,543 | 1,507,544 | u901555384 | cpp |
p04011 | #include <bits/stdc++.h>
#define repp(i, l, r) for (long long i = (l); i < (r); i++)
#define rep(i, n) for (long long i = 0; i < (n); ++i)
#define per(i, n) for (long long i = (n); i >= 0; --i)
const int INF = 2147483647; // int max
const long long int MOD = 1000000007;
using namespace std;
using ll = long long;
using ... | #include <bits/stdc++.h>
#define repp(i, l, r) for (long long i = (l); i < (r); i++)
#define rep(i, n) for (long long i = 0; i < (n); ++i)
#define per(i, n) for (long long i = (n); i >= 0; --i)
const int INF = 2147483647; // int max
const long long int MOD = 1000000007;
using namespace std;
using ll = long long;
using ... | [
"variable_declaration.type.change",
"identifier.change",
"io.output.change",
"identifier.replace.add",
"literal.replace.remove"
] | 1,507,545 | 1,507,544 | u901555384 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
int s = 0;
if (N > K) {
s = K * X + (N - K) * Y;
cout << s << endl;
} else {
s = K * X;
cout << s << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
int s = 0;
if (N > K) {
s = K * X + (N - K) * Y;
cout << s << endl;
} else {
s = N * X;
cout << s << endl;
}
}
| [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,548 | 1,507,549 | u462907578 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define vit vector<int>::iterator
#define pb push_back
#define ppb pop_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define forn(i, n) for (int i = 0; i < int(n); i++)
#define fr first
#define sc second
#define skip continue
#define PI 3.14159265
typed... | #include <bits/stdc++.h>
using namespace std;
#define vit vector<int>::iterator
#define pb push_back
#define ppb pop_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define forn(i, n) for (int i = 0; i < int(n); i++)
#define fr first
#define sc second
#define skip continue
#define PI 3.14159265
typed... | [
"control_flow.branch.else_if.replace.remove",
"control_flow.branch.if.replace.add"
] | 1,507,550 | 1,507,551 | u229586865 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, sum;
cin >> n >> k >> x >> y;
cout << (n <= k ? k * x : k * x + (n - k) * y) << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, sum;
cin >> n >> k >> x >> y;
cout << (n <= k ? n * x : k * x + (n - k) * y) << endl;
return 0;
} | [
"identifier.change",
"io.output.change"
] | 1,507,552 | 1,507,553 | u006472158 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
cout << min(N, K) * X + max(0, X - K) * Y << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
cout << min(N, K) * X + max(0, N - K) * Y << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,507,557 | 1,507,558 | u211109468 | cpp |
p04011 | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * x;
else
cout << ((k * x) + ((k - n) * y));
return 0;
} | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * x;
else
cout << ((k * x) + ((n - k) * y));
return 0;
}
| [
"expression.operation.binary.remove"
] | 1,507,568 | 1,507,569 | u143016583 | cpp |
p04011 | //#pragma GCC optimize(\"Ofast,no-stack-protector\")
//#pragma GCC target(\"sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx\")
//#pragma GCC target(\"avx,tune=native\")
// Neil
#include <bits/stdc++.h>
using namespace std;
typedef complex<double> base;
typedef long double ld;
typedef long long ll;
#define endl "\n"
#define... | //#pragma GCC optimize(\"Ofast,no-stack-protector\")
//#pragma GCC target(\"sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx\")
//#pragma GCC target(\"avx,tune=native\")
// Neil
#include <bits/stdc++.h>
using namespace std;
typedef complex<double> base;
typedef long double ld;
typedef long long ll;
#define endl "\n"
#define... | [
"call.add",
"call.arguments.change"
] | 1,507,570 | 1,507,571 | u174508069 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for (int i = int(a); i <= int(b); ++i)
#define nrep(i, a, b) for (int i = int(a); i >= int(b); --i)
#define trv(i, begin, end) \
for (__typeof(end) i = (begin) - ((begin) > (end)); ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for (int i = int(a); i <= int(b); ++i)
#define nrep(i, a, b) for (int i = int(a); i >= int(b); --i)
#define trv(i, begin, end) \
for (__typeof(end) i = (begin) - ((begin) > (end)); ... | [] | 1,507,574 | 1,507,575 | u875794481 | cpp |
p04011 | #include <algorithm>
#include <bitset>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
using namespace std;
using ll = long long int;
using dd = long double;
const ll MOD = 1e9 + 7;
vector<string> dfs(string s, ll depth, vector<char> symbol) {
vector<string> ret;
if (depth == ... | #include <algorithm>
#include <bitset>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
using namespace std;
using ll = long long int;
using dd = long double;
const ll MOD = 1e9 + 7;
vector<string> dfs(string s, ll depth, vector<char> symbol) {
vector<string> ret;
if (depth == ... | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 1,507,576 | 1,507,577 | u789199225 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N - K >= 0) {
cout << K * X + (N - K) * Y << endl;
}
else if (N - K < 0) {
cout << K * X << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N - K >= 0) {
cout << K * X + (N - K) * Y << endl;
}
else if (N - K < 0) {
cout << N * X << endl;
}
} | [
"identifier.change",
"io.output.change"
] | 1,507,580 | 1,507,581 | u751515087 | cpp |
p04011 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int n, k, x, y;
cin >> n;
cin >> k;
cin >> x;
cin >> y;
if (n <= k)
cout << x * n << endl;
else
cout << x * n + y * (n - k) << endl;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int n, k, x, y;
cin >> n;
cin >> k;
cin >> x;
cin >> y;
if (n <= k)
cout << x * n << endl;
else
cout << x * k + y * (n - k) << endl;
} | [
"identifier.change",
"io.output.change"
] | 1,507,582 | 1,507,583 | u547099897 | cpp |
p04011 | #include <bits/stdc++.h>
#define rep(i, z, n) for (int i = z; i < n; i++)
#define all(v) v.begin(), v.end()
typedef long long ll;
// const int INF = 1<<29;
// const int MODINF = 1000000007;
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
int ans = 0;
if (N > K)
ans += Y * (N - K)... | #include <bits/stdc++.h>
#define rep(i, z, n) for (int i = z; i < n; i++)
#define all(v) v.begin(), v.end()
typedef long long ll;
// const int INF = 1<<29;
// const int MODINF = 1000000007;
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
int ans = 0;
if (N > K)
ans += Y * (N - K)... | [
"call.add",
"call.arguments.change"
] | 1,507,596 | 1,507,597 | u462451018 | cpp |
p04011 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << k * x << endl;
else
cout << k * x + (n - k) * y << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * x << endl;
else
cout << k * x + (n - k) * y << endl;
return 0;
} | [
"identifier.change",
"io.output.change"
] | 1,507,602 | 1,507,603 | u186506670 | cpp |
p04011 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << x << endl;
else
cout << x + (n - k) * y << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * x << endl;
else
cout << k * x + (n - k) * y << endl;
return 0;
} | [
"expression.operation.binary.add"
] | 1,507,604 | 1,507,603 | u186506670 | cpp |
p04011 | #include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <iomanip>
#include <iostream>
#... | #include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <iomanip>
#include <iostream>
#... | [
"io.output.change",
"call.add"
] | 1,507,617 | 1,507,618 | u927801748 | cpp |
p04011 | #include <bits/stdc++.h>
#define MAXN 100010
#define pii pair<int, int>
#define ff first
#define ss second
#define ll long long
#define in_range(x, y, n) (x >= 0 and x < n and y >= 0 and y < n)
using namespace std;
const int mod = 1e9 + 7;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k) {
... | #include <bits/stdc++.h>
#define MAXN 100010
#define pii pair<int, int>
#define ff first
#define ss second
#define ll long long
#define in_range(x, y, n) (x >= 0 and x < n and y >= 0 and y < n)
using namespace std;
const int mod = 1e9 + 7;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k) {
... | [
"identifier.change",
"io.output.change"
] | 1,507,630 | 1,507,631 | u009937643 | cpp |
p04011 | #include <bits/stdc++.h>
#define MAXN 100010
#define pii pair<int, int>
#define ff first
#define ss second
#define ll long long
#define in_range(x, y, n) (x >= 0 and x < n and y >= 0 and y < n)
using namespace std;
const int mod = 1e9 + 7;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k) {
... | #include <bits/stdc++.h>
#define MAXN 100010
#define pii pair<int, int>
#define ff first
#define ss second
#define ll long long
#define in_range(x, y, n) (x >= 0 and x < n and y >= 0 and y < n)
using namespace std;
const int mod = 1e9 + 7;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k) {
... | [
"expression.operation.binary.add"
] | 1,507,632 | 1,507,631 | u009937643 | cpp |
p04011 | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N > K) {
cout << (K)*X + (N - K) * Y;
} else {
cout << (K)*X;
}
}
| #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N > K) {
cout << (K)*X + (N - K) * Y;
} else {
cout << (N)*X;
}
}
| [
"identifier.change",
"io.output.change"
] | 1,507,633 | 1,507,634 | u523119005 | cpp |
p04011 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <set>
#include <string>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const double pi = acos(-1);
const int maxn = 2e6 + 10;
const double eps = 1e-8;
const ll mod = 1e9 + 7;
const ull ba... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <set>
#include <string>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const double pi = acos(-1);
const int maxn = 2e6 + 10;
const double eps = 1e-8;
const ll mod = 1e9 + 7;
const ull ba... | [
"call.add",
"call.arguments.change"
] | 1,507,646 | 1,507,647 | u141602746 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y;
int ans = 0;
cin >> n >> k >> x >> y;
if (n <= k) {
ans = x * k;
} else {
ans = x * k + y * (n - k);
}
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, ans;
cin >> n >> k >> x >> y;
if (n <= k) {
ans = x * n;
} else {
ans = x * k + y * (n - k);
}
cout << ans << endl;
}
| [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,650 | 1,507,651 | u160169132 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, ans;
cin >> n >> k >> x >> y;
if (n <= k) {
ans = x * k;
} else {
ans = x * k + y * (n - k);
}
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, ans;
cin >> n >> k >> x >> y;
if (n <= k) {
ans = x * n;
} else {
ans = x * k + y * (n - k);
}
cout << ans << endl;
}
| [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,652 | 1,507,651 | u160169132 | cpp |
p04011 | #include <algorithm>
#include <iomanip>
#include <iostream>
using namespace std;
string alphabet = "abcdefghijklmnopqrstuvwxyz";
string ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n - k >= 0)
cout << n * x << endl;
else
cout << k * x + (n - k) * y ... | #include <algorithm>
#include <iomanip>
#include <iostream>
using namespace std;
string alphabet = "abcdefghijklmnopqrstuvwxyz";
string ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n - k <= 0)
cout << n * x << endl;
else
cout << k * x + (n - k) * y ... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,507,653 | 1,507,654 | u037675438 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
int sum = 0;
if (N > K) {
sum = K * X + Y * (N - K);
} else {
sum = K * X;
}
cout << sum << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
int sum = 0;
if (N > K) {
sum = K * X + Y * (N - K);
} else {
sum = N * X;
}
cout << sum << endl;
}
| [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,661 | 1,507,662 | u791463400 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << k * x << endl;
} else {
cout << k * x + (n - k) * y << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << n * x << endl;
} else {
cout << k * x + (n - k) * y << endl;
}
}
| [
"identifier.change",
"io.output.change"
] | 1,507,667 | 1,507,668 | u492660436 | cpp |
p04011 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int n, k, x, y;
cin >> n >> k >> x >> y;
if (k >= x) {
cout << k ... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n >= k) {
cout << k ... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 1,507,672 | 1,507,673 | u348273197 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * k << endl;
else
cout << k * (x) + (n - k) * y << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * x << endl;
else
cout << k * (x) + (n - k) * y << endl;
return 0;
}
| [
"identifier.change",
"io.output.change"
] | 1,507,681 | 1,507,682 | u051742019 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n < k)
cout << n * k << endl;
else
cout << k * (x) + (n - k) * y << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * x << endl;
else
cout << k * (x) + (n - k) * y << endl;
return 0;
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"identifier.change",
"io.output.change"
] | 1,507,683 | 1,507,682 | u051742019 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repr(i, x, n) for (int i = x; i < (n); i++)
#define ALL(x) (x).begin(), (x).end()
#define INF 1e9
typedef long long ll;
using VI = vector<int>;
using VS = vector<string>;
using graph = vector<vector<int>>;
int main() {... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define repr(i, x, n) for (int i = x; i < (n); i++)
#define ALL(x) (x).begin(), (x).end()
#define INF 1e9
typedef long long ll;
using VI = vector<int>;
using VS = vector<string>;
using graph = vector<vector<int>>;
int main() {... | [
"expression.operation.binary.remove"
] | 1,507,696 | 1,507,697 | u950329604 | cpp |
p04011 | #include <iostream>
using namespace std;
int main() {
int N, K, X, Y, sum;
cin >> N >> K >> X >> Y;
if (N >= K)
sum = X * N;
else
sum = (X * K) + Y * (N - K);
cout << sum << '\n';
return 0;
} | #include <iostream>
using namespace std;
int main() {
int N, K, X, Y, sum;
cin >> N >> K >> X >> Y;
if (N <= K)
sum = X * N;
else
sum = (X * K) + Y * (N - K);
cout << sum << '\n';
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 1,507,700 | 1,507,701 | u492179095 | cpp |
p04011 | #include <iostream>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int n, k, x, y, total;
cin >> k >> n >> x >> y;
if (k <= n) {
total = k * x + (n - k) * y;
} else {
total = n * x;
}
cout << total << endl;
} | #include <iostream>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int n, k, x, y, total;
cin >> n >> k >> x >> y;
if (k <= n) {
total = k * x + (n - k) * y;
} else {
total = n * x;
}
cout << total << endl;
} | [
"expression.operation.binary.remove"
] | 1,507,709 | 1,507,710 | u019820084 | cpp |
p04011 | #include <iostream>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int k, n, x, y, total;
cin >> k >> n >> x >> y;
if (k <= n) {
total = k * x + (n - k) * y;
} else {
total = n * x;
}
cout << total << endl;
} | #include <iostream>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int n, k, x, y, total;
cin >> n >> k >> x >> y;
if (k <= n) {
total = k * x + (n - k) * y;
} else {
total = n * x;
}
cout << total << endl;
} | [
"variable_declaration.remove",
"variable_declaration.add",
"expression.operation.binary.remove"
] | 1,507,711 | 1,507,710 | u019820084 | cpp |
p04011 | #include <algorithm>
#include <iostream>
#include <vector>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
int whole, key, be, af;
cin >> whole;
cin >> key;
cin >> be;
cin >> af;
if (whole >= key) {
cout << (key)*be + (whole - key) * af << endl;
} else {
cou... | #include <algorithm>
#include <iostream>
#include <vector>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
int whole, key, be, af;
cin >> whole;
cin >> key;
cin >> be;
cin >> af;
if (whole >= key) {
cout << (key)*be + (whole - key) * af << endl;
} else {
cou... | [
"identifier.change",
"io.output.change"
] | 1,507,712 | 1,507,713 | u420245204 | cpp |
p04011 | #include <algorithm>
#include <iostream>
#include <vector>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
int whole, key, be, af;
cin >> whole;
cin >> key;
cin >> be;
cin >> af;
if (whole >= key) {
cout << (whole - key + 1) * be + (whole - key) * af << endl;
} ... | #include <algorithm>
#include <iostream>
#include <vector>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
int main() {
int whole, key, be, af;
cin >> whole;
cin >> key;
cin >> be;
cin >> af;
if (whole >= key) {
cout << (key)*be + (whole - key) * af << endl;
} else {
cou... | [
"expression.operation.binary.remove",
"identifier.change",
"io.output.change"
] | 1,507,714 | 1,507,713 | u420245204 | cpp |
p04011 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
using ll = long lon... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
using ll = long lon... | [
"identifier.change",
"io.output.change"
] | 1,507,721 | 1,507,722 | u019328594 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, l;
cin >> n >> k >> x >> y;
if (n <= k)
l = k * x;
else
l = k * x + (n - k) * y;
cout << l;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, l;
cin >> n >> k >> x >> y;
if (n <= k)
l = n * x;
else
l = k * x + (n - k) * y;
cout << l;
return 0;
} | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,744 | 1,507,745 | u296590735 | cpp |
p04011 | #include <bits/stdc++.h>
int main() {
int n, k, x, y;
scanf("%d%d%d%d", &n, &k, &x, &y);
int ans;
if (k <= n) {
ans = k * x;
printf("%d", ans);
}
else {
ans = x * k + (n - k) * y;
printf("%d", ans);
}
} | #include <bits/stdc++.h>
int main() {
int n, k, x, y;
scanf("%d%d%d%d", &n, &k, &x, &y);
int ans;
if (n <= k) {
ans = n * x;
printf("%d", ans);
}
else {
ans = x * k + (n - k) * y;
printf("%d", ans);
}
} | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change",
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,750 | 1,507,751 | u033208015 | cpp |
p04011 | #include <bits/stdc++.h>
int main() {
int n, k, x, y;
scanf("%d%d%d%d", &n, &k, &x, &y);
int ans;
if (k <= n) {
ans = n * x;
printf("%d", ans);
}
else {
ans = x * k + (n - k) * y;
printf("%d", ans);
}
} | #include <bits/stdc++.h>
int main() {
int n, k, x, y;
scanf("%d%d%d%d", &n, &k, &x, &y);
int ans;
if (n <= k) {
ans = n * x;
printf("%d", ans);
}
else {
ans = x * k + (n - k) * y;
printf("%d", ans);
}
} | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 1,507,752 | 1,507,751 | u033208015 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k) {
cout << k * x + (n - k) * y;
} else {
cout << k * x << "\n";
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n > k) {
cout << k * x + (n - k) * y;
} else {
cout << n * x << "\n";
}
return 0;
}
| [
"identifier.change",
"io.output.change"
] | 1,507,761 | 1,507,762 | u517348254 | cpp |
p04011 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a < b)
a = b;
cout << b * c + (a - b) * d << endl;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
if (a < b)
b = a;
cout << b * c + (a - b) * d << endl;
} | [
"assignment.change"
] | 1,507,763 | 1,507,764 | u087801666 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= K) {
cout << X * K << endl;
} else {
cout << X * K + (N - K) * Y;
}
} | #include <bits/stdc++.h>
using namespace std;
main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N <= K) {
cout << X * N << endl;
} else {
cout << X * K + (N - K) * Y;
}
} | [
"identifier.change",
"io.output.change"
] | 1,507,769 | 1,507,770 | u492707675 | cpp |
p04011 | #include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <string>
#include <tuple>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n - k >= 0)
cout << x * k + y * (n - k) << endl;
else
cout << x * k << endl;
return 0;
} | #include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <string>
#include <tuple>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n - k >= 0)
cout << x * k + y * (n - k) << endl;
else
cout << x * n << endl;
return 0;
} | [
"identifier.change",
"io.output.change"
] | 1,507,771 | 1,507,772 | u276791149 | cpp |
p04011 | #include <algorithm>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <numeric>
#include <string>
#include <vector>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N > K) {
cout << X * K + Y * (N - K) << endl;
} else {
cout << X * K << ... | #include <algorithm>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <numeric>
#include <string>
#include <vector>
using namespace std;
int main() {
int N, K, X, Y;
cin >> N >> K >> X >> Y;
if (N > K) {
cout << X * K + Y * (N - K) << endl;
} else {
cout << X * N << ... | [
"identifier.change",
"io.output.change"
] | 1,507,782 | 1,507,783 | u737960041 | cpp |
p04011 | #include <algorithm>
#include <complex>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
int main() {
int N, K, X, Y;
int a = 0;
int b = 0;
cin >> N >> K >> X >> Y;
if (N <= K) {
a = K... | #include <algorithm>
#include <complex>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
int main() {
int N, K, X, Y;
int a = 0;
int b = 0;
cin >> N >> K >> X >> Y;
if (N <= K) {
a = N... | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,790 | 1,507,791 | u382045499 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << k * x;
} else {
cout << k * x + (n - k) * y;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << n * x;
} else {
cout << k * x + (n - k) * y;
}
} | [
"identifier.change",
"io.output.change"
] | 1,507,799 | 1,507,800 | u955282280 | cpp |
p04011 | #include <algorithm>
#include <bitset>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
const long long mod = 1000000007;
typedef long l... | #include <algorithm>
#include <bitset>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <string>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
const long long mod = 1000000007;
typedef long l... | [
"identifier.change",
"expression.operation.binary.change"
] | 1,507,825 | 1,507,826 | u702051956 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int m, n, a, b;
cin >> m >> n >> a >> b;
if (m <= n) {
cout << m * a << endl;
} else {
int sum = m - n;
cout << m * a + sum * b << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int m, n, a, b;
cin >> m >> n >> a >> b;
if (m <= n) {
cout << m * a << endl;
} else {
int sum = m - n;
cout << n * a + sum * b << endl;
}
return 0;
}
| [
"identifier.change",
"io.output.change"
] | 1,507,829 | 1,507,830 | u966045029 | cpp |
p04011 | #include <iostream>
using namespace std;
void show() {
int n, k, x, y;
cin >> n >> k >> x >> y;
int ans = 0;
if (n > k) {
ans = k * x + (n - k) * y;
} else {
ans = k * x;
}
cout << ans << endl;
}
int main() { show(); } | #include <iostream>
using namespace std;
void show() {
int n, k, x, y;
cin >> n >> k >> x >> y;
int ans = 0;
if (n > k) {
ans = k * x + (n - k) * y;
} else {
ans = n * x;
}
cout << ans << endl;
}
int main() { show(); } | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,854 | 1,507,855 | u473023730 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, a;
cin >> n >> k >> x >> y;
if (n <= k) {
a = x * k;
cout << a << endl;
}
else {
a = k * x + (n - k) * y;
cout << a << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k, x, y, a;
cin >> n >> k >> x >> y;
if (n <= k) {
a = x * n;
cout << a << endl;
}
else {
a = k * x + (n - k) * y;
cout << a << endl;
}
} | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 1,507,864 | 1,507,865 | u519449115 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
int n, k, x, y;
cin >> n >> k >> x >> y;
cout << x * k + y * max(0, n - k);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
int n, k, x, y;
cin >> n >> k >> x >> y;
cout << x * min(n, k) + y * max(0, n - k);
return 0;
} | [
"call.add",
"call.arguments.change"
] | 1,507,877 | 1,507,878 | u416877420 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
typedef long long ll;
int main() {
int n, k, x, y;
int ans = 0;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * x << endl;
else
cout << k * x + (k - n) * y << ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
typedef long long ll;
int main() {
int n, k, x, y;
int ans = 0;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * x << endl;
else
cout << k * x + (n - k) * y << ... | [
"expression.operation.binary.remove"
] | 1,507,884 | 1,507,885 | u902803949 | cpp |
p04011 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
typedef long long ll;
int main() {
int n, k, x, y;
int ans = 0;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * x << endl;
else
cout << n * x + (k - n) * y << ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i <= n; i++)
typedef long long ll;
int main() {
int n, k, x, y;
int ans = 0;
cin >> n >> k >> x >> y;
if (n <= k)
cout << n * x << endl;
else
cout << k * x + (n - k) * y << ... | [
"identifier.change",
"io.output.change",
"expression.operation.binary.remove"
] | 1,507,886 | 1,507,885 | u902803949 | cpp |
p04011 | // include
//------------------------------------------
#include <bits/stdc++.h>
using namespace std;
// conversion
//------------------------------------------
inline int toInt(string s) {
int v;
istringstream sin(s);
sin >> v;
return v;
}
template <class T> inline string toString(T x) {
ostringstream sout;
... | // include
//------------------------------------------
#include <bits/stdc++.h>
using namespace std;
// conversion
//------------------------------------------
inline int toInt(string s) {
int v;
istringstream sin(s);
sin >> v;
return v;
}
template <class T> inline string toString(T x) {
ostringstream sout;
... | [
"expression.operation.binary.remove"
] | 1,507,891 | 1,507,892 | u934272719 | cpp |
p04011 | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
cout << k * x + max(n - k, 0) * y << endl;
} | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
cout << min(k, n) * x + max(n - k, 0) * y << endl;
}
| [
"call.add",
"call.arguments.add"
] | 1,507,917 | 1,507,918 | u664394831 | cpp |
p04011 | #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;
typedef vector<ll> vll;
typedef vector<vll> vvll;
int main... | #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;
typedef vector<ll> vll;
typedef vector<vll> vvll;
int main... | [
"expression.operator.arithmetic.change",
"io.output.change"
] | 1,507,937 | 1,507,938 | u552122040 | cpp |
p04011 | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << k * x << endl;
} else {
cout << (k * x) + ((n - k) * y) << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int n, k, x, y;
cin >> n >> k >> x >> y;
if (n <= k) {
cout << n * x << endl;
} else {
cout << (k * x) + ((n - k) * y) << endl;
}
} | [
"identifier.change",
"io.output.change"
] | 1,507,971 | 1,507,972 | u091051505 | cpp |
p04011 | #include <stdio.h>
int main(void) {
int N, K, X, Y, kei;
scanf("%d %d %d %d", &N, &K, &X, &Y);
if (N > K)
kei = K * X + (N - K) + Y;
else
kei = N * X;
printf("%d\n", kei);
return 0;
} | #include <stdio.h>
int main(void) {
int N, K, X, Y, kei;
scanf("%d %d %d %d", &N, &K, &X, &Y);
if (N > K)
kei = K * X + (N - K) * Y;
else
kei = N * X;
printf("%d\n", kei);
return 0;
} | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 1,507,988 | 1,507,989 | u716846370 | cpp |
p04011 | #include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0... | #include <algorithm>
#include <array>
#include <bitset>
#include <cmath>
#include <complex>
#include <cstdio>
#include <deque>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0... | [
"variable_declaration.type.change",
"expression.operation.binary.remove"
] | 1,507,998 | 1,507,999 | u554990639 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.