Problem easyquestion
User popperoni
Submission Time 2026-02-11 23:32:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

easyquestion.cpp: In function ‘long long int readInt()’:
easyquestion.cpp:280:22: error: ‘_getchar_nolock’ was not declared in this scope; did you mean ‘getchar_unlocked’?
280 | int x=0; char ch=_getchar_nolock(); bool s=1;
| ^~~~~~~~~~~~~~~
| getchar_unlocked
easyquestion.cpp: In function ‘int32_t main()’:
easyquestion.cpp:345:31: error: ‘fo’ was not declared in this scope; did you mean ‘fs’?
345 | if (u == v) { fo.writeLong(A[u], '\n'); continue; }
| ^~
| fs
easyquestion.cpp:386:21: error: ‘fo’ was not declared in this scope; did you mean ‘fs’?
386 | fo.writeLong(base_purchases + extra, '\n');
| ^~
| fs
easyquestion.cpp:391:21: error: ‘fo’ was not declared in this scope; did you mean ‘fs’?
391 | fo