Problem fenwicktree
User Daddy
Submission Time 2023-11-09 10:04:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fenwicktree.cpp: In function ‘int main()’:
fenwicktree.cpp:18:5: error: ‘scnaf’ was not declared in this scope; did you mean ‘scanf’?
18 | scnaf("%d", M)
| ^~~~~
| scanf
fenwicktree.cpp:20:21: error: ‘k’ was not declared in this scope
20 | for (int k = 0; k < M; k++) {
| ^