Problem | richzhe |
---|---|
User | itsLQ |
Submission Time | 2024-12-16 12:00:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
richzhe.cpp: In function ‘void dfs(int, int, int)’:
richzhe.cpp:39:23: error: too few arguments to function ‘void dfs(int, int, int)’
39 | dfs(adj, n);
| ^
richzhe.cpp:27:6: note: declared here
27 | void dfs(int n, int maxDist, int x) {
| ^~~
richzhe.cpp:43:36: error: ‘kpa’ was not declared in this scope; did you mean ‘pa’?
43 | for (int adj: children[kpa(dist - maxDist + x)]) add(adj, -1);
| ^~~
| pa
richzhe.cpp: In function ‘void prop(int)’:
richzhe.cpp:58:20: error: too many arguments to function ‘void prop(int)’
58 | prop(adj, n);
| ^
richzhe.cpp:49:6: note: declared here
49 | void prop(int n) {
| ^~~~
richzhe.cpp: In function ‘int main()’:
richzhe.cpp:115:27: error: ‘x’ was not declared in this scope
115 | c