結果

問題 No.552 十分簡単な星1の問題
ユーザー guriceringuricerin
提出日時 2020-01-07 12:48:21
言語 F#
(.NET 7)
結果
WA  
実行時間 -
コード長 779 bytes
コンパイル時間 4,723 ms
コンパイル使用メモリ 163,980 KB
実行使用メモリ 26,808 KB
最終ジャッジ日時 2023-08-14 23:14:45
合計ジャッジ時間 9,364 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 75 ms
22,684 KB
testcase_02 AC 74 ms
22,696 KB
testcase_03 AC 76 ms
24,704 KB
testcase_04 AC 75 ms
22,756 KB
testcase_05 AC 76 ms
24,932 KB
testcase_06 AC 75 ms
22,768 KB
testcase_07 AC 75 ms
22,656 KB
testcase_08 AC 74 ms
22,844 KB
testcase_09 AC 74 ms
22,796 KB
testcase_10 AC 75 ms
20,796 KB
testcase_11 AC 75 ms
22,780 KB
testcase_12 AC 76 ms
26,808 KB
testcase_13 AC 74 ms
24,776 KB
testcase_14 AC 76 ms
22,692 KB
testcase_15 AC 74 ms
22,616 KB
testcase_16 AC 76 ms
22,808 KB
testcase_17 AC 77 ms
22,660 KB
testcase_18 AC 75 ms
22,656 KB
testcase_19 AC 74 ms
24,752 KB
testcase_20 AC 75 ms
22,788 KB
testcase_21 AC 74 ms
22,680 KB
testcase_22 AC 74 ms
22,648 KB
testcase_23 AC 75 ms
24,816 KB
testcase_24 AC 75 ms
22,824 KB
testcase_25 AC 75 ms
22,740 KB
testcase_26 AC 74 ms
22,792 KB
testcase_27 AC 74 ms
22,652 KB
testcase_28 AC 75 ms
22,780 KB
testcase_29 AC 76 ms
24,636 KB
testcase_30 AC 77 ms
22,768 KB
testcase_31 AC 75 ms
22,712 KB
testcase_32 AC 77 ms
24,704 KB
testcase_33 AC 75 ms
22,652 KB
testcase_34 AC 75 ms
22,768 KB
testcase_35 AC 77 ms
24,756 KB
testcase_36 AC 76 ms
24,740 KB
testcase_37 AC 77 ms
22,748 KB
testcase_38 AC 75 ms
22,848 KB
testcase_39 AC 75 ms
24,812 KB
testcase_40 AC 76 ms
24,732 KB
testcase_41 AC 75 ms
22,700 KB
testcase_42 AC 74 ms
22,760 KB
testcase_43 AC 75 ms
22,896 KB
testcase_44 AC 76 ms
24,736 KB
testcase_45 AC 77 ms
20,600 KB
testcase_46 AC 77 ms
22,840 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.Collections.Generic

[<AutoOpen>]
module Cin =
    let read f = stdin.ReadLine() |> f
    let reada f = stdin.ReadLine().Split() |> Array.map f
    let readChars() = read string |> Seq.toArray
    let readInts() = readChars() |> Array.map (fun x -> Convert.ToInt32(x.ToString()))

[<AutoOpen>]
module Cout =
    let writer = new IO.StreamWriter(new IO.BufferedStream(Console.OpenStandardOutput()))
    let print (s: string) = writer.Write s
    let println (s: string) = writer.WriteLine s
    let inline puts (s: ^a) = string s |> println

let solve() =
    read string
    |> sprintf "%s0"
    |> puts

[<EntryPoint>]
let main _ =
    try
        solve()
    with e -> printfn "%s" (e.ToString())
    writer.Close()
    0 // return an integer exit code
0