結果

問題 No.46 はじめのn歩
ユーザー hum_ophum_op
提出日時 2016-03-31 14:01:05
言語 F#
(F# 4.0)
結果
AC  
実行時間 323 ms / 5,000 ms
コード長 158 bytes
コンパイル時間 6,435 ms
コンパイル使用メモリ 185,264 KB
実行使用メモリ 34,196 KB
最終ジャッジ日時 2024-04-10 06:45:37
合計ジャッジ時間 10,794 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 313 ms
33,924 KB
testcase_01 AC 315 ms
33,808 KB
testcase_02 AC 320 ms
34,196 KB
testcase_03 AC 309 ms
34,056 KB
testcase_04 AC 316 ms
33,932 KB
testcase_05 AC 323 ms
33,928 KB
testcase_06 AC 306 ms
34,064 KB
testcase_07 AC 306 ms
34,184 KB
testcase_08 AC 313 ms
34,188 KB
testcase_09 AC 308 ms
33,972 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (242 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

let IN = stdin.ReadLine().Split(' ');
let a, b = int IN.[0], int IN.[1]

let mutable res = b / a
if b % a <> 0 then
    res <- res + 1

printfn "%d" res
    
0