結果

問題 No.256 桁の数字を入れ替え (2)
ユーザー taktak
提出日時 2018-07-31 15:04:25
言語 F#
(F# 4.0)
結果
AC  
実行時間 97 ms / 2,000 ms
コード長 126 bytes
コンパイル時間 11,048 ms
コンパイル使用メモリ 189,084 KB
実行使用メモリ 33,332 KB
最終ジャッジ日時 2023-10-19 20:28:18
合計ジャッジ時間 10,934 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
32,064 KB
testcase_01 AC 86 ms
32,316 KB
testcase_02 AC 96 ms
33,332 KB
testcase_03 AC 97 ms
33,332 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (392 ms)。
MSBuild のバージョン 17.7.3+8ec440e68 (.NET)
  main -> /home/judge/data/code/bin/Release/net7.0/main.dll
  main -> /home/judge/data/code/bin/Release/net7.0/publish/

ソースコード

diff #

let N = stdin.ReadLine().ToCharArray()

let ans = N |> Array.sortDescending |> fun x -> new string(x)
  
ans |> printfn "%s"  
0