Problem oranges2
User YSH2020
Submission Time 2024-12-20 15:43:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

oranges2.cpp: In function ‘int main()’:
oranges2.cpp:110:14: error: too few arguments to function ‘void dfs(long long int, long long int, long long int)’
110 | dfs(0, -1);
| ^
oranges2.cpp:11:6: note: declared here
11 | void dfs(int n, int p, int w) {
| ^~~