結果

問題 No.657 テトラナッチ数列 Easy
ユーザー letrangerjpletrangerjp
提出日時 2018-03-03 00:05:07
言語 Ruby
(3.3.0)
結果
AC  
実行時間 193 ms / 2,000 ms
コード長 75 bytes
コンパイル時間 618 ms
コンパイル使用メモリ 11,520 KB
実行使用メモリ 70,980 KB
最終ジャッジ日時 2023-09-05 03:18:48
合計ジャッジ時間 4,761 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 149 ms
70,828 KB
testcase_01 AC 149 ms
70,668 KB
testcase_02 AC 147 ms
70,792 KB
testcase_03 AC 147 ms
70,716 KB
testcase_04 AC 151 ms
70,760 KB
testcase_05 AC 191 ms
70,728 KB
testcase_06 AC 149 ms
70,772 KB
testcase_07 AC 150 ms
70,804 KB
testcase_08 AC 149 ms
70,772 KB
testcase_09 AC 193 ms
70,728 KB
testcase_10 AC 193 ms
70,864 KB
testcase_11 AC 189 ms
70,916 KB
testcase_12 AC 189 ms
70,760 KB
testcase_13 AC 191 ms
70,980 KB
testcase_14 AC 192 ms
70,920 KB
testcase_15 AC 189 ms
70,980 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