結果

問題 No.477 MVP
ユーザー butter_roll
提出日時 2017-01-27 22:26:07
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 188 bytes
コンパイル時間 757 ms
コンパイル使用メモリ 67,568 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-23 16:07:18
合計ジャッジ時間 1,154 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cstdio>
#include <algorithm>
#include <iostream>
#include <vector>

using namespace std;

int main(void){
  long long int N,K;
  cin>>N>>K;
  cout<<N/(K+1)+1<<endl;
  return 0;
}
0