結果
| 問題 |
No.208 王将
|
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2021-01-15 10:52:49 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 1,000 ms |
| コード長 | 130 bytes |
| コンパイル時間 | 168 ms |
| コンパイル使用メモリ | 82,356 KB |
| 実行使用メモリ | 53,696 KB |
| 最終ジャッジ日時 | 2024-11-25 08:29:51 |
| 合計ジャッジ時間 | 1,873 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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