Problem funnyhat
User itsLQ
Submission Time 2024-12-30 16:04:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

funnyhat.cpp: In function ‘void dfs(int)’:
funnyhat.cpp:19:17: error: too many arguments to function ‘void dfs(int)’
19 | dfs(x, n);
| ^
funnyhat.cpp:13:6: note: declared here
13 | void dfs(int n) {
| ^~~