Все задачи на 5.10.17 13:00

This commit is contained in:
2017-10-05 13:08:02 +03:00
parent 93746b05d7
commit ca2ca71f63
120 changed files with 2343 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
//
// Created by vlad on 30.06.17.
//
#include <iostream>
#include <cassert>
using namespace std;
int main() {
assert(freopen("../5/A.txt", "r", stdin));
int n;
cin >> n;
for (int i = 0; i < n; i++) {
int len;
cin >> len;
if (len > 437) {
continue;
} else {
cout << "Crash " << ++i << "\n";
return 0;
}
}
cout << "No crash\n";
return 0;
}

View File

@@ -0,0 +1,2 @@
5
700 437 800 13 900

View File

@@ -0,0 +1,3 @@
//
// Created by vlad on 30.06.17.
//