結果

問題 No.91 赤、緑、青の石
ユーザー DrDrpilotDrDrpilot
提出日時 2022-06-21 12:41:04
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,877 ms / 5,000 ms
コード長 113 bytes
コンパイル時間 420 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-04-22 06:48:02
合計ジャッジ時間 21,081 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,269 ms
10,624 KB
testcase_01 AC 859 ms
10,624 KB
testcase_02 AC 531 ms
10,624 KB
testcase_03 AC 961 ms
10,752 KB
testcase_04 AC 479 ms
10,624 KB
testcase_05 AC 1,155 ms
10,752 KB
testcase_06 AC 332 ms
10,624 KB
testcase_07 AC 30 ms
10,624 KB
testcase_08 AC 30 ms
10,624 KB
testcase_09 AC 31 ms
10,624 KB
testcase_10 AC 30 ms
10,624 KB
testcase_11 AC 337 ms
10,624 KB
testcase_12 AC 1,034 ms
10,752 KB
testcase_13 AC 1,160 ms
10,624 KB
testcase_14 AC 762 ms
10,624 KB
testcase_15 AC 1,210 ms
10,624 KB
testcase_16 AC 30 ms
10,752 KB
testcase_17 AC 30 ms
10,624 KB
testcase_18 AC 31 ms
10,624 KB
testcase_19 AC 30 ms
10,624 KB
testcase_20 AC 30 ms
10,624 KB
testcase_21 AC 31 ms
10,624 KB
testcase_22 AC 30 ms
10,624 KB
testcase_23 AC 31 ms
10,752 KB
testcase_24 AC 30 ms
10,752 KB
testcase_25 AC 1,877 ms
10,624 KB
testcase_26 AC 1,764 ms
10,624 KB
testcase_27 AC 30 ms
10,752 KB
testcase_28 AC 180 ms
10,624 KB
testcase_29 AC 363 ms
10,624 KB
testcase_30 AC 1,270 ms
10,752 KB
testcase_31 AC 1,751 ms
10,624 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