0_0_33964371_17344.cpp: In function 'int lis()':
0_0_33964371_17344.cpp:15:47: error: 'upper_bound' was not declared in this scope
int pos=upper_bound(dp+1,dp+1+len,a[i])-dp;
^
0_0_33964371_17344.cpp: In function 'int lds()':
0_0_33964371_17344.cpp:29:47: error: 'upper_bound' was not declared in this scope
int pos=upper_bound(dp+1,dp+1+len,a[i])-dp;
^
|