# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1146217 | rado15 | Easter Eggs (info1cup17_eastereggs) | C++20 | 8 ms | 504 KiB |
#include <bits/stdc++.h>
#include "grader.h"
#define endl '\n'
#define ll long long int
using namespace std;
const int maxn = 600;
void speed()
{
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
}
vector<int> v[maxn];
bool used[maxn];
vector<int> topo;
void DFS(int beg)
{
used[beg] = true;
topo.push_back(beg);
for(auto &nb: v[beg])
{
if(!used[nb])
{
DFS(nb);
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |