結果

問題 No.182 新規性の虜
ユーザー Luoto-greenLuoto-green
提出日時 2017-07-07 11:13:16
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 142 bytes
コンパイル時間 107 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 20,636 KB
最終ジャッジ日時 2024-04-16 01:13:17
合計ジャッジ時間 2,857 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
10,624 KB
testcase_01 AC 30 ms
10,624 KB
testcase_02 AC 32 ms
10,496 KB
testcase_03 AC 31 ms
10,624 KB
testcase_04 AC 30 ms
10,624 KB
testcase_05 AC 31 ms
10,496 KB
testcase_06 AC 30 ms
10,368 KB
testcase_07 AC 30 ms
10,496 KB
testcase_08 AC 88 ms
16,356 KB
testcase_09 AC 129 ms
19,596 KB
testcase_10 AC 113 ms
18,552 KB
testcase_11 AC 96 ms
17,268 KB
testcase_12 AC 55 ms
13,168 KB
testcase_13 AC 30 ms
10,624 KB
testcase_14 AC 30 ms
10,368 KB
testcase_15 RE -
testcase_16 AC 30 ms
10,496 KB
testcase_17 AC 30 ms
10,624 KB
testcase_18 AC 97 ms
17,700 KB
testcase_19 AC 74 ms
15,896 KB
testcase_20 AC 54 ms
13,696 KB
testcase_21 AC 101 ms
18,964 KB
testcase_22 AC 61 ms
14,592 KB
testcase_23 RE -
testcase_24 AC 109 ms
20,636 KB
testcase_25 AC 72 ms
12,348 KB
testcase_26 AC 39 ms
11,904 KB
testcase_27 AC 30 ms
10,496 KB
evil01.txt AC 109 ms
21,360 KB
evil02.txt AC 113 ms
21,488 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
m = sorted(map(int,input().split()))
v = 0
for i in range(n):
    if m[i-1]!=m[i-2] and m[i-1]!=m[i]:
        v += 1
print(v)
0