Problem obstacletree
User popperoni
Submission Time 2024-12-15 15:55:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

obstacletree.cpp: In function ‘int readint()’:
obstacletree.cpp:24:22: error: ‘_getchar_nolock’ was not declared in this scope; did you mean ‘getchar_unlocked’?
24 | int x=0; char ch=_getchar_nolock(); bool s=1;
| ^~~~~~~~~~~~~~~
| getchar_unlocked
obstacletree.cpp: In function ‘void print(int)’:
obstacletree.cpp:31:5: error: ‘_putchar_nolock’ was not declared in this scope; did you mean ‘putchar_unlocked’?
31 | _putchar_nolock(x % 10 + '0');
| ^~~~~~~~~~~~~~~
| putchar_unlocked