結果
問題 | No.224 文字列変更(easy) |
ユーザー |
|
提出日時 | 2021-06-10 04:05:00 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 49 ms / 5,000 ms |
コード長 | 281 bytes |
コンパイル時間 | 1,926 ms |
コンパイル使用メモリ | 193,544 KB |
最終ジャッジ日時 | 2025-01-22 05:13:25 |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <bits/stdc++.h>using namespace std;int main(void){cin.tie(0);ios::sync_with_stdio(false);int res = 0;int n;string a, b;cin >> n;cin >> a;cin >> b;for (int i = 0; i < n; i++){if (a[i] != b[i]) res++;}cout << res << '\n';return 0;}