結果

問題 No.91 赤、緑、青の石
コンテスト
ユーザー JunOnuma
提出日時 2017-06-16 11:34:16
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 389 ms / 5,000 ms
コード長 179 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 299 ms
コンパイル使用メモリ 77,560 KB
実行使用メモリ 77,948 KB
最終ジャッジ日時 2025-12-07 12:29:26
合計ジャッジ時間 7,141 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 29
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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