# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
945414 | LucaIlie | Valley (BOI19_valley) | C++17 | 271 ms | 32112 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;
struct edge {
int u, v, w;
int other( int x ) {
return u ^ v ^ x;
}
};
struct query {
int v, e;
};
struct SegTree {
int l, r;
long long zero;
vector<long long> aint;
void init( int _l, int _r, long long _zero ) {
l = _l;
r = _r;
zero = _zero;
aint.resize( 4 * (r - l + 1) );
for ( int v = 0; v < aint.size(); v++ )
aint[v] = zero;
}
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... |