結果

問題 No.546 オンリー・ワン
ユーザー tailstails
提出日時 2017-08-07 01:28:23
言語 Raku
(rakudo v2023.09)
結果
AC  
実行時間 523 ms / 2,000 ms
コード長 103 bytes
コンパイル時間 1,584 ms
コンパイル使用メモリ 122,928 KB
実行使用メモリ 140,844 KB
最終ジャッジ日時 2023-10-14 08:58:12
合計ジャッジ時間 7,574 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 417 ms
134,632 KB
testcase_01 AC 416 ms
134,412 KB
testcase_02 AC 413 ms
134,400 KB
testcase_03 AC 425 ms
134,488 KB
testcase_04 AC 418 ms
134,456 KB
testcase_05 AC 426 ms
134,400 KB
testcase_06 AC 445 ms
134,884 KB
testcase_07 AC 476 ms
135,488 KB
testcase_08 AC 492 ms
137,104 KB
testcase_09 AC 505 ms
140,428 KB
testcase_10 AC 523 ms
140,844 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

my ($,$l,$h,@c)=+<<$*IN.words;say [+] @c.combinations.map:{([-] ($l-1,$h) >>div>>[lcm] $_)*$_*(-1)**$_}
0