# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
373461 | Atill83 | Deda (COCI17_deda) | C++14 | 286 ms | 6456 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
#define endl '\n'
using namespace std;
const long long INF = (long long) 1e18;
const int mod = (int) 1e9+7;
const int MAXN = (int) 2e5+5;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
int n, q;
struct item {
int val, ans, binme;
ll pri;
item * l, *r;
void init(int vl, int bine){
val = vl;
binme = bine;
ans = bine;
pri = (((ll)(rand() % (1<<30))<<30) + (rand() % (1<<30)));
l = NULL, r = NULL;
}
};
typedef item * pitem;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |