Problem attractions
User Pan
Submission Time 2023-12-30 09:21:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

attractions.cpp: In function ‘int main()’:
attractions.cpp:23:2: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
23 | ans = n/2+1;
| ^~~
| abs