Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdio>
- #include <vector>
- #include <cstring>
- #include <set>
- #include <map>
- #include <algorithm>
- #include <complex>
- #include <iomanip>
- using namespace std;
- typedef complex<double> pt;
- typedef long long ll;
- typedef long double ld;
- void run() {
- string s;
- cin >> s;
- for(int i = 0; i < 30; i++) {
- string o = s;
- for(int j = 0; j < s.size(); j++) {
- int a = s[j]-'a';
- a += i;
- a %= 'z'-'a'+1;
- o[j] = a + 'a';
- }
- cout << o << endl;
- }
- }
- int main() {
- cout << fixed << setprecision(16) << endl;
- run();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement