結果

問題 No.3019 YNeos
ユーザー hato336
提出日時 2025-02-14 21:22:07
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 162 ms / 1,000 ms
コード長 602 bytes
コンパイル時間 255 ms
コンパイル使用メモリ 82,240 KB
実行使用メモリ 86,484 KB
最終ジャッジ日時 2025-02-14 21:22:24
合計ジャッジ時間 7,432 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 41
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random
#input = sys.stdin.readline
#sys.setrecursionlimit(10**9)
#n = int(input())
#alist = list(map(int,input().split()))
#alist = []
s = input().rstrip()
t = input().rstrip()
#n,m = map(int,input().split())
#for i in range(n):
#    alist.append(list(map(int,input().split())))
if len(s) == len(t) or len(s) -1 == len(t):
    ans = []
    for i in range(len(t)):
        ans.append(s[i])
        ans.append(t[i])
    if len(s) -1 == len(t):
        ans.append(s[-1])
    print(''.join(ans))
else:
    print('?')
0