結果

問題 No.91 赤、緑、青の石
コンテスト
ユーザー JunOnuma
提出日時 2017-06-16 11:32:59
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 167 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 168 ms
コンパイル使用メモリ 77,516 KB
最終ジャッジ日時 2025-12-04 00:09:25
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 20 WA * 8
権限があれば一括ダウンロードができます

ソースコード

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:
    s += 1
    l[1] -= 1
    l[2] -= 3
    l.sort()
s += l[2] / 5
print s
0