Problem management
User Rigiddivot251112
Submission Time 2026-06-23 15:51:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

management.cpp: In function ‘int main()’:
management.cpp:9:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
9 | ans(i) = 0;
| ^~~
| abs
management.cpp:13:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
13 | ans(x-1)++;
| ^~~
| abs
management.cpp:16:11: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
16 | cout << ans(i) << "\n";
| ^~~
| abs