結果
| 問題 |
No.224 文字列変更(easy)
|
| コンテスト | |
| ユーザー |
Series_205
|
| 提出日時 | 2019-10-24 21:48:56 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 5,000 ms |
| コード長 | 204 bytes |
| コンパイル時間 | 734 ms |
| コンパイル使用メモリ | 65,920 KB |
| 最終ジャッジ日時 | 2025-01-08 00:54:30 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int n;
string s,t;
int main(){
cin>>n>>s>>t;
int ans=0;
for(int i=0;i<n;i++)if(s[i]!=t[i])ans++;
cout<<ans<<endl;
return 0;
}
Series_205