結果

問題 No.477 MVP
ユーザー pekempeypekempey
提出日時 2017-01-28 00:06:11
言語 F#
(F# 4.0)
結果
AC  
実行時間 85 ms / 1,000 ms
コード長 112 bytes
コンパイル時間 4,252 ms
コンパイル使用メモリ 158,972 KB
実行使用メモリ 24,892 KB
最終ジャッジ日時 2023-08-25 11:12:42
合計ジャッジ時間 6,049 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
22,812 KB
testcase_01 AC 83 ms
22,968 KB
testcase_02 AC 84 ms
22,776 KB
testcase_03 AC 84 ms
20,984 KB
testcase_04 AC 85 ms
22,840 KB
testcase_05 AC 85 ms
22,760 KB
testcase_06 AC 85 ms
24,892 KB
testcase_07 AC 84 ms
22,888 KB
testcase_08 AC 85 ms
22,756 KB
testcase_09 AC 84 ms
24,860 KB
testcase_10 AC 85 ms
24,824 KB
testcase_11 AC 84 ms
22,864 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

/home/judge/data/code/Main.fs(3,5): warning FS0025: Incomplete pattern matches on this expression. For example, the value '[|_; _; _|]' may indicate a case not covered by the pattern(s).

ソースコード

diff #

open System

let [|N; K|] = stdin.ReadLine().Split() |> Array.map int64

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