結果

問題 No.1692 Expectations
ユーザー weaken
提出日時 2021-10-03 12:17:29
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 294 bytes
コンパイル時間 112 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 46,192 KB
最終ジャッジ日時 2024-07-21 06:12:54
合計ジャッジ時間 2,352 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5 WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    n, _ = map(int, input().split())
    a = set(map(int, input().split()))

    target = set()
    for i in range(1, n + 1):
        target.add(i)

    ans = 0

    for t in target:
        if t in a:
            ans += 1

    print(ans, 0)


if __name__ == "__main__":
    main()
0