From 7f856c7ff080b8d455b9ed16c2e57dd862c3879d Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Sat, 5 Nov 2022 01:41:11 +0200 Subject: moved some file --- BeautifulYear/inp | 0 BeautifulYear/main | Bin 45240 -> 0 bytes BeautifulYear/main.cpp | 21 --------------------- BeautifulYear/main_input0.txt | 1 - BeautifulYear/main_input1.txt | 1 - BeautifulYear/main_output0.txt | 1 - BeautifulYear/main_output1.txt | 1 - 7 files changed, 25 deletions(-) delete mode 100644 BeautifulYear/inp delete mode 100755 BeautifulYear/main delete mode 100644 BeautifulYear/main.cpp delete mode 100644 BeautifulYear/main_input0.txt delete mode 100644 BeautifulYear/main_input1.txt delete mode 100644 BeautifulYear/main_output0.txt delete mode 100644 BeautifulYear/main_output1.txt (limited to 'BeautifulYear') diff --git a/BeautifulYear/inp b/BeautifulYear/inp deleted file mode 100644 index e69de29..0000000 diff --git a/BeautifulYear/main b/BeautifulYear/main deleted file mode 100755 index ac627ae..0000000 Binary files a/BeautifulYear/main and /dev/null differ 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 - -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 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 -- cgit v1.2.3