結果

問題 No.756 チャンパーノウン定数 (1)
ユーザー taktak
提出日時 2019-02-03 15:18:33
言語 F#
(F# 4.0)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 255 bytes
コンパイル時間 4,379 ms
コンパイル使用メモリ 159,952 KB
実行使用メモリ 24,204 KB
最終ジャッジ日時 2023-08-22 14:25:18
合計ジャッジ時間 6,859 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
22,040 KB
testcase_01 AC 56 ms
19,840 KB
testcase_02 AC 57 ms
22,028 KB
testcase_03 AC 57 ms
23,932 KB
testcase_04 AC 56 ms
22,168 KB
testcase_05 AC 56 ms
22,072 KB
testcase_06 AC 57 ms
22,016 KB
testcase_07 AC 56 ms
22,176 KB
testcase_08 AC 56 ms
22,252 KB
testcase_09 AC 56 ms
21,948 KB
testcase_10 AC 57 ms
22,264 KB
testcase_11 AC 57 ms
23,976 KB
testcase_12 AC 57 ms
24,204 KB
testcase_13 AC 56 ms
21,984 KB
testcase_14 AC 55 ms
19,984 KB
testcase_15 AC 56 ms
24,072 KB
testcase_16 AC 57 ms
24,040 KB
testcase_17 AC 56 ms
21,964 KB
testcase_18 AC 57 ms
21,972 KB
testcase_19 AC 56 ms
23,976 KB
testcase_20 AC 56 ms
22,036 KB
testcase_21 AC 57 ms
21,972 KB
testcase_22 AC 55 ms
22,008 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System
open System.Text

let f x =
    let champ = 
        let builder = new StringBuilder()
        for i in 1 .. 100 do builder.Append i |> ignore
        builder.ToString()
    champ.[x-1]

let D = stdin.ReadLine() |> int

f D |> stdout.WriteLine
0