結果

問題 No.182 新規性の虜
ユーザー roiti46roiti46
提出日時 2015-04-16 23:22:36
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 192 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 6,652 KB
実行使用メモリ 14,452 KB
最終ジャッジ日時 2023-09-17 21:00:36
合計ジャッジ時間 2,342 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
6,572 KB
testcase_01 AC 19 ms
6,436 KB
testcase_02 AC 20 ms
6,428 KB
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 AC 20 ms
6,432 KB
testcase_14 AC 20 ms
6,512 KB
testcase_15 AC 20 ms
6,576 KB
testcase_16 AC 20 ms
6,660 KB
testcase_17 AC 19 ms
6,512 KB
testcase_18 AC 62 ms
12,192 KB
testcase_19 AC 50 ms
10,300 KB
testcase_20 AC 38 ms
8,600 KB
testcase_21 AC 68 ms
13,136 KB
testcase_22 AC 43 ms
9,440 KB
testcase_23 AC 20 ms
6,512 KB
testcase_24 AC 82 ms
14,452 KB
testcase_25 AC 69 ms
7,400 KB
testcase_26 RE -
testcase_27 AC 20 ms
6,428 KB
evil01.txt RE -
evil02.txt RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(raw_input())
A = map(int, raw_input().split())
histo = [0]*100001
for a in A:
    histo[a-1] += 1

ans = 0
for i in xrange(100001):
    if histo[i] == 1:
        ans += 1
print ans    
0