結果

問題 No.657 テトラナッチ数列 Easy
ユーザー cielciel
提出日時 2017-11-26 20:01:28
言語 Ruby
(3.3.0)
結果
AC  
実行時間 263 ms / 2,000 ms
コード長 91 bytes
コンパイル時間 40 ms
コンパイル使用メモリ 11,200 KB
実行使用メモリ 23,460 KB
最終ジャッジ日時 2023-08-18 07:58:40
合計ジャッジ時間 5,007 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 220 ms
23,156 KB
testcase_01 AC 218 ms
23,216 KB
testcase_02 AC 218 ms
23,096 KB
testcase_03 AC 216 ms
23,292 KB
testcase_04 AC 215 ms
23,296 KB
testcase_05 AC 255 ms
23,208 KB
testcase_06 AC 214 ms
23,308 KB
testcase_07 AC 212 ms
23,056 KB
testcase_08 AC 213 ms
23,140 KB
testcase_09 AC 255 ms
23,284 KB
testcase_10 AC 259 ms
23,276 KB
testcase_11 AC 258 ms
23,164 KB
testcase_12 AC 255 ms
23,460 KB
testcase_13 AC 258 ms
23,300 KB
testcase_14 AC 260 ms
23,216 KB
testcase_15 AC 263 ms
23,296 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

T=[0,0,0,0,1]
999999.times{T<<(T[-4]+T[-3]+T[-2]+T[-1])%17}
gets.to_i.times{p T[gets.to_i]}
0