結果

問題 No.432 占い(Easy)
ユーザー hogeover30hogeover30
提出日時 2017-01-01 00:49:04
言語 Ruby
(3.3.0)
結果
AC  
実行時間 295 ms / 2,000 ms
コード長 117 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 11,452 KB
実行使用メモリ 16,404 KB
最終ジャッジ日時 2023-08-22 09:02:13
合計ジャッジ時間 5,199 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,160 KB
testcase_01 AC 83 ms
15,208 KB
testcase_02 AC 85 ms
15,324 KB
testcase_03 AC 88 ms
15,116 KB
testcase_04 AC 87 ms
15,268 KB
testcase_05 AC 85 ms
15,228 KB
testcase_06 AC 83 ms
15,136 KB
testcase_07 AC 86 ms
15,448 KB
testcase_08 AC 86 ms
15,340 KB
testcase_09 AC 87 ms
15,248 KB
testcase_10 AC 90 ms
15,264 KB
testcase_11 AC 108 ms
15,464 KB
testcase_12 AC 295 ms
16,404 KB
testcase_13 AC 291 ms
16,192 KB
testcase_14 AC 107 ms
15,492 KB
testcase_15 AC 85 ms
15,136 KB
testcase_16 AC 85 ms
15,284 KB
testcase_17 AC 278 ms
16,316 KB
testcase_18 AC 192 ms
16,092 KB
testcase_19 AC 156 ms
15,740 KB
testcase_20 AC 117 ms
15,756 KB
testcase_21 AC 123 ms
15,692 KB
testcase_22 AC 88 ms
15,440 KB
testcase_23 AC 88 ms
15,132 KB
testcase_24 AC 84 ms
15,248 KB
testcase_25 AC 87 ms
15,228 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#!ruby -nl
f=->s{s.size<2?s:f[s.bytes.each_cons(2).map{|a,b|a+=b-6;(a>90&&a%9<1?57:a%9+48).chr}*'']}
puts f[$_]if$.>1
0