結果

問題 No.18 うーさー暗号
ユーザー mmmpppmmmppp
提出日時 2017-02-16 23:47:20
言語 Ruby
(3.3.0)
結果
AC  
実行時間 893 ms / 5,000 ms
コード長 93 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 11,564 KB
実行使用メモリ 17,528 KB
最終ジャッジ日時 2023-09-21 12:36:57
合計ジャッジ時間 5,437 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,128 KB
testcase_01 AC 78 ms
15,164 KB
testcase_02 AC 85 ms
15,588 KB
testcase_03 AC 893 ms
17,528 KB
testcase_04 AC 206 ms
16,364 KB
testcase_05 AC 208 ms
16,460 KB
testcase_06 AC 515 ms
16,904 KB
testcase_07 AC 604 ms
17,412 KB
testcase_08 AC 811 ms
17,376 KB
testcase_09 AC 571 ms
17,040 KB
testcase_10 AC 80 ms
15,112 KB
testcase_11 AC 82 ms
15,324 KB
testcase_12 AC 331 ms
16,712 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

def s n;n.tr("A-Z","ZA-Y")end
$><<gets.chop.each_char.with_index.map{|c,i|eval"s "*-~i+?c}*''
0