結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-08-10 15:37:59 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 290 bytes |
| 記録 | |
| コンパイル時間 | 102 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 21,612 KB |
| 最終ジャッジ日時 | 2024-10-12 04:03:07 |
| 合計ジャッジ時間 | 7,012 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 TLE * 1 -- * 21 |
ソースコード
import itertools
lgt = int(input())
dat = list(map(int, input().split()))
ans = 0
for i in itertools.combinations(dat, 2):
if i[0] == i[1]:
for j in range(lgt):
if i[0] == dat[j]:
dat[j] = -1
for i in dat:
if i != -1:
ans += 1
print(ans)