#include
#include
#include
#include
using namespace std;
int main(int argc, char** argv)
{
int num;
vector myVector;
myVector.push_back(1);
myVector.push_back(2);
myVector.push_back(3);
myVector.push_back(4);
vector::iterator it = find_if(myVector.begin(), myVector.end(),not1(bind2nd(greater_equal(), 1)));
if (it == myVector.end()) {
cout << "All perfect scores\n";
} else {
cout << "Found a \"less-than-perfect\" score of " << *it << endl;
}
return (0);
}