結果
| 問題 | No.208 王将 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-09-05 11:33:55 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 160 bytes |
| 記録 | |
| コンパイル時間 | 139 ms |
| コンパイル使用メモリ | 77,624 KB |
| 最終ジャッジ日時 | 2025-12-03 21:23:59 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 WA * 2 |
ソースコード
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:
print max(a, b)+1
else:
print max(a, b)