# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
16892 | erdemkiraz | XOR (IZhO12_xor) | C++98 | 548 ms | 86780 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;
#define type(x) __typeof((x).begin())
#define foreach(it, x) for(type(x) it = (x).begin(); it != (x).end(); it++)
typedef long long ll;
typedef pair < int, int > ii;
const int inf = 1e9 + 333;
const ll linf = 1e18 + inf;
const int N = 250000 + 5;
const int LOG = 31;
int n, k;
int a[N];
class trie{ public:
int id;
trie *c[2], *dad;
trie() {
id = inf;
c[0] = c[1] = dad = 0;
}
};
typedef trie* pTrie;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |