Problem lightningrod
User kahchun
Submission Time 2023-12-25 15:31:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘long long int readInt()’:
lightningrod.cpp:21:26: error: ‘_getchar_nolock’ was not declared in this scope; did you mean ‘getchar_unlocked’?
21 | #define getchar_unlocked _getchar_nolock
| ^~~~~~~~~~~~~~~
lightningrod.cpp:26:39: note: in expansion of macro ‘getchar_unlocked’
26 | while (ch < '0' || ch > '9') ch = getchar_unlocked();
| ^~~~~~~~~~~~~~~~
lightningrod.cpp:21:26: error: ‘_getchar_nolock’ was not declared in this scope; did you mean ‘getchar_unlocked’?
21 | #define getchar_unlocked _getchar_nolock
| ^~~~~~~~~~~~~~~
lightningrod.cpp:29:8: note: in expansion of macro ‘getchar_unlocked’
29 | ch = getchar_unlocked();
| ^~~~~~~~~~~~~~~~