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 /QueueAtTheSchool | |
| parent | c52b36c6a37fdb1d1de146d3939cb42e2c691f44 (diff) | |
| download | competitive-programming-7f856c7ff080b8d455b9ed16c2e57dd862c3879d.tar.xz competitive-programming-7f856c7ff080b8d455b9ed16c2e57dd862c3879d.zip | |
moved some file
Diffstat (limited to 'QueueAtTheSchool')
| -rw-r--r-- | QueueAtTheSchool/inp | 0 | ||||
| -rwxr-xr-x | QueueAtTheSchool/main | bin | 626256 -> 0 bytes | |||
| -rw-r--r-- | QueueAtTheSchool/main.cpp | 17 | ||||
| -rw-r--r-- | QueueAtTheSchool/main_input0.txt | 2 | ||||
| -rw-r--r-- | QueueAtTheSchool/main_input1.txt | 2 | ||||
| -rw-r--r-- | QueueAtTheSchool/main_input2.txt | 2 | ||||
| -rw-r--r-- | QueueAtTheSchool/main_output0.txt | 1 | ||||
| -rw-r--r-- | QueueAtTheSchool/main_output1.txt | 1 | ||||
| -rw-r--r-- | QueueAtTheSchool/main_output2.txt | 1 |
9 files changed, 0 insertions, 26 deletions
diff --git a/QueueAtTheSchool/inp b/QueueAtTheSchool/inp deleted file mode 100644 index e69de29..0000000 --- a/QueueAtTheSchool/inp +++ /dev/null diff --git a/QueueAtTheSchool/main b/QueueAtTheSchool/main Binary files differdeleted file mode 100755 index 202a772..0000000 --- a/QueueAtTheSchool/main +++ /dev/null diff --git a/QueueAtTheSchool/main.cpp b/QueueAtTheSchool/main.cpp deleted file mode 100644 index 2503f26..0000000 --- a/QueueAtTheSchool/main.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include<bits/stdc++.h> - -using namespace std; - -int main () { - ios_base::sync_with_stdio(false); - cin.tie(NULL); - int n, t; - cin >> n >> t; - string s; - cin >> s; - string res; - for(int j = 0; j < t; j++) { - s = regex_replace(s, regex("BG"), "GB"); - } - cout << s << endl; -} diff --git a/QueueAtTheSchool/main_input0.txt b/QueueAtTheSchool/main_input0.txt deleted file mode 100644 index 7e48364..0000000 --- a/QueueAtTheSchool/main_input0.txt +++ /dev/null @@ -1,2 +0,0 @@ -5 1 -BGGBG diff --git a/QueueAtTheSchool/main_input1.txt b/QueueAtTheSchool/main_input1.txt deleted file mode 100644 index c00f5b3..0000000 --- a/QueueAtTheSchool/main_input1.txt +++ /dev/null @@ -1,2 +0,0 @@ -5 2 -BGGBG diff --git a/QueueAtTheSchool/main_input2.txt b/QueueAtTheSchool/main_input2.txt deleted file mode 100644 index 0bf01c5..0000000 --- a/QueueAtTheSchool/main_input2.txt +++ /dev/null @@ -1,2 +0,0 @@ -4 1 -GGGB diff --git a/QueueAtTheSchool/main_output0.txt b/QueueAtTheSchool/main_output0.txt deleted file mode 100644 index be65f6d..0000000 --- a/QueueAtTheSchool/main_output0.txt +++ /dev/null @@ -1 +0,0 @@ -GBGGB diff --git a/QueueAtTheSchool/main_output1.txt b/QueueAtTheSchool/main_output1.txt deleted file mode 100644 index 5545e22..0000000 --- a/QueueAtTheSchool/main_output1.txt +++ /dev/null @@ -1 +0,0 @@ -GGBGB diff --git a/QueueAtTheSchool/main_output2.txt b/QueueAtTheSchool/main_output2.txt deleted file mode 100644 index bb2a41d..0000000 --- a/QueueAtTheSchool/main_output2.txt +++ /dev/null @@ -1 +0,0 @@ -GGGB |
