08-25-2025

This commit is contained in:
e2hang
2025-08-25 21:45:54 +08:00
parent 8edd0f98b5
commit 4e76498908
4 changed files with 41 additions and 11 deletions

View File

@@ -0,0 +1,14 @@
#include <iostream>
#include <unordered_set>
using namespace std;
int main() {
unordered_set<string> a;
int n;
cin >> n;
string x;
for(int i = 0; i < n; i++){
cin >> x;
a.emplace(x);
}
cout << a.size() << endl;
}