結果

問題 No.46 はじめのn歩
ユーザー chikepluschikeplus
提出日時 2019-01-18 17:43:24
言語 F#
(F# 4.0)
結果
AC  
実行時間 94 ms / 5,000 ms
コード長 218 bytes
コンパイル時間 4,828 ms
コンパイル使用メモリ 162,396 KB
実行使用メモリ 27,164 KB
最終ジャッジ日時 2023-09-20 13:08:35
合計ジャッジ時間 6,218 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
26,936 KB
testcase_01 AC 93 ms
27,096 KB
testcase_02 AC 93 ms
25,072 KB
testcase_03 AC 92 ms
24,964 KB
testcase_04 AC 92 ms
25,024 KB
testcase_05 AC 93 ms
27,056 KB
testcase_06 AC 94 ms
27,164 KB
testcase_07 AC 94 ms
27,080 KB
testcase_08 AC 94 ms
25,092 KB
testcase_09 AC 94 ms
25,136 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 args = Console.ReadLine().Split( ' ' ) : String[]
let a = float( args.GetValue(0).ToString() )
let b = float( args.GetValue(1).ToString() )

printfn "%d" (Int64.Parse( Math.Ceiling(b / a).ToString() ))
0