Problem belittle
User reporter
Submission Time 2023-01-26 17:19:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

belittle.cpp: In function ‘int main()’:
belittle.cpp:66:3: error: ‘ll’ was not declared in this scope
66 | ll leftAns = minst.query(0, split-1) * maxst.query(0, split-1) + leftW;
| ^~
belittle.cpp:67:5: error: expected ‘;’ before ‘rightAns’
67 | ll rightAns = minst.query(split+1, n-1) * maxst.query(split+1, n-1) + rightW;
| ^~~~~~~~~
| ;
belittle.cpp:69:15: error: ‘leftAns’ was not declared in this scope; did you mean ‘leftW’?
69 | cout << min(leftAns, rightAns) << '\n';
| ^~~~~~~
| leftW
belittle.cpp:69:24: error: ‘rightAns’ was not declared in this scope; did you mean ‘rightW’?
69 | cout << min(leftAns, rightAns) << '\n';
| ^~~~~~~~
| rightW