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