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

Compile Error

fenwicktree.cpp: In function ‘int main()’:
fenwicktree.cpp:37:42: error: expected ‘;’ before ‘int’
37 | scanf("%d %d %d", &a, &b, &c)
| ^
| ;
38 | int max = b + 1;
| ~~~
fenwicktree.cpp:39:31: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<’
39 | for (int i = a; i < max; i++) {
| ~~^~~~~