結果

問題 No.208 王将
ユーザー nebukuro09
提出日時 2016-09-05 11:34:30
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 1,000 ms
コード長 168 bytes
コンパイル時間 75 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-15 20:24:00
合計ジャッジ時間 1,030 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b = map(int, raw_input().split())
c, d = map(int, raw_input().split())
if a==b and c==d and a*c>0 and b*d>0 and a>c:
    print max(a, b)+1
else:
    print max(a, b)
0