結果
問題 | No.1581 Multiple Sequence |
ユーザー | yuruhiya |
提出日時 | 2021-07-02 22:11:33 |
言語 | Ruby (3.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 78 bytes |
コンパイル時間 | 619 ms |
コンパイル使用メモリ | 11,396 KB |
実行使用メモリ | 17,116 KB |
最終ジャッジ日時 | 2023-09-11 22:11:51 |
合計ジャッジ時間 | 6,962 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 79 ms
15,040 KB |
testcase_01 | AC | 80 ms
15,128 KB |
testcase_02 | AC | 262 ms
16,600 KB |
testcase_03 | WA | - |
testcase_04 | AC | 142 ms
15,796 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | AC | 207 ms
16,192 KB |
testcase_11 | WA | - |
testcase_12 | AC | 165 ms
16,088 KB |
testcase_13 | AC | 82 ms
15,164 KB |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | AC | 105 ms
15,296 KB |
testcase_19 | WA | - |
testcase_20 | AC | 263 ms
16,740 KB |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | WA | - |
コンパイルメッセージ
Main.rb:1: warning: `*' interpreted as argument prefix Syntax OK
ソースコード
m=eval *$< d=[1]*-~m (2..m).map{|x|x.step(m,x){d[_1]+=d[x-1]%=10**9+7}} p d[m]