結果

問題 No.2126 MEX Game
ユーザー lloyzlloyz
提出日時 2022-11-18 22:14:18
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 192 bytes
コンパイル時間 847 ms
コンパイル使用メモリ 11,688 KB
実行使用メモリ 24,160 KB
最終ジャッジ日時 2023-10-20 07:04:37
合計ジャッジ時間 2,899 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,020 KB
testcase_01 AC 28 ms
10,020 KB
testcase_02 AC 28 ms
10,020 KB
testcase_03 AC 28 ms
10,020 KB
testcase_04 AC 29 ms
10,020 KB
testcase_05 WA -
testcase_06 AC 28 ms
10,020 KB
testcase_07 WA -
testcase_08 AC 28 ms
10,020 KB
testcase_09 AC 28 ms
10,020 KB
testcase_10 AC 85 ms
21,528 KB
testcase_11 AC 86 ms
21,528 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 79 ms
21,540 KB
testcase_16 AC 73 ms
21,388 KB
testcase_17 AC 66 ms
20,836 KB
testcase_18 AC 67 ms
21,260 KB
testcase_19 AC 52 ms
11,816 KB
testcase_20 AC 52 ms
11,816 KB
testcase_21 WA -
testcase_22 AC 30 ms
10,020 KB
testcase_23 AC 28 ms
10,020 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

n = int(input())
A = list(map(int, input().split()))
counter = Counter(A)

for i in range(n):
    if counter[i] >= 2:
        continue
    print(i)
    exit()
0