Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
279 B
3
Indexable
#include <iostream>
#include <string>
#include <math.h>
int main() {
	int n;
	int m = 437;
	std::cin >> n;
	for (int i = 1; i <= n; i++) {
		int a;
		std::cin >> a;
		if (a <= m) {
			std::cout << "Crash " << i;
			return 0;
		}
	}
	std::cout << "No crash";
}