Problem treecutting
User popperoni
Submission Time 2025-02-09 17:27:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treecutting.cpp: In function ‘int readint()’:
treecutting.cpp:43:26: error: ‘_getchar_nolock’ was not declared in this scope; did you mean ‘getchar_unlocked’?
43 | #define getchar_unlocked _getchar_nolock // comment before submission
| ^~~~~~~~~~~~~~~
treecutting.cpp:85:22: note: in expansion of macro ‘getchar_unlocked’
85 | int x=0; char ch=getchar_unlocked(); bool s=1;
| ^~~~~~~~~~~~~~~~