結果

問題 No.224 文字列変更(easy)
ユーザー ui_mtc
提出日時 2020-03-20 21:40:12
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 286 bytes
コンパイル時間 1,303 ms
コンパイル使用メモリ 166,908 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-18 02:44:58
合計ジャッジ時間 1,955 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define int long long
using namespace std;
using Graph = vector<vector<int>>;

signed main(){
  int N;
  cin >> N;
  string S, T;
  cin >> S >> T;
  
  int ans = 0;
  for( int i = 0; i < N; i++ ){
    if( S.at(i) != T.at(i) ) ans++;
  }
  cout << ans << endl;
}
0