Problem matsuri
User kahchun
Submission Time 2023-12-31 22:21:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

matsuri.cpp: In function ‘long long int readint()’:
matsuri.cpp:21:26: error: ‘_getchar_nolock’ was not declared in this scope; did you mean ‘getchar_unlocked’?
21 | #define getchar_unlocked _getchar_nolock
| ^~~~~~~~~~~~~~~
matsuri.cpp:26:13: note: in expansion of macro ‘getchar_unlocked’
26 | char ch = getchar_unlocked();
| ^~~~~~~~~~~~~~~~
matsuri.cpp: In function ‘void print(long long int, bool)’:
matsuri.cpp:22:26: error: ‘_putchar_nolock’ was not declared in this scope; did you mean ‘putchar_unlocked’?
22 | #define putchar_unlocked _putchar_nolock
| ^~~~~~~~~~~~~~~
matsuri.cpp:38:2: note: in expansion of macro ‘putchar_unlocked’
38 | putchar_unlocked(x % 10 + '0');
| ^~~~~~~~~~~~~~~~