제출 #372993

#제출 시각아이디문제언어결과실행 시간메모리
372993sam571128Sifra (COCI21_sifra)C++14
50 / 50
1 ms364 KiB
#include <bits/stdc++.h> #define int long long #define fastio ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); using namespace std; signed main(){ fastio string s; cin >> s; for(auto &c :s){ if(c>='a'&&c<='z') c = ' '; } stringstream ss(s); set<int> st; int num; while(ss >> num){ st.insert(num); } cout << st.size() << "\n"; }
#Verdict Execution timeMemoryGrader output
Fetching results...