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