結果
| 問題 |
No.224 文字列変更(easy)
|
| コンテスト | |
| ユーザー |
かぼちゃ
|
| 提出日時 | 2018-03-29 17:02:36 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 278 bytes |
| コンパイル時間 | 1,152 ms |
| コンパイル使用メモリ | 59,996 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-18 02:33:55 |
| 合計ジャッジ時間 | 1,067 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
int n,ans = 0;
string s,t;
cin >> n >> s >> t;
for(int i = 0;i < n;i++){
if(s[i] != t[i])ans++;
}
cout << ans << endl;
return 0;
}
かぼちゃ