Problem funnyhat
User PlayVoltz
Submission Time 2024-12-31 10:31:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

funnyhat.cpp: In function ‘int find_hat(int, std::vector<int>)’:
funnyhat.cpp:46:54: error: expected ‘)’ before ‘(’ token
46 | if (graph[c].size()>1&&!ban[graph[c][1]]&&&&see_hat(graph[c][1]))root=graph[c][1];
| ~ ^
| )
funnyhat.cpp:46:47: error: label ‘see_hat’ used but not defined
46 | if (graph[c].size()>1&&!ban[graph[c][1]]&&&&see_hat(graph[c][1]))root=graph[c][1];
| ^~~~~~~