結果

問題 No.46 はじめのn歩
ユーザー nmnmnmnmnmnmnmnmnmnmnmnmnmnm
提出日時 2015-09-03 23:10:28
言語 F#
(F# 4.0)
結果
AC  
実行時間 85 ms / 5,000 ms
コード長 139 bytes
コンパイル時間 5,674 ms
コンパイル使用メモリ 154,072 KB
実行使用メモリ 24,936 KB
最終ジャッジ日時 2023-09-26 04:14:44
合計ジャッジ時間 4,819 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
22,840 KB
testcase_01 AC 84 ms
22,828 KB
testcase_02 AC 83 ms
24,936 KB
testcase_03 AC 85 ms
22,896 KB
testcase_04 AC 83 ms
24,844 KB
testcase_05 AC 84 ms
24,828 KB
testcase_06 AC 84 ms
22,952 KB
testcase_07 AC 83 ms
22,936 KB
testcase_08 AC 84 ms
22,804 KB
testcase_09 AC 84 ms
22,816 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(' ').[0..1]
let a = int args.[0]
let b = int args.[1]
printfn "%d" (b / a + (if b % a = 0 then 0 else 1))
0