結果

問題 No.224 文字列変更(easy)
ユーザー ixTL255ixTL255
提出日時 2016-10-12 21:17:55
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 53 ms / 5,000 ms
コード長 265 bytes
コンパイル時間 3,398 ms
コンパイル使用メモリ 99,080 KB
実行使用メモリ 22,584 KB
最終ジャッジ日時 2023-09-25 02:18:43
合計ジャッジ時間 4,530 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
20,648 KB
testcase_01 AC 52 ms
20,528 KB
testcase_02 AC 50 ms
18,412 KB
testcase_03 AC 51 ms
20,596 KB
testcase_04 AC 50 ms
20,560 KB
testcase_05 AC 51 ms
22,432 KB
testcase_06 AC 51 ms
20,460 KB
testcase_07 AC 52 ms
20,432 KB
testcase_08 AC 52 ms
22,548 KB
testcase_09 AC 51 ms
20,624 KB
testcase_10 AC 51 ms
20,536 KB
testcase_11 AC 51 ms
20,564 KB
testcase_12 AC 50 ms
20,488 KB
testcase_13 AC 51 ms
22,584 KB
testcase_14 AC 51 ms
22,580 KB
testcase_15 AC 51 ms
20,560 KB
testcase_16 AC 51 ms
20,536 KB
testcase_17 AC 52 ms
22,516 KB
testcase_18 AC 52 ms
20,640 KB
testcase_19 AC 52 ms
20,472 KB
testcase_20 AC 51 ms
20,488 KB
testcase_21 AC 53 ms
20,428 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Yuki224
{
	public static void Main()
	{
		Console.ReadLine();
		var s = Console.ReadLine();
		var t = Console.ReadLine();
		
		int cnt = 0;
		
		for (int i = 0; i < s.Length; i++) if(s[i] != t[i]) cnt++;
		
		Console.WriteLine(cnt);
	}
}
0