Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. typedef long long int ll;
  6.  
  7.  
  8.  
  9. int main() {
  10. int n;
  11. cin >> n;
  12. for (int i = 0; i < n; i++) {
  13. int a;
  14. cin >> a;
  15. if (a <= 437) {
  16. cout << "Crash " << i + 1;
  17. //system("pause");
  18. return 0;
  19. }
  20. }
  21. cout << "No crash";
  22. //system("pause");
  23. return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement