結果
問題 |
No.224 文字列変更(easy)
|
ユーザー |
|
提出日時 | 2021-09-05 04:30:58 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 5,000 ms |
コード長 | 224 bytes |
コンパイル時間 | 2,160 ms |
コンパイル使用メモリ | 186,220 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-21 17:44:41 |
合計ジャッジ時間 | 3,168 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; string S, T; cin >> S >> T; int ans = 0; for(int i = 0; i < N; i++) if(S[i] != T[i]) ans++; cout << ans << endl; }