結果

問題 No.46 はじめのn歩
ユーザー regeregeregerege
提出日時 2015-09-03 23:15:46
言語 F#
(F# 4.0)
結果
AC  
実行時間 86 ms / 5,000 ms
コード長 149 bytes
コンパイル時間 3,511 ms
コンパイル使用メモリ 157,720 KB
実行使用メモリ 22,992 KB
最終ジャッジ日時 2023-09-26 04:15:01
合計ジャッジ時間 4,737 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
22,880 KB
testcase_01 AC 82 ms
22,808 KB
testcase_02 AC 82 ms
22,692 KB
testcase_03 AC 83 ms
22,748 KB
testcase_04 AC 83 ms
22,804 KB
testcase_05 AC 83 ms
22,872 KB
testcase_06 AC 83 ms
22,916 KB
testcase_07 AC 83 ms
22,992 KB
testcase_08 AC 83 ms
20,860 KB
testcase_09 AC 86 ms
22,872 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

    let args = stdin.ReadLine().Split(' ')
    let a = int args.[0]
    let b = int args.[1]
    printfn "%d" <| b / a + (if b % a = 0 then 0 else 1)
0