Untitled
unknown
c_cpp
2 years ago
279 B
12
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";
}
Editor is loading...