Problem | candymountain_ex |
---|---|
User | wrizz69 |
Submission Time | 2025-01-11 18:31: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:19:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
19 | readint(n);readint(k); //k is how much u can jump over
| ^
| yn
candymountain_ex.cpp:19:21: error: ‘k’ was not declared in this scope
19 | readint(n);readint(k); //k is how much u