結果
| 問題 | No.632 穴埋め門松列 | 
| コンテスト | |
| ユーザー |  brthyyjp | 
| 提出日時 | 2020-08-26 08:35:08 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 44 ms / 1,000 ms | 
| コード長 | 434 bytes | 
| コンパイル時間 | 247 ms | 
| コンパイル使用メモリ | 82,304 KB | 
| 実行使用メモリ | 53,888 KB | 
| 最終ジャッジ日時 | 2024-11-06 22:38:35 | 
| 合計ジャッジ時間 | 1,099 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 6 | 
ソースコード
C = list(map(str, input().split()))
res = ''
import copy
temp = copy.copy(C)
for i, c in enumerate(temp):
    if c == '?':
        temp[i] = '1'
temp = [int(t) for t in temp]
if temp[1] == max(temp) or temp[1] == min(temp):
    res += '1'
temp = copy.copy(C)
for i, c in enumerate(temp):
    if c == '?':
        temp[i] = '4'
temp = [int(t) for t in temp]
if temp[1] == max(temp) or temp[1] == min(temp):
    res += '4'
print(res)
            
            
            
        