結果

問題 No.507 ゲーム大会(チーム決め)
ユーザー kotatsugamekotatsugame
提出日時 2021-02-01 20:33:25
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 145 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 11,464 KB
実行使用メモリ 36,972 KB
最終ジャッジ日時 2023-09-12 10:46:53
合計ジャッジ時間 5,324 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,068 KB
testcase_01 AC 82 ms
15,088 KB
testcase_02 AC 82 ms
15,120 KB
testcase_03 AC 86 ms
15,104 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 83 ms
15,240 KB
testcase_07 AC 319 ms
36,312 KB
testcase_08 AC 314 ms
36,852 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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