結果

問題 No.208 王将
ユーザー tktk_snsn
提出日時 2021-01-11 22:17:53
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 139 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 82,088 KB
実行使用メモリ 66,900 KB
最終ジャッジ日時 2024-11-21 09:24:56
合計ジャッジ時間 2,734 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 2
other RE * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

x, y = map(int, input())
xx, yy = map(int, input().split())

if x == y and xx == yy and x > xx:
    print(x + 1)
else:
    print(max(x, y))
0