Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
322 B
0
Indexable
Never
#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";
}