Problem candymountain_ex
User wrizz69
Submission Time 2025-01-12 14:47:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candymountain_ex.cpp: In function ‘int32_t main()’:
candymountain_ex.cpp:19:24: error: too few arguments to function ‘void readint(long long int&)’
19 | int n, k; n = readint();k = readint(); //k is how much u can jump over
| ^
candymountain_ex.cpp:7:6: note: declared here
7 | void readint(int& x) {
| ^~~~~~~
candymountain_ex.cpp:19:38: error: too few arguments to function ‘void readint(long long int&)’
19 | int n, k; n = readint();k = readint(); //k is how much u can jump over
| ^
candymountain_ex.cpp:7:6: note: declared here
7 | void readint(int& x) {
| ^~~~~~~
candymountain_ex.cpp:21:44: error: too few arguments to function ‘void readint(long long int&)’
21 | for(int i = 0;i < n;i++) arr[i] = readint();
| ^
candymountain_ex.cpp:7:6: note: declared here
7 | void read