Problem | compleecode |
---|---|
User | kesleryak |
Submission Time | 2024-06-16 08:23:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
compleecode.cpp: In function ‘int solve1()’:
compleecode.cpp:20:2: error: ‘ret’ was not declared in this scope
20 | ret a*b+1;
| ^~~
compleecode.cpp:24:9: error: expected ‘;’ before ‘res’
24 | return res;
| ^~~
compleecode.cpp: In function ‘int solve2(int)’:
compleecode.cpp:16:17: error: ‘ret’ was not declared in this scope; did you mean ‘res’?
16 | #define return ret
| ^~~
compleecode.cpp:34:5: note: in expansion of macro ‘return’
34 | return res;
| ^~~~~~
compleecode.cpp: In function ‘std::vector<int> solve3(std::vector<int>)’:
compleecode.cpp:16:17: error: ‘ret’ was not declared in this scope
16 | #define return ret
| ^~~
compleecode.cpp:44:2: note: in expansion of macro ‘return’
44 | return v;
| ^~~~~~
compleecode.cpp: In function ‘int solve4(std::vector<int>)’:
compleecode.cpp:16:17: error: