結果
| 問題 | No.208 王将 |
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2021-01-15 10:52:49 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 26 ms / 1,000 ms |
| + 87µs | |
| コード長 | 130 bytes |
| 記録 | |
| コンパイル時間 | 64 ms |
| コンパイル使用メモリ | 82,496 KB |
| 実行使用メモリ | 56,112 KB |
| 最終ジャッジ日時 | 2026-09-29 18:58:42 |
| 合計ジャッジ時間 | 2,224 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
x,y=map(int,input().split())
hx,hy=map(int,input().split())
if x==y and hx==hy and x>hx:
print(x+1)
else:
print(max(x,y))
H20