Problem feedtheduck
User rubyred
Submission Time 2024-07-29 21:08:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

feedtheduck.cpp: In function ‘int main()’:
feedtheduck.cpp:18:3: error: ‘else’ without a previous ‘if’
18 | else if (psum[i] - psum[count] > k) {
| ^~~~