| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 898520 | vjudge1 | Sifra (COCI21_sifra) | C++17 | 0 ms | 600 KiB | 
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
set<string> st;
int main() {
    string str, str2;
    cin >> str;
    for(auto i: str) {
        if(i<'a')
            str2+=i;
        else
            st.insert(str2),str2="";
    }
    st.insert(str2);
    st.erase("");
    cout << st.size();
}
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
