結果
| 問題 |
No.182 新規性の虜
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-01-13 00:07:48 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 153 bytes |
| コンパイル時間 | 411 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 80,768 KB |
| 最終ジャッジ日時 | 2024-11-21 13:34:46 |
| 合計ジャッジ時間 | 2,889 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 1 WA * 26 |
ソースコード
n = int(input())
a = list(map(int,input().split()))
x = 0
a.sort()
for i in range(n-1):
#print(a[i],a[i+1])
if a[i] != a[i+1]:
x += 1
print(x//2)