Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- long long ar[10001];
- const int most=437;
- int main()
- {
- int n;
- cin>>n;
- for(int i=0; i<n; i++){
- int n;
- cin>>n;
- ar[i]=n;
- }
- int cr=0;
- for(int i=0; i<n; i++){
- if(ar[i]<=most){
- cr++;
- }
- }
- if(cr!=0){
- cout<<"Crash "<<cr;
- }else{
- cout<<"No crash";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement