Problem snail
User Vinayak01
Submission Time 2024-02-14 20:09:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snail.cpp: In function ‘int main()’:
snail.cpp:18:41: error: ‘movement’ was not declared in this scope; did you mean ‘movements’?
18 | int sum = accumulate(movements.begin(),movement.end(),0);
| ^~~~~~~~
| movements
snail.cpp:18:12: error: ‘accumulate’ was not declared in this scope
18 | int sum = accumulate(movements.begin(),movement.end(),0);
| ^~~~~~~~~~