結果
| 問題 | No.632 穴埋め門松列 |
| コンテスト | |
| ユーザー |
brthyyjp
|
| 提出日時 | 2020-08-26 08:35:08 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 26 ms / 1,000 ms |
| + 753µs | |
| コード長 | 434 bytes |
| 記録 | |
| コンパイル時間 | 88 ms |
| コンパイル使用メモリ | 80,752 KB |
| 実行使用メモリ | 57,352 KB |
| 最終ジャッジ日時 | 2026-09-19 20:44:43 |
| 合計ジャッジ時間 | 1,316 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
brthyyjp