# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1171837 | Math4Life2020 | Distributing Candies (IOI21_candies) | C++20 | 2106 ms | 43696 KiB |
#include <bits/stdc++.h>
using namespace std;
using ll = long long; using pii = pair<ll,ll>;
const ll INF = 1e18;
inline pii fzmax(pii p1, pii p2) {
if (p1.first>p2.first) {
return p1;
}
return p2;
}
inline pii fzmin(pii p1, pii p2) {
if (p1.first<p2.first) {
return p1;
}
return p2;
}
inline ll v2(ll x) {
return __builtin_ctz(x);
}
const ll Nm = 262144; const ll E = 18;
ll minv[2*Nm];
ll minl[2*Nm];
ll maxv[2*Nm];
ll maxl[2*Nm];
ll lz[2*Nm]; //ALREADY APPLIED
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |