結果

問題 No.46 はじめのn歩
ユーザー chikepluschikeplus
提出日時 2019-01-18 17:02:25
言語 F#
(F# 4.0)
結果
AC  
実行時間 90 ms / 5,000 ms
コード長 265 bytes
コンパイル時間 5,017 ms
コンパイル使用メモリ 163,460 KB
実行使用メモリ 25,128 KB
最終ジャッジ日時 2023-09-20 10:43:26
合計ジャッジ時間 5,495 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
23,204 KB
testcase_01 AC 88 ms
23,072 KB
testcase_02 AC 90 ms
25,128 KB
testcase_03 AC 89 ms
23,064 KB
testcase_04 AC 88 ms
23,148 KB
testcase_05 AC 89 ms
25,048 KB
testcase_06 AC 88 ms
23,172 KB
testcase_07 AC 90 ms
22,976 KB
testcase_08 AC 89 ms
23,080 KB
testcase_09 AC 90 ms
23,084 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let args = [ for arg in System.Console.ReadLine().Split( ' ' ) -> arg ] : list<string>
let a = System.Int64.Parse( args.Item(0) )
let b = System.Int64.Parse( args.Item(1) )

printfn "%d" ((b / a) + if b % a = 0L then 0L else 1L)

System.Console.ReadLine() |> ignore
0