結果

問題 No.224 文字列変更(easy)
ユーザー taktak
提出日時 2018-03-23 20:44:41
言語 F#
(F# 4.0)
結果
AC  
実行時間 83 ms / 5,000 ms
コード長 228 bytes
コンパイル時間 5,107 ms
コンパイル使用メモリ 159,280 KB
実行使用メモリ 24,952 KB
最終ジャッジ日時 2023-09-25 02:38:34
合計ジャッジ時間 7,539 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
22,800 KB
testcase_01 AC 82 ms
20,724 KB
testcase_02 AC 81 ms
22,864 KB
testcase_03 AC 80 ms
24,832 KB
testcase_04 AC 82 ms
24,808 KB
testcase_05 AC 81 ms
24,816 KB
testcase_06 AC 80 ms
22,956 KB
testcase_07 AC 78 ms
22,872 KB
testcase_08 AC 80 ms
22,864 KB
testcase_09 AC 80 ms
20,656 KB
testcase_10 AC 81 ms
22,776 KB
testcase_11 AC 82 ms
24,852 KB
testcase_12 AC 82 ms
22,972 KB
testcase_13 AC 82 ms
22,912 KB
testcase_14 AC 80 ms
22,724 KB
testcase_15 AC 82 ms
22,920 KB
testcase_16 AC 82 ms
22,796 KB
testcase_17 AC 83 ms
24,796 KB
testcase_18 AC 83 ms
24,804 KB
testcase_19 AC 82 ms
24,952 KB
testcase_20 AC 82 ms
20,872 KB
testcase_21 AC 83 ms
24,796 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System
let read() = Console.ReadLine()

let N = read() |> int
let S = read().ToCharArray()
let T = read().ToCharArray()

(S,T)
||> Array.map2 (fun s t -> s<>t)
|>  Array.where(fun x -> x)
|>  Array.length
|>  printfn "%i"

0