blob: f3b0497ca8d7e8e7b300367d6856dd65eae8aa3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
}
|