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