結果

問題 No.477 MVP
ユーザー bayashiko_rbayashiko_r
提出日時 2019-01-02 21:47:31
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 49 ms / 1,000 ms
コード長 293 bytes
コンパイル時間 2,187 ms
コンパイル使用メモリ 99,644 KB
実行使用メモリ 22,768 KB
最終ジャッジ日時 2023-08-14 01:00:26
合計ジャッジ時間 3,634 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
22,760 KB
testcase_01 AC 48 ms
20,644 KB
testcase_02 AC 47 ms
22,692 KB
testcase_03 AC 47 ms
22,628 KB
testcase_04 AC 47 ms
20,768 KB
testcase_05 AC 48 ms
22,768 KB
testcase_06 AC 49 ms
22,684 KB
testcase_07 AC 48 ms
20,736 KB
testcase_08 AC 48 ms
20,716 KB
testcase_09 AC 49 ms
20,800 KB
testcase_10 AC 49 ms
20,816 KB
testcase_11 AC 48 ms
18,792 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class Program {
    static void Main(string[] args) {
        //入力
        string s = Console.ReadLine();
        long N = long.Parse(s.Split(' ')[0]);
        long K = long.Parse(s.Split(' ')[1]);



        //出力
        Console.WriteLine((N / (K + 1)) + 1);


    }
}
0