Problem grassplant
User Kiameimon
Submission Time 2023-12-21 17:17:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

grassplant.cpp: In function ‘int main()’:
grassplant.cpp:89:10: error: too few arguments to function ‘void dfs_sz(long long int, long long int)’
89 | dfs_sz(1);
| ^
grassplant.cpp:58:6: note: declared here
58 | void dfs_sz(int cur, int p){
| ^~~~~~
grassplant.cpp:90:11: error: too few arguments to function ‘void dfs_hld(long long int, long long int)’
90 | dfs_hld(1);
| ^
grassplant.cpp:69:6: note: declared here
69 | void dfs_hld(int cur, int p){
| ^~~~~~~