結果

問題 No.1217 せしすせそ
ユーザー ichibanshiboriichibanshibori
提出日時 2020-10-11 17:58:00
言語 F#
(F# 4.0)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 180 bytes
コンパイル時間 5,474 ms
コンパイル使用メモリ 152,804 KB
実行使用メモリ 24,872 KB
最終ジャッジ日時 2023-09-27 23:09:10
合計ジャッジ時間 7,174 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
22,908 KB
testcase_01 AC 67 ms
22,764 KB
testcase_02 AC 68 ms
24,848 KB
testcase_03 AC 66 ms
22,856 KB
testcase_04 AC 68 ms
22,792 KB
testcase_05 AC 67 ms
22,784 KB
testcase_06 AC 69 ms
24,780 KB
testcase_07 AC 66 ms
22,944 KB
testcase_08 AC 67 ms
22,924 KB
testcase_09 AC 69 ms
22,812 KB
testcase_10 AC 67 ms
24,872 KB
testcase_11 AC 70 ms
22,932 KB
testcase_12 AC 74 ms
22,936 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let () =
    let s = stdin.ReadLine ()

    "abcdefghijklmnopqrstuvwxyz"
    |> Seq.zip s
    |> Seq.find (fun (c1, c2) -> c1 <> c2)
    |> fun (c1, c2) -> (printfn "%cto%c" c2 c1)
0