diff options
Diffstat (limited to 'BeautifulYear')
| -rw-r--r-- | BeautifulYear/inp | 0 | ||||
| -rwxr-xr-x | BeautifulYear/main | bin | 45240 -> 0 bytes | |||
| -rw-r--r-- | BeautifulYear/main.cpp | 21 | ||||
| -rw-r--r-- | BeautifulYear/main_input0.txt | 1 | ||||
| -rw-r--r-- | BeautifulYear/main_input1.txt | 1 | ||||
| -rw-r--r-- | BeautifulYear/main_output0.txt | 1 | ||||
| -rw-r--r-- | BeautifulYear/main_output1.txt | 1 |
7 files changed, 0 insertions, 25 deletions
diff --git a/BeautifulYear/inp b/BeautifulYear/inp deleted file mode 100644 index e69de29..0000000 --- a/BeautifulYear/inp +++ /dev/null diff --git a/BeautifulYear/main b/BeautifulYear/main Binary files differdeleted file mode 100755 index ac627ae..0000000 --- a/BeautifulYear/main +++ /dev/null diff --git a/BeautifulYear/main.cpp b/BeautifulYear/main.cpp deleted file mode 100644 index 31fa32d..0000000 --- a/BeautifulYear/main.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include<bits/stdc++.h> - -using namespace std; - -int main () { - ios_base::sync_with_stdio(false); - cin.tie(NULL); - int in; - cin >> in; - for(int i = in + 1; i <= 9500; i++) { - string s = to_string(i); - set<int> st; - for(auto ch : s) { - st.insert(ch - '0'); - } - if(st.size() == 4) { - cout << i << endl; - break; - } - } -} diff --git a/BeautifulYear/main_input0.txt b/BeautifulYear/main_input0.txt deleted file mode 100644 index ef0a2ad..0000000 --- a/BeautifulYear/main_input0.txt +++ /dev/null @@ -1 +0,0 @@ -1987 diff --git a/BeautifulYear/main_input1.txt b/BeautifulYear/main_input1.txt deleted file mode 100644 index e355f6d..0000000 --- a/BeautifulYear/main_input1.txt +++ /dev/null @@ -1 +0,0 @@ -2013 diff --git a/BeautifulYear/main_output0.txt b/BeautifulYear/main_output0.txt deleted file mode 100644 index e355f6d..0000000 --- a/BeautifulYear/main_output0.txt +++ /dev/null @@ -1 +0,0 @@ -2013 diff --git a/BeautifulYear/main_output1.txt b/BeautifulYear/main_output1.txt deleted file mode 100644 index 9ebee8e..0000000 --- a/BeautifulYear/main_output1.txt +++ /dev/null @@ -1 +0,0 @@ -2014 |
