結果
| 問題 | No.208 王将 |
| コンテスト | |
| ユーザー |
rlangevin
|
| 提出日時 | 2023-01-09 22:43:06 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 142 bytes |
| 記録 | |
| コンパイル時間 | 445 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2026-05-27 02:03:25 |
| 合計ジャッジ時間 | 2,548 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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