diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2022-11-05 01:41:11 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2022-11-05 01:41:11 +0200 |
| commit | 7f856c7ff080b8d455b9ed16c2e57dd862c3879d (patch) | |
| tree | c2baf90f98c91567358003d6b97a4afed7fa9b42 /BeautifulYear | |
| parent | c52b36c6a37fdb1d1de146d3939cb42e2c691f44 (diff) | |
| download | competitive-programming-7f856c7ff080b8d455b9ed16c2e57dd862c3879d.tar.xz competitive-programming-7f856c7ff080b8d455b9ed16c2e57dd862c3879d.zip | |
moved some file
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 |
