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 |
|---|---|---|---|---|---|---|---|
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(a / b, c) << '\n';
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> b >> a >> c;
cout << min(a / b, c) << '\n';
}
| [
"expression.operation.binary.remove"
] | 913,472 | 913,473 | u434765267 | cpp |
p03105 | #include <iostream>
using std::cin;
using std::cout;
int a, b, c;
auto main() -> int {
cin >> a >> b >> c;
cout << ((a * c) >= b ? c : b / a) << '\n';
return 0;
}
| #include <iostream>
using std::cin;
using std::cout;
int a, b, c;
auto main() -> int {
cin >> a >> b >> c;
cout << ((a * c) <= b ? c : b / a) << '\n';
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 913,484 | 913,485 | u604446158 | cpp |
p03105 | #include <algorithm>
#include <cmath>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
const int inf = 2147483647, dx[] = {-1, 0, 1, 0},
dy[] = {0, -1, 0, 1}; // 上... | #include <algorithm>
#include <cmath>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
const int inf = 2147483647, dx[] = {-1, 0, 1, 0},
dy[] = {0, -1, 0, 1}; // 上... | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 913,488 | 913,489 | u965118468 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a > c)
cout << b / a;
else
cout << c;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a < c)
cout << b / a;
else
cout << c;
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 913,496 | 913,497 | u662665711 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * C < B) {
cout << C << endl;
} else {
cout << B % A << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * C <= B) {
cout << C << endl;
} else {
cout << B / A << endl;
}
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"expression.operator.arithmetic.change",
"io.output.change"
] | 913,504 | 913,505 | u676198776 | cpp |
p03105 | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#define int long long
using namespace std;
signed main() {
int a, b, c;
cin >> a >> b >> c;
cout << max(c, b / a) << endl;
} | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#define int long long
using namespace std;
signed main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(c, b / a) << endl;
}
| [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 913,531 | 913,532 | u141968173 | cpp |
p03105 | #include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
int a, b, c;
cin >> a >> b >> c;
cout << min(a / b, c);
return 0;
}
| #include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
int a, b, c;
cin >> a >> b >> c;
cout << min(b / a, c);
return 0;
}
| [
"expression.operation.binary.remove"
] | 913,533 | 913,534 | u006425112 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * C >= B) {
cout << C << endl;
} else {
cout << B / A << endl;
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * C <= B) {
cout << C << endl;
} else {
cout << B / A << endl;
}
return 0;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 913,551 | 913,552 | u033620890 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int ans = A / B;
if (ans > C)
ans = C;
cout << ans;
} | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int ans = B / A;
if (ans > C)
ans = C;
cout << ans;
} | [
"expression.operation.binary.remove"
] | 913,558 | 913,559 | u570417673 | cpp |
p03105 | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << (B / A > C ? B / A : C) << endl;
return 0;
} | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << (B / A > C ? C : B / A) << endl;
return 0;
} | [] | 913,562 | 913,564 | u180345531 | cpp |
p03105 | #include <iostream>
#include <stdio.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
int ans = 0;
if (b < a * c) {
ans = b / a;
} else {
ans = a * c;
}
cout << ans << endl;
}
| #include <iostream>
#include <stdio.h>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
int ans = 0;
if (b < a * c) {
ans = b / a;
} else {
ans = c;
}
cout << ans << endl;
}
| [
"expression.operation.binary.remove"
] | 913,582 | 913,584 | u231282396 | cpp |
p03105 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define REP(i, n) for (ll i = 0; i < (ll)n; i++)
#define INF 1000000000000000
using namespace std;
typedef long long ll;
typedef double db;
typedef string str;
... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define REP(i, n) for (ll i = 0; i < (ll)n; i++)
#define INF 1000000000000000
using namespace std;
typedef long long ll;
typedef double db;
typedef string str;
... | [
"expression.operation.binary.remove"
] | 913,618 | 913,620 | u780950519 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using P = pair<int, int>;
using PL = pair<ll, ll>;
using vp = vector<P>;
const int INF = 1 << 30, MOD = 1000000007;
const ll LINF = 1ll << 60;
#define _ol3(_1, _2, _3, name, ...) na... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using P = pair<int, int>;
using PL = pair<ll, ll>;
using vp = vector<P>;
const int INF = 1 << 30, MOD = 1000000007;
const ll LINF = 1ll << 60;
#define _ol3(_1, _2, _3, name, ...) na... | [
"expression.operation.binary.remove"
] | 913,633 | 913,637 | u502709453 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a;
cin >> b;
cin >> c;
int num = a / b;
if (num < c)
cout << num;
else
cout << c;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a;
cin >> b;
cin >> c;
int num = b / a;
if (num < c)
cout << num;
else
cout << c;
} | [
"expression.operation.binary.remove"
] | 913,679 | 913,681 | u901678655 | cpp |
p03105 | #include <iostream>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
cout << ((C > B / A) ? C : B / A) << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main(void) {
int A, B, C;
cin >> A >> B >> C;
cout << ((C < B / A) ? C : B / A) << endl;
return 0;
}
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"io.output.change"
] | 913,695 | 913,697 | u843830192 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << max(b / a, c);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(b / a, c);
return 0;
} | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 913,699 | 913,701 | u436364432 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
d = b / a;
if (d >= c) {
cout << c << "\n";
} else if (d < c) {
cout << b << "\n";
}
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
d = b / a;
if (d >= c) {
cout << c << "\n";
} else if (d < c) {
cout << d << "\n";
}
} | [
"identifier.change",
"io.output.change"
] | 913,734 | 913,736 | u134229255 | cpp |
p03105 | #include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <complex>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <casser... | #include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <complex>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <casser... | [
"expression.operation.binary.remove"
] | 913,738 | 913,741 | u378419207 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
main() {
int A, B, C;
int cnt;
cin >> A >> B >> C;
cnt = A / B;
if (cnt < C)
cout << cnt;
else
cout << C;
} | #include <bits/stdc++.h>
using namespace std;
main() {
int A, B, C;
int cnt;
cin >> A >> B >> C;
cnt = B / A;
if (cnt < C)
cout << cnt;
else
cout << C;
} | [
"expression.operation.binary.remove",
"assignment.change"
] | 913,742 | 913,744 | u610206065 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * C >= B) {
cout << B / C << endl;
} else {
cout << C << endl;
}
}
| #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * C >= B) {
cout << B / A << endl;
} else {
cout << C << endl;
}
}
| [
"identifier.change",
"io.output.change"
] | 913,752 | 913,754 | u938317342 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * C > B) {
cout << B / A << endl;
} else {
cout << A * C << endl;
}
}
| #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * C >= B) {
cout << B / A << endl;
} else {
cout << C << endl;
}
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 913,756 | 913,754 | u938317342 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * C >= B) {
cout << B / A << endl;
} else {
cout << A * C << endl;
}
}
| #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * C >= B) {
cout << B / A << endl;
} else {
cout << C << endl;
}
}
| [
"expression.operation.binary.remove"
] | 913,758 | 913,754 | u938317342 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(a / b, c) << endl;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(b / a, c) << endl;
} | [
"expression.operation.binary.remove"
] | 913,566 | 913,570 | u859897687 | cpp |
p03105 | #include <algorithm>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stdio.h>
#include <string.h>
#include <vector>
#define REP(i, n) for (int i = 0; (i) < (n); ++(i))
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
int d = b / a;
cout << max(d, c) << endl;
retu... | #include <algorithm>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stdio.h>
#include <string.h>
#include <vector>
#define REP(i, n) for (int i = 0; (i) < (n); ++(i))
using namespace std;
int a, b, c;
int main() {
cin >> a >> b >> c;
int d = b / a;
cout << min(d, c) << endl;
retu... | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 913,573 | 913,576 | u697232864 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
b /= a;
if (b > c)
;
b = c;
cout << b << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
b /= a;
if (b > c) {
b = c;
}
cout << b << endl;
} | [] | 913,579 | 913,581 | u618604643 | cpp |
p03105 | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < (n); i++)
int main() {
ll a, b, c;
cin ... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < (n); i++)
int main() {
ll a, b, c;
cin ... | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 913,597 | 913,600 | u372550522 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (ll(i) = (0); (i) < (n); ++i)
#define REV(i, n) for (ll(i) = (n)-1; (i) >= 0; --i)
#define PB push_back
#define EB emplace_back
#define MP make_pair
#define FI first
#define SE second
#define SHOW1d(v, n) ... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (ll(i) = (0); (i) < (n); ++i)
#define REV(i, n) for (ll(i) = (n)-1; (i) >= 0; --i)
#define PB push_back
#define EB emplace_back
#define MP make_pair
#define FI first
#define SE second
#define SHOW1d(v, n) ... | [
"expression.operation.binary.remove"
] | 913,609 | 913,611 | u382880969 | cpp |
p03105 | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a <= c) {
cout << a / b << endl;
} else if (c < b / a) {
cout << c << endl;
}
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a <= c) {
cout << b / a << endl;
} else if (c < b / a) {
cout << c << endl;
}
return 0;
} | [
"expression.operation.binary.remove"
] | 913,653 | 913,655 | u352296732 | cpp |
p03105 | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a * c <= b ? a : b / a) << endl;
return 0;
}
| #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << (a * c <= b ? c : b / a) << endl;
return 0;
}
| [
"identifier.change",
"io.output.change"
] | 913,666 | 913,668 | u274962354 | cpp |
p03105 | #include <iostream>
#include <string>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B / A >= C) {
cout << C << endl;
}
else if (B / A <= C) {
cout << A << endl;
}
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B / A >= C) {
cout << C << endl;
}
else if (B / A <= C) {
cout << B / A << endl;
}
return 0;
} | [
"expression.operation.binary.add"
] | 913,684 | 913,686 | u842842118 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B / A >> C) {
cout << B;
} else {
cout << C;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if ((B / A) < C) {
cout << B / A;
} else {
cout << C;
}
return 0;
}
| [
"control_flow.branch.if.condition.change"
] | 913,713 | 913,715 | u056033056 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define str string
ll MOD = 1000000007, INFL = 1ll << 60, INF = 1 << 30;
ll A[10000000] = {}, X[1000000] = {};
ll aiti[10000];
int dy[] = {0, 0, 1, -1}, dx[] = {1, -1, 0, 0};
vector<ll> v;
ll a = 0, b = 0, c = 0, n = 0, sum = 0, max = INF;
str S;
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define str string
ll MOD = 1000000007, INFL = 1ll << 60, INF = 1 << 30;
ll A[10000000] = {}, X[1000000] = {};
ll aiti[10000];
int dy[] = {0, 0, 1, -1}, dx[] = {1, -1, 0, 0};
vector<ll> v;
ll a = 0, b = 0, c = 0, n = 0, sum = 0, max = INF;
str S;
... | [
"expression.operation.binary.remove"
] | 913,759 | 913,762 | u109792330 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B / A > C)
cout << C << endl;
else if (B / A < C)
cout << B / A << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B / A >= C)
cout << C << endl;
else if (B / A < C)
cout << B / A << endl;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 913,773 | 913,774 | u102871988 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B / A > C)
cout << C << endl;
else if (B / A < C)
cout << B / A << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B / A >= C)
cout << C << endl;
else if (B / A < C)
cout << B / A << endl;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 913,775 | 913,774 | u102871988 | cpp |
p03105 | #include <bits/stdc++.h> //atcoder.120.a
using namespace std;
int main() {
int a, b, c, n;
cin >> a >> b >> c;
n = b / a;
if (b > c)
cout << c;
else
cout << n;
return 0;
} | #include <bits/stdc++.h> //atcoder.120.a
using namespace std;
int main() {
int a, b, c, n;
cin >> a >> b >> c;
n = b / a;
if (n > c)
cout << c;
else
cout << n;
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 913,782 | 913,783 | u014014258 | cpp |
p03105 | #include <stdio.h>
typedef long long ll;
using namespace std;
int main(void) {
ll i, j, k, a, b, c, n, m;
scanf("%lld%lld%lld", &a, &b, &c);
printf("%lld", b / a < c ? c : b / a);
return 0;
} | #include <stdio.h>
typedef long long ll;
using namespace std;
int main(void) {
ll i, j, k, a, b, c, n, m;
scanf("%lld%lld%lld", &a, &b, &c);
printf("%lld", b / a > c ? c : b / a);
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.for.condition.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 913,796 | 913,797 | u440920318 | cpp |
p03105 | #include <algorithm>
#include <iostream>
using lint = int64_t;
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << min(A / B, C) << endl;
return 0;
}
| #include <algorithm>
#include <iostream>
using lint = int64_t;
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << min(B / A, C) << endl;
return 0;
}
| [
"expression.operation.binary.remove"
] | 913,798 | 913,799 | u021423660 | cpp |
p03105 | #include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << max(int(B / A), C) << endl;
}
| #include <cmath>
#include <iostream>
#include <string>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << min(int(B / A), C) << endl;
}
| [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 913,800 | 913,801 | u601256797 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
// const ll mod = 1000000007;
int main() {
// cout.precision(10);
int A, B, C;
cin >> A >> B >> C;
cout << min(C, A / B) << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
// const ll mod = 1000000007;
int main() {
// cout.precision(10);
int A, B, C;
cin >> A >> B >> C;
cout << min(C, B / A) << endl;
return 0;
}
| [
"expression.operation.binary.remove"
] | 913,804 | 913,805 | u980655160 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define mp make_pair
#define pb push_back
#define ff first
#define ss second
#define N 200005
ll mod = 998244353;
#define fast \
ios_base::sync_with_stdio(false); ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define mp make_pair
#define pb push_back
#define ff first
#define ss second
#define N 200005
ll mod = 998244353;
#define fast \
ios_base::sync_with_stdio(false); ... | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 913,806 | 913,807 | u043829256 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << max(int(B / A), C) << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << min(int(B / A), C) << endl;
return 0;
} | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 913,808 | 913,809 | u981068718 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << max(int(A / B), C) << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
cout << min(int(B / A), C) << endl;
return 0;
} | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change",
"expression.operation.binary.remove"
] | 913,810 | 913,809 | u981068718 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
typedef long long int LL;
#define REP(n) for (LL i = 0; i < (n); i++)
#define COUT(val) cout << (val) << endl
#define CIN(val) cin >> (val)
#define SORT(vec) sort(vec.begin(), vec.end())
#define SORT_GRE(vec) sort(vec.begin(), vec.end(), greater<LL>())
int main() {
int ... | #include <bits/stdc++.h>
using namespace std;
typedef long long int LL;
#define REP(n) for (LL i = 0; i < (n); i++)
#define COUT(val) cout << (val) << endl
#define CIN(val) cin >> (val)
#define SORT(vec) sort(vec.begin(), vec.end())
#define SORT_GRE(vec) sort(vec.begin(), vec.end(), greater<LL>())
int main() {
int ... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 913,815 | 913,816 | u319491032 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a >= c) {
cout << c << endl;
} else if (b / a < c) {
cout << b % a << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a >= c) {
cout << c << endl;
} else if (b / a < c) {
cout << b / a << endl;
}
return 0;
} | [
"expression.operator.arithmetic.change",
"io.output.change"
] | 913,821 | 913,822 | u534015096 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b % a >= c) {
cout << c << endl;
} else if (b % a < c) {
cout << b % a << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a >= c) {
cout << c << endl;
} else if (b / a < c) {
cout << b / a << endl;
}
return 0;
} | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 913,823 | 913,822 | u534015096 | cpp |
p03105 | #include <iostream>
#include <string>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B / A >= 4)
cout << "4";
else
cout << B / A;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B / A >= C)
cout << C;
else
cout << B / A;
return 0;
} | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 913,838 | 913,839 | u668836563 | cpp |
p03105 | #include <algorithm>
#include <bitset>
#include <cmath>
#include <functional>
#include <iomanip>
#include <ios>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define rep1(i, n) for (int i = 1; ... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <functional>
#include <iomanip>
#include <ios>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
#define rep1(i, n) for (int i = 1; ... | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 913,844 | 913,845 | u228214259 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int d;
d = b / a;
if (a < d) {
cout << c << endl;
} else
cout << d << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int d;
d = b / a;
if (c < d) {
cout << c << endl;
} else
cout << d << endl;
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 913,846 | 913,847 | u511379665 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int d;
d = b / a;
if (a < d) {
cout << a << endl;
} else
cout << d << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int d;
d = b / a;
if (c < d) {
cout << c << endl;
} else
cout << d << endl;
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change",
"io.output.change"
] | 913,848 | 913,847 | u511379665 | cpp |
p03105 | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
int main() {
ios_base::s... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
using namespace std;
int main() {
ios_base::s... | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 913,853 | 913,854 | u499373855 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a <= c)
cout << c;
else
cout << b / a;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a >= c)
cout << c;
else
cout << b / a;
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 913,859 | 913,860 | u518383459 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
d = b / a;
if (d > c) {
cout << c << endl;
} else if (c > d) {
cout << d << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c;
d = b / a;
if (d > c) {
cout << c << endl;
} else if (c >= d) {
cout << d << endl;
}
return 0;
} | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 913,863 | 913,864 | u455602089 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a >= c)
cout << c;
if (b / c < c)
cout << b / a;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a >= c)
cout << c;
if (b / a < c)
cout << b / a;
return 0;
}
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 913,867 | 913,868 | u194193990 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b - a * 4 > 0) {
cout << c << endl;
} else {
cout << b / a << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((b - a * c) > 0) {
cout << c << endl;
} else {
cout << b / a << endl;
}
}
| [
"control_flow.branch.if.condition.change",
"identifier.replace.add",
"literal.replace.remove"
] | 913,869 | 913,870 | u560135121 | cpp |
p03105 | #include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cstdio>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <regex>
#include <set>
#include <stack>
#include <string>
#include <time.h>
#include <type_... | #include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <cstdio>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <regex>
#include <set>
#include <stack>
#include <string>
#include <time.h>
#include <type_... | [
"expression.operation.binary.remove"
] | 913,892 | 913,893 | u304121198 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B < A * C) {
cout << B % A << endl;
} else {
cout << C << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B < A * C) {
cout << B / A << endl;
} else {
cout << C << endl;
}
}
| [
"expression.operator.arithmetic.change",
"io.output.change"
] | 913,894 | 913,895 | u041978507 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A < B * C) {
cout << B % A << endl;
} else {
cout << C << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B < A * C) {
cout << B / A << endl;
} else {
cout << C << endl;
}
}
| [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change",
"expression.operator.arithmetic.change",
"io.output.change"
] | 913,896 | 913,895 | u041978507 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b >= a * c)
cout << c << endl;
else
cout << b / 3 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b >= a * c)
cout << c << endl;
else
cout << b / a << endl;
return 0;
}
| [
"identifier.replace.add",
"literal.replace.remove",
"io.output.change"
] | 913,908 | 913,909 | u634527561 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
int ans;
cin >> A >> B >> C;
ans = B / A;
if (ans > C) {
ans = C;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int A, B, C;
int ans;
cin >> A >> B >> C;
ans = B / A;
if (ans > C) {
ans = C;
}
cout << ans;
return 0;
} | [] | 913,910 | 913,911 | u582357587 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
vector<int> transenisin(int num) {
vector<int> nisin;
while (1) {
if (num % 2 == 1)
nisin.push_back(1);
else
nisin.push_back(0);
num = num / 2;
if (num == 1) {
nisin.push_back(1);
break;
}
}
return nisin;
}
void print(v... | #include <bits/stdc++.h>
using namespace std;
vector<int> transenisin(int num) {
vector<int> nisin;
while (1) {
if (num % 2 == 1)
nisin.push_back(1);
else
nisin.push_back(0);
num = num / 2;
if (num == 1) {
nisin.push_back(1);
break;
}
}
return nisin;
}
void print(v... | [
"identifier.change",
"io.output.change"
] | 913,929 | 913,930 | u040301585 | cpp |
p03105 | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <cmath>
#include <complex>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <stdlib.h>
#include <unordered_map>
#inc... | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <cmath>
#include <complex>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <stdlib.h>
#include <unordered_map>
#inc... | [
"expression.operation.binary.remove"
] | 913,935 | 913,936 | u629015299 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b >= a * c / b) {
cout << c << endl;
} else
cout << b / a << endl;
;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b >= a * c) {
cout << c << endl;
} else
cout << b / a << endl;
;
return 0;
} | [
"expression.operation.binary.remove"
] | 913,941 | 913,942 | u881210121 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int d = b / a;
if ((d / a) >= c) {
cout << c;
} else {
cout << d;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int d = b / a;
if ((b / a) >= c) {
cout << c;
} else {
cout << d;
}
return 0;
} | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 913,949 | 913,950 | u614970814 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
int ans;
cin >> a;
cin >> b;
cin >> c;
ans = b / a;
if (ans > c) {
c = ans;
}
cout << ans << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
int ans;
cin >> a;
cin >> b;
cin >> c;
ans = b / a;
if (ans > c) {
ans = c;
}
cout << ans << endl;
return 0;
} | [
"assignment.change"
] | 913,955 | 913,956 | u506441365 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int a, b, c;
int ans;
cin >> a;
cin >> b;
cin >> c;
ans = b / a;
if (ans > c) {
c = ans;
}
cout << ans << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int a, b, c;
int ans;
cin >> a;
cin >> b;
cin >> c;
ans = b / a;
if (ans > c) {
ans = c;
}
cout << ans << endl;
return 0;
} | [
"assignment.change"
] | 913,957 | 913,956 | u506441365 | cpp |
p03105 | #include <stdio.h>
int main(void) {
int A;
int B;
int C;
1 <= A, B, C;
A, B, C <= 100;
scanf("%d", &A);
scanf("%d", &B);
scanf("%d", &C);
if ((B / A) > C) {
printf("%d", C);
}
if ((B / A) < C) {
printf("%d", B / A);
}
return 0;
}
| #include <stdio.h>
int main(void) {
int A;
int B;
int C;
1 <= A, B, C;
A, B, C <= 100;
scanf("%d", &A);
scanf("%d", &B);
scanf("%d", &C);
if ((B / A) >= C) {
printf("%d", C);
}
if ((B / A) < C) {
printf("%d", B / A);
}
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 913,960 | 913,961 | u607104908 | cpp |
p03105 | #include <stdio.h>
int main(void) {
int A;
int B;
int C;
1 <= A, B, C;
A, B, C <= 100;
scanf("%d", &A);
scanf("%d", &B);
scanf("%d", &C);
if ((B / A) > C) {
printf("%d", C);
}
if ((B / A) < C) {
printf("%d", B / A);
}
}
| #include <stdio.h>
int main(void) {
int A;
int B;
int C;
1 <= A, B, C;
A, B, C <= 100;
scanf("%d", &A);
scanf("%d", &B);
scanf("%d", &C);
if ((B / A) >= C) {
printf("%d", C);
}
if ((B / A) < C) {
printf("%d", B / A);
}
}
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 913,962 | 913,961 | u607104908 | cpp |
p03105 | #include <bits/stdc++.h>
#define int long long
#define f(i, n) for (int i = 0; i < n; i++)
#define F first
#define S second
#define mod 1000000007
#define P pair<int, int>
using namespace std;
signed main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(c, a / b) << endl;
}
| #include <bits/stdc++.h>
#define int long long
#define f(i, n) for (int i = 0; i < n; i++)
#define F first
#define S second
#define mod 1000000007
#define P pair<int, int>
using namespace std;
signed main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(c, b / a) << endl;
}
| [
"expression.operation.binary.remove"
] | 913,969 | 913,970 | u259210975 | cpp |
p03105 | #include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#incl... | #include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#incl... | [
"expression.operation.binary.remove"
] | 913,987 | 913,988 | u406225550 | cpp |
p03105 | #include <iostream>
using namespace std;
int main(int argc, char **argv) {
int a, b, c;
cin >> a >> b >> c;
if (b % a >= c) {
cout << c << endl;
} else {
cout << b / a << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main(int argc, char **argv) {
int a, b, c;
cin >> a >> b >> c;
if (b / a >= c) {
cout << c << endl;
} else {
cout << b / a << endl;
}
return 0;
} | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 913,991 | 913,992 | u791687581 | cpp |
p03105 | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (A * B >= A * C) {
cout << C << endl;
} else {
cout << B / A << endl;
}
} | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
if (B >= A * C) {
cout << C << endl;
} else {
cout << B / A << endl;
}
} | [
"expression.operation.binary.remove"
] | 913,997 | 913,998 | u303745819 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int ans = a / b;
if (ans > c) {
cout << c;
} else
cout << ans;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int ans = b / a;
if (ans >= c) {
cout << c;
} else
cout << ans;
return 0;
} | [
"expression.operation.binary.remove",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 914,001 | 914,002 | u508332677 | cpp |
p03105 | #include <algorithm>
#include <iostream>
#include <stdlib.h>
#include <string>
#include <vector>
typedef long long int ll;
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a > c) {
cout << c << endl;
} else {
cout << a / b << endl;
}
} | #include <algorithm>
#include <iostream>
#include <stdlib.h>
#include <string>
#include <vector>
typedef long long int ll;
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a > c) {
cout << c << endl;
} else {
cout << b / a << endl;
}
} | [
"expression.operation.binary.remove"
] | 914,003 | 914,004 | u149526875 | cpp |
p03105 | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <istream>
#include <iterator>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include ... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <istream>
#include <iterator>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include ... | [
"identifier.change",
"io.output.change"
] | 914,005 | 914,006 | u361767189 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int A, B, C, ans;
cin >> A >> B >> C;
ans = A / B;
if (ans > C)
ans = C;
cout << ans << endl;
}
| #include <iostream>
using namespace std;
int main() {
int A, B, C, ans;
cin >> A >> B >> C;
ans = B / A;
if (ans > C)
ans = C;
cout << ans << endl;
}
| [
"expression.operation.binary.remove",
"assignment.change"
] | 914,007 | 914,008 | u041282550 | cpp |
p03105 | #include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
#define ll long l... | #include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
#define ll long l... | [
"expression.operation.binary.remove"
] | 914,009 | 914,010 | u369508054 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << max(b / a, c);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(b / a, c);
return 0;
} | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 914,011 | 914,012 | u058348416 | cpp |
p03105 | /////////////////////////////////////////////////////////
//
// c/temp.cpp file
// Last Updated: 2018-10-23 ...Maybe
//
// I hope you adding this code to the setting file
// alias g++='g++ -std=c++1y -DDEBUG_LOCAL'
//
/////////////////////////////////////////////////////////
#include <bits/stdc++.h>
using nam... | /////////////////////////////////////////////////////////
//
// c/temp.cpp file
// Last Updated: 2018-10-23 ...Maybe
//
// I hope you adding this code to the setting file
// alias g++='g++ -std=c++1y -DDEBUG_LOCAL'
//
/////////////////////////////////////////////////////////
#include <bits/stdc++.h>
using nam... | [
"expression.operation.binary.remove"
] | 914,013 | 914,014 | u646685002 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << max(b / a, c) << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(b / a, c) << endl;
return 0;
} | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 914,015 | 914,016 | u017167684 | cpp |
p03105 | #include <algorithm>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(c, a / b) << endl;
}
| #include <algorithm>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(c, b / a) << endl;
}
| [
"expression.operation.binary.remove"
] | 914,017 | 914,018 | u006493569 | cpp |
p03106 | #include <algorithm>
#include <iostream>
#include <math.h>
using namespace std;
int main(void) {
int i, a, b, k, d, gcd, c = 0;
cin >> a >> b >> k;
while (1) {
d = a % b;
if (d == 0) {
gcd = b;
break;
}
a = b;
b = d;
}
for (i = 1; i < gcd; i++) {
if (gcd % i == 0)
c++... | #include <algorithm>
#include <iostream>
#include <math.h>
using namespace std;
int main(void) {
int i, a, b, k, d, gcd, c = 0;
cin >> a >> b >> k;
while (1) {
d = a % b;
if (d == 0) {
gcd = b;
break;
}
a = b;
b = d;
}
for (i = 1; i < gcd; i++) {
if (gcd % i == 0)
c++... | [
"expression.operation.binary.add"
] | 914,019 | 914,020 | u491376630 | cpp |
p03106 | // Author: Fuadul Hasan(fuadul202@gmail.com)
// BSMRSTU,Gopalganj
#include <bits/stdc++.h>
using namespace std;
// int input........
template <typename T> inline void readline(T &n) {
n = 0;
int f = 1;
register int ch = getchar();
for (; !isdigit(ch); ch = getchar())
if (ch == '-')
f = -1;
for (; is... | // Author: Fuadul Hasan(fuadul202@gmail.com)
// BSMRSTU,Gopalganj
#include <bits/stdc++.h>
using namespace std;
// int input........
template <typename T> inline void readline(T &n) {
n = 0;
int f = 1;
register int ch = getchar();
for (; !isdigit(ch); ch = getchar())
if (ch == '-')
f = -1;
for (; is... | [
"variable_access.subscript.index.change",
"io.output.change",
"call.add",
"identifier.replace.add",
"literal.replace.remove"
] | 914,033 | 914,034 | u526278960 | cpp |
p03106 | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if ((a == 1 && b == 1 && c == 1)) {
cout << "1" << endl;
} else {
vector<int> v;
int f = max(a, b);
for (int i = 1; i <= f / 2; i++) {
if ((a % i) == 0 && (b % i) == 0) {
... | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == 1 && b == 1 && c == 1) {
cout << "1" << endl;
} else {
vector<int> v;
int f = min(a, b);
for (int i = 1; i <= f; i++) {
if ((a % i) == 0 && (b % i) == 0) {
v.pu... | [
"control_flow.branch.if.condition.change",
"misc.opposites",
"identifier.change",
"call.function.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 914,035 | 914,036 | u089230684 | cpp |
p03105 | #include <algorithm>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define ll long long
#define ull unsigned long long
#define re... | #include <algorithm>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
#define ll long long
#define ull unsigned long long
#define re... | [
"expression.operation.binary.remove"
] | 914,042 | 914,043 | u426855695 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
#define fol(i, n) for (int i = 0; i < n; i++)
#define pb push_back
typedef long long ll;
typedef pair<int, int> P;
typedef vector<P> vip;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << max(c, b / a) << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define fol(i, n) for (int i = 0; i < n; i++)
#define pb push_back
typedef long long ll;
typedef pair<int, int> P;
typedef vector<P> vip;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(c, b / a) << endl;
return 0;
} | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 914,059 | 914,060 | u171026188 | cpp |
p03105 | #include <algorithm>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <vector>
using namespace std;
#define lli long long int
#define MAX 100000000
int main() {
// cin.tie(0);
// ios::sync_with_stdio(false);
int A, B, C;
cin >> A >> B >> C;
int ... | #include <algorithm>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <vector>
using namespace std;
#define lli long long int
#define MAX 100000000
int main() {
// cin.tie(0);
// ios::sync_with_stdio(false);
int A, B, C;
cin >> A >> B >> C;
int ... | [
"identifier.change",
"io.output.change"
] | 914,061 | 914,062 | u992432716 | cpp |
p03105 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a;
cin >> b;
cin >> c;
cout << (a * c < b) ? c : int(b / a);
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a;
cin >> b;
cin >> c;
cout << ((a * c < b) ? c : b / a);
return 0;
} | [
"call.remove"
] | 914,068 | 914,069 | u304829684 | cpp |
p03105 | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a;
cin >> b;
cin >> c;
cout << (a * c < b) ? b : b / a;
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int a, b, c;
cin >> a;
cin >> b;
cin >> c;
cout << ((a * c < b) ? c : b / a);
return 0;
} | [
"identifier.change",
"io.output.change"
] | 914,070 | 914,069 | u304829684 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a > c)
c = b / a;
cout << c << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (b / a < c)
c = b / a;
cout << c << endl;
return 0;
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 914,071 | 914,072 | u258691775 | cpp |
p03105 | #include <algorithm>
#include <iostream>
#include <limits>
#include <math.h>
#include <numeric>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <type_traits>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repi(i, a, b) for (in... | #include <algorithm>
#include <iostream>
#include <limits>
#include <math.h>
#include <numeric>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <type_traits>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repi(i, a, b) for (in... | [
"misc.opposites",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 914,080 | 914,081 | u190907730 | cpp |
p03105 | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a * c >= b) {
cout << c << endl;
} else {
cout << b / a << endl;
}
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a * c <= b) {
cout << c << endl;
} else {
cout << b / a << endl;
}
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 914,092 | 914,093 | u356117208 | cpp |
p03105 | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a * c >= b) {
cout << c << endl;
} else {
cout << b / c << endl;
}
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a * c <= b) {
cout << c << endl;
} else {
cout << b / a << endl;
}
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"identifier.change",
"io.output.change"
] | 914,094 | 914,093 | u356117208 | cpp |
p03105 | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a * c >= b) {
cout << c << endl;
} else {
cout << b / c;
}
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a * c <= b) {
cout << c << endl;
} else {
cout << b / a << endl;
}
} | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"identifier.change",
"io.output.change",
"io.output.newline.add"
] | 914,095 | 914,093 | u356117208 | cpp |
p03105 | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int D = B % A;
if (D < C) {
cout << D << endl;
} else {
cout << C << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int D = B / A;
if (D < C) {
cout << D << endl;
} else {
cout << C << endl;
}
} | [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 914,104 | 914,105 | u299137831 | cpp |
p03105 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
cout << min(b % a, c);
} | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int a, b, c;
cin >> a >> b >> c;
cout << min(b / a, c);
} | [
"expression.operator.arithmetic.change",
"io.output.change"
] | 914,106 | 914,107 | u217218591 | cpp |
p03105 | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <complex>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#defin... | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <complex>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#defin... | [
"expression.operation.binary.remove"
] | 914,114 | 914,115 | u352642493 | cpp |
p03105 | #include "bits/stdc++.h"
using namespace std;
void solve() {
int A, B, C;
cin >> A >> B >> C;
cout << max(C, B / A) << endl;
}
int main(void) {
solve();
// cout << "yui(*-v・)yui" << endl;
return 0;
}
| #include "bits/stdc++.h"
using namespace std;
void solve() {
int A, B, C;
cin >> A >> B >> C;
cout << min(C, B / A) << endl;
}
int main(void) {
solve();
// cout << "yui(*-v・)yui" << endl;
return 0;
}
| [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 914,120 | 914,121 | u344412812 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << max(b / a, c) << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << min(b / a, c) << endl;
return 0;
} | [
"misc.opposites",
"identifier.change",
"call.function.change",
"io.output.change"
] | 914,126 | 914,127 | u593546783 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
// 整数の入力
int a, b, c;
cin >> a >> b >> c;
// 出力
int d, e;
d = b / a;
if (d < c) {
e = d;
} else {
e = 0;
}
cout << e << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
// 整数の入力
int a, b, c;
cin >> a >> b >> c;
// 出力
int d, e;
d = b / a;
if (d < c) {
e = d;
} else {
e = c;
}
cout << e << endl;
return 0;
} | [
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove"
] | 914,134 | 914,135 | u184045093 | cpp |
p03105 | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int S = A * C;
if (B >= S)
cout << C << endl;
if (B < S)
cout << A / B << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int A, B, C;
cin >> A >> B >> C;
int S = A * C;
if (B >= S)
cout << C << endl;
if (B < S)
cout << B / A << endl;
} | [
"expression.operation.binary.remove"
] | 914,136 | 914,137 | u760111694 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.