結果
問題 |
No.632 穴埋め門松列
|
ユーザー |
|
提出日時 | 2018-02-04 21:20:42 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 275 bytes |
コンパイル時間 | 79 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-06-30 04:03:40 |
合計ジャッジ時間 | 657 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 6 |
ソースコード
a, b, c = map(int, 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)