Problem sum
User G92
Submission Time 2024-12-02 10:44:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sum.cpp:4:14: error: '#' is not followed by a macro parameter
4 | #define dbg(v)\
| ^~
5 | cout «< "Line(" « _LINE_ «< ") →> " « #V « "= " «< (v) «< endl;
|
sum.cpp: In function ‘int readInt()’:
sum.cpp:14:1: error: a function-definition is not allowed here before ‘{’ token
14 | {
| ^
sum.cpp:28:1: error: expected ‘}’ at end of input
28 | }
| ^
sum.cpp:6:22: note: to match this ‘{’
6 | inline int readInt() {
| ^