結果

問題 No.224 文字列変更(easy)
ユーザー alcoholamp
提出日時 2019-10-10 18:27:23
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 30 ms / 5,000 ms
コード長 306 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-07-18 02:41:54
合計ジャッジ時間 1,335 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

class Problem0224:
    def solve(this):
        n = int(input())
        s = input()
        t = input()

        res = 0
        for i in range(0, len(s)):
            if s[i] != t[i]:
                res += 1
        print(res)

if __name__ == "__main__":
    problem = Problem0224()
    problem.solve()
0