We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C++
- STL
- Lower Bound-STL
- Discussions
Lower Bound-STL
Lower Bound-STL
Sort by
recency
|
424 Discussions
|
Please Login in order to post a comment
Solving the problem itself was easy, but testing result said:
include
include
include
include
include
using namespace std;
int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */
vector vc; vector::iterator pos; int nums, num;
}
• My Simple Solution If you are stuck, you can show it notes we must sorted() the container befor calculate the position of the lowe_bound() element