Skip to content

Instantly share code, notes, and snippets.

View islight's full-sized avatar

Islight islight

  • Alipay.com
  • Hangzhou
View GitHub Profile
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;