結果

問題 No.224 文字列変更(easy)
ユーザー re1ns
提出日時 2015-11-04 22:15:21
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 217 bytes
コンパイル時間 407 ms
コンパイル使用メモリ 55,256 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-18 02:08:57
合計ジャッジ時間 1,181 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<stdio.h>
using namespace std;
int main(){
    string s,t;
    int n,cnt=0;
    cin >> n;
    cin >> s >> t;
    for(int i=0;i<s.length();i++)if(s[i]!=t[i])cnt++;
    cout << cnt << endl;
}
0