Submission #997850

#TimeUsernameProblemLanguageResultExecution timeMemory
997850faqinyeagerAdvertisement 2 (JOI23_ho_t2)C++17
10 / 100
445 ms34640 KiB
#include <bits/stdc++.h> using namespace std; using ll = long long; int n; vector<int> x, e; int main(){ cin >> n; x.resize(n); e.resize(n); map<int, int> tmp; for(int i = 0; i < n; i++) cin >> x[i] >> e[i], tmp[x[i]] += 1; cout << tmp.size(); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...