# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
227657 | arman_ferdous | Senior Postmen (BOI14_postmen) | C++17 | 376 ms | 39416 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.
/* Author : arman_ferdous
* Date : 28 Apr 2020 14:31:14
* TAG : Euler Tour
*/
#include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("O3,unroll-loops")
#pragma GCC target("avx,avx2,fma")
using ll = long long;
using ii = pair<int,int>;
const int N = 5e5+10;
const int M = 1e6+10;
int n, m;
int eptr, to[M], pre[M], last[M];
void add_edge(int u, int v) {
to[eptr] = v;
pre[eptr] = last[u];
last[u] = eptr;
eptr++;
}
int vis[M];
int st[M], ptr;
void tour(int u) {
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... |