結果

問題 No.91 赤、緑、青の石
ユーザー nebukuro09
提出日時 2016-10-14 13:50:07
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 396 ms / 5,000 ms
コード長 118 bytes
コンパイル時間 1,456 ms
コンパイル使用メモリ 76,712 KB
実行使用メモリ 77,588 KB
最終ジャッジ日時 2024-06-24 07:01:24
合計ジャッジ時間 7,360 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

a = sorted(map(int, raw_input().split()))
while a[2] - a[0] > 2:
    a[0] += 1
    a[2] -= 2
    a.sort()
print min(a)
0