結果
| 問題 | No.208 王将 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-09-05 11:34:30 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 59 ms / 1,000 ms |
| + 766µs | |
| コード長 | 168 bytes |
| 記録 | |
| コンパイル時間 | 67 ms |
| コンパイル使用メモリ | 81,280 KB |
| 実行使用メモリ | 81,024 KB |
| 最終ジャッジ日時 | 2026-07-18 07:58:37 |
| 合計ジャッジ時間 | 3,206 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
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)