結果
問題 |
No.182 新規性の虜
|
ユーザー |
|
提出日時 | 2017-08-10 15:40:36 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 176 bytes |
コンパイル時間 | 131 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 13,648 KB |
最終ジャッジ日時 | 2024-10-12 04:03:14 |
合計ジャッジ時間 | 6,939 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 5 TLE * 1 -- * 21 |
ソースコード
import itertools lgt = int(input()) dat = list(map(int, input().split())) cnt = 0 for i in itertools.combinations(dat, 2): if i[0] == i[1]: cnt += 2 print(lgt-cnt)