0_0_30467454_22357.cpp: In function 'int main()':
0_0_30467454_22357.cpp:86:16: error: expected ')' before ';' token
Read(n);
^
0_0_30467454_22357.cpp:89:9: error: expected primary-expression before 'int'
int tmp=0;
^
0_0_30467454_22357.cpp:91:37: error: 'tmp' was not declared in this scope
for(int i=n;i>=1;i--) res+=(tmp=max(tmp,ans[i]));
^
|