結果

問題 No.69 文字を自由に並び替え
ユーザー chike_pluschike_plus
提出日時 2019-03-19 15:43:03
言語 F#
(.NET 7)
結果
AC  
実行時間 61 ms / 5,000 ms
コード長 378 bytes
コンパイル時間 4,318 ms
コンパイル使用メモリ 157,968 KB
実行使用メモリ 24,256 KB
最終ジャッジ日時 2023-08-21 00:15:57
合計ジャッジ時間 6,092 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
24,052 KB
testcase_01 AC 56 ms
19,920 KB
testcase_02 AC 60 ms
22,216 KB
testcase_03 AC 60 ms
24,256 KB
testcase_04 AC 61 ms
22,208 KB
testcase_05 AC 60 ms
22,148 KB
testcase_06 AC 59 ms
22,152 KB
testcase_07 AC 60 ms
22,004 KB
testcase_08 AC 60 ms
24,168 KB
testcase_09 AC 60 ms
24,212 KB
testcase_10 AC 60 ms
24,192 KB
testcase_11 AC 59 ms
20,160 KB
testcase_12 AC 61 ms
24,204 KB
testcase_13 AC 60 ms
22,056 KB
testcase_14 AC 60 ms
24,168 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let ``No.69 文字を自由に並び替え``() =
  [ stdin.ReadLine() ; stdin.ReadLine() ]
  |> fun l -> (l.[0] |> Seq.sort) , (l.[1]  |> Seq.sort )
  |> fun (A, B)-> System.String.Join( "" , A |> Seq.toArray ) = System.String.Join( "" , B |> Seq.toArray )
  |> function 
     | true -> "YES"
     | false-> "NO"
  |> stdout.WriteLine

``No.69 文字を自由に並び替え``()
0