結果

問題 No.533 Mysterious Stairs
ユーザー %20%20
提出日時 2017-06-24 02:09:58
言語 cLay
(20240104-1)
結果
AC  
実行時間 29 ms / 5,000 ms
コード長 109 bytes
コンパイル時間 2,794 ms
コンパイル使用メモリ 172,652 KB
実行使用メモリ 36,308 KB
最終ジャッジ日時 2023-09-18 23:19:59
合計ジャッジ時間 4,653 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 24 ms
36,092 KB
testcase_01 AC 24 ms
36,096 KB
testcase_02 AC 24 ms
36,296 KB
testcase_03 AC 24 ms
36,092 KB
testcase_04 AC 24 ms
36,220 KB
testcase_05 AC 24 ms
36,156 KB
testcase_06 AC 24 ms
36,152 KB
testcase_07 AC 24 ms
36,156 KB
testcase_08 AC 24 ms
36,096 KB
testcase_09 AC 24 ms
36,088 KB
testcase_10 AC 24 ms
36,096 KB
testcase_11 AC 24 ms
36,156 KB
testcase_12 AC 24 ms
36,156 KB
testcase_13 AC 24 ms
36,108 KB
testcase_14 AC 24 ms
36,168 KB
testcase_15 AC 24 ms
36,232 KB
testcase_16 AC 24 ms
36,300 KB
testcase_17 AC 24 ms
36,104 KB
testcase_18 AC 24 ms
36,152 KB
testcase_19 AC 24 ms
36,168 KB
testcase_20 AC 25 ms
36,160 KB
testcase_21 AC 25 ms
36,092 KB
testcase_22 AC 26 ms
36,104 KB
testcase_23 AC 29 ms
36,156 KB
testcase_24 AC 28 ms
36,308 KB
testcase_25 AC 24 ms
36,296 KB
testcase_26 AC 28 ms
36,160 KB
testcase_27 AC 26 ms
36,156 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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