This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import std.algorithm; | |
| import std.stdio; | |
| enum INPUT = "cqrb lryqna rb fjh, fjh qjamna cqjw axc cqracnnw. qnan, hxd wnena twxf qxf oja cx bqroc! xq kh cqn fjh, cqn jwbfna rb mnjmvjwblqnbc."; | |
| void main() { | |
| foreach ( offset; 0..25 ) { | |
| writeln( map!( ( dchar c ) { | |
| if ( c < 'a' ) return c; | |
| if ( 'z' < c ) return c; |