結果
| 問題 | No.224 文字列変更(easy) |
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2026-01-03 17:06:20 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| + 332µs | |
| コード長 | 299 bytes |
| 記録 | |
| コンパイル時間 | 2,061 ms |
| コンパイル使用メモリ | 332,604 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-20 00:13:56 |
| 合計ジャッジ時間 | 3,124 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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