# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
975748 | Nexus | Cyberland (APIO23_cyberland) | C++17 | 1567 ms | 2097152 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.
#define ll long long
#include "cyberland.h"
#include <bits/stdc++.h>
using namespace std;
const ll N=1e5+9;
ll a[N],h,k;
bool balt;
vector<ll>v[N],r;
map<pair<ll,ll>,double>m;
void dfs(ll node,ll pa)
{
if(node==h)
{
r.push_back(node);
balt=1;
return;
}
//cout<<node<<' ';
for(auto i:v[node])
{
if(i!=pa)
dfs(i,node);
if(balt)
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... |
# | 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... |