結果

問題 No.546 オンリー・ワン
ユーザー tailstails
提出日時 2017-07-31 18:18:48
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 428 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 398 ms
コンパイル使用メモリ 134,204 KB
実行使用メモリ 139,460 KB
最終ジャッジ日時 2024-05-03 13:41:19
合計ジャッジ時間 5,261 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 345 ms
134,872 KB
testcase_01 AC 341 ms
134,872 KB
testcase_02 AC 341 ms
135,260 KB
testcase_03 AC 340 ms
135,004 KB
testcase_04 AC 335 ms
135,004 KB
testcase_05 AC 342 ms
135,260 KB
testcase_06 AC 356 ms
135,000 KB
testcase_07 AC 388 ms
134,872 KB
testcase_08 AC 412 ms
137,876 KB
testcase_09 AC 428 ms
138,952 KB
testcase_10 AC 418 ms
139,460 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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