結果
問題 |
No.182 新規性の虜
|
ユーザー |
![]() |
提出日時 | 2017-05-28 10:36:32 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 274 bytes |
コンパイル時間 | 152 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 22,980 KB |
最終ジャッジ日時 | 2024-09-21 15:07:21 |
合計ジャッジ時間 | 7,188 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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))