結果

問題 No.920 あかあお
ユーザー ABKZABKZ
提出日時 2021-08-02 18:06:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 109 bytes
コンパイル時間 1,800 ms
コンパイル使用メモリ 86,028 KB
実行使用メモリ 70,944 KB
最終ジャッジ日時 2023-10-14 20:49:50
合計ジャッジ時間 4,587 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
70,816 KB
testcase_01 AC 70 ms
70,792 KB
testcase_02 AC 69 ms
70,944 KB
testcase_03 AC 71 ms
70,792 KB
testcase_04 AC 69 ms
70,644 KB
testcase_05 AC 70 ms
70,624 KB
testcase_06 AC 69 ms
70,792 KB
testcase_07 AC 71 ms
70,592 KB
testcase_08 AC 70 ms
70,576 KB
testcase_09 AC 69 ms
70,736 KB
testcase_10 AC 66 ms
70,752 KB
testcase_11 AC 67 ms
70,712 KB
testcase_12 AC 67 ms
70,700 KB
testcase_13 AC 69 ms
70,700 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

X, Y, Z = map(int, input().split())

print(int(min(X, Y) + (Z if abs(X - Y) > Z else (abs(X - Y) + Z) / 2)))
0