結果
| 問題 |
No.1470 Mex Sum
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-04-12 01:01:23 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 193 bytes |
| コンパイル時間 | 214 ms |
| コンパイル使用メモリ | 82,412 KB |
| 実行使用メモリ | 848,432 KB |
| 最終ジャッジ日時 | 2024-06-27 22:38:35 |
| 合計ジャッジ時間 | 4,338 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | MLE * 1 -- * 48 |
ソースコード
import itertools
n=int(input())
number=list(map(int,input().split()))
goukei=0
combination=list(itertools.combinations(number,2))
for i in combination:
for j in i:
goukei+=j
print(goukei)