結果
問題 |
No.632 穴埋め門松列
|
ユーザー |
![]() |
提出日時 | 2018-02-26 21:04:43 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 299 bytes |
コンパイル時間 | 348 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-24 18:51:57 |
合計ジャッジ時間 | 763 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 6 |
ソースコード
a, b, c = map(str, input().split()) a_list = [a,b,c] index_ = a_list.index("?") del a_list[index] new_list = [int(i) for i in a_list] max_number = max(new_list) min_number = min(new_list) if max_number - min_number == 2: print((max_number+minnumber)/2) else: print(max_number+1,min_number-1)