Problem averyclassicsubsegmentproblem
User shenshiqi
Submission Time 2026-07-28 14:06:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

averyclassicsubsegmentproblem.cpp: In function ‘int main()’:
averyclassicsubsegmentproblem.cpp:52:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
52 | cout << ans << "\n";
| ^~~
| abs