結果
| 問題 |
No.182 新規性の虜
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-11 21:29:01 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 280 bytes |
| コンパイル時間 | 103 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 21,408 KB |
| 最終ジャッジ日時 | 2024-06-28 04:01:42 |
| 合計ジャッジ時間 | 7,080 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 TLE * 1 -- * 21 |
ソースコード
input()
A = list(map(int, input().split()))
newlist = []
twolist = []
for a in A:
if not a in newlist and not a in twolist:
newlist.append(a)
continue
if a in newlist:
newlist.remove(a)
twolist.append(a)
continue
print(len(newlist))