結果

問題 No.208 王将
コンテスト
ユーザー yaoshimax
提出日時 2015-05-24 17:48:18
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 82 ms / 1,000 ms
コード長 131 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 127 ms
コンパイル使用メモリ 77,768 KB
最終ジャッジ日時 2025-12-03 15:16:03
ジャッジサーバーID
(参考情報)
judge2 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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