結果

問題 No.658 テトラナッチ数列 Hard
ユーザー letrangerjpletrangerjp
提出日時 2018-03-03 00:04:28
言語 Ruby
(3.3.0)
結果
AC  
実行時間 196 ms / 2,000 ms
コード長 75 bytes
コンパイル時間 317 ms
コンパイル使用メモリ 11,204 KB
実行使用メモリ 70,988 KB
最終ジャッジ日時 2023-09-05 03:13:41
合計ジャッジ時間 3,714 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 139 ms
70,908 KB
testcase_01 AC 145 ms
70,900 KB
testcase_02 AC 151 ms
70,680 KB
testcase_03 AC 154 ms
70,980 KB
testcase_04 AC 196 ms
70,980 KB
testcase_05 AC 192 ms
70,960 KB
testcase_06 AC 194 ms
70,776 KB
testcase_07 AC 187 ms
70,816 KB
testcase_08 AC 188 ms
70,988 KB
testcase_09 AC 191 ms
70,796 KB
testcase_10 AC 187 ms
70,788 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
*r=0,0,0,1
5000.times{r<<r[-4,4].sum%17};$<.map{|n|p r[~-n.to_i%4912]}
0