# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
782668 | 2023-07-14T07:20:55 Z | 1075508020060209tc | Sifra (COCI21_sifra) | C++14 | 1000 ms | 212 KB |
#include<bits/stdc++.h> using namespace std; #define int long long #define X first #define Y second int s; signed main(){ string s; cin>>s; set<int>st; for(int i=0;i<s.size();i++){ int v=0; while(i<s.size()&&isdigit(s[i])){ v=v*10+s[i]-'0'; } st.insert(v); } cout<<st.size(); }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Execution timed out | 1075 ms | 212 KB | Time limit exceeded |
2 | Execution timed out | 1049 ms | 212 KB | Time limit exceeded |
3 | Execution timed out | 1079 ms | 212 KB | Time limit exceeded |
4 | Execution timed out | 1072 ms | 212 KB | Time limit exceeded |
5 | Execution timed out | 1076 ms | 212 KB | Time limit exceeded |
6 | Execution timed out | 1085 ms | 212 KB | Time limit exceeded |
7 | Execution timed out | 1069 ms | 212 KB | Time limit exceeded |
8 | Execution timed out | 1076 ms | 212 KB | Time limit exceeded |
9 | Execution timed out | 1051 ms | 212 KB | Time limit exceeded |
10 | Execution timed out | 1077 ms | 212 KB | Time limit exceeded |