結果
| 問題 | No.208 王将 |
| コンテスト | |
| ユーザー |
togatoga
|
| 提出日時 | 2015-09-06 08:57:54 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 79 ms / 1,000 ms |
| コード長 | 189 bytes |
| 記録 | |
| コンパイル時間 | 176 ms |
| コンパイル使用メモリ | 77,708 KB |
| 最終ジャッジ日時 | 2025-12-03 16:43:08 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
import sys
x,y = map(int, raw_input().split())
a,b = map(int, raw_input().split())
if (x != y):
print max(x, y)
sys.exit(0)
if (a < x and a == b):
print x + 1
else:
print x
togatoga