| Problem | mrt2 |
|---|---|
| User | Sans12345 |
| Submission Time | 2024-12-03 12:56:32 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
mrt2.cpp:14:4: error: redefinition of ‘ll cnt’
14 | ll cnt=1;
| ^~~
mrt2.cpp:10:28: note: ‘ll cnt’ previously defined here
10 | ll t[maxn],a[maxn],c[maxn],cnt=0;
| ^~~
mrt2.cpp: In function ‘int main()’:
mrt2.cpp:16:35: error: no matching function for call to ‘edge::edge(int, int, int, int, int)’
16 | edgelist[0] = edge(0,-1,-1,0,0);
| ^
mrt2.cpp:5:8: note: candidate: ‘edge::edge()’
5 | struct edge{
| ^~~~
mrt2.cpp:5:8: note: candidate expects 0 arguments, 5 provided
mrt2.cpp:5:8: note: candidate: ‘constexpr edge::edge(const edge&)’
mrt2.cpp:5:8: note: candidate expects 1 argument, 5 provided
mrt2.cpp:5:8: note: candidate: ‘constexpr edge::edge(edge&&)’
mrt2.cpp:5:8: note: candidate expects 1 argument, 5 provided
mrt2.cpp:26:13: error: ‘adj’ was not declared in this scope
26 | adj[a[j]].push_back(cn