結果
| 問題 | No.208 王将 |
| コンテスト | |
| ユーザー |
rlangevin
|
| 提出日時 | 2023-01-09 22:45:23 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 25 ms / 1,000 ms |
| + 603µs | |
| コード長 | 142 bytes |
| 記録 | |
| コンパイル時間 | 73 ms |
| コンパイル使用メモリ | 80,768 KB |
| 実行使用メモリ | 54,144 KB |
| 最終ジャッジ日時 | 2026-10-04 21:54:34 |
| 合計ジャッジ時間 | 2,153 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
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