結果
問題 | No.224 文字列変更(easy) |
ユーザー |
![]() |
提出日時 | 2019-07-10 16:14:43 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 209 bytes |
コンパイル時間 | 112 ms |
コンパイル使用メモリ | 29,184 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-18 02:40:16 |
合計ジャッジ時間 | 725 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
#include<stdio.h>int main(){int n;scanf("%d", &n);char s[1003], t[1003];scanf("%s%s", s, t);int i, ans = 0;for (i = 0; i < n; i++)if (s[i] != t[i])ans++;printf("%d\n", ans);return 0;}