Problem | infiniteloop |
---|---|
User | Pan |
Submission Time | 2024-03-18 17:32:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
infiniteloop.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
infiniteloop.cpp:26:9: error: ‘pair’ does not name a type
26 | typedef pair<ld, ll> pd;
| ^~~~
infiniteloop.cpp:27:9: error: ‘pair’ does not name a type
27 | typedef pair<string, ll> psl;
| ^~~~
infiniteloop.cpp:28:9: error: ‘pair’ does not name a type
28 | typedef pair<ll, ll> pi;
| ^~~~
infiniteloop.cpp:29:9: error: ‘pair’ does not name a type
29 | typedef pair<ll, pi> pii;
| ^~~~
infiniteloop.cpp:33:1: error: ‘vector’ does not name a type
33 | vector<pi> adj[300005];
| ^~~~~~
infiniteloop.cpp: In function ‘void dfs(ll, ll)’:
infiniteloop.cpp:45:7: error: ‘pi’ was not declared in this scope; did you mean ‘pb’?
45 | for (pi u: adj[at]) if (at!=u.f) dfs(u.f, left+u.s);
| ^~
|