0_0_37047795_4091.cpp:7:1: error: 'inv' does not name a type
inv get_SA()
^
0_0_37047795_4091.cpp:51:1: error: 'inv' does not name a type
inv get_height()
^
0_0_37047795_4091.cpp: In function 'void InitRMQ()':
0_0_37047795_4091.cpp:79:20: error: 'height' was not declared in this scope
mi[i][0] = height[i];
^
0_0_37047795_4091.cpp: In function 'int main()':
0_0_37047795_4091.cpp:101:19: error: 'get_SA' was not declared in this scope
get_SA(127);
^
0_0_37047795_4091.cpp:102:37: error: 'height' was not declared in this scope
for(int i = 1; i <= n; i++) height[i] = 0;
^
0_0_37047795_4091.cpp:103:20: error: 'get_height' was not declared in this scope
get_height();
^
0_0_37047795_4091.cpp:110:31: error: 'height' was not declared in this scope
int tmp = max(height[i], height[i + 1]);
^
0_0_37047795_4091.cpp:120:29: error: 'height' was not declared in this scope
int x = max(height[i + 1], height[i - lenk + 1]);
^
|