結果
問題 |
No.224 文字列変更(easy)
|
ユーザー |
|
提出日時 | 2024-03-28 00:51:55 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 259 bytes |
コンパイル時間 | 2,017 ms |
コンパイル使用メモリ | 192,312 KB |
最終ジャッジ日時 | 2025-02-20 14:09:04 |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef int64_t lint; int main() { lint n; string s,t; cin>>n>>s>>t; lint sum=0; for(int i=0;i!=s.size();i++){ sum+=(s[i]!=t[i]); } cout<<sum<<endl; // system("pause"); }