Untitled
unknown
plain_text
2 years ago
322 B
4
Indexable
#include <iostream> using namespace std; int main() { int bus = 437; int count; cin >> count; for (int i =0; i < count; i++) { int most; cin >> most; if(most <= bus) { cout << "Crash " << i+1; return 0; } } cout << "No crash"; }
Editor is loading...