結果
| 問題 |
No.3019 YNeos
|
| コンテスト | |
| ユーザー |
shobonvip
|
| 提出日時 | 2025-02-14 21:21:25 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 45 ms / 1,000 ms |
| コード長 | 259 bytes |
| コンパイル時間 | 281 ms |
| コンパイル使用メモリ | 82,112 KB |
| 実行使用メモリ | 53,804 KB |
| 最終ジャッジ日時 | 2025-02-14 21:21:31 |
| 合計ジャッジ時間 | 3,151 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 41 |
ソースコード
x=input()
y=input()
s=""
if len(x)==len(y)+1:
for i in range(len(x)*2-1):
if i%2==0:
s+=x[i//2]
else:
s+=y[i//2]
print(s)
elif len(x)==len(y):
for i in range(len(x)*2):
if i%2==0:
s+=x[i//2]
else:
s+=y[i//2]
print(s)
else:
print("?")
shobonvip