0_0_15056026_30482.cpp:8:13: error: expected initializer before 'hs'
unsigned LL hs[101000];
^
0_0_15056026_30482.cpp:9:13: error: expected initializer before 'pw'
unsigned LL pw[101000];
^
0_0_15056026_30482.cpp: In function 'void init()':
0_0_15056026_30482.cpp:12:2: error: 'hs' was not declared in this scope
hs[0] = 0;
^
0_0_15056026_30482.cpp:13:2: error: 'pw' was not declared in this scope
pw[0] = 1;
^
0_0_15056026_30482.cpp: In function 'int get(int, int)':
0_0_15056026_30482.cpp:21:11: error: 'hs' was not declared in this scope
return ((hs[r+1] - hs[l]*pw[k]%MOD)%MOD+MOD)%MOD;
^
0_0_15056026_30482.cpp:21:27: error: 'pw' was not declared in this scope
return ((hs[r+1] - hs[l]*pw[k]%MOD)%MOD+MOD)%MOD;
^
|