119742024-11-22 15:10:38JoKoBoKisvakond a cserépbencpp17Accepted 100/1004ms320 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
4Accepted1ms320 KiB
5Accepted1ms320 KiB
6Accepted2ms320 KiB
7Accepted2ms320 KiB
8Accepted2ms320 KiB
9Accepted4ms320 KiB
10Accepted3ms320 KiB
11Accepted3ms320 KiB