Problem funnyhat
User Dolphy
Submission Time 2025-01-02 17:32:55
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:56:15: error: expected ‘,’ before ‘;’ token
56 | b=see_hat(i);
| ^
| ,
funnyhat.cpp:56:15: error: expected identifier before ‘;’ token
funnyhat.cpp:56:15: error: expected ‘]’ before ‘;’ token
56 | b=see_hat(i);
| ^
| ]
funnyhat.cpp: In lambda function:
funnyhat.cpp:56:15: error: expected ‘{’ before ‘;’ token
funnyhat.cpp: At global scope:
funnyhat.cpp:60:2: error: expected unqualified-id before ‘return’
60 | return a-7090;
| ^~~~~~
funnyhat.cpp:61:1: error: expected declaration before ‘}’ token
61 | }
| ^