結果
問題 | No.268 ラッピング(Easy) |
ユーザー |
![]() |
提出日時 | 2015-08-22 00:32:10 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 5,000 ms |
コード長 | 215 bytes |
コンパイル時間 | 155 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-18 12:27:42 |
合計ジャッジ時間 | 990 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
l = list(map(int,input().split()))c = list(map(int,input().split()))l2 = [2*(l[0]+l[1]), 2*(l[1]+l[2]),2*(l[2]+l[0])]l2.sort()c.sort(reverse = True)ans = 0for i in range(3):ans += l2[i]*c[i]print(ans)