結果

問題 No.69 文字を自由に並び替え
ユーザー hum_ophum_op
提出日時 2016-04-17 19:15:48
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 348 bytes
コンパイル時間 4,967 ms
コンパイル使用メモリ 163,788 KB
実行使用メモリ 24,772 KB
最終ジャッジ日時 2023-09-09 20:57:46
合計ジャッジ時間 5,265 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
24,528 KB
testcase_01 AC 68 ms
22,408 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 72 ms
22,604 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 72 ms
22,668 KB
testcase_08 AC 72 ms
24,572 KB
testcase_09 AC 72 ms
22,708 KB
testcase_10 AC 72 ms
22,528 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 71 ms
22,544 KB
testcase_14 AC 72 ms
22,564 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 No69 () =
    let A = [ 
        let IN = Console.ReadLine() 
        for i in 0..IN.Length-1 -> IN.[i]
        ]
    let B = [
        let IN = Console.ReadLine()
        for i in 0..IN.Length-1 -> IN.[i]
        ]
    let B = List.sort <| B

    if A = B then
        printfn "YES"
    else
        printfn "NO"

    ()
 
No69 ()
0