結果

問題 No.533 Mysterious Stairs
ユーザー testestesttestestest
提出日時 2017-06-24 01:36:00
言語 cLay
(20240104-1)
結果
AC  
実行時間 15 ms / 5,000 ms
コード長 110 bytes
コンパイル時間 2,863 ms
コンパイル使用メモリ 172,928 KB
実行使用メモリ 15,856 KB
最終ジャッジ日時 2023-09-18 23:19:49
合計ジャッジ時間 4,364 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 9 ms
15,588 KB
testcase_01 AC 10 ms
15,596 KB
testcase_02 AC 10 ms
15,584 KB
testcase_03 AC 9 ms
15,832 KB
testcase_04 AC 10 ms
15,624 KB
testcase_05 AC 10 ms
15,856 KB
testcase_06 AC 9 ms
15,620 KB
testcase_07 AC 10 ms
15,592 KB
testcase_08 AC 10 ms
15,620 KB
testcase_09 AC 10 ms
15,732 KB
testcase_10 AC 10 ms
15,588 KB
testcase_11 AC 10 ms
15,592 KB
testcase_12 AC 10 ms
15,600 KB
testcase_13 AC 10 ms
15,592 KB
testcase_14 AC 10 ms
15,632 KB
testcase_15 AC 10 ms
15,600 KB
testcase_16 AC 9 ms
15,620 KB
testcase_17 AC 10 ms
15,632 KB
testcase_18 AC 9 ms
15,760 KB
testcase_19 AC 9 ms
15,612 KB
testcase_20 AC 11 ms
15,652 KB
testcase_21 AC 10 ms
15,612 KB
testcase_22 AC 12 ms
15,688 KB
testcase_23 AC 15 ms
15,684 KB
testcase_24 AC 14 ms
15,624 KB
testcase_25 AC 10 ms
15,588 KB
testcase_26 AC 13 ms
15,620 KB
testcase_27 AC 11 ms
15,672 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mint d[1d6][3];ll n;{rd(n);*d[0..1]=1;rep(i,n)d[i+(1..3)][0..]+=d[i][(1..)%3]+d[i][(2..)%3];wt(sum(d[n](3)));}
0