Problem shuttlerun
User chenweilian
Submission Time 2023-12-11 16:25:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shuttlerun.cpp: In function ‘int main()’:
shuttlerun.cpp:22:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
22 | ans += 2 * (L[i] - R[i]);
| ^~~
| abs