結果
| 問題 | No.224 文字列変更(easy) |
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2026-01-03 17:06:20 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 4 ms / 5,000 ms |
| コード長 | 299 bytes |
| 記録 | |
| コンパイル時間 | 3,301 ms |
| コンパイル使用メモリ | 335,680 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-01-03 17:06:25 |
| 合計ジャッジ時間 | 4,071 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
void solve(){
int n ; cin>>n;
string s1, s2; cin>>s1>>s2;
int count = 0;
for(int i = 0; i < n; i++){
if(s1[i] != s2[i]) count++;
}
cout<<count<<endl;
}
int main()
{
solve();
return 0;
}
vjudge1