結果

問題 No.507 ゲーム大会(チーム決め)
ユーザー kotatsugamekotatsugame
提出日時 2021-02-01 20:27:42
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 143 bytes
コンパイル時間 169 ms
コンパイル使用メモリ 11,288 KB
実行使用メモリ 50,304 KB
最終ジャッジ日時 2023-09-12 10:45:19
合計ジャッジ時間 6,516 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 86 ms
15,228 KB
testcase_03 AC 85 ms
15,056 KB
testcase_04 AC 86 ms
15,084 KB
testcase_05 AC 84 ms
15,132 KB
testcase_06 AC 84 ms
15,240 KB
testcase_07 AC 464 ms
48,664 KB
testcase_08 AC 437 ms
50,304 KB
testcase_09 AC 443 ms
36,940 KB
testcase_10 AC 433 ms
36,836 KB
testcase_11 AC 405 ms
36,872 KB
testcase_12 AC 464 ms
36,732 KB
testcase_13 AC 447 ms
50,184 KB
testcase_14 WA -
testcase_15 AC 425 ms
36,836 KB
testcase_16 AC 423 ms
36,892 KB
testcase_17 AC 85 ms
15,352 KB
testcase_18 AC 83 ms
15,312 KB
testcase_19 AC 85 ms
15,312 KB
testcase_20 AC 84 ms
15,312 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval"N,M,X,*A="+`dd`.split*?,
p A.sort!.bsearch{|y|*b=A
b.delete_at A.index y
b.reverse.count{b.shift while b[0]&.<=X+y-_1
b.shift&.<_1}<M}||-1
0