# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
951806 | Vladth11 | Measures (CEOI22_measures) | C++14 | 227 ms | 56512 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 debug(x) cerr << #x << " " << x << "\n"
#define debugs(x) cerr << #x << " " << x << " "
#define int long long
using namespace std;
typedef long long ll;
typedef pair <int, int> pii;
const ll NMAX = 400001;
const int INF = (1LL << 56);
const ll nrbits = 20;
const ll MOD = 998244353;
const int VMAX = 10;
int d, cnt;
int lazy[NMAX * 4];
vector <pii> tot;
struct elem{
int val, nrm;
}a[NMAX], b[NMAX];
bool cmp(pii aa, pii bb){
int prim = a[aa.first].val;
if(aa.second == 1)
prim = b[aa.first].val;
int sec = a[bb.first].val;
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... |