結果

問題 No.182 新規性の虜
ユーザー ohanaohana
提出日時 2023-10-23 11:48:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 88 ms / 5,000 ms
コード長 177 bytes
コンパイル時間 218 ms
コンパイル使用メモリ 81,824 KB
実行使用メモリ 88,892 KB
最終ジャッジ日時 2023-10-23 11:48:21
合計ジャッジ時間 2,955 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,628 KB
testcase_01 AC 37 ms
53,628 KB
testcase_02 AC 37 ms
53,628 KB
testcase_03 AC 36 ms
53,628 KB
testcase_04 AC 37 ms
53,628 KB
testcase_05 AC 37 ms
53,628 KB
testcase_06 AC 37 ms
53,628 KB
testcase_07 AC 37 ms
53,628 KB
testcase_08 AC 72 ms
82,248 KB
testcase_09 AC 88 ms
88,528 KB
testcase_10 AC 83 ms
86,696 KB
testcase_11 AC 77 ms
83,792 KB
testcase_12 AC 61 ms
77,636 KB
testcase_13 AC 36 ms
53,628 KB
testcase_14 AC 37 ms
53,628 KB
testcase_15 AC 37 ms
53,628 KB
testcase_16 AC 37 ms
53,628 KB
testcase_17 AC 36 ms
53,628 KB
testcase_18 AC 71 ms
83,020 KB
testcase_19 AC 65 ms
76,912 KB
testcase_20 AC 58 ms
73,612 KB
testcase_21 AC 75 ms
84,696 KB
testcase_22 AC 61 ms
75,180 KB
testcase_23 AC 38 ms
53,628 KB
testcase_24 AC 76 ms
88,892 KB
testcase_25 AC 60 ms
84,720 KB
testcase_26 AC 48 ms
68,312 KB
testcase_27 AC 37 ms
53,628 KB
evil01.txt AC 78 ms
90,072 KB
evil02.txt AC 80 ms
90,072 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import itertools

n = int(input())
A = list(map(int, input().split()))
A.sort()
cnt = 0

for k, g in itertools.groupby(A):
    if len(list(g)) == 1:
        cnt += 1
print(cnt)
0