結果

問題 No.477 MVP
ユーザー pekempeypekempey
提出日時 2017-01-27 22:34:12
言語 F#
(F# 4.0)
結果
AC  
実行時間 62 ms / 1,000 ms
コード長 140 bytes
コンパイル時間 4,172 ms
コンパイル使用メモリ 165,856 KB
実行使用メモリ 24,092 KB
最終ジャッジ日時 2023-08-25 04:06:07
合計ジャッジ時間 5,736 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
22,124 KB
testcase_01 AC 62 ms
22,048 KB
testcase_02 AC 61 ms
22,204 KB
testcase_03 AC 60 ms
24,092 KB
testcase_04 AC 60 ms
22,084 KB
testcase_05 AC 60 ms
22,200 KB
testcase_06 AC 60 ms
22,056 KB
testcase_07 AC 59 ms
22,116 KB
testcase_08 AC 59 ms
22,200 KB
testcase_09 AC 60 ms
22,080 KB
testcase_10 AC 60 ms
22,092 KB
testcase_11 AC 60 ms
22,112 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 N, K = Console.ReadLine().Split() |> Array.map int64 |> fun a -> a.[0], a.[1]

Console.WriteLine((N + K + 1L) / (K + 1L))

0