結果
問題 |
No.2126 MEX Game
|
ユーザー |
![]() |
提出日時 | 2025-06-12 20:02:14 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 212 bytes |
コンパイル時間 | 152 ms |
コンパイル使用メモリ | 82,540 KB |
実行使用メモリ | 90,388 KB |
最終ジャッジ日時 | 2025-06-12 20:06:39 |
合計ジャッジ時間 | 3,013 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 WA * 17 |
ソースコード
import bisect n = int(input()) a = list(map(int, input().split())) a.sort() m = 0 while True: i = bisect.bisect_left(a, m) count_ge = n - i if count_ge < 2: print(m) break m += 1