結果
問題 |
No.533 Mysterious Stairs
|
ユーザー |
![]() |
提出日時 | 2017-07-23 16:05:34 |
言語 | cLay (20241019-1) |
結果 |
WA
|
実行時間 | - |
コード長 | 85 bytes |
コンパイル時間 | 2,767 ms |
コンパイル使用メモリ | 175,892 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-05 12:24:04 |
合計ジャッジ時間 | 3,265 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 WA * 23 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:447:22: warning: iteration 5 invokes undefined behavior [-Waggressive-loop-optimizations] 447 | b[R5MtCiij]=b[R5MtCiij - (0) + (1)]; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:446:34: note: within this loop 446 | 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);}}