結果

問題 No.268 ラッピング(Easy)
ユーザー Tsuneo YoshiokaTsuneo Yoshioka
提出日時 2015-08-21 23:18:55
言語 Ruby
(3.2.2)
結果
AC  
実行時間 89 ms / 5,000 ms
コード長 120 bytes
コンパイル時間 63 ms
コンパイル使用メモリ 11,496 KB
実行使用メモリ 15,328 KB
最終ジャッジ日時 2023-08-27 05:40:05
合計ジャッジ時間 2,177 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
15,308 KB
testcase_01 AC 83 ms
15,328 KB
testcase_02 AC 83 ms
15,116 KB
testcase_03 AC 83 ms
15,288 KB
testcase_04 AC 84 ms
15,080 KB
testcase_05 AC 89 ms
15,124 KB
testcase_06 AC 83 ms
15,236 KB
testcase_07 AC 84 ms
15,224 KB
testcase_08 AC 83 ms
15,088 KB
testcase_09 AC 83 ms
15,324 KB
testcase_10 AC 84 ms
15,240 KB
testcase_11 AC 83 ms
15,296 KB
testcase_12 AC 84 ms
15,292 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

L=gets.split.map(&:to_i).sort
R=gets.split.map(&:to_i).sort
puts ((L[1]+L[2])*R[0]+(L[0]+L[2])*R[1]+(L[0]+L[1])*R[2])*2
0