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