0_0_24598659_5348.cpp: In function 'int main()':
0_0_24598659_5348.cpp:30:59: error: cast from 'int*' to 'int' loses precision [-fpermissive]
ans=std::max(ans,(int)std::lower_bound(dp+1,dp+1+n,1<<30)-dp-1);
^
0_0_24598659_5348.cpp:30:61: error: invalid operands of types 'int' and 'int [100010]' to binary 'operator-'
ans=std::max(ans,(int)std::lower_bound(dp+1,dp+1+n,1<<30)-dp-1);
^
|