結果

問題 No.182 新規性の虜
ユーザー ksomemoksomemo
提出日時 2017-10-22 15:24:18
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 61 ms / 5,000 ms
コード長 251 bytes
コンパイル時間 399 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 26,712 KB
最終ジャッジ日時 2023-08-27 16:45:25
合計ジャッジ時間 2,447 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,476 KB
testcase_01 AC 19 ms
8,600 KB
testcase_02 AC 18 ms
8,524 KB
testcase_03 AC 18 ms
8,628 KB
testcase_04 AC 18 ms
8,624 KB
testcase_05 AC 18 ms
8,624 KB
testcase_06 AC 18 ms
8,532 KB
testcase_07 AC 18 ms
8,520 KB
testcase_08 AC 44 ms
17,784 KB
testcase_09 AC 61 ms
20,900 KB
testcase_10 AC 54 ms
19,804 KB
testcase_11 AC 50 ms
18,128 KB
testcase_12 AC 31 ms
13,096 KB
testcase_13 AC 19 ms
8,524 KB
testcase_14 AC 18 ms
8,628 KB
testcase_15 AC 19 ms
8,472 KB
testcase_16 AC 19 ms
8,500 KB
testcase_17 AC 18 ms
8,628 KB
testcase_18 AC 45 ms
14,340 KB
testcase_19 AC 37 ms
12,960 KB
testcase_20 AC 30 ms
11,448 KB
testcase_21 AC 49 ms
15,328 KB
testcase_22 AC 33 ms
11,980 KB
testcase_23 AC 18 ms
8,456 KB
testcase_24 AC 61 ms
26,712 KB
testcase_25 AC 40 ms
9,708 KB
testcase_26 AC 22 ms
10,040 KB
testcase_27 AC 18 ms
8,600 KB
evil01.txt AC 62 ms
27,160 KB
evil02.txt AC 71 ms
26,916 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter


def main():
    N = int(input())
    A = map(int, input().split())

    c = Counter(A)
    ans = sum(1
              for n in c.values()
              if n == 1)

    print(ans)

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