結果
問題 |
No.224 文字列変更(easy)
|
ユーザー |
![]() |
提出日時 | 2020-12-07 21:15:13 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 218 bytes |
コンパイル時間 | 2,230 ms |
コンパイル使用メモリ | 194,040 KB |
最終ジャッジ日時 | 2025-01-16 19:03:02 |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; string s,t; cin>>s>>t; int cnt =0; for(int i=0;i<n;i++){ if(s.at(i) != t.at(i)) cnt++; } cout<<cnt<<endl; return 0; }