Problem digits
User Josh28
Submission Time 2023-03-16 22:02:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

digits.cpp: In member function ‘void node::update(ll, ll)’:
digits.cpp:95:33: error: invalid types ‘ll [3001] {aka long long int [3001]}[std::ios_base& (*)(std::ios_base&)]’ for array subscript
95 | value = powers[right-mid]*(l->value); sub(value);
| ^