結果
| 問題 | No.224 文字列変更(easy) |
| コンテスト | |
| ユーザー |
ngtkana
|
| 提出日時 | 2020-02-24 02:22:24 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| + 318µs | |
| コード長 | 292 bytes |
| 記録 | |
| コンパイル時間 | 880 ms |
| コンパイル使用メモリ | 179,688 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-16 07:29:57 |
| 合計ジャッジ時間 | 2,297 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include <bits/stdc++.h>
using longlong=long long;
int main(){
std::cin.tie(nullptr);std::cin.sync_with_stdio(false);
int n;std::cin>>n;
std::string s,t;std::cin>>s>>t;
int ans=0;
for(int i=0;i<n;i++){
ans+=s.at(i)!=t.at(i);
}
std::cout<<ans<<std::endl;
}
ngtkana