結果
問題 |
No.224 文字列変更(easy)
|
ユーザー |
|
提出日時 | 2023-03-27 12:05:09 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 24 ms / 5,000 ms |
コード長 | 450 bytes |
コンパイル時間 | 707 ms |
コンパイル使用メモリ | 109,016 KB |
実行使用メモリ | 17,920 KB |
最終ジャッジ日時 | 2024-09-19 10:11:39 |
合計ジャッジ時間 | 2,041 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; class Program { static void Main() { int i = 0; int n = int.Parse(Console.ReadLine()); string a = Console.ReadLine(); string b = Console.ReadLine(); for(int X = 0; X < n; X++) { if (a[X] != b[X]) { i++; } } Console.WriteLine(i); } }