結果
| 問題 |
No.632 穴埋め門松列
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-02-04 21:25:14 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 265 bytes |
| コンパイル時間 | 81 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-06-30 04:03:39 |
| 合計ジャッジ時間 | 754 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 6 |
ソースコード
a, b, c = input().split() lista = [a, b, c] if lista[1] == "?": if a < c: print(a - 1, c + 1) else: print(a + 1, c - 1) elif lista[0] == "?": if b < c: print(c + 1) else: print(b - 1) elif lista[2] == "?": if a < b: print(b - 1) else: print(a + 1)