結果

問題 No.91 赤、緑、青の石
ユーザー JunOnuma
提出日時 2017-06-16 11:32:59
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 227 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-10-01 06:42:05
合計ジャッジ時間 17,408 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 20 WA * 8
権限があれば一括ダウンロードができます

ソースコード

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