結果

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

ソースコード

diff #
raw source code

gx,gy=map(int,raw_input().split())
px,py=map(int,raw_input().split())
t=max(gx,gy)
if px==py and gx==gy and px<gx and px>0:
	t+=1
print t
0