aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2022-11-05 01:42:16 +0200
committeromagdy7 <omar.professional8777@gmail.com>2022-11-05 01:42:16 +0200
commit42e25addbbce62e8bb43ab587b21c5bccb495bfb (patch)
tree3b2bd1ec0e8b5cb0a6d86ab6035e98a8ed3f8322
parent7f856c7ff080b8d455b9ed16c2e57dd862c3879d (diff)
downloadcompetitive-programming-42e25addbbce62e8bb43ab587b21c5bccb495bfb.tar.xz
competitive-programming-42e25addbbce62e8bb43ab587b21c5bccb495bfb.zip
Moved some files
-rw-r--r--StringTask/StringTask.cpp20
-rw-r--r--chocolateFeastRevised/chocolateFeastRevised.cpp19
-rw-r--r--cutTheSticksJoe/cutTheSticksJoe.cpp21
-rw-r--r--cutTheSticksRevised/cutTheSticksRevised.cpp10
4 files changed, 0 insertions, 70 deletions
diff --git a/StringTask/StringTask.cpp b/StringTask/StringTask.cpp
deleted file mode 100644
index 74d4635..0000000
--- a/StringTask/StringTask.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <bits/stdc++.h>
-
-using namespace std;
-
-int main() {
- ios::sync_with_stdio(false);
- cin.tie(0);
- string s;
- cin >> s;
- string vowels = "aeiouy";
- set<char> st(vowels.begin(), vowels.end());
- string ans = "";
- for (char ch : s) {
- if (!st.count(tolower(ch))) {
- ans += "." + string(1, tolower(ch));
- }
- }
- cout << ans << '\n';
- return 0;
-}
diff --git a/chocolateFeastRevised/chocolateFeastRevised.cpp b/chocolateFeastRevised/chocolateFeastRevised.cpp
deleted file mode 100644
index edaa983..0000000
--- a/chocolateFeastRevised/chocolateFeastRevised.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-#include<bits/stdc++.h>
-
-using namespace std;
-
-int main() {
- int tt;
- cin >> tt;
- while (tt--) {
- int n, c, m;
- cin >> n >> c >> m;
- long long ans = n / c, cur = ans;
- while (cur >= m) {
- ans += cur / m;
- cur = (cur % m) + (cur / m);
- }
- cout << ans << '\n';
- }
- return 0;
-}
diff --git a/cutTheSticksJoe/cutTheSticksJoe.cpp b/cutTheSticksJoe/cutTheSticksJoe.cpp
deleted file mode 100644
index 4504062..0000000
--- a/cutTheSticksJoe/cutTheSticksJoe.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <bits/stdc++.h>
-
-using namespace std;
-
-int main() {
- ios::sync_with_stdio(false);
- cin.tie(0);
- int n;
- cin >> n;
- map<int, int> mp;
- for (int i = 0; i < n; i++) {
- int x;
- cin >> x;
- ++mp[x];
- }
- for (auto p : mp) {
- cout << n << '\n';
- n -= p.second;
- }
- return 0;
-}
diff --git a/cutTheSticksRevised/cutTheSticksRevised.cpp b/cutTheSticksRevised/cutTheSticksRevised.cpp
deleted file mode 100644
index 0d63fb4..0000000
--- a/cutTheSticksRevised/cutTheSticksRevised.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-#include<bits/stdc++.h>
-
-using namespace std;
-
-int main(){
-
-
-
- return 0;
-}