119752024-11-22 15:10:52JoKoBoKisvakond a cserépbencpp17Accepted 100/1004ms560 KiB
#include <fstream>
#include <iostream>
#include <vector>

using namespace std;

int main() {
    // uncomment the following lines if you want to read/write from files
    // ifstream cin("input.txt");
    // ofstream cout("output.txt");
    int N, ans = 0, t;

    cin >> N;
    for (int i = 0; i < N; i++) {
        cin >> t;
        if (1982 <= t)
            ans++;
    }
    cerr << t;
    cout << ans << "\n";

    return 0;
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted1ms320 KiB
subtask2100/100
2Accepted1ms320 KiB
3Accepted1ms320 KiB
4Accepted1ms560 KiB
5Accepted1ms364 KiB
6Accepted2ms320 KiB
7Accepted2ms548 KiB
8Accepted2ms320 KiB
9Accepted4ms404 KiB
10Accepted4ms560 KiB
11Accepted3ms320 KiB