結果

問題 No.268 ラッピング(Easy)
ユーザー akitsugu777akitsugu777
提出日時 2019-08-07 15:40:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 647 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 7,976 KB
最終ジャッジ日時 2023-09-25 22:45:21
合計ジャッジ時間 1,310 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,780 KB
testcase_01 AC 14 ms
7,832 KB
testcase_02 AC 14 ms
7,824 KB
testcase_03 AC 14 ms
7,888 KB
testcase_04 AC 14 ms
7,860 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 15 ms
7,776 KB
testcase_08 WA -
testcase_09 AC 14 ms
7,916 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, c = map(int,input().split())
l1 = sorted([a*2 + b*2, b*2 + c*2, c*2 + a*2])[::-1]
l2 = list(map(int,input().split()))

z = 0
for i, j in zip(l1, l2):
    z += i * j

print(z)
0