結果

問題 No.1279 Array Battle
ユーザー yuruhiyayuruhiya
提出日時 2021-01-31 17:23:19
言語 Raku
(rakudo v2024.02)
結果
TLE  
実行時間 -
コード長 128 bytes
コンパイル時間 1,382 ms
コンパイル使用メモリ 125,252 KB
実行使用メモリ 133,108 KB
最終ジャッジ日時 2023-09-11 11:22:25
合計ジャッジ時間 11,773 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 381 ms
131,960 KB
testcase_01 AC 375 ms
132,024 KB
testcase_02 AC 445 ms
132,940 KB
testcase_03 AC 367 ms
132,128 KB
testcase_04 AC 366 ms
131,980 KB
testcase_05 AC 372 ms
132,028 KB
testcase_06 AC 375 ms
132,092 KB
testcase_07 AC 377 ms
131,832 KB
testcase_08 AC 376 ms
132,140 KB
testcase_09 AC 398 ms
132,408 KB
testcase_10 AC 449 ms
132,924 KB
testcase_11 AC 535 ms
132,928 KB
testcase_12 AC 1,136 ms
133,108 KB
testcase_13 TLE -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

my @n = get;
my @a = get.words;
my @b = get.words;
say @b.permutations.map({
	sum map({[R-] $_},($_ Z@a))Xmax 0
}).Bag.max.value
0