0_0_37468370_21960.cpp: In function 'void build(long long int, long long int, long long int)':
0_0_37468370_21960.cpp:12:12: error: 'p' was not declared in this scope
sum[rt]%=p;
^
0_0_37468370_21960.cpp:18:32: error: 'p' was not declared in this scope
sum[rt]=(sum[lson]+sum[rson])%p;
^
0_0_37468370_21960.cpp: In function 'void push_down(long long int, long long int, long long int)':
0_0_37468370_21960.cpp:24:41: error: 'p' was not declared in this scope
add[lson]=(add[lson]*times[rt])%p;
^
0_0_37468370_21960.cpp:33:39: error: 'p' was not declared in this scope
add[lson]=(add[rt]+add[lson])%p;
^
0_0_37468370_21960.cpp: In function 'void interval_change_plus(long long int, long long int, long long int, long long int, long long int, long long int)':
0_0_37468370_21960.cpp:43:29: error: 'p' was not declared in this scope
add[rt]=(add[rt]+z)%p;
^
0_0_37468370_21960.cpp:52:35: error: 'p' was not declared in this scope
sum[rt]=(sum[lson]+sum[rson])%p;
^
0_0_37468370_21960.cpp: In function 'void interval_change_times(long long int, long long int, long long int, long long int, long long int, long long int)':
0_0_37468370_21960.cpp:57:29: error: 'p' was not declared in this scope
add[rt]=(add[rt]*z)%p;
^
0_0_37468370_21960.cpp:67:35: error: 'p' was not declared in this scope
sum[rt]=(sum[lson]+sum[rson])%p;
^
0_0_37468370_21960.cpp: In function 'long long int interval_query_sum(long long int, long long int, long long int, long long int, long long int)':
0_0_37468370_21960.cpp:78:16: error: 'p' was not declared in this scope
return ans%p;
^
0_0_37468370_21960.cpp: In function 'int main()':
0_0_37468370_21960.cpp:85:29: error: 'a' was not declared in this scope
scanf("%lld%lld%lld%lld",&a[i].x1,&a[i].y1,&a[i].x2,&a[i].y2);
^
|