結果

問題 No.628 Tagの勢い
ユーザー kotatsugamekotatsugame
提出日時 2018-04-12 03:05:59
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 516 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 422 ms
コンパイル使用メモリ 135,444 KB
実行使用メモリ 140,096 KB
最終ジャッジ日時 2024-04-16 20:12:21
合計ジャッジ時間 10,461 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 448 ms
135,868 KB
testcase_01 AC 447 ms
135,968 KB
testcase_02 AC 448 ms
135,972 KB
testcase_03 AC 449 ms
135,968 KB
testcase_04 AC 446 ms
135,844 KB
testcase_05 AC 451 ms
135,844 KB
testcase_06 AC 455 ms
135,972 KB
testcase_07 AC 449 ms
135,588 KB
testcase_08 AC 462 ms
135,868 KB
testcase_09 AC 456 ms
135,972 KB
testcase_10 AC 477 ms
136,124 KB
testcase_11 AC 468 ms
135,844 KB
testcase_12 AC 515 ms
140,096 KB
testcase_13 AC 512 ms
139,996 KB
testcase_14 AC 516 ms
139,972 KB
testcase_15 AC 516 ms
139,972 KB
testcase_16 AC 515 ms
139,452 KB
testcase_17 AC 454 ms
135,972 KB
testcase_18 AC 448 ms
135,840 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

my%h;
for (^get) ->$a {
	get;
	my ($m,$s)=get.words;
	%h{$_}-=$s for get.words;
}
%h.antipairs.sort[^10].map({
	put ($_.value,-$_.key) if $_
})
0