結果

問題 No.477 MVP
ユーザー natoriusannatoriusan
提出日時 2023-08-01 15:40:51
言語 F#
(F# 4.0)
結果
AC  
実行時間 337 ms / 1,000 ms
コード長 124 bytes
コンパイル時間 6,659 ms
コンパイル使用メモリ 201,396 KB
実行使用メモリ 34,508 KB
最終ジャッジ日時 2024-04-19 14:55:31
合計ジャッジ時間 11,662 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 331 ms
34,372 KB
testcase_01 AC 329 ms
34,364 KB
testcase_02 AC 326 ms
34,508 KB
testcase_03 AC 328 ms
34,496 KB
testcase_04 AC 321 ms
34,500 KB
testcase_05 AC 319 ms
34,124 KB
testcase_06 AC 337 ms
34,360 KB
testcase_07 AC 332 ms
34,212 KB
testcase_08 AC 328 ms
34,496 KB
testcase_09 AC 329 ms
34,244 KB
testcase_10 AC 330 ms
34,504 KB
testcase_11 AC 331 ms
34,504 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (228 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
/home/judge/data/code/Main.fs(1,5): warning FS0025: この式のパターン マッチが不完全です たとえば、値 '[|_; _; _|]' はパターンに含まれないケースを示す可能性があります。 [/home/judge/data/code/main.fsproj]
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

let [|n; k|] = stdin.ReadLine().Split " " |> Array.map int64

if n <= k then
    1L
else
    (n)/(k+1L) + 1L
|> printfn "%d"
0