結果
| 問題 |
No.182 新規性の虜
|
| コンテスト | |
| ユーザー |
Watson
|
| 提出日時 | 2017-07-20 10:21:34 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 239 bytes |
| コンパイル時間 | 1,285 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 21,488 KB |
| 最終ジャッジ日時 | 2024-10-08 17:35:49 |
| 合計ジャッジ時間 | 9,585 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 TLE * 1 -- * 21 |
ソースコード
N = int(input())
A = [int(i) for i in input().split()]
A.sort()
M = 0
while len(A) != 0:
if A.count(A[0]) == 1:
M += 1
A.remove(A[0])
else:
for i in range(A.count(A[0])):
A.remove(A[0])
print(M)
Watson