結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
rocoder
|
| 提出日時 | 2017-05-28 10:36:32 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 274 bytes |
| 記録 | |
| コンパイル時間 | 284 ms |
| コンパイル使用メモリ | 21,468 KB |
| 実行使用メモリ | 19,740 KB |
| 最終ジャッジ日時 | 2026-09-01 17:12:56 |
| 合計ジャッジ時間 | 8,371 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 TLE * 1 -- * 21 |
ソースコード
N=int(input())
A=[int(i) for i in input (). split ()]
i=0
while i<len(A):
j=i+1
e=1
while j<len(A) and e==1:
if A[i]==A[j]:
A.pop(i)
A.pop(j-1)
e=0
i-=1
j-=1
j+=1
i+=1
print (len(A))
rocoder