0_0_33556235_20640.cpp: In member function 'void SegTree::pushup(long long int)':
0_0_33556235_20640.cpp:24:6: error: invalid operands of types 'long long int [500005]' and 'long long int' to binary 'operator%'
sum%=mod;
^
0_0_33556235_20640.cpp:24:6: error: in evaluation of 'operator%=(long long int [500005], long long int)'
0_0_33556235_20640.cpp: In member function 'void SegTree::update(long long int, long long int, long long int, long long int, long long int)':
0_0_33556235_20640.cpp:29:7: error: invalid operands of types 'long long int [500005]' and 'long long int' to binary 'operator%'
sum%=mod;
^
0_0_33556235_20640.cpp:29:7: error: in evaluation of 'operator%=(long long int [500005], long long int)'
|