結果

問題 No.69 文字を自由に並び替え
ユーザー regeregeregerege
提出日時 2016-03-26 20:46:29
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 164 bytes
コンパイル時間 4,345 ms
コンパイル使用メモリ 157,364 KB
実行使用メモリ 26,848 KB
最終ジャッジ日時 2023-09-09 20:57:21
合計ジャッジ時間 6,390 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
24,944 KB
testcase_01 AC 77 ms
24,904 KB
testcase_02 AC 78 ms
26,848 KB
testcase_03 AC 76 ms
22,820 KB
testcase_04 AC 77 ms
22,880 KB
testcase_05 AC 77 ms
22,988 KB
testcase_06 AC 77 ms
24,844 KB
testcase_07 AC 77 ms
22,892 KB
testcase_08 AC 76 ms
22,796 KB
testcase_09 AC 75 ms
22,796 KB
testcase_10 AC 76 ms
22,896 KB
testcase_11 AC 76 ms
22,788 KB
testcase_12 AC 77 ms
22,788 KB
testcase_13 WA -
testcase_14 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let f (a:string) (b:string) =
    let f2 = Seq.map int >> Seq.sum
    if f2 a = f2 b then "YES" else "NO"
f <| stdin.ReadLine() <| stdin.ReadLine() |> printfn "%s"
0