結果

問題 No.920 あかあお
ユーザー rikein12rikein12
提出日時 2019-11-08 21:52:49
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 121 bytes
コンパイル時間 1,865 ms
コンパイル使用メモリ 86,764 KB
実行使用メモリ 71,508 KB
最終ジャッジ日時 2023-10-13 03:47:45
合計ジャッジ時間 2,594 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 73 ms
71,136 KB
testcase_06 AC 74 ms
71,172 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 74 ms
71,132 KB
testcase_11 WA -
testcase_12 AC 74 ms
71,376 KB
testcase_13 AC 73 ms
71,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

if abs(Y-X)<=Z:
    print(max(X,Y)+(Z-min(X,Y))//2)
else:
    print(min(X+Z,Y+Z))
0