結果

問題 No.1070 Missing a space
ユーザー ikdikd
提出日時 2020-06-06 12:19:20
言語 F#
(F# 4.0)
結果
AC  
実行時間 80 ms / 1,000 ms
コード長 253 bytes
コンパイル時間 3,458 ms
コンパイル使用メモリ 158,272 KB
実行使用メモリ 24,884 KB
最終ジャッジ日時 2023-08-25 00:23:19
合計ジャッジ時間 5,008 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
24,884 KB
testcase_01 AC 79 ms
22,900 KB
testcase_02 AC 79 ms
22,964 KB
testcase_03 AC 79 ms
24,880 KB
testcase_04 AC 79 ms
22,940 KB
testcase_05 AC 79 ms
22,940 KB
testcase_06 AC 79 ms
22,932 KB
testcase_07 AC 80 ms
22,936 KB
testcase_08 AC 80 ms
22,868 KB
testcase_09 AC 80 ms
24,876 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 argv =
    let c = stdin.ReadLine()
    c
    |> Seq.tail
    |> Seq.filter (fun x -> x <> '0')
    |> Seq.length
    |> printfn "%d"
    0 // return an integer exit code
0