Problem | payraise |
---|---|
User | KingKav199 |
Submission Time | 2023-12-13 15:18:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
payraise.cpp:1:19: error: ‘rooting’ does not name a type
1 | int par[1000007]; rooting tree
| ^~~~~~~
payraise.cpp:2:22: error: ‘rooting’ does not name a type
2 | int depth[10000007]; rooting tree
| ^~~~~~~
payraise.cpp:3:25: error: ‘preorder’ does not name a type
3 | int pre_order[1000007]; preorder and subtree to range
| ^~~~~~~~
payraise.cpp:4:18: error: ‘preorder’ does not name a type
4 | int counter = 0; preorder and postorder and subtree to range
| ^~~~~~~~
payraise.cpp:6:31: error: ‘subtree’ does not name a type
6 | vector<int> adjlist[1000001]; subtree to range
| ^~~~~~~