0_0_17743854_10558.cpp: In function 'void push_down(int)':
0_0_17743854_10558.cpp:5:13: error: invalid operands of types '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' and 'int' to binary 'operator%'
#define Mod 1000000007
^
0_0_17743854_10558.cpp:64:52: note: in expansion of macro 'Mod'
v[rt<<1].sum=v[rt<<1].sum*pow(2,v[rt<<1].mulCnt)%Mod;
^
0_0_17743854_10558.cpp:5:13: error: invalid operands of types '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' and 'int' to binary 'operator%'
#define Mod 1000000007
^
0_0_17743854_10558.cpp:66:58: note: in expansion of macro 'Mod'
v[rt<<1|1].sum=v[rt<<1|1].sum*pow(2,v[rt<<1|1].mulCnt)%Mod;
^
|