Problem ponschool
User abcde271828
Submission Time 2025-12-12 11:17:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ponschool.cpp: In function ‘int32_t main()’:
ponschool.cpp:24:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
24 | ans = -1;
| ^~~
| abs
ponschool.cpp:28:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
28 | ans = 1;
| ^~~
| abs
ponschool.cpp:33:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
33 | cout << ans;
| ^~~
| abs