Problem hunter
User chenweilian
Submission Time 2023-12-01 15:31:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hunter.cpp:5:1: error: ‘vvi’ does not name a type
5 | vvi paths;
| ^~~
hunter.cpp:7:1: error: ‘vi’ does not name a type
7 | vi arr, brr;
| ^~
hunter.cpp: In function ‘void preorder(int, int)’:
hunter.cpp:10:13: error: ‘paths’ was not declared in this scope
10 | int l = paths[x].size();
| ^~~~~
hunter.cpp:13:13: error: ‘arr’ was not declared in this scope
13 | arr.pushb(x);
| ^~~
hunter.cpp:16:13: error: ‘brr’ was not declared in this scope
16 | brr.pushb(x);
| ^~~
hunter.cpp:20:13: error: ‘i’ was not declared in this scope
20 | REP(i, l) {
| ^
hunter.cpp:20:9: error: ‘REP’ was not declared in this scope
20 | REP(i, l) {
| ^~~
hunter.cpp: At global scope:
hunter.cpp:29:41: error: ‘vi’ has not been declared
29 | void hunter(int N, int M, int S, int D,