結果
| 問題 | No.1470 Mex Sum |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-04-12 01:01:23 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 193 bytes |
| 記録 | |
| コンパイル時間 | 176 ms |
| コンパイル使用メモリ | 85,632 KB |
| 実行使用メモリ | 2,681,712 KB |
| 最終ジャッジ日時 | 2026-03-16 03:24:27 |
| 合計ジャッジ時間 | 38,462 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 MLE * 1 |
| other | TLE * 13 MLE * 36 |
ソースコード
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)