結果
問題 | No.3019 YNeos |
ユーザー |
![]() |
提出日時 | 2025-04-02 12:56:22 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 1,000 ms |
コード長 | 336 bytes |
コンパイル時間 | 485 ms |
コンパイル使用メモリ | 12,160 KB |
実行使用メモリ | 10,240 KB |
最終ジャッジ日時 | 2025-04-02 12:56:26 |
合計ジャッジ時間 | 3,817 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 41 |
ソースコード
def fun(s):res = ""a, b = len(s[0]), len(s[1])for i in range(max(a, b)):for j in range(2):if i == len(s[j]):if j == 1 and a - b == 1:continuereturn "?"res += s[j][i]return resxy = [input() for _ in range(2)]print(fun(xy))