結果

問題 No.91 赤、緑、青の石
ユーザー JunOnumaJunOnuma
提出日時 2017-06-16 11:32:59
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 625 ms
コンパイル使用メモリ 6,932 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2024-04-08 13:29:02
合計ジャッジ時間 21,034 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 910 ms
6,676 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 128 ms
6,676 KB
testcase_07 AC 11 ms
6,676 KB
testcase_08 AC 11 ms
6,676 KB
testcase_09 WA -
testcase_10 AC 11 ms
6,676 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 1,250 ms
6,676 KB
testcase_14 AC 804 ms
6,676 KB
testcase_15 AC 1,325 ms
6,676 KB
testcase_16 AC 11 ms
6,676 KB
testcase_17 AC 12 ms
6,676 KB
testcase_18 AC 11 ms
6,676 KB
testcase_19 AC 11 ms
6,676 KB
testcase_20 AC 11 ms
6,676 KB
testcase_21 AC 12 ms
6,676 KB
testcase_22 AC 12 ms
6,676 KB
testcase_23 AC 12 ms
6,676 KB
testcase_24 AC 12 ms
6,676 KB
testcase_25 AC 1,999 ms
6,676 KB
testcase_26 WA -
testcase_27 AC 13 ms
6,676 KB
testcase_28 AC 13 ms
6,676 KB
testcase_29 AC 27 ms
6,676 KB
testcase_30 AC 1,302 ms
6,676 KB
testcase_31 AC 1,798 ms
6,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

l = sorted(map(int, raw_input().split()))
s = l[0]
l = map(lambda x:x-s, l)
while l[1] != 0:
    s += 1
    l[1] -= 1
    l[2] -= 3
    l.sort()
s += l[2] / 5
print s
0