Problem swords
User nutzzzz
Submission Time 2025-01-21 21:19:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:35:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
35 | ans++;
| ^~~
| abs
swords.cpp:38:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
38 | cout << ans;
| ^~~
| abs