0_0_38578004_14399.cpp: In function 'void add(long long int, long long int)':
0_0_38578004_14399.cpp:13:13: error: expected ';' before numeric constant
c[i]%=1000 000 007;
^~~~
;
0_0_38578004_14399.cpp: In function 'int query(long long int)':
0_0_38578004_14399.cpp:24:13: error: expected ';' before numeric constant
sum%=1000 000 007;
^~~~
;
0_0_38578004_14399.cpp: In function 'int main()':
0_0_38578004_14399.cpp:63:30: error: expected ';' before numeric constant
dp[i]=(query(b[i]-1)+1)%1 000 000 007;
^~~~
;
0_0_38578004_14399.cpp:67:15: error: expected ';' before numeric constant
sum%=1000 000 007;
^~~~
;
0_0_38578004_14399.cpp:70:25: error: expected ')' before numeric constant
printf("%d\n",sum%1000 000 007);
~ ^~~~
)
|