結果

問題 No.208 王将
ユーザー rlangevinrlangevin
提出日時 2023-01-09 22:43:06
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 142 bytes
コンパイル時間 295 ms
コンパイル使用メモリ 87,288 KB
実行使用メモリ 71,624 KB
最終ジャッジ日時 2023-08-22 21:51:03
合計ジャッジ時間 3,500 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,164 KB
testcase_01 AC 76 ms
71,244 KB
testcase_02 AC 75 ms
71,108 KB
testcase_03 AC 73 ms
71,272 KB
testcase_04 AC 73 ms
71,164 KB
testcase_05 AC 73 ms
71,344 KB
testcase_06 AC 73 ms
71,172 KB
testcase_07 AC 74 ms
71,304 KB
testcase_08 AC 75 ms
71,412 KB
testcase_09 AC 75 ms
71,108 KB
testcase_10 WA -
testcase_11 AC 73 ms
71,304 KB
testcase_12 AC 73 ms
71,264 KB
testcase_13 AC 72 ms
71,408 KB
testcase_14 WA -
testcase_15 AC 73 ms
71,120 KB
testcase_16 AC 74 ms
71,336 KB
testcase_17 AC 75 ms
71,296 KB
testcase_18 WA -
testcase_19 AC 73 ms
71,412 KB
testcase_20 AC 72 ms
71,284 KB
testcase_21 AC 74 ms
71,360 KB
testcase_22 AC 75 ms
71,192 KB
testcase_23 WA -
testcase_24 AC 74 ms
71,336 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x, y = map(int, input().split())
x2, y2 = map(int, input().split())
ans = max(x, y)
if x == y and x2 == y2 and x2 < x:
    ans -= 1
print(ans)
0