0_0_33280705_11140.cpp: In function 'int main()':
0_0_33280705_11140.cpp:27:16: error: expected primary-expression before '<' token
<span style="white-space:pre"> </span>int ans = 0;
^
0_0_33280705_11140.cpp:27:17: error: 'span' was not declared in this scope
<span style="white-space:pre"> </span>int ans = 0;
^
0_0_33280705_11140.cpp:32:37: error: 'ans' was not declared in this scope
{l = mid +1;ans = max(ans,mid);}//ans即为思路中的j,j必然为s数组中小于t的最大的数
^
0_0_33280705_11140.cpp:35:7: error: 'ans' was not declared in this scope
s[ans+1] = t;/******************/
^
|