結果

問題 No.91 赤、緑、青の石
ユーザー JunOnumaJunOnuma
提出日時 2017-06-16 11:34:16
言語 Python2
(2.7.18)
結果
AC  
実行時間 2,188 ms / 5,000 ms
コード長 179 bytes
コンパイル時間 473 ms
コンパイル使用メモリ 6,684 KB
実行使用メモリ 6,092 KB
最終ジャッジ日時 2023-09-06 12:30:33
合計ジャッジ時間 22,152 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,480 ms
5,856 KB
testcase_01 AC 971 ms
5,944 KB
testcase_02 AC 586 ms
5,848 KB
testcase_03 AC 1,095 ms
5,920 KB
testcase_04 AC 529 ms
5,868 KB
testcase_05 AC 1,279 ms
5,952 KB
testcase_06 AC 135 ms
5,836 KB
testcase_07 AC 11 ms
5,952 KB
testcase_08 AC 11 ms
5,956 KB
testcase_09 AC 10 ms
6,016 KB
testcase_10 AC 10 ms
5,940 KB
testcase_11 AC 363 ms
5,940 KB
testcase_12 AC 1,184 ms
5,872 KB
testcase_13 AC 1,348 ms
6,016 KB
testcase_14 AC 862 ms
5,836 KB
testcase_15 AC 1,416 ms
5,952 KB
testcase_16 AC 11 ms
5,872 KB
testcase_17 AC 11 ms
5,956 KB
testcase_18 AC 10 ms
5,924 KB
testcase_19 AC 11 ms
6,092 KB
testcase_20 AC 11 ms
6,016 KB
testcase_21 AC 10 ms
5,948 KB
testcase_22 AC 10 ms
5,956 KB
testcase_23 AC 11 ms
5,968 KB
testcase_24 AC 11 ms
5,920 KB
testcase_25 AC 2,188 ms
5,856 KB
testcase_26 AC 2,030 ms
6,016 KB
testcase_27 AC 11 ms
5,868 KB
testcase_28 AC 11 ms
5,956 KB
testcase_29 AC 26 ms
6,060 KB
testcase_30 AC 1,385 ms
5,836 KB
testcase_31 AC 1,954 ms
5,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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