結果

問題 No.477 MVP
ユーザー hum_ophum_op
提出日時 2017-02-04 22:14:27
言語 F#
(F# 4.0)
結果
AC  
実行時間 83 ms / 1,000 ms
コード長 190 bytes
コンパイル時間 5,345 ms
コンパイル使用メモリ 159,188 KB
実行使用メモリ 24,948 KB
最終ジャッジ日時 2023-08-25 20:19:08
合計ジャッジ時間 5,815 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
20,808 KB
testcase_01 AC 82 ms
24,808 KB
testcase_02 AC 82 ms
24,864 KB
testcase_03 AC 82 ms
22,864 KB
testcase_04 AC 83 ms
22,772 KB
testcase_05 AC 82 ms
20,932 KB
testcase_06 AC 82 ms
22,868 KB
testcase_07 AC 82 ms
24,860 KB
testcase_08 AC 83 ms
22,828 KB
testcase_09 AC 82 ms
24,948 KB
testcase_10 AC 82 ms
22,840 KB
testcase_11 AC 82 ms
22,888 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 No477 () =
    let IN = Console.ReadLine().Split(' ')
    let N = Int64.Parse IN.[0]
    let K = Int64.Parse IN.[1]

    printfn "%d" <| N / (K + 1L) + 1L


    ()

No477 ()
0