結果

問題 No.658 テトラナッチ数列 Hard
ユーザー letrangerjpletrangerjp
提出日時 2018-03-02 23:57:37
言語 Ruby
(3.3.0)
結果
AC  
実行時間 203 ms / 2,000 ms
コード長 79 bytes
コンパイル時間 550 ms
コンパイル使用メモリ 11,180 KB
実行使用メモリ 71,012 KB
最終ジャッジ日時 2023-09-05 02:30:39
合計ジャッジ時間 3,992 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 159 ms
70,812 KB
testcase_01 AC 160 ms
71,012 KB
testcase_02 AC 158 ms
70,784 KB
testcase_03 AC 151 ms
70,948 KB
testcase_04 AC 196 ms
70,988 KB
testcase_05 AC 203 ms
70,780 KB
testcase_06 AC 201 ms
70,956 KB
testcase_07 AC 200 ms
70,964 KB
testcase_08 AC 198 ms
70,808 KB
testcase_09 AC 202 ms
70,920 KB
testcase_10 AC 200 ms
70,692 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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