結果
| 問題 |
No.208 王将
|
| コンテスト | |
| ユーザー |
rlangevin
|
| 提出日時 | 2023-01-09 22:43:06 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 142 bytes |
| コンパイル時間 | 522 ms |
| コンパイル使用メモリ | 82,264 KB |
| 実行使用メモリ | 54,028 KB |
| 最終ジャッジ日時 | 2024-12-18 00:15:36 |
| 合計ジャッジ時間 | 2,222 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 19 WA * 4 |
ソースコード
x, y = map(int, input().split())
x2, y2 = map(int, input().split())
ans = max(x, y)
if x == y and x2 == y2 and x2 < x:
ans -= 1
print(ans)
rlangevin