結果

問題 No.1070 Missing a space
ユーザー ikd
提出日時 2020-06-06 12:19:20
言語 F#
(F# 4.0)
結果
AC  
実行時間 357 ms / 1,000 ms
コード長 253 bytes
コンパイル時間 8,547 ms
コンパイル使用メモリ 186,852 KB
実行使用メモリ 34,604 KB
最終ジャッジ日時 2024-12-23 12:03:27
合計ジャッジ時間 11,883 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (297 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

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