Problem compleecode
User f0restf1re
Submission Time 2024-05-26 17:02:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

compleecode.cpp: In function ‘int solve2(int)’:
compleecode.cpp:28:14: error: declaration of ‘int a’ shadows a parameter
28 | #define res a
| ^
compleecode.cpp:31:9: note: in expansion of macro ‘res’
31 | int res = 0;
| ^~~
compleecode.cpp: In function ‘int solve5(std::vector<int>)’:
compleecode.cpp:61:14: error: expected ‘;’ before ‘return’
61 | res=v.size()
| ^
| ;
......
64 | return res;
| ~~~~~~