Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
316 B
0
Indexable
Never
#include <iostream>
#include <cmath>
using namespace std;

int main()
{
	int n, k ,f,n1;
	cin >> k >> n;
	n1 = n;
	f = 0;
	while (n1!=0) {
		cin >> n;
		n1--;
		if (n < k) {

			f = 1;
		}
		else {
			continue;
		}
	}
	if (f == 1) {
		cout << "True";
	}
	else {
		cout << "False";
	}

}