結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-09-10 01:02:14 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 389 bytes |
| 記録 | |
| コンパイル時間 | 69 ms |
| コンパイル使用メモリ | 81,280 KB |
| 実行使用メモリ | 90,880 KB |
| 最終ジャッジ日時 | 2026-07-17 20:45:12 |
| 合計ジャッジ時間 | 12,574 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 3 WA * 24 |
ソースコード
N = int(raw_input())
input = sorted(raw_input().strip().split())
cnt = 0
while input:
top = input.pop(0)
if input:
nxt = input[0]
if top == nxt:
while True:
try:
if input.index(top) == 0:
input.remove(top)
except:
break
else:
cnt += 1
print cnt