結果
問題 |
No.182 新規性の虜
|
ユーザー |
![]() |
提出日時 | 2017-10-02 01:01:19 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 208 bytes |
コンパイル時間 | 139 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 31,132 KB |
最終ジャッジ日時 | 2024-11-15 21:52:26 |
合計ジャッジ時間 | 68,970 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 WA * 7 TLE * 9 |
ソースコード
n = int(input()) nums = list(map(int, input().split())) li = [] count = 0 for i in nums: if not i in li: count += 1 li.append(i) elif not count <= 0: count -= 1 print(count)