結果
| 問題 | No.224 文字列変更(easy) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-01-20 10:14:54 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 230 bytes |
| 記録 | |
| コンパイル時間 | 1,116 ms |
| コンパイル使用メモリ | 181,724 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-28 08:17:24 |
| 合計ジャッジ時間 | 2,985 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#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;
}