結果
問題 |
No.182 新規性の虜
|
ユーザー |
![]() |
提出日時 | 2018-06-07 12:19:12 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 292 bytes |
コンパイル時間 | 86 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 23,520 KB |
最終ジャッジ日時 | 2024-06-30 10:26:57 |
合計ジャッジ時間 | 2,512 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 13 WA * 14 |
ソースコード
num_NewInt = int(input()) Integer = input().split(" ") """ for i in range(len(Integer)): print(Integer[i]) """ int_set = set() for i in range(num_NewInt): if Integer[i] not in int_set: int_set.add(Integer[i]) else: num_NewInt-=1 print(num_NewInt) #print(int_set)