提出 #528663


ソースコード 拡げる

import itertools as it; print sorted([sum(y) for y in it.combinations([int(x) for x in raw_input().split()],3)])[-3]

提出情報

提出日時
問題 C - 数を3つ選ぶマン
ユーザ mcq
言語 Python (2.7.3)
得点 100
コード長 116 Byte
結果 AC
実行時間 136 ms
メモリ 6488 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 15
セット名 テストケース
Sample example_0.txt, example_1.txt
All example_0.txt, example_1.txt, handmade_0.txt, handmade_1.txt, handmade_2.txt, handmade_3.txt, handmade_4.txt, handmade_5.txt, random_0.txt, random_1.txt, random_2.txt, random_3.txt, random_4.txt, example_0.txt, example_1.txt
ケース名 結果 実行時間 メモリ
example_0.txt AC 136 ms 6388 KiB
example_1.txt AC 95 ms 6396 KiB
handmade_0.txt AC 99 ms 6376 KiB
handmade_1.txt AC 100 ms 6400 KiB
handmade_2.txt AC 99 ms 6276 KiB
handmade_3.txt AC 99 ms 6392 KiB
handmade_4.txt AC 100 ms 6488 KiB
handmade_5.txt AC 98 ms 6276 KiB
random_0.txt AC 98 ms 6396 KiB
random_1.txt AC 99 ms 6396 KiB
random_2.txt AC 96 ms 6392 KiB
random_3.txt AC 97 ms 6396 KiB
random_4.txt AC 99 ms 6356 KiB