結果
| 問題 |
No.224 文字列変更(easy)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-06-15 14:18:40 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 5,000 ms |
| コード長 | 227 bytes |
| コンパイル時間 | 2,279 ms |
| コンパイル使用メモリ | 191,792 KB |
| 最終ジャッジ日時 | 2025-01-11 04:25:05 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
cin.tie(0),ios::sync_with_stdio(false);
int n; string s,t; cin>>n>>s>>t;
int ans=0;
for(int i=0;i<s.size();++i){
if(t.at(i)!=s.at(i))++ans;
}
cout<<ans<<"\n"s;
}