제출 #1346607

#제출 시각아이디문제언어결과실행 시간메모리
1346607killerzaluuAdvertisement 2 (JOI23_ho_t2)C++20
10 / 100
231 ms21492 KiB
#include <bits/stdc++.h>
using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    int n;
    cin >> n;

    set<long long> s;
    for (int i = 1; i <= n; i++) {
        long long x, e;
        cin >> x >> e;
        s.insert(x);
    }

    cout << s.size() << '\n';
    return 0;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...