結果

問題 No.920 あかあお
ユーザー ns6251ns6251
提出日時 2019-12-02 11:41:54
言語 PyPy3
(7.3.13)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 1,024 ms
コンパイル使用メモリ 87,140 KB
実行使用メモリ 71,708 KB
最終ジャッジ日時 2023-08-15 16:38:12
合計ジャッジ時間 2,784 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

X, Y, Z = (int(_) for _ in input().split())
while Z >= 0:
    if X >= Y:
        Y += 1
    else:
        X += 1
    Z -= 1

if X > Y:
    print(Y)
else:
    print(X)
0