結果

問題 No.477 MVP
ユーザー snrnsidy
提出日時 2021-05-25 03:23:15
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 5 ms / 1,000 ms
コード長 261 bytes
コンパイル時間 3,165 ms
コンパイル使用メモリ 190,632 KB
最終ジャッジ日時 2025-01-21 18:04:57
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main(void)
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    
    long long int n, k;

    cin >> n >> k;


    long long int res = (n) / (k + 1);
    res += 1;
    cout << res << '\n';

    return 0;
}

0