結果

問題 No.133 カードゲーム
ユーザー yuruhiyayuruhiya
提出日時 2020-10-18 16:53:49
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 544 ms / 5,000 ms
コード長 122 bytes
コンパイル時間 506 ms
コンパイル使用メモリ 122,104 KB
実行使用メモリ 134,768 KB
最終ジャッジ日時 2023-09-28 11:52:51
合計ジャッジ時間 13,371 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 423 ms
134,008 KB
testcase_01 AC 415 ms
133,884 KB
testcase_02 AC 419 ms
133,832 KB
testcase_03 AC 427 ms
133,944 KB
testcase_04 AC 435 ms
134,092 KB
testcase_05 AC 506 ms
133,352 KB
testcase_06 AC 519 ms
134,660 KB
testcase_07 AC 514 ms
133,336 KB
testcase_08 AC 443 ms
134,284 KB
testcase_09 AC 441 ms
134,232 KB
testcase_10 AC 531 ms
133,432 KB
testcase_11 AC 539 ms
134,748 KB
testcase_12 AC 530 ms
132,036 KB
testcase_13 AC 436 ms
133,984 KB
testcase_14 AC 452 ms
134,196 KB
testcase_15 AC 453 ms
134,204 KB
testcase_16 AC 521 ms
134,768 KB
testcase_17 AC 527 ms
134,648 KB
testcase_18 AC 526 ms
134,656 KB
testcase_19 AC 544 ms
134,704 KB
testcase_20 AC 526 ms
134,720 KB
testcase_21 AC 513 ms
134,704 KB
testcase_22 AC 524 ms
134,528 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

$/=get;
$_=([X] (get.words xx 2)>>.permutations).map({
	$!=([Z] $_).map({[>] $_}).sum;
	$! > $/-$!
});
say @$_.grep(?*)/$_
0