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 |
|---|---|---|---|---|---|---|---|
p02553 | #include <iostream>
#include <stdio.h>
using namespace std;
int main(void) {
long long x[4];
cin >> x[0] >> x[1] >> x[2] >> x[3];
int i, j, max_i = 0, max_j = 2;
long long max = -9223372036854775807;
// long long max = -922337203685;
for (i = 0; i < 2; i++) {
for (j = i + 2; j < 4; j++) {
if ... | #include <iostream>
#include <stdio.h>
using namespace std;
int main(void) {
long long x[4];
cin >> x[0] >> x[1] >> x[2] >> x[3];
int i, j, max_i = 0, max_j = 2;
long long max = -9223372036854775807;
// long long max = -922337203685;
for (i = 0; i < 2; i++) {
for (j = 2; j < 4; j++) {
if (x[m... | [
"control_flow.loop.for.initializer.change",
"expression.operation.binary.remove",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 249,344 | 249,343 | u545672143 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define pi 3.14159265358979
#define mod 1000000007
#define ll long long
#define rep(i, a, b) for (ll i = a; i < b; i++)
#define repn(i, a, b) for (ll i = a; i > b; i--)
#define mod1 1000003
#define mod2 998244353
#define inf 2e18
#define hi "hello"
#define nl "\n"
#define ... | #include <bits/stdc++.h>
using namespace std;
#define pi 3.14159265358979
#define mod 1000000007
#define ll long long
#define rep(i, a, b) for (ll i = a; i < b; i++)
#define repn(i, a, b) for (ll i = a; i > b; i--)
#define mod1 1000003
#define mod2 998244353
#define inf 2e18
#define hi "hello"
#define nl "\n"
#define ... | [
"expression.operation.binary.remove"
] | 249,347 | 249,348 | u340011366 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
vector<ll> v(4);
for (int i = 0; i < 4; i++)
cin >> v[i];
ll p = 0;
for (int i = 0; i <= 1; i++) {
for (int j = 2; j <= 3; j++) {
if (v[i] * v[j] >= p)
p = v[i] * v[j];
}
}
cout << p << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
vector<ll> v(4);
for (int i = 0; i < 4; i++)
cin >> v[i];
ll p = -(1e18);
for (int i = 0; i <= 1; i++) {
for (int j = 2; j <= 3; j++) {
if (v[i] * v[j] >= p)
p = v[i] * v[j];
}
}
cout << p << endl;
} | [] | 249,351 | 249,350 | u076932548 | cpp |
p02553 | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
#define loopj(n) for (int j = 0; j < n; j++)
#define loopi(a, b, k) for (int i = a; i < b; i = i + k)
#define deb(x) cout << #x << " " << x << endl
#define sync std::ios::sync_with_stdio(0), cin.tie(0), cout.tie(0)
int main() {
int a, b, c, d;
cin... | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
#define loopj(n) for (int j = 0; j < n; j++)
#define loopi(a, b, k) for (int i = a; i < b; i = i + k)
#define deb(x) cout << #x << " " << x << endl
#define sync std::ios::sync_with_stdio(0), cin.tie(0), cout.tie(0)
int main() {
ll a, b, c, d;
cin ... | [
"variable_declaration.type.change"
] | 249,379 | 249,380 | u918032464 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, ans;
cin >> a >> b >> c >> d;
ans = a * c;
int tmp;
tmp = a * d;
if (ans < tmp) {
ans = tmp;
}
tmp = b * c;
if (ans < tmp) {
ans = tmp;
}
tmp = b * d;
if (ans < tmp) {
ans = tmp;
}
cout << ans << endl;
}... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c, d, ans;
cin >> a >> b >> c >> d;
ans = a * c;
long long tmp;
tmp = a * d;
if (ans < tmp) {
ans = tmp;
}
tmp = b * c;
if (ans < tmp) {
ans = tmp;
}
tmp = b * d;
if (ans < tmp) {
ans = tmp;
}
cout << an... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 249,387 | 249,388 | u899705970 | cpp |
p02553 | // 及时当勉励,岁月不待人!
//当前状态 : attempted
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#define MP make_pair
using namespace std;
typedef long long ll;
const int inf = 0x3f3f3f3f;
const ll... | // 及时当勉励,岁月不待人!
//当前状态 : attempted
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#define MP make_pair
using namespace std;
typedef long long ll;
const int inf = 0x3f3f3f3f;
const ll... | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 249,389 | 249,390 | u297223293 | cpp |
p02553 | // 及时当勉励,岁月不待人!
//当前状态 : attempted
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#define MP make_pair
using namespace std;
typedef long long ll;
const int inf = 0x3f3f3f3f;
const ll... | // 及时当勉励,岁月不待人!
//当前状态 : attempted
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#define MP make_pair
using namespace std;
typedef long long ll;
const int inf = 0x3f3f3f3f;
const ll... | [
"variable_declaration.type.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 249,391 | 249,390 | u297223293 | cpp |
p02553 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c, d, ans;
cin >> a >> b >> c >> d;
// if (a >= 0 || c >= 0) {
// ans = b*d;
// } else{
// ans = a*c;
// }
// cout << ans;
ans = a * c;
ans = max(ans, a * c);
ans = max(ans, a * d);
ans ... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
long int a, b, c, d, ans;
cin >> a >> b >> c >> d;
// if (a >= 0 || c >= 0) {
// ans = b*d;
// } else{
// ans = a*c;
// }
// cout << ans;
ans = a * c;
ans = max(ans, a * c);
ans = max(ans, a * d);
... | [
"variable_declaration.type.widen.change"
] | 249,392 | 249,393 | u031747359 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
vector<int> v(4);
cin >> a >> b >> c >> d;
v.at(0) = a * c;
v.at(1) = a * d;
v.at(2) = b * c;
v.at(3) = b * d;
sort(v.begin(), v.end());
cout << v.at(3) << endl;
return (0);
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long a, b, c, d;
vector<long> v(4);
cin >> a >> b >> c >> d;
v.at(0) = a * c;
v.at(1) = a * d;
v.at(2) = b * c;
v.at(3) = b * d;
sort(v.begin(), v.end());
cout << v.at(3) << endl;
return (0);
} | [
"variable_declaration.type.primitive.change"
] | 249,400 | 249,401 | u056848279 | cpp |
p02553 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
int a, b, c, d, ans;
cin >> a >> b >> c >> d;
ans = max(a * c, a * d);
ans = max(ans, b * c);
ans = max(ans, b * d);
cout << ans << endl;
return 0;
}
| #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
int main() {
long long a, b, c, d;
long long ans;
cin >> a >> b >> c >> d;
ans = max(a * c, a * d);
ans = max(ans, b * c);
ans = max(ans, b * d);
cout << ans << endl;
return 0;
}
| [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 249,409 | 249,410 | u929636638 | cpp |
p02553 | #include <algorithm>
#include <cmath>
#include <iostream>
using namespace std;
int main() {
int a, b, c, d;
long long int A, B, C, D, AB, CD, ans;
cin >> a >> b >> c >> d;
A = a * c;
B = b * d;
C = c * b;
D = d * a;
AB = max(A, B);
CD = max(C, D);
ans = max(AB, CD);
cout << ans;
} | #include <algorithm>
#include <cmath>
#include <iostream>
using namespace std;
int main() {
long long int a, b, c, d;
long long int A, B, C, D, AB, CD, ans;
cin >> a >> b >> c >> d;
A = a * c;
B = b * d;
C = c * b;
D = d * a;
AB = max(A, B);
CD = max(C, D);
ans = max(AB, CD);
cout << ans;
} | [
"variable_declaration.type.widen.change"
] | 249,413 | 249,414 | u470565318 | cpp |
p02553 | #include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
long long a, b, c, d, x, y, max1;
int main() {
scanf("%lld%lld%lld%lld", &a, &b, &c, &d);
max1 = max(max(a * b, a * c), max(b * c, b * d));
printf("%lld", max1);
return 0;
} | #include <algorithm>
#include <cstdio>
#include <iostream>
using namespace std;
long long a, b, c, d, x, y, max1;
int main() {
scanf("%lld%lld%lld%lld", &a, &b, &c, &d);
max1 = max(max(a * c, a * d), max(b * c, b * d));
printf("%lld", max1);
return 0;
} | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 249,415 | 249,416 | u574882775 | cpp |
p02553 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll ans = -1e-18 - 1;
ans = max(ans, a * c);
ans = max(ans, a * d);
ans = max(ans, b * c);
ans = max(ans, b * d);
cout << ans << endl... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll ans = -9223372036854775807;
ans = max(ans, a * c);
ans = max(ans, a * d);
ans = max(ans, b * c);
ans = max(ans, b * d);
cout << a... | [
"literal.number.change",
"variable_declaration.value.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 249,419 | 249,420 | u143883714 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, ans;
cin >> a >> b >> c >> d;
ans = a * c;
if (ans < a * d) {
ans = a * d;
}
if (ans < b * c) {
ans = b * c;
}
if (ans < b * d) {
ans = b * d;
}
cout << ans;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, d, ans;
cin >> a >> b >> c >> d;
ans = a * c;
if (ans < a * d) {
ans = a * d;
}
if (ans < b * c) {
ans = b * c;
}
if (ans < b * d) {
ans = b * d;
}
cout << ans;
return 0;
} | [
"variable_declaration.type.widen.change"
] | 249,430 | 249,431 | u381568068 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define ld long double
#define pb push_back
#define mp make_pair
#define fi(i, start, end) for (int i = start; i < end; ++i)
#define Fastio \
ios_base::sync_with_stdio(false); ... | #include <bits/stdc++.h>
using namespace std;
#define ld long double
#define pb push_back
#define mp make_pair
#define fi(i, start, end) for (int i = start; i < end; ++i)
#define Fastio \
ios_base::sync_with_stdio(false); ... | [
"variable_declaration.type.widen.change"
] | 249,437 | 249,438 | u043357590 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int x = a * c, y = a * d, j = b * c, k = b * d;
cout << max(x, max(y, max(j, k))) << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a >> b >> c >> d;
long long x = a * c, y = a * d, j = b * c, k = b * d;
cout << max(x, max(y, max(j, k))) << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 249,451 | 249,452 | u615366651 | cpp |
p02553 | #include <bits/stdc++.h>
#include <cmath>
#include <math.h>
#define fio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);... | #include <bits/stdc++.h>
#include <cmath>
#include <math.h>
#define fio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 249,455 | 249,456 | u066972676 | cpp |
p02553 | #include <iostream>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a;
cin >> b;
cin >> c;
cin >> d;
long long max = a * c;
if (max < a * d) {
max = a * d;
} else if (max < b * c) {
max = b * c;
} else if (max < b * d) {
max = b * d;
}
cout << max << endl;
} | #include <iostream>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a;
cin >> b;
cin >> c;
cin >> d;
long long max = a * c;
if (max < a * d) {
max = a * d;
}
if (max < b * c) {
max = b * c;
}
if (max < b * d) {
max = b * d;
}
cout << max << endl;
} | [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 249,457 | 249,458 | u317241784 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a >> b >> c >> d;
int a1 = max(a * c, a * d);
int a2 = max(b * c, b * d);
cout << max(a1, a2);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a >> b >> c >> d;
long long a1 = max(a * c, a * d);
long long a2 = max(b * c, b * d);
cout << max(a1, a2);
return 0;
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 249,459 | 249,460 | u055765743 | cpp |
p02553 | /* Jai Shree Ram
ॐ नमो भगवते वासुदेवाय नमः*/
#include <bits/stdc++.h>
#define endl "\n"
#define FIXED_FLOAT(x, pres) std::fixed << std::setprecision(pres) << (x)
#define pb push_back
#define all(a) a.begin(), a.end()
using namespace std;
typedef long long ll;
template <typename T> class Range {
public:
Range(const ... | /* Jai Shree Ram
ॐ नमो भगवते वासुदेवाय नमः*/
#include <bits/stdc++.h>
#define endl "\n"
#define FIXED_FLOAT(x, pres) std::fixed << std::setprecision(pres) << (x)
#define pb push_back
#define all(a) a.begin(), a.end()
using namespace std;
typedef long long ll;
template <typename T> class Range {
public:
Range(const ... | [
"variable_declaration.type.change"
] | 249,471 | 249,472 | u400190958 | cpp |
p02553 | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iostream>
#include <math.h>
#include <vector>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int p = max({(a * c), (a * d), (b * c), (b * d)});
cout << p << endl;
} | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <iostream>
#include <math.h>
#include <vector>
using namespace std;
int main() {
long long int a, b, c, d;
cin >> a >> b >> c >> d;
long long int p = max({(a * c), (a * d), (b * c), (b * d)});
cout << p << endl;
} | [
"variable_declaration.type.widen.change"
] | 249,481 | 249,482 | u528396001 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, e, f, g, h;
cin >> a >> b >> c >> d;
e = a * c;
f = a * d;
g = b * c;
h = b * d;
cout << max(e, max(f, max(g, h)));
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, d, e, f, g, h;
cin >> a >> b >> c >> d;
e = a * c;
f = a * d;
g = b * c;
h = b * d;
cout << max(e, max(f, max(g, h)));
return 0;
} | [
"variable_declaration.type.widen.change"
] | 249,498 | 249,499 | u310497367 | cpp |
p02553 | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ll a, b, c, d;
ll ans;
ll count1 = -100000000000000000000;
cin >> a >> b >> c >> d;
ans = b * d;
count1 = max(count1, ans);
ans = a * d;
count1 = max(count1, ans);
ans = c * d;
count1 = max(count1, ans);
ans = ... | #include <bits/stdc++.h>
#define ll long long int
using namespace std;
int main() {
ll a, b, c, d;
ll ans;
ll count1 = -100000000000000000000;
cin >> a >> b >> c >> d;
ans = b * d;
count1 = max(count1, ans);
ans = a * d;
count1 = max(count1, ans);
ans = c * b;
count1 = max(count1, ans);
ans = ... | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 249,506 | 249,507 | u813401183 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
using ll = long long int;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
ll a[2], c[2];
cin >> a[0] >> a[1] >> c[0] >> c[1];
ll max = a[0] * c[0];
for (int i = 0; i < 2; i++) {
for (int j = 0; j < 2; j++) {
max = (max < a[i] * a[j] ? a[i... | #include <bits/stdc++.h>
using namespace std;
using ll = long long int;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
ll a[2], c[2];
cin >> a[0] >> a[1] >> c[0] >> c[1];
ll max = a[0] * c[0];
for (int i = 0; i < 2; i++) {
for (int j = 0; j < 2; j++) {
max = (max < a[i] * c[j] ? a[i... | [
"assignment.value.change",
"identifier.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change"
] | 249,513 | 249,514 | u660341737 | cpp |
p02553 | #include <bits/stdc++.h>
#define f(i, a, b) for (ll i = a; i < b; i++)
#define af(i, a, b) for (ll i = a; i >= b; i--)
#define rep(i, a, b, k) for (ll i = a; i < b; i += k)
#define arep(i, a, b, k) for (ll i = a; i >= b; i -= k)
#define ones(x) (ll) __builtin_popcount(x)
#define fs first
#define sc second
#define pb p... | #include <bits/stdc++.h>
#define f(i, a, b) for (ll i = a; i < b; i++)
#define af(i, a, b) for (ll i = a; i >= b; i--)
#define rep(i, a, b, k) for (ll i = a; i < b; i += k)
#define arep(i, a, b, k) for (ll i = a; i >= b; i -= k)
#define ones(x) (ll) __builtin_popcount(x)
#define fs first
#define sc second
#define pb p... | [
"identifier.change",
"io.output.change"
] | 249,517 | 249,518 | u896379188 | cpp |
p02553 | #include <bits/stdc++.h>
#define f(i, a, b) for (ll i = a; i < b; i++)
#define af(i, a, b) for (ll i = a; i >= b; i--)
#define rep(i, a, b, k) for (ll i = a; i < b; i += k)
#define arep(i, a, b, k) for (ll i = a; i >= b; i -= k)
#define ones(x) (ll) __builtin_popcount(x)
#define fs first
#define sc second
#define pb p... | #include <bits/stdc++.h>
#define f(i, a, b) for (ll i = a; i < b; i++)
#define af(i, a, b) for (ll i = a; i >= b; i--)
#define rep(i, a, b, k) for (ll i = a; i < b; i += k)
#define arep(i, a, b, k) for (ll i = a; i >= b; i -= k)
#define ones(x) (ll) __builtin_popcount(x)
#define fs first
#define sc second
#define pb p... | [
"identifier.change",
"io.output.change"
] | 249,519 | 249,518 | u896379188 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<long> A(4);
for (int i = 0; i < 4; i++)
cin >> A.at(i);
priority_queue<long> X;
for (int i = 0; i < 4; i++) {
for (int j = i; j < 4; j++) {
long Y = A.at(i) * A.at(j);
X.push(Y);
}
}
cout << X.top() << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
vector<long> A(4);
for (int i = 0; i < 4; i++)
cin >> A.at(i);
priority_queue<long> X;
for (int i = 0; i < 2; i++) {
for (int j = 2; j < 4; j++) {
long Y = A.at(i) * A.at(j);
X.push(Y);
}
}
cout << X.top() << endl;
}
| [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"variable_declaration.value.change",
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.for.initializer.change"
] | 249,527 | 249,528 | u430394202 | cpp |
p02553 | /* � Ashiq Uddin Pranto
Department of Computer Science and Engineering
BATCH 27
University Of Rajshahi,Bangladesh
*/
#include <bits/stdc++.h>
#define ll long long
#define ld long double
#define FOR(x, y) for (ll i = x; i <= y; i++)
#define pb(x) push_back(x)
#define mp make_pair
#define pii pair<int, int>
#de... | /* � Ashiq Uddin Pranto
Department of Computer Science and Engineering
BATCH 27
University Of Rajshahi,Bangladesh
*/
#include <bits/stdc++.h>
#define ll long long
#define ld long double
#define FOR(x, y) for (ll i = x; i <= y; i++)
#define pb(x) push_back(x)
#define mp make_pair
#define pii pair<int, int>
#de... | [
"literal.number.change",
"variable_declaration.value.change"
] | 249,532 | 249,530 | u162893096 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, num1, num2, num3, num4, num5, num6;
cin >> a >> b >> c >> d;
num1 = a * c;
num2 = a * d;
num3 = b * c;
num4 = b * d;
if (num1 > num2) {
num5 = num1;
} else {
num5 = num2;
}
if (num3 > num4) {
num6 = num3;
} els... | #include <bits/stdc++.h>
using namespace std;
int main() {
long int a, b, c, d, num1, num2, num3, num4, num5, num6;
cin >> a >> b >> c >> d;
num1 = a * c;
num2 = a * d;
num3 = b * c;
num4 = b * d;
if (num1 > num2) {
num5 = num1;
} else {
num5 = num2;
}
if (num3 > num4) {
num6 = num3;
... | [
"variable_declaration.type.widen.change"
] | 249,533 | 249,534 | u854388748 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define rapido \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.ti... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define rapido \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.ti... | [
"identifier.change",
"expression.operation.binary.change"
] | 249,535 | 249,536 | u273824262 | cpp |
p02553 | #include <iostream>
using namespace std;
int main() {
long long int a, b, c, d;
cin >> a >> b >> c >> d;
long long int x[4];
x[0] = a * c;
x[1] = a * d;
x[2] = b * c;
x[3] = b * d;
int max = x[0];
for (int i = 1; i < 4; i++) {
if (x[i] > max)
max = x[i];
}
cout << max << endl;
} | #include <iostream>
using namespace std;
int main() {
long long int a, b, c, d;
cin >> a >> b >> c >> d;
long long int x[4];
x[0] = a * c;
x[1] = a * d;
x[2] = b * c;
x[3] = b * d;
long long int max = x[0];
for (int i = 1; i < 4; i++) {
if (x[i] > max) {
max = x[i];
}
}
cout << ... | [
"variable_declaration.type.widen.change"
] | 249,539 | 249,540 | u199528646 | cpp |
p02553 | #include <stdio.h>
int main() {
long long int a, b, c, d;
scanf("%lld %lld %lld %lld\n", &a, &b, &c, &d);
long long int num = a * c;
if (b * c > num) {
num = b * c;
} else if (a * d > num) {
num = a * d;
} else if (b * d > num) {
num = b * d;
}
printf("%lld", num);
return 0;
}
| #include <stdio.h>
int main() {
long long int a, b, c, d;
scanf("%lld %lld %lld %lld\n", &a, &b, &c, &d);
long long int num = a * c;
if (b * c > num) {
num = b * c;
}
if (a * d > num) {
num = a * d;
}
if (b * d > num) {
num = b * d;
}
printf("%lld", num);
}
| [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 249,549 | 249,550 | u637496995 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
vector<long long> multi(4);
multi.at(0) = a * c;
multi.at(1) = a * d;
multi.at(2) = b * c;
multi.at(3) = b * d;
sort(multi.begin(), multi.end());
reverse(multi.begin(), multi.end());
cout << mul... | #include <bits/stdc++.h>
using namespace std;
int main() {
long a, b, c, d;
cin >> a >> b >> c >> d;
vector<long long> multi(4);
multi.at(0) = a * c;
multi.at(1) = a * d;
multi.at(2) = b * c;
multi.at(3) = b * d;
sort(multi.begin(), multi.end());
reverse(multi.begin(), multi.end());
cout << mu... | [
"variable_declaration.type.primitive.change"
] | 249,556 | 249,557 | u072931501 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<LL, LL> PII;
// chmax, chmin
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return 1;
}
retur... | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<LL, LL> PII;
// chmax, chmin
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return 1;
}
retur... | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 249,562 | 249,563 | u806201407 | cpp |
p02553 | #include <bits/stdc++.h>
#define ll long long int
#define ul unsigned long long int
#define mp make_pair
#define endl "\n"
#define fio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define lb lower_b... | #include <bits/stdc++.h>
#define ll long long int
#define ul unsigned long long int
#define mp make_pair
#define endl "\n"
#define fio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define lb lower_b... | [
"variable_declaration.type.change",
"call.arguments.change"
] | 249,564 | 249,565 | u677534836 | cpp |
p02553 | // Work should be challenging and challange should be fun
#include <bits/stdc++.h>
using namespace std;
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
#define pb push_back
#define ll long long
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define rep(i, ... | // Work should be challenging and challange should be fun
#include <bits/stdc++.h>
using namespace std;
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
#define pb push_back
#define ll long long
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define rep(i, ... | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 249,588 | 249,589 | u193330108 | cpp |
p02553 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
typedef long long ll;
int main() {
ll a, b, c, d;
scanf("%lld %lld %lld %lld", &a, &b, &c, &d);
ll r1 = a * b, r2 = a * c, r3 = b * c, r4 = b * d;
ll res = max(max(max(r1, r2), r3), r4);
printf("%lld\n", res);
... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
using namespace std;
typedef long long ll;
int main() {
ll a, b, c, d;
scanf("%lld %lld %lld %lld", &a, &b, &c, &d);
ll r1 = a * c, r2 = a * d, r3 = b * c, r4 = b * d;
ll res = max(max(max(r1, r2), r3), r4);
printf("%lld\n", res);
... | [
"identifier.change",
"expression.operation.binary.change"
] | 249,596 | 249,597 | u698893600 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
long long max(long long a, long long b) {
if (a > b)
return a;
else if (a < b)
return b;
return a;
}
int main() {
long long a, b, c, d;
cin >> a >> b >> c >> d;
int ans = -1e9;
ans = max(a * c, b * d);
ans = max(ans, a * d);
ans = max(ans, b * ... | #include <bits/stdc++.h>
using namespace std;
long long max(long long a, long long b) {
if (a > b)
return a;
else if (a < b)
return b;
return a;
}
int main() {
long long a, b, c, d;
cin >> a >> b >> c >> d;
long long ans = -1e9;
ans = max(a * c, b * d);
ans = max(ans, a * d);
ans = max(ans... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 249,604 | 249,605 | u136209654 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define A(x) (x).begin(), (x).end()
#define sz(x) ((int)(x).size())
void _read();
#define int long long
main() {
_read();
int a, b, c, d;
cin >> a >> b >> c >> d;
int ans = a * c;
for (int x : {a, b}) {
for (int y : {c, d}) {
ans = max({ans, x * y, 0LL... | #include <bits/stdc++.h>
using namespace std;
#define A(x) (x).begin(), (x).end()
#define sz(x) ((int)(x).size())
void _read();
#define int long long
main() {
_read();
int a, b, c, d;
cin >> a >> b >> c >> d;
int ans = a * c;
for (int x : {a, b}) {
for (int y : {c, d}) {
ans = max({ans, x * y});
... | [] | 249,630 | 249,631 | u607065535 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
int P1, P2, P3, P4;
cin >> a >> b >> c >> d;
P1 = a * c;
P2 = a * d;
P3 = b * c;
P4 = b * d;
cout << max(max(P1, P2), max(P3, P4)) << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c, d;
long long P1, P2, P3, P4;
cin >> a >> b >> c >> d;
P1 = a * c;
P2 = a * d;
P3 = b * c;
P4 = b * d;
cout << max(max(P1, P2), max(P3, P4)) << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 249,636 | 249,637 | u472538904 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(a * c, max(a * d, max(b * c, b * d))) << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(a * c, max(a * d, max(b * c, b * d))) << endl;
} | [
"variable_declaration.type.change"
] | 249,638 | 249,639 | u711193305 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
cout << max({a * c, a * d, b * c, c * d}) << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
cout << max({a * c, a * d, b * c, b * d}) << endl;
} | [
"identifier.change",
"io.output.change"
] | 249,640 | 249,641 | u739489568 | cpp |
p02553 | #include <cstring>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int a, b, c, d, ans, ab, bc, cd, ad, bd, ac;
cin >> a >> b >> c >> d;
bc = b * c;
ac = a * c;
ad = a * d;
bd = b * d;
ans = bc;
if (ac > ans) {
ans = ac;
}
if (ad > ans) {
ans = ad;
... | #include <cstring>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
long long a, b, c, d, ans, bc, ad, bd, ac;
cin >> a >> b >> c >> d;
bc = b * c;
ac = a * c;
ad = a * d;
bd = b * d;
ans = bc;
if (ac > ans) {
ans = ac;
}
if (ad > ans) {
ans = ad;
... | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change",
"variable_declaration.remove"
] | 249,648 | 249,649 | u555557279 | cpp |
p02553 | #include <algorithm>
#include <bits/stdc++.h>
#include <cstdio>
#include <iostream>
#include <math.h>
#include <queue>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using namespace std;
using P = pair<int, int>;
int main() {
ll a, b, c, d;
cin >> a >> b >... | #include <algorithm>
#include <bits/stdc++.h>
#include <cstdio>
#include <iostream>
#include <math.h>
#include <queue>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using namespace std;
using P = pair<int, int>;
int main() {
ll a, b, c, d;
cin >> a >> b >... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 249,658 | 249,659 | u317738544 | cpp |
p02553 | #include <bits/stdc++.h>
#define io \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define N 10000
#define nl "\n"
#define f first
#define s second
#define pi acos(-1.0)
#define MOD 1000000007
#defi... | #include <bits/stdc++.h>
#define io \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define N 10000
#define nl "\n"
#define f first
#define s second
#define pi acos(-1.0)
#define MOD 1000000007
#defi... | [
"identifier.change",
"call.arguments.change"
] | 249,664 | 249,665 | u714871303 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define rep(i, m) for (int i = 0; i < (int)(m); i++)
int main() {
long long a, b, c, d;
cin >> a >> b >> c >> d;
long long max;
max = 0;
if (a * c > max) {
max = a * c;
}
if (a * d > max) {
max = a * d;
}
if (b * c > max) {
max = b * c;
}
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, m) for (int i = 0; i < (int)(m); i++)
int main() {
long long a, b, c, d;
cin >> a >> b >> c >> d;
long long max = -1e30;
if (a * c > max) {
max = a * c;
}
if (a * d > max) {
max = a * d;
}
if (b * c > max) {
max = b * c;
}
if... | [
"literal.number.change",
"variable_declaration.value.change"
] | 249,680 | 249,679 | u399816236 | cpp |
p02553 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (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() {
double a, b, c, d;
cin >> a >> b >> c >> d;
double z;
double max_value = a * c;
z = a * d;
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (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() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll z;
ll max_value = a * c;
z = a * d;
max_value = ... | [
"variable_declaration.type.change"
] | 249,685 | 249,686 | u608492334 | cpp |
p02553 |
#include <bits/stdc++.h>
#define lln long long int
#define llu unsigned lln
#define sc(n) scanf("%d", &n);
#define scl(n) scanf("%lld", &n);
#define scd(n) scanf("%lf", &n);
#define pf(res) printf("%d\n", res);
#define pfl(res) printf("%lld\n", res);
#define pfd(res) printf("%lf\n", res);
#define pb(n) push_back(n);
#... |
#include <bits/stdc++.h>
#define lln long long int
#define llu unsigned lln
#define sc(n) scanf("%d", &n);
#define scl(n) scanf("%lld", &n);
#define scd(n) scanf("%lf", &n);
#define pf(res) printf("%d\n", res);
#define pfl(res) printf("%lld\n", res);
#define pfd(res) printf("%lf\n", res);
#define pb(n) push_back(n);
#... | [
"identifier.change",
"expression.operation.binary.change"
] | 249,687 | 249,688 | u285938905 | cpp |
p02553 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using namespace std;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll ac, ad, bc, bd, max;
ac = a * c;
ad = a * d;
bc = b * d;
bd = b * d;
max = ac;
if (max < ad) {
max = ad;
}
if (max < ... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long;
using namespace std;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll ac, ad, bc, bd, max;
ac = a * c;
ad = a * d;
bc = b * c;
bd = b * d;
max = ac;
if (max < ad) {
max = ad;
}
if (max < ... | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 249,689 | 249,690 | u371039391 | cpp |
p02553 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
int main() {
ll a, b, c, d;
ll max = -1000000000000000001;
cin >> a >> b >> c >> d;
max = a * c;
if (max < a * d)
max = a * d;
else if (max < b * c)
max = b * c;
else if (max < b... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
int main() {
ll a, b, c, d;
ll max = -1000000000000000001;
cin >> a >> b >> c >> d;
max = a * c;
if (max < a * d)
max = a * d;
if (max < b * c)
max = b * c;
if (max < b * d)
... | [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 249,693 | 249,694 | u242709950 | cpp |
p02553 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
int main() {
ll a, b, c, d;
ll max = -1000000000000000000;
cin >> a >> b >> c >> d;
max = a * c;
if (max < a * d)
max = a * d;
else if (max < b * c)
max = b * c;
else if (max < b... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
int main() {
ll a, b, c, d;
ll max = -1000000000000000001;
cin >> a >> b >> c >> d;
max = a * c;
if (max < a * d)
max = a * d;
if (max < b * c)
max = b * c;
if (max < b * d)
... | [
"literal.number.change",
"variable_declaration.value.change",
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 249,695 | 249,694 | u242709950 | cpp |
p02553 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d; /*a<=x<=b,c<=y<=d*/
int ac, ad, bc, bd;
cin >> a >> b >> c >> d;
ac = a * c;
ad = a * d;
bc = b * c;
bd = b * d;
if (ac >= ad && ac >= bc && ac >= bd && ac >= 0) {
cout << ac << endl;
} else if (ad >= ac && ad >= bc && ad >= b... | #include <iostream>
using namespace std;
int main() {
long a, b, c, d; /*a<=x<=b,c<=y<=d*/
long ac, ad, bc, bd;
cin >> a >> b >> c >> d;
ac = a * c;
ad = a * d;
bc = b * c;
bd = b * d;
if (ac >= ad && ac >= bc && ac >= bd && ac >= 0) {
cout << ac << endl;
} else if (ad >= ac && ad >= bc && ad >=... | [
"variable_declaration.type.primitive.change"
] | 249,696 | 249,697 | u934537653 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d, ac, ad, bc, bd;
cin >> a >> b >> c >> d;
ac = a * c;
ad = a * d;
bc = b * c;
bd = b * d;
cout << max(ac, max(ad, max(bc, bd)));
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c, d, ac, ad, bc, bd;
cin >> a >> b >> c >> d;
ac = a * c;
ad = a * d;
bc = b * c;
bd = b * d;
cout << max(ac, max(ad, max(bc, bd)));
return 0;
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 249,698 | 249,699 | u006783139 | cpp |
p02553 | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
int a, b, c, d, A, B, C, D;
cin >> a >> b >> c >> d;
A = a * c;
B = a * d;
C = b * c;
D = b * d;
cout << max({A, B, C, D});
return 0;
} | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
long int a, b, c, d, A, B, C, D;
cin >> a >> b >> c >> d;
A = a * c;
B = a * d;
C = b * c;
D = b * d;
cout << max({A, B, C, D});
return 0;
} | [
"variable_declaration.type.widen.change"
] | 249,700 | 249,701 | u432255874 | cpp |
p02553 | #include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(max(b * d, a * c), max(a * c, b * d)) << '\n';
} | #include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(max(b * d, a * c), max(a * d, b * c)) << '\n';
} | [
"identifier.change",
"io.output.change"
] | 249,703 | 249,704 | u366115390 | cpp |
p02553 | #include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(max(b * d, a * b), max(a * c, b * d)) << '\n';
} | #include <bits/stdc++.h>
#define int long long
using namespace std;
signed main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(max(b * d, a * c), max(a * d, b * c)) << '\n';
} | [
"identifier.change",
"io.output.change"
] | 249,705 | 249,704 | u366115390 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int max = a * c;
if (max < a * d)
max = a * d;
if (max < b * c)
max = b * c;
if (max < b * d)
max = b * d;
cout << max << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, d;
cin >> a >> b >> c >> d;
long long int max = a * c;
if (max < a * d)
max = a * d;
if (max < b * c)
max = b * c;
if (max < b * d)
max = b * d;
cout << max << endl;
} | [
"variable_declaration.type.widen.change"
] | 249,706 | 249,707 | u270535768 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll e = a * c;
ll f = a * d;
ll g = b * e;
ll h = b * f;
ll A = max(e, f);
ll B = max(g, h);
cout << max(A, B) << endl;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll e = a * c;
ll f = a * d;
ll g = b * c;
ll h = b * d;
ll A = max(e, f);
ll B = max(g, h);
cout << max(A, B) << endl;
}
| [
"identifier.change",
"expression.operation.binary.change"
] | 249,708 | 249,709 | u830708900 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<ii> vii;
typedef vector<int> vi;
#if !defined(M_PI)
#define M_E 2.71828182845904523536
#define M_LOG2E 1.44269504088896340736
#define M_LOG10E 0.434294481903251827651
#define M_LN2 0.693147180559945309417
#d... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<ii> vii;
typedef vector<int> vi;
#if !defined(M_PI)
#define M_E 2.71828182845904523536
#define M_LOG2E 1.44269504088896340736
#define M_LOG10E 0.434294481903251827651
#define M_LN2 0.693147180559945309417
#d... | [
"variable_declaration.type.change"
] | 249,710 | 249,711 | u320023439 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, d;
cin >> a >> b >> c >> d;
long long int u = a * c;
long long int v = a * d;
long long int w = b * c;
long long int x = b * c;
cout << max({u, v, w, x});
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, d;
cin >> a >> b >> c >> d;
long long int u = a * c;
long long int v = a * d;
long long int w = b * c;
long long int x = b * d;
cout << max({u, v, w, x});
}
| [
"identifier.change",
"expression.operation.binary.change"
] | 249,712 | 249,713 | u321482395 | cpp |
p02553 |
#include <bits/stdc++.h>
using namespace std;
double pi = 3.14159265358979323846264338;
inline void ex() {
cout << "NO" << endl;
exit(0);
}
long long a, b, c, d;
int main() {
cin >> a >> b >> c >> d;
long long n = a * c;
n = min(n, a * d);
n = min(n, b * c);
n = min(n, b * d);
cout << n << endl;
re... |
#include <bits/stdc++.h>
using namespace std;
double pi = 3.14159265358979323846264338;
inline void ex() {
cout << "NO" << endl;
exit(0);
}
long long a, b, c, d;
int main() {
cin >> a >> b >> c >> d;
long long n = a * c;
n = max(n, a * d);
n = max(n, b * c);
n = max(n, b * d);
cout << n << endl;
re... | [
"misc.opposites",
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 249,714 | 249,715 | u176843436 | cpp |
p02553 | #ifdef LOCAL
#include <header.hpp>
#else
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/priority_queue.hpp>
#endif
#define lp(i, l, r) for (auto i = regu(l); i <= decltype(i)(r); ++i)
#define rp(i, r, l) for (auto i = regu(r); i >= decltype(i)(l); --i)
#define lv(i, a) for (int i ... | #ifdef LOCAL
#include <header.hpp>
#else
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/priority_queue.hpp>
#endif
#define lp(i, l, r) for (auto i = regu(l); i <= decltype(i)(r); ++i)
#define rp(i, r, l) for (auto i = regu(r); i >= decltype(i)(l); --i)
#define lv(i, a) for (int i ... | [
"call.arguments.change"
] | 249,716 | 249,717 | u838867638 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
using vl = vector<ll>;
using vvl = vector<vl>;
#define mp make_pair
#define pb push_back
#define _overload3(_1, _2, _3, name, ...) name
#define _rep(i, n) repi(i, 0, n)
#define repi(i, a, b) for (int i = int(a); i < int(b); i+... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
using vl = vector<ll>;
using vvl = vector<vl>;
#define mp make_pair
#define pb push_back
#define _overload3(_1, _2, _3, name, ...) name
#define _rep(i, n) repi(i, 0, n)
#define repi(i, a, b) for (int i = int(a); i < int(b); i+... | [
"variable_declaration.type.change"
] | 249,718 | 249,719 | u556120601 | cpp |
p02553 | #include <iostream>
using namespace std;
int main() {
unsigned long a, b, c, d;
cin >> a >> b >> c >> d;
unsigned long aa, bb, cc, dd;
aa = a * c;
bb = b * c;
dd = a * d;
cc = b * d;
cout << max(aa, max(bb, max(cc, dd)));
} | #include <iostream>
using namespace std;
int main() {
long a, b, c, d;
cin >> a >> b >> c >> d;
long aa, bb, cc, dd;
aa = a * c;
bb = b * c;
dd = a * d;
cc = b * d;
cout << max(aa, max(bb, max(cc, dd)));
} | [
"variable_declaration.type.narrow.change"
] | 249,724 | 249,725 | u718626103 | cpp |
p02553 | #include <iostream>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int aa, bb, cc, dd;
aa = a * c;
bb = b * c;
dd = a * d;
cc = b * d;
cout << max(aa, max(bb, max(cc, dd)));
} | #include <iostream>
using namespace std;
int main() {
long a, b, c, d;
cin >> a >> b >> c >> d;
long aa, bb, cc, dd;
aa = a * c;
bb = b * c;
dd = a * d;
cc = b * d;
cout << max(aa, max(bb, max(cc, dd)));
} | [
"variable_declaration.type.primitive.change"
] | 249,726 | 249,725 | u718626103 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define m 1000000007
/*ll binpow(ll a,ll b,ll mod)
{
ll res=1;
a%=mod;
while (b > 0)
{
if(b & 1)
{
res = (res * a)%mod;
}
a=(a*a)%mod;
b >>= 1;
}
return res;
}*/
int main... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define m 1000000007
/*ll binpow(ll a,ll b,ll mod)
{
ll res=1;
a%=mod;
while (b > 0)
{
if(b & 1)
{
res = (res * a)%mod;
}
a=(a*a)%mod;
b >>= 1;
}
return res;
}*/
int main... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 249,733 | 249,734 | u174471042 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, a, b) for (register int i = a; i <= b; i++)
ll a, b, c, d;
inline void solve(int T) {
cin >> a >> b >> c >> d;
ll ans = a * c;
ans = max(ans, a * d);
ans = max(ans, b * c);
ans = max(ans, b * d);
cout << ans;
}
int main() ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, a, b) for (register int i = a; i <= b; i++)
ll a, b, c, d;
inline void solve(int T) {
cin >> a >> b >> c >> d;
ll ans = a * c;
ans = max(ans, a * d);
ans = max(ans, b * c);
ans = max(ans, b * d);
cout << ans;
}
int main() ... | [] | 249,735 | 249,736 | u770562593 | cpp |
p02553 | #include <bits/stdc++.h>
#include <chrono>
#include <ext/pb_ds/assoc_container.hpp>
#define pb push_back
#define INF 0x3f3f3f3f
#define LINF 0x3f3f3f3f3f3f3f3f
#define endl '\n'
#define ll long long
#define f first
#define fin cin
#define fout cout
#define s second
#define FAST cin.tie(0), cout.tie(0), ios::sync_with_s... | #include <bits/stdc++.h>
#include <chrono>
#include <ext/pb_ds/assoc_container.hpp>
#define pb push_back
#define INF 0x3f3f3f3f
#define LINF 0x3f3f3f3f3f3f3f3f
#define endl '\n'
#define ll long long
#define f first
#define fin cin
#define fout cout
#define int long long
#define s second
#define FAST cin.tie(0), cout.ti... | [] | 249,737 | 249,738 | u437229403 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define fr(i, a, b) for (int i = (a), _b = (b); i <= _b; i++)
#define rep(i, n) for (int i = 0... | #include <bits/stdc++.h>
using namespace std;
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define fr(i, a, b) for (int i = (a), _b = (b); i <= _b; i++)
#define rep(i, n) for (int i = 0... | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 249,741 | 249,742 | u909051929 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
// typedef
typedef long long ll;
typedef pair<int, int> PII;
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<bool> VB;
typedef vector<VB> VVB;
typedef vector<string> VS;
// repetition
#define FOR(i, a, b) for (int i = int(a); i < int(b); ++i)
#define FORD(i, ... | #include <bits/stdc++.h>
using namespace std;
// typedef
typedef long long ll;
typedef pair<int, int> PII;
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<bool> VB;
typedef vector<VB> VVB;
typedef vector<string> VS;
// repetition
#define FOR(i, a, b) for (int i = int(a); i < int(b); ++i)
#define FORD(i, ... | [
"variable_declaration.type.change"
] | 249,743 | 249,744 | u385165020 | cpp |
p02553 | #include <algorithm>
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
ll ans = a * c;
if (ans < a * d)
ans = (ll)a * d;
if (ans < b * c)
ans = (ll)b * c;
if (ans < b * d)
ans = (ll)b * d;
cout << ans << endl;
return 0;
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll ans = a * c;
if (ans < a * d)
ans = (ll)a * d;
if (ans < b * c)
ans = (ll)b * c;
if (ans < b * d)
ans = (ll)b * d;
cout << ans << endl;
return 0;
}
| [
"variable_declaration.type.change"
] | 249,760 | 249,761 | u593392188 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define pb push_back
#define mp make_pair
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
vector<int> v = {a * c, a * d, b * c, b * d};
int mx = *max_element(v.begin(), v.end());
cout << mx;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define pb push_back
#define mp make_pair
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
vector<ll> v = {a * c, a * d, b * c, b * d};
ll mx = *max_element(v.begin(), v.end());
cout << mx;
return 0;
}
| [
"variable_declaration.type.change"
] | 249,766 | 249,767 | u274868089 | cpp |
p02553 | #include <algorithm>
#include <climits>
#include <cmath>
#include <iostream>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <variant>
#include <vector>
using namespace std;
int main(void) {
long long int dat[4], max = LLONG_MIN;
cin >> dat[0] >> dat[1] >> dat[2] >> dat[3];
for (int ... | #include <algorithm>
#include <climits>
#include <cmath>
#include <iostream>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <variant>
#include <vector>
using namespace std;
int main(void) {
long long int dat[4], max = LLONG_MIN;
cin >> dat[0] >> dat[1] >> dat[2] >> dat[3];
for (int ... | [
"literal.number.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.change",
"variable_declaration.value.change",
"control_flow.loop.for.initializer.change"
] | 249,768 | 249,769 | u198404065 | cpp |
p02553 | #include <algorithm>
#include <cmath>
#include <iostream>
#include <vector>
#define rep(i, n) for (int i = 0; i, (n); ++i)
using ll = long long;
using namespace std;
int sum(int n) {
if (n == 0) {
return 0;
}
int s = sum(n - 1);
return s + n;
}
int main() {
int A, B, C, D;
ll ans = -1000000000000000000... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <vector>
#define rep(i, n) for (int i = 0; i, (n); ++i)
using ll = long long;
using namespace std;
int sum(int n) {
if (n == 0) {
return 0;
}
int s = sum(n - 1);
return s + n;
}
int main() {
ll A, B, C, D;
ll ans = -1000000000000000000;... | [
"variable_declaration.type.change"
] | 249,770 | 249,771 | u126886767 | cpp |
p02553 | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
const int MOD = (int)1e9 + 7;
const double PI = 3.14159265358979323846;
template <class T, class U> void chmin(T &t, const U &u) {
if (t > u)
t = u;
}
template <class T, class U> void chmax(T &t, co... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
const int MOD = (int)1e9 + 7;
const double PI = 3.14159265358979323846;
template <class T, class U> void chmin(T &t, const U &u) {
if (t > u)
t = u;
}
template <class T, class U> void chmax(T &t, co... | [
"literal.number.change",
"variable_declaration.value.change"
] | 249,780 | 249,779 | u442523045 | cpp |
p02553 | // Stan EXO
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int x, y, z, m, f, k;
x = a * c;
y = a * d;
z = b * c;
m = b * d;
f = max(x, y);
k = max(z, m);
cout << max(f, k);
return 0;
} | // Stan EXO
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll x, y, z, m, f, k;
x = a * c;
y = a * d;
z = b * c;
m = b * d;
f = max(x, y);
k = max(z, m);
cout << max(f, k);
return 0;
} | [
"variable_declaration.type.change"
] | 249,785 | 249,786 | u393964367 | cpp |
p02553 | #include <algorithm>
#include <array>
#include <atomic>
#include <bitset>
#include <chrono>
#include <complex>
#include <condition_variable>
#include <deque>
#include <exception>
#include <forward_list>
#include <fstream>
#include <functional>
#include <future>
#include <initializer_list>
#include <iomanip>
#include <i... | #include <algorithm>
#include <array>
#include <atomic>
#include <bitset>
#include <chrono>
#include <complex>
#include <condition_variable>
#include <deque>
#include <exception>
#include <forward_list>
#include <fstream>
#include <functional>
#include <future>
#include <initializer_list>
#include <iomanip>
#include <i... | [
"literal.number.change",
"assignment.variable.change",
"call.function.change",
"expression.operation.binary.change"
] | 249,789 | 249,790 | u912087911 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a >> b >> c >> d;
long long r1 = a * c, r2 = a * d, r3 = b * c, r4 = b * d;
long long res = min(min(r1, r2), min(r3, r4));
cout << res;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a >> b >> c >> d;
long long r1 = a * c, r2 = a * d, r3 = b * c, r4 = b * d;
long long res = max(max(r1, r2), max(r3, r4));
cout << res;
return 0;
} | [
"misc.opposites",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 249,796 | 249,797 | u348026128 | cpp |
p02553 | #include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
int hasil = a * c;
hasil = max(hasil, a * d);
hasil = max(hasil, b * c);
hasil = max(hasil, b * d);
cout << hasil << '\n';
return 0;
} | #include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
using namespace std;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll hasil = a * c;
hasil = max(hasil, a * d);
hasil = max(hasil, b * c);
hasil = max(hasil, b * d);
cout << hasil << '\n';
return 0;
} | [
"variable_declaration.type.change"
] | 249,800 | 249,801 | u772596498 | cpp |
p02553 | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
// #define int long long
template <class T> bool INRANGE(T x, T a, T b) { return a <= x && x <= b; }
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chma... | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
// #define int long long
template <class T> bool INRANGE(T x, T a, T b) { return a <= x && x <= b; }
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chma... | [] | 249,806 | 249,807 | u299377613 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
long long ans = 0;
cin >> a >> b >> c >> d;
ans = a * c;
if (a * d > ans) {
ans = a * d;
}
if (b * c > ans) {
ans = b * c;
}
if (b * d > ans) {
ans = b * d;
}
cout << ans << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c, d;
long long ans = 0;
cin >> a >> b >> c >> d;
ans = a * c;
if (a * d > ans) {
ans = a * d;
}
if (b * c > ans) {
ans = b * c;
}
if (b * d > ans) {
ans = b * d;
}
cout << ans << endl;
return 0;
} | [
"variable_declaration.type.primitive.change",
"variable_declaration.type.widen.change"
] | 249,813 | 249,814 | u567920843 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(max(a * c, a * d), max(b * c, b * c)) << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(max(a * c, a * d), max(b * c, b * d)) << endl;
return 0;
} | [
"identifier.change",
"io.output.change"
] | 249,822 | 249,823 | u861656988 | cpp |
p02553 | // atcoder contests //
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define nl "\n";
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
// problem statements implementation
int a, b, c, d;
cin >> a >> b >> c >> d;
vector<ll> v;
// v.push_back(a*b);
v.push_back... | // atcoder contests //
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define nl "\n";
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
// problem statements implementation
ll a, b, c, d;
cin >> a >> b >> c >> d;
vector<ll> v;
// v.push_back(a*b);
v.push_back(... | [
"variable_declaration.type.change"
] | 249,824 | 249,825 | u628570833 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
typedef vector<ll> vl;
typedef pair<ll, ll> pll;
typedef set<ll> sl;
typedef map<ll, ll> mll;
typedef vector<pll> vll;
#define pb push_back
#define F first
#define S second
#define mp make_pair
#define endl '\n'
#define loop(i, a, b) for (ll i = a; i <... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
typedef vector<ll> vl;
typedef pair<ll, ll> pll;
typedef set<ll> sl;
typedef map<ll, ll> mll;
typedef vector<pll> vll;
#define pb push_back
#define F first
#define S second
#define mp make_pair
#define endl '\n'
#define loop(i, a, b) for (ll i = a; i <... | [
"literal.number.change",
"variable_declaration.value.change"
] | 249,835 | 249,834 | u424277585 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
long long int x = a * c, y = a * d, z = b * c, l = b * d;
cout << max(x, max(y, max(z, l)));
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, d;
cin >> a >> b >> c >> d;
long long int x = a * c, y = a * d, z = b * c, l = b * d;
cout << max(x, max(y, max(z, l)));
} | [
"variable_declaration.type.widen.change"
] | 249,836 | 249,837 | u407773497 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const ll mxn = 5e5 + 5;
// check for forloop
// intialize variable
// overflow
// go for easy solution
#define mod 1000000007
ll INF = 1000000000000000005LL;
#define endl '\n'
void rishabh() {
ios_base::sync_with_stdio... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
const ll mxn = 5e5 + 5;
// check for forloop
// intialize variable
// overflow
// go for easy solution
#define mod 1000000007
ll INF = 1000000000000000005LL;
#define endl '\n'
void rishabh() {
ios_base::sync_with_stdio... | [
"identifier.change",
"io.output.change"
] | 249,853 | 249,854 | u577654787 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define rep2(i, m, n) for (int i = (m); i < (n); ++i)
#define rep(i, n) rep2(i, 0, n)
#define debug(x) cerr << x << endl
typedef long long int ll;
typedef long double ld;
typedef pair<int, int> P;
template <typename T> struct V : vector<T> { using vector<T>::vector; };
V()-... | #include <bits/stdc++.h>
using namespace std;
#define rep2(i, m, n) for (int i = (m); i < (n); ++i)
#define rep(i, n) rep2(i, 0, n)
#define debug(x) cerr << x << endl
typedef long long int ll;
typedef long double ld;
typedef pair<int, int> P;
template <typename T> struct V : vector<T> { using vector<T>::vector; };
V()-... | [
"literal.number.change",
"assignment.variable.change",
"variable_access.subscript.index.change",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 249,861 | 249,862 | u389007679 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
#define MOD 1000000007
template <typename Type> istream &operator>>(istream &in, vector<Type> &vec) {
ll n = vec.size();
for (ll i = 0; i < n; i++)
in >> vec[i];
return in;
}
template <typename Type> ostream &operator<... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
#define MOD 1000000007
template <typename Type> istream &operator>>(istream &in, vector<Type> &vec) {
ll n = vec.size();
for (ll i = 0; i < n; i++)
in >> vec[i];
return in;
}
template <typename Type> ostream &operator<... | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 249,863 | 249,864 | u130433563 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define si(a) scanf("%d", &a)
#define si2(a, b) scanf("%d%d", &a, &b)
#define sl(a) scanf("%lld", &a)
#define sl2(a, b) scanf("%lld%lld", &a, &b)
#define pb push_back
#define mk make_pair
#define loop(n) for (int i = 0; i < n; i++)
#de... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define si(a) scanf("%d", &a)
#define si2(a, b) scanf("%d%d", &a, &b)
#define sl(a) scanf("%lld", &a)
#define sl2(a, b) scanf("%lld%lld", &a, &b)
#define pb push_back
#define mk make_pair
#define loop(n) for (int i = 0; i < n; i++)
#de... | [
"identifier.change",
"expression.operation.binary.change"
] | 249,867 | 249,868 | u224435863 | cpp |
p02553 | #include <bits/stdc++.h>
#define int long long
#define rep1(i, a, b) for (int i = a; i < b; i++)
#define rep2(i, a, b) for (int i = a; i >= b; i--)
#define mod 1000000009
#define garou \
ios_base::sync_with_stdio(false); ... | #include <bits/stdc++.h>
#define int long long
#define rep1(i, a, b) for (int i = a; i < b; i++)
#define rep2(i, a, b) for (int i = a; i >= b; i--)
#define mod 1000000009
#define garou \
ios_base::sync_with_stdio(false); ... | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 249,869 | 249,870 | u090250753 | cpp |
p02553 | #include <iostream>
using namespace std;
typedef long long ll;
int main(void) {
ll a, b, c, d, result;
cin >> a >> b >> c >> d;
if (result < a * d)
result = a * d;
if (result < b * c)
result = b * c;
if (result < b * d)
result = b * d;
cout << result << endl;
return 0;
}
| #include <iostream>
using namespace std;
typedef long long ll;
int main(void) {
ll a, b, c, d, result;
cin >> a >> b >> c >> d;
result = a * c;
if (result < a * d)
result = a * d;
if (result < b * c)
result = b * c;
if (result < b * d)
result = b * d;
cout << result << endl;
return 0;
}... | [
"assignment.add"
] | 249,871 | 249,872 | u437824659 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
long long int A[4];
A[0] = (a * c);
A[1] = (b * c);
A[2] = (a * d);
A[3] = (b * d);
sort(A, A + 4);
cout << (A[3]) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, b, c, d;
cin >> a >> b >> c >> d;
long long int A[4];
A[0] = (a * c);
A[1] = (b * c);
A[2] = (a * d);
A[3] = (b * d);
sort(A, A + 4);
cout << (A[3]) << endl;
} | [
"variable_declaration.type.widen.change"
] | 249,876 | 249,877 | u228118733 | cpp |
p02553 | #pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#include <chrono>
using namespace std::chrono;
#define fl(i, z, n) for (int i = z; i <= (n); i++)
#define flr(i, z, n) for (int i = z; i >= (n); i--)
using namespace std;
#define ll long ... | #pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#include <chrono>
using namespace std::chrono;
#define fl(i, z, n) for (int i = z; i <= (n); i++)
#define flr(i, z, n) for (int i = z; i >= (n); i--)
using namespace std;
#define ll long ... | [
"literal.number.change",
"variable_declaration.value.change"
] | 249,878 | 249,879 | u222755066 | cpp |
p02553 | #pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#include <chrono>
using namespace std::chrono;
#define fl(i, z, n) for (int i = z; i <= (n); i++)
#define flr(i, z, n) for (int i = z; i >= (n); i--)
using namespace std;
#define ll long ... | #pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#include <chrono>
using namespace std::chrono;
#define fl(i, z, n) for (int i = z; i <= (n); i++)
#define flr(i, z, n) for (int i = z; i >= (n); i--)
using namespace std;
#define ll long ... | [
"literal.number.change",
"variable_declaration.value.change",
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 249,880 | 249,879 | u222755066 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(max(a * c, b * d), max(a * d, b * c)) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t a, b, c, d;
cin >> a >> b >> c >> d;
cout << max(max(a * c, b * d), max(a * d, b * c)) << endl;
} | [
"variable_declaration.type.primitive.change"
] | 249,883 | 249,884 | u018890850 | cpp |
p02553 | #include <bits/stdc++.h>
#include <cmath>
#define ll int
#define mod (long long)(1e9 + 7)
// #define endl "\n"
using namespace std;
#define ld long double
// unordered_map<_____,_____,custom_hash>
struct custom_hash {
static uint64_t splitmix64(uint64_t x) {
// http://xorshift.di.unimi.it/splitmix64.c
x += 0x... | #include <bits/stdc++.h>
#include <cmath>
#define ll long long
#define mod (long long)(1e9 + 7)
// #define endl "\n"
using namespace std;
#define ld long double
// unordered_map<_____,_____,custom_hash>
struct custom_hash {
static uint64_t splitmix64(uint64_t x) {
// http://xorshift.di.unimi.it/splitmix64.c
x... | [
"preprocessor.define.value.change",
"identifier.change",
"io.output.change"
] | 249,885 | 249,886 | u941197780 | cpp |
p02553 | #include <iostream>
using namespace std;
#include <algorithm>
#include <map>
#include <string>
#include <vector>
typedef long long ll;
#include <cmath>
#include <iomanip>
const int MOD = 1000000007;
int main(int argc, char *argv[]) {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll ret = a * c, ad = a * d, bc = b * ... | #include <iostream>
using namespace std;
#include <algorithm>
#include <map>
#include <string>
#include <vector>
typedef long long ll;
#include <cmath>
#include <iomanip>
const int MOD = 1000000007;
int main(int argc, char *argv[]) {
ll a, b, c, d;
cin >> a >> b >> c >> d;
ll ret = a * c, ad = a * d, bc = b * ... | [
"identifier.change",
"expression.operation.binary.change"
] | 249,897 | 249,898 | u770567389 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a >> b >> c >> d;
cout << max({0LL, b * d, a * c, a * d, b * c});
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a >> b >> c >> d;
cout << max({b * d, a * c, a * d, b * c});
}
| [] | 249,901 | 249,902 | u304283138 | cpp |
p02553 | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
int main() {
// freopen("input.txt", "r", stdin);
long long a, b, c, d;
scanf("%lld %lld %ll... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
int main() {
// freopen("input.txt", "r", stdin);
long long a, b, c, d;
scanf("%lld %lld %ll... | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 249,911 | 249,912 | u619248223 | cpp |
p02553 | #include <bits/stdc++.h>
using namespace std;
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define forn(i, n) for (ll i = 0; i < (ll)(n); ++i)
#define ll long long
int main() {
ios::sync_with_stdio(false);
cin.tie(nullpt... | #include <bits/stdc++.h>
using namespace std;
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define forn(i, n) for (ll i = 0; i < (ll)(n); ++i)
#define ll long long
int main() {
ios::sync_with_stdio(false);
cin.tie(nullpt... | [
"variable_declaration.type.change"
] | 249,913 | 249,914 | u259277220 | cpp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.