結果

問題 No.208 王将
ユーザー taba
提出日時 2016-04-16 07:19:20
言語 Python2
(2.7.18)
結果
AC  
実行時間 13 ms / 1,000 ms
コード長 137 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-09 16:30:18
合計ジャッジ時間 1,146 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

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