結果

問題 No.91 赤、緑、青の石
ユーザー DrDrpilotDrDrpilot
提出日時 2022-06-21 12:42:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 347 ms / 5,000 ms
コード長 113 bytes
コンパイル時間 389 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 75,184 KB
最終ジャッジ日時 2024-04-22 06:49:15
合計ジャッジ時間 5,691 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 259 ms
74,880 KB
testcase_01 AC 185 ms
74,880 KB
testcase_02 AC 129 ms
75,008 KB
testcase_03 AC 199 ms
74,880 KB
testcase_04 AC 120 ms
74,752 KB
testcase_05 AC 224 ms
74,752 KB
testcase_06 AC 97 ms
74,888 KB
testcase_07 AC 37 ms
51,840 KB
testcase_08 AC 37 ms
51,712 KB
testcase_09 AC 37 ms
51,712 KB
testcase_10 AC 37 ms
51,840 KB
testcase_11 AC 96 ms
74,864 KB
testcase_12 AC 211 ms
75,184 KB
testcase_13 AC 238 ms
74,752 KB
testcase_14 AC 166 ms
75,008 KB
testcase_15 AC 245 ms
74,752 KB
testcase_16 AC 37 ms
51,328 KB
testcase_17 AC 39 ms
51,840 KB
testcase_18 AC 38 ms
52,096 KB
testcase_19 AC 37 ms
52,224 KB
testcase_20 AC 38 ms
51,584 KB
testcase_21 AC 38 ms
51,840 KB
testcase_22 AC 38 ms
51,840 KB
testcase_23 AC 38 ms
51,712 KB
testcase_24 AC 38 ms
51,840 KB
testcase_25 AC 347 ms
74,888 KB
testcase_26 AC 322 ms
74,752 KB
testcase_27 AC 37 ms
51,840 KB
testcase_28 AC 71 ms
74,880 KB
testcase_29 AC 102 ms
75,136 KB
testcase_30 AC 239 ms
74,932 KB
testcase_31 AC 314 ms
74,988 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

l=list(map(int,input().split()))
l.sort()
while l[-1]-l[0]>1:
    l[-1]-=2
    l[0]+=1
    l.sort()
print(min(l))
0