提出 #44939541


ソースコード 拡げる

N = int(input())
A = list(map(int, input().split()))
A.sort()
for i in range(len(A)-1):
    if A[i+1] - A[i] > 1:
        print(A[i]+1)
        exit()

提出情報

提出日時
問題 B - MissingNo.
ユーザ chikage1205
言語 Python (PyPy 3.10-v7.3.12)
得点 200
コード長 158 Byte
結果 AC
実行時間 55 ms
メモリ 76664 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 200 / 200
結果
AC × 3
AC × 17
セット名 テストケース
Sample sample_01.txt, sample_02.txt, sample_03.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt, sample_01.txt, sample_02.txt, sample_03.txt
ケース名 結果 実行時間 メモリ
random_01.txt AC 54 ms 76436 KiB
random_02.txt AC 54 ms 76436 KiB
random_03.txt AC 54 ms 76664 KiB
random_04.txt AC 54 ms 76284 KiB
random_05.txt AC 55 ms 76488 KiB
random_06.txt AC 55 ms 76412 KiB
random_07.txt AC 54 ms 76260 KiB
random_08.txt AC 54 ms 76292 KiB
random_09.txt AC 54 ms 76404 KiB
random_10.txt AC 54 ms 76168 KiB
random_11.txt AC 54 ms 76472 KiB
random_12.txt AC 54 ms 76112 KiB
random_13.txt AC 54 ms 76484 KiB
random_14.txt AC 54 ms 76440 KiB
sample_01.txt AC 54 ms 76396 KiB
sample_02.txt AC 54 ms 76196 KiB
sample_03.txt AC 54 ms 76652 KiB