結果
問題 | No.477 MVP |
ユーザー |
![]() |
提出日時 | 2021-02-15 22:39:19 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 6 ms / 1,000 ms |
コード長 | 217 bytes |
コンパイル時間 | 2,211 ms |
コンパイル使用メモリ | 191,168 KB |
最終ジャッジ日時 | 2025-01-18 21:17:33 |
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i,n) for(ll i=0;i<n;i++) static const int INF=1000000000; int main(){ ll n,k; cin>>n>>k; cout<<(n+k+1)/(k+1)<<endl; return 0; }