Problem hellokitty
User AlphanumericUsername
Submission Time 2024-05-04 09:39:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hellokitty.cpp: In function ‘int32_t main()’:
hellokitty.cpp:171:71: error: ‘pre’ was not declared in this scope; did you mean ‘prey’?
171 | int ansx = (prex[n] - prex[idx]) - (a * (n - idx)) + (a * idx) - pre[idx];
| ^~~
| prey