提出 #30552575
ソースコード 拡げる
from itertools import count
N = int(input())
A = set(map(int, input().split()))
for i in count():
if i not in A:
print(i)
break
提出情報
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 200 / 200 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | example0.txt, example1.txt |
| All | 000.txt, 001.txt, 002.txt, 003.txt, 004.txt, 005.txt, 006.txt, 007.txt, 008.txt, 009.txt, 010.txt, 011.txt, 012.txt, 013.txt, example0.txt, example1.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 000.txt | AC | 18 ms | 9112 KiB |
| 001.txt | AC | 17 ms | 8944 KiB |
| 002.txt | AC | 18 ms | 9388 KiB |
| 003.txt | AC | 18 ms | 9124 KiB |
| 004.txt | AC | 19 ms | 9348 KiB |
| 005.txt | AC | 24 ms | 9128 KiB |
| 006.txt | AC | 17 ms | 9128 KiB |
| 007.txt | AC | 19 ms | 9012 KiB |
| 008.txt | AC | 19 ms | 9008 KiB |
| 009.txt | AC | 17 ms | 9380 KiB |
| 010.txt | AC | 21 ms | 9124 KiB |
| 011.txt | AC | 17 ms | 9040 KiB |
| 012.txt | AC | 17 ms | 9044 KiB |
| 013.txt | AC | 16 ms | 9300 KiB |
| example0.txt | AC | 21 ms | 8848 KiB |
| example1.txt | AC | 20 ms | 8936 KiB |