結果
| 問題 |
No.268 ラッピング(Easy)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-05-20 20:26:41 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 268 bytes |
| コンパイル時間 | 306 ms |
| コンパイル使用メモリ | 82,012 KB |
| 実行使用メモリ | 70,784 KB |
| 最終ジャッジ日時 | 2024-09-19 00:30:23 |
| 合計ジャッジ時間 | 2,018 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 10 |
ソースコード
ll = list(map(int, raw_input().split()))
rr = list(map(int, raw_input().split()))
rr.sort(reverse=True)
x = ll[0]*2 + ll[1]*2
y = ll[1]*2 + ll[2]*2
z = ll[2]*2 + ll[0]*2
mm = sorted([x,y,z])
result = 0
for i in range(3):
result += rr[i] * mm[i]
print(result)