Problem eelimination
User MistyMoon
Submission Time 2026-04-25 11:03:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eelimination.cpp: In function ‘int main()’:
eelimination.cpp:9:16: error: ‘vi’ was not declared in this scope; did you mean ‘i’?
9 | cin >> vi[i];
| ^~
| i
eelimination.cpp:20:21: error: ‘N’ was not declared in this scope
20 | for (int i=0; i<N; i++) {
| ^
eelimination.cpp:21:17: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
21 | cout << ans[i] << "\n";
| ^~~
| abs