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