Problem funnyhat
User gelastropod
Submission Time 2024-12-30 16:31:36
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:84:9: error: redeclaration of ‘bool res’
84 | bool res = see_hat(i);
| ^~~
funnyhat.cpp:76:9: note: ‘bool res’ previously declared here
76 | bool res = see_hat(i);
| ^~~