結果
問題 | No.224 文字列変更(easy) |
ユーザー |
|
提出日時 | 2019-12-17 02:28:13 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 5,000 ms |
コード長 | 288 bytes |
コンパイル時間 | 1,053 ms |
コンパイル使用メモリ | 78,876 KB |
最終ジャッジ日時 | 2025-01-08 11:50:57 |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <iostream>#include <vector>#include <algorithm>#include <map>#include <queue>using namespace std;typedef long long int ll;int main(){int ans=0;int n; cin >> n;string s,t; cin >> s >> t;for(int i=0;i<s.size();i++){if(s[i]!=t[i])ans++;}cout << ans << endl;}