結果
問題 | No.18 うーさー暗号 |
ユーザー |
![]() |
提出日時 | 2014-11-24 01:28:59 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 227 bytes |
コンパイル時間 | 1,935 ms |
コンパイル使用メモリ | 152,448 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-12 01:37:26 |
合計ジャッジ時間 | 2,382 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
import std.stdio, std.string, std.conv, std.array, std.algorithm, std.range;void main(){auto str = readln().strip().to!(char[]);str.zip(iota(1,str.length+1)).map!("((1300+a[0]-a[1]-'A')%26+'A').to!char")().writeln;}