johnny8337   1년 전

set에서는 s.lower_bound(int)형식으로 로워 바운드 함수를 쓸 수 있습니다.

#include<algorithm>

에 있는

lower_bound(v.begin(),v.end(),int);와 다른 함수입니다

s.lower_bound 쓰시면 통과됩니다.(algorithm헤더에 있는 거 쓰시면TLE뜹니다)

dlqjatn2   1달 전

감사합니다!

댓글을 작성하려면 로그인해야 합니다.