Problem | candymountain_ex |
---|---|
User | wrizz69 |
Submission Time | 2025-01-11 18:33:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
candymountain_ex.cpp: In function ‘void readint(long long int&)’:
candymountain_ex.cpp:9:35: error: invalid conversion from ‘int (*)()’ to ‘char’ [-fpermissive]
9 | while(ch < '0' || ch > '9') ch = getchar_unlocked;
| ^~~~~~~~~~~~~~~~
| |
| int (*)()
candymountain_ex.cpp:12:8: error: invalid conversion from ‘int (*)()’ to ‘char’ [-fpermissive]
12 | ch = getchar_unlocked;
| ^~~~~~~~~~~~~~~~
| |
| int (*)()
candymountain_ex.cpp: In function ‘int32_t main()’:
candymountain_ex.cpp:41:2: error: ‘print’ was not declared in this scope; did you mean ‘printf’?
41 | print(ans); return 0;
| ^~~~~
| printf