結果
| 問題 |
No.3019 YNeos
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-20 11:57:47 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 1,000 ms |
| コード長 | 212 bytes |
| コンパイル時間 | 291 ms |
| コンパイル使用メモリ | 11,904 KB |
| 実行使用メモリ | 10,112 KB |
| 最終ジャッジ日時 | 2025-06-20 11:57:50 |
| 合計ジャッジ時間 | 3,230 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 41 |
ソースコード
X = input()
Y = input()
if abs(len(X) - len(Y)) <= 1 and len(X) >= len(Y):
result = ''
for x, y in zip(X, Y):
result += x
result += y
if len(X) > len(Y):
result += X[-1]
print(result)
else:
print('?')