結果
問題 |
No.3019 YNeos
|
ユーザー |
|
提出日時 | 2025-03-07 16:23:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 57 ms / 1,000 ms |
コード長 | 305 bytes |
コンパイル時間 | 566 ms |
コンパイル使用メモリ | 12,160 KB |
実行使用メモリ | 10,240 KB |
最終ジャッジ日時 | 2025-03-07 16:23:45 |
合計ジャッジ時間 | 3,448 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 41 |
ソースコード
str_x = input() str_y = input() ligature = "" if len(str_x) - len(str_y) == 0: for i in range(len(str_x)): ligature += (str_x[i] + str_y[i]) elif len(str_x) - len(str_y) == 1: str_y += " " for i in range(len(str_x)): ligature += (str_x[i] + str_y[i]) else: ligature = "?" print(ligature)