結果

問題 No.208 王将
ユーザー brthyyjpbrthyyjp
提出日時 2021-12-09 19:23:22
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 311 ms
コンパイル使用メモリ 87,164 KB
実行使用メモリ 71,500 KB
最終ジャッジ日時 2023-09-24 11:03:21
合計ジャッジ時間 3,459 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,484 KB
testcase_01 AC 72 ms
71,268 KB
testcase_02 AC 72 ms
71,224 KB
testcase_03 AC 78 ms
71,288 KB
testcase_04 AC 77 ms
71,376 KB
testcase_05 AC 74 ms
71,336 KB
testcase_06 WA -
testcase_07 AC 74 ms
71,124 KB
testcase_08 AC 73 ms
71,500 KB
testcase_09 AC 71 ms
71,324 KB
testcase_10 AC 72 ms
71,500 KB
testcase_11 AC 71 ms
71,440 KB
testcase_12 AC 72 ms
71,360 KB
testcase_13 AC 71 ms
71,488 KB
testcase_14 AC 72 ms
71,440 KB
testcase_15 AC 74 ms
71,060 KB
testcase_16 AC 73 ms
71,296 KB
testcase_17 AC 74 ms
71,212 KB
testcase_18 AC 73 ms
71,284 KB
testcase_19 AC 74 ms
71,280 KB
testcase_20 AC 74 ms
71,436 KB
testcase_21 AC 74 ms
71,268 KB
testcase_22 AC 73 ms
71,424 KB
testcase_23 AC 72 ms
71,112 KB
testcase_24 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

x,y = map(int, input().split())
x2,y2 = map(int, input().split())
if x != y:
    print(max(x, y))
else:
    if x2 == y2:
        print(x+1)
    else:
        print(x)
0