Problem sumint
User user123
Submission Time 2023-09-16 23:40:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp:29:14: error: macro "putchar" passed 1 arguments, but takes just 0
29 | putchar('-');
| ^
sumint.cpp:3: note: macro "putchar" defined here
3 | #define putchar() putchar_unlocked()
|
sumint.cpp:33:18: error: macro "putchar" passed 1 arguments, but takes just 0
33 | putchar(x%10+'0');
| ^
sumint.cpp:3: note: macro "putchar" defined here
3 | #define putchar() putchar_unlocked()
|
sumint.cpp:43:15: error: macro "putchar" passed 1 arguments, but takes just 0
43 | putchar('\n');
| ^
sumint.cpp:3: note: macro "putchar" defined here
3 | #define putchar() putchar_unlocked()
|
sumint.cpp:46:14: error: macro "putchar" passed 1 arguments, but takes just 0
46 | putchar('\n');
| ^
sumint.cpp:3: note: macro "putchar" defined here
3 | #define putchar() putchar_unlocked()
|
sumint