Problem collectmushrooms3
User popperoni
Submission Time 2025-10-30 12:36:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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