結果
問題 | No.533 Mysterious Stairs |
ユーザー | %20 |
提出日時 | 2017-07-23 16:05:34 |
言語 | cLay (20240104-1) |
結果 |
WA
|
実行時間 | - |
コード長 | 85 bytes |
コンパイル時間 | 2,423 ms |
コンパイル使用メモリ | 172,644 KB |
実行使用メモリ | 4,504 KB |
最終ジャッジ日時 | 2023-09-18 23:25:11 |
合計ジャッジ時間 | 3,777 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,376 KB |
testcase_01 | AC | 1 ms
4,380 KB |
testcase_02 | AC | 1 ms
4,384 KB |
testcase_03 | AC | 2 ms
4,380 KB |
testcase_04 | AC | 2 ms
4,384 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | WA | - |
testcase_25 | WA | - |
testcase_26 | WA | - |
testcase_27 | WA | - |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:447:22: warning: iteration 5 invokes undefined behavior [-Waggressive-loop-optimizations] b[R5MtCiij]=b[R5MtCiij - (0) + (1)]; ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:446:34: note: within this loop for(R5MtCiij=(0);R5MtCiij<((5) + 1);R5MtCiij++){ ~~~~~~~~^~~~~~~~~~
ソースコード
{{mint n,b[]={1,1,3,3,4,8},a;rd(n);for(;n-=1;)a=*b+sum(b(4)),b[0..5]=b[1..];wt(*b);}}