結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-14 16:33:45 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 204 bytes |
| 記録 | |
| コンパイル時間 | 430 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 15,228 KB |
| 最終ジャッジ日時 | 2026-04-04 22:03:43 |
| 合計ジャッジ時間 | 8,945 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 TLE * 1 -- * 21 |
ソースコード
#新規性の虜
N = int(input())
A = list(map(int , input().split()))
B = 0
while len(A) > 0:
a = A.pop(0)
if A.count(a) > 0:
A = A[A.count(a):]
else:
B += 1
print(B)