結果

問題 No.1291 小手調べ
ユーザー ikdikd
提出日時 2020-11-20 21:55:40
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 344 bytes
コンパイル時間 4,080 ms
コンパイル使用メモリ 159,420 KB
実行使用メモリ 27,044 KB
最終ジャッジ日時 2023-09-30 19:10:55
合計ジャッジ時間 4,893 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

// Learn more about F# at http://fsharp.org

open System

[<EntryPoint>]
let main _ =
    let n = stdin.ReadLine() |> int

    for _ in 1 .. n do
        let d = stdin.ReadLine() |> int

        let suf =
            String.concat "" (Seq.init (d - 1) (fun _ -> "0"))

        "9" + suf |> printfn "%s"

    0 // return an integer exit code
0