Problem | celldivision |
---|---|
User | blackscreen1 |
Submission Time | 2024-12-23 14:32:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
celldivision.cpp: In function ‘long long int readint()’:
celldivision.cpp:22:26: error: ‘_getchar_nolock’ was not declared in this scope; did you mean ‘getchar_unlocked’?
22 | #define getchar_unlocked _getchar_nolock // comment before submission
| ^~~~~~~~~~~~~~~
celldivision.cpp:38:13: note: in expansion of macro ‘getchar_unlocked’
38 | char ch = getchar_unlocked();
| ^~~~~~~~~~~~~~~~
celldivision.cpp: In function ‘int main()’:
celldivision.cpp:59:12: error: too many arguments to function ‘long long int readint()’
59 | readint(n)
| ^
celldivision.cpp:36:11: note: declared here
36 | inline ll readint() {
| ^~~~~~~
celldivision.cpp:59:13: error: expected ‘;’ before ‘print’
59 | readint(n)
| ^
| ;
60 | print(64 - __builtin_clzll(n+1)) << " ";
| ~~~~~