Problem payraise
User KingKav199
Submission Time 2023-12-13 15:19:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

payraise.cpp:3:25: error: ‘preorder’ does not name a type; did you mean ‘pre_order’?
3 | int pre_order[1000007]; preorder and subtree to range
| ^~~~~~~~
| pre_order
payraise.cpp:4:18: error: ‘preorder’ does not name a type; did you mean ‘pre_order’?
4 | int counter = 0; preorder and postorder and subtree to range
| ^~~~~~~~
| pre_order
payraise.cpp:6:31: error: ‘subtree’ does not name a type
6 | vector<int> adjlist[1000001]; subtree to range
| ^~~~~~~