LOADING

加载过慢请开启缓存,浏览器默认开启

daily 1

2023/5/27 daily

CF 1833A

void solve()
{
    cin>>n;
    string str;
    cin>>str;
    unordered_set<string> s;
    for(int i=0;i<str.size()-1;i++){
        s.insert(str.substr(i, 2));
    }
    cout<<s.size()<<endl;
}