結果
問題 |
No.182 新規性の虜
|
ユーザー |
|
提出日時 | 2021-12-05 23:22:20 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 252 bytes |
コンパイル時間 | 86 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 20,724 KB |
最終ジャッジ日時 | 2024-07-07 08:48:54 |
合計ジャッジ時間 | 2,693 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 27 |
ソースコード
N = int(input()) A = list(map(int,input().split())) dat = [0] * (10 ** 9 + 1) count = N for i in A: if dat[i] == 0: dat[i] = 1 elif dat[i] == 1: dat[i] = 2 count -= 2 elif dat[i] == 2: count -= 1 print(count)