diff options
Diffstat (limited to '04-algorithms_on_strings/02-burrows_wheeler/01-bwt/bwt.cpp')
-rw-r--r-- | 04-algorithms_on_strings/02-burrows_wheeler/01-bwt/bwt.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/04-algorithms_on_strings/02-burrows_wheeler/01-bwt/bwt.cpp b/04-algorithms_on_strings/02-burrows_wheeler/01-bwt/bwt.cpp new file mode 100644 index 0000000..f3b0497 --- /dev/null +++ b/04-algorithms_on_strings/02-burrows_wheeler/01-bwt/bwt.cpp @@ -0,0 +1,25 @@ +#include <algorithm> +#include <iostream> +#include <string> +#include <vector> + +using std::cin; +using std::cout; +using std::endl; +using std::string; +using std::vector; + +string BWT(const string& text) { + string result = ""; + + // write your code here + + return result; +} + +int main() { + string text; + cin >> text; + cout << BWT(text) << endl; + return 0; +}
\ No newline at end of file |