結果
| 問題 |
No.182 新規性の虜
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-14 16:33:45 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 204 bytes |
| コンパイル時間 | 312 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 23,172 KB |
| 最終ジャッジ日時 | 2024-09-15 19:14:16 |
| 合計ジャッジ時間 | 7,313 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)