Problem compleecode
User AlphanumericUsername
Submission Time 2024-05-25 18:46:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

compleecode.cpp: In function ‘std::vector<int> solve3(std::vector<int>)’:
compleecode.cpp:39:12: error: ‘w’ was not declared in this scope
39 | while(i--)w)p
| ^
compleecode.cpp: In function ‘int solve4(std::vector<int>)’:
compleecode.cpp:27:19: error: ‘a’ was not declared in this scope
27 | #define res b=a,z=b
| ^
compleecode.cpp:47:6: note: in expansion of macro ‘res’
47 | int res = 0;
| ^~~
compleecode.cpp:27:21: error: ‘z’ was not declared in this scope
27 | #define res b=a,z=b
| ^
compleecode.cpp:50:2: note: in expansion of macro ‘res’
50 | res=solve3(v).back();
| ^~~
compleecode.cpp: In function ‘int solve5(std::vector<int>)’:
compleecode.cpp:27:19: error: ‘a’ was not declared in this scope
27 | #define res b=a,z=b
| ^
compleecode.cpp:58:6: note: in expan