# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
737757 | arnold518 | Council (JOI23_council) | C++17 | 2879 ms | 534676 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<pii, pii> ppp;
const int MAXN = 3e5;
const int MAXM = 20;
const int INF = 1e9;
int N, M, A[MAXN+10][MAXM+10];
int P[MAXM+10];
int B[MAXN+10];
ppp dp[(1<<MAXM)+10][MAXM+10];
pii operator + (pii p, int q)
{
return {p.first+q, p.second};
}
ppp operator + (ppp p, int q)
{
return {p.first+q, p.second+q};
}
void f(ppp &p, ppp q)
{
Compilation message (stderr)
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |