結果

問題 No.46 はじめのn歩
ユーザー taktak
提出日時 2018-03-29 00:27:41
言語 F#
(F# 4.0)
結果
AC  
実行時間 85 ms / 5,000 ms
コード長 135 bytes
コンパイル時間 5,464 ms
コンパイル使用メモリ 160,204 KB
実行使用メモリ 24,884 KB
最終ジャッジ日時 2023-09-07 20:09:24
合計ジャッジ時間 6,732 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
24,772 KB
testcase_01 AC 84 ms
22,752 KB
testcase_02 AC 85 ms
20,752 KB
testcase_03 AC 84 ms
20,692 KB
testcase_04 AC 84 ms
24,780 KB
testcase_05 AC 85 ms
24,780 KB
testcase_06 AC 84 ms
24,796 KB
testcase_07 AC 84 ms
24,796 KB
testcase_08 AC 85 ms
22,792 KB
testcase_09 AC 84 ms
24,884 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System

let a,b = 
    let t = Console.ReadLine().Split() |> Array.map (float)
    t.[0],t.[1]

b/a
|> ceil
|> int
|> printfn "%i"
0