# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
234431 | NONAME | Deda (COCI17_deda) | C++17 | 120 ms | 3704 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 all(x) x.begin(), x.end()
#define sz(x) int(x.size())
#define in(x) freopen(x, "r", stdin)
#define out(x) freopen(x, "w", stdout)
#define N 100500
#define oo ll(1e16)
#define ft first
#define sd second
#define mp make_pair
#define pb push_back
#define ppb pop_back
#define el '\n'
#define elf endl
#define base ll(1e9 + 7)
using namespace std;
typedef long long ll;
typedef long double ld;
int n, q;
int t[8 * N];
void build(int v, int l, int r) {
t[v] = 2e9;
if (l >= r)
return;
int md = (l + r) >> 1;
build(v + v, l, md);
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |