0_0_26005876_17252.cpp: In function 'void calheight(int*, int*, int)':
0_0_26005876_17252.cpp:85:1: error: expected primary-expression before '{' token
{
^
0_0_26005876_17252.cpp:85:1: error: expected ')' before '{' token
0_0_26005876_17252.cpp:87:9: error: 'mm' was not declared in this scope
for(mm[0]=-1,i=1; i<=n; i++)
^
0_0_26005876_17252.cpp:90:9: error: 'best' was not declared in this scope
best[0][i]=i;
^
0_0_26005876_17252.cpp:91:17: error: 'mm' was not declared in this scope
for(i=1; i<=mm[n]; i++)
^
0_0_26005876_17252.cpp:94:15: error: 'best' was not declared in this scope
a=best[i-1][j];
^
0_0_26005876_17252.cpp:96:16: error: 'RMQ' was not declared in this scope
if(RMQ[a]<RMQ[b])
^
0_0_26005876_17252.cpp:104:1: error: a function-definition is not allowed here before '{' token
{
^
0_0_26005876_17252.cpp:113:1: error: a function-definition is not allowed here before '{' token
{
^
0_0_26005876_17252.cpp:215:1: error: expected '}' at end of input
}
^
|