C++ STL in ICPC
C++ STL is a good(newbee, perfect) tool, as well in ICPC.
Let’s have a quick look at that.
sort and binary search
We use the sort function to implement the UVA 10474
In fact, the lower_bound is already implemented in STL, for which we can invoke it directly:
vector
set
set, is set, indeed.