| Problem | subgraphs |
|---|---|
| User | carson |
| Submission Time | 2026-02-25 17:44:12 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
subgraphs.cpp:5:15: error: expected initializer before numeric constant
5 | const ll maxn 1000005;
| ^~~~~~~
subgraphs.cpp:7:8: error: ‘maxn’ was not declared in this scope
7 | ll par[maxn];
| ^~~~
subgraphs.cpp: In function ‘long long int find_par(long long int)’:
subgraphs.cpp:11:6: error: ‘par’ was not declared in this scope; did you mean ‘__pstl::execution::v1::par’?
11 | if (par[u] == u) return u;
| ^~~
| __pstl::execution::v1::par
In file included from /usr/include/c++/9/pstl/glue_algorithm_defs.h:15,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from subgraphs.cpp:1:
/usr/include/c++/9/pstl/execution_defs.h:114:27: note: ‘__pstl::execution::v1::par’ declared here
114 | constexpr parallel_policy par{};
| ^~~
subgraphs.cpp:12:9: