結果
| 問題 |
No.182 新規性の虜
|
| コンテスト | |
| ユーザー |
Watson
|
| 提出日時 | 2017-07-20 10:21:04 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 248 bytes |
| コンパイル時間 | 324 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 27,368 KB |
| 最終ジャッジ日時 | 2024-10-08 17:35:02 |
| 合計ジャッジ時間 | 7,159 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 5 TLE * 1 -- * 21 |
ソースコード
N = int(input())
A = [int(i) for i in input().split()]
A.sort()
print(A)
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