# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
46281 | fredbr | Art Exhibition (JOI18_art) | C++17 | 128 ms | 24204 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>
#define ff first
#define ss second
using namespace std;
typedef long long ll;
typedef pair<ll, ll> ii;
const int maxn = 500010;
const ll inf = 0x3f3f3f3f3f3f3f3f;
ll p[maxn];
ii v[maxn];
ll a[maxn];
ll b[maxn];
ll s[maxn];
inline ll scan () {
ll result = 0;
char ch;
ch = getchar_unlocked();
while (true) {
if (ch >= '0' && ch <= '9') break;
ch = getchar_unlocked();
}
result = ch-'0';
# | 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... |