0_0_36472296_21265.cpp:11:1: error: 'll' does not name a type
ll mod = 1e9+7;
^
0_0_36472296_21265.cpp:12:1: error: 'll' does not name a type
ll p = 131;
^
0_0_36472296_21265.cpp:16:5: error: 'll' was not declared in this scope
map<ll,int> mp;
^
0_0_36472296_21265.cpp:16:11: error: template argument 1 is invalid
map<ll,int> mp;
^
0_0_36472296_21265.cpp:16:11: error: template argument 3 is invalid
0_0_36472296_21265.cpp:16:11: error: template argument 4 is invalid
0_0_36472296_21265.cpp:16:15: error: invalid type in declaration before ';' token
map<ll,int> mp;
^
0_0_36472296_21265.cpp: In function 'int solve(int)':
0_0_36472296_21265.cpp:19:5: error: request for member 'clear' in 'mp', which is of non-class type 'int'
mp.clear();
^
0_0_36472296_21265.cpp:20:2: error: 'll' was not declared in this scope
ll temp;
^
0_0_36472296_21265.cpp:24:3: error: 'temp' was not declared in this scope
temp=ha[i+l-1] - f[l]*ha[i-1];
^
0_0_36472296_21265.cpp: In function 'void init()':
0_0_36472296_21265.cpp:33:37: error: 'p' was not declared in this scope
for(int i=1;i<MAX;i++) f[i]=f[i-1]*p;
^
0_0_36472296_21265.cpp: In function 'int main()':
0_0_36472296_21265.cpp:44:20: error: 'p' was not declared in this scope
ha[i]=ha[i-1] * p + s[i]-'a';
^
|