2 条题解

  • 0
    @ 2026-7-20 1:43:02

    #include <bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int n; cin>>n; unordered_set s; s.reserve(n*2+10); string x; while(n--){cin>>x;s.insert(x);} cout<<s.size()<<'\n'; return 0; }

    信息

    ID
    4967
    时间
    4000ms
    内存
    256MiB
    难度
    10
    标签
    递交数
    1
    已通过
    1
    上传者