結果

問題 No.182 新規性の虜
ユーザー MamonboMamonbo
提出日時 2015-08-03 17:35:38
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 317 bytes
コンパイル時間 107 ms
コンパイル使用メモリ 10,512 KB
実行使用メモリ 8,760 KB
最終ジャッジ日時 2023-09-25 00:54:00
合計ジャッジ時間 7,911 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,776 KB
testcase_01 AC 15 ms
7,920 KB
testcase_02 AC 16 ms
7,828 KB
testcase_03 AC 15 ms
7,808 KB
testcase_04 AC 15 ms
7,864 KB
testcase_05 AC 15 ms
7,808 KB
testcase_06 AC 15 ms
7,880 KB
testcase_07 AC 16 ms
7,860 KB
testcase_08 TLE -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
evil01.txt -- -
evil02.txt -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding=UTF-8

N=int(input())

mojir=input()
hyo=mojir.split(" ")
#真面目にチェックしていくか
ans=0
for idx in range(0,N,1):
    sinkip=True
    for idy in range(0,N,1):
        if hyo[idx]==hyo[idy] and idx != idy:
            sinkip=False
            break

    if sinkip:
        ans=ans+1

print(ans)
0