結果

問題 No.18 うーさー暗号
ユーザー regeregeregerege
提出日時 2015-11-26 23:17:26
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 256 bytes
コンパイル時間 5,116 ms
コンパイル使用メモリ 152,480 KB
実行使用メモリ 25,008 KB
最終ジャッジ日時 2023-10-11 18:49:49
合計ジャッジ時間 7,249 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 82 ms
22,828 KB
testcase_02 AC 83 ms
24,936 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 82 ms
22,940 KB
testcase_12 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let ``No.18 うーさー暗号`` () =
    let f n (c:char) = string <| (char)((int c + (n % 26)) % 65 % 26 + 65)
    stdin.ReadLine()
    |> Seq.rev
    |> Seq.mapi f
    |> Seq.rev
    |> Seq.reduce (+)
    |> printfn "%s"
``No.18 うーさー暗号`` ()
0