0_0_24494745_27491.cpp: In function 'int solve()':
0_0_24494745_27491.cpp:77:9: error: 'll' was not declared in this scope
ll sum = 0;
^
0_0_24494745_27491.cpp:79:13: error: 'sum' was not declared in this scope
sum += (len-1)-sa.sa[i]-max(sa.height[i],sa.height[i+1]);
^
0_0_24494745_27491.cpp:81:16: error: 'sum' was not declared in this scope
return sum;
^
0_0_24494745_27491.cpp:84:5: error: 'll' was not declared in this scope
ll ans = 0;
^
0_0_24494745_27491.cpp:89:9: error: 'ans' was not declared in this scope
ans += RMQ(i,i+k-2)-max(RMQ(i-1,i+k-2), RMQ(i,i+k-1));
^
0_0_24494745_27491.cpp:92:12: error: 'ans' was not declared in this scope
return ans;
^
|