結果
| 問題 | No.903 太郎の確率 |
| コンテスト | |
| ユーザー |
guricerin
|
| 提出日時 | 2019-12-18 16:47:20 |
| 言語 | F# (F# 10.0) |
| 結果 |
AC
|
| 実行時間 | 227 ms / 2,000 ms |
| コード長 | 528 bytes |
| 記録 | |
| コンパイル時間 | 14,612 ms |
| コンパイル使用メモリ | 198,504 KB |
| 実行使用メモリ | 37,120 KB |
| 最終ジャッジ日時 | 2026-03-28 03:53:57 |
| 合計ジャッジ時間 | 18,165 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (248 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
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 readInts() =
read string
|> Seq.toArray
|> Array.map (fun x -> Convert.ToInt32(x.ToString()))
module Util =
let strRev s =
s
|> Seq.rev
|> Seq.map string
|> String.concat ""
[<EntryPoint>]
let main _ =
let a = read float
printfn "%f" (1.0 / a)
0 // return an integer exit code
guricerin