結果
| 問題 |
No.268 ラッピング(Easy)
|
| コンテスト | |
| ユーザー |
john_doe_113
|
| 提出日時 | 2015-08-25 06:50:21 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 12 ms / 5,000 ms |
| コード長 | 218 bytes |
| コンパイル時間 | 194 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-18 13:20:20 |
| 合計ジャッジ時間 | 992 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
import itertools as it print min(k[0]*i[0]+k[1]*i[1]+k[2]*i[2] for k in [map(int,raw_input().split())] for i in [i for i in it.permutations([2*(i[0]+i[1]) for i in it.combinations(map(int,raw_input().split()),2)],3)])
john_doe_113