結果

問題 No.477 MVP
ユーザー pin
提出日時 2017-01-27 23:01:28
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 190 bytes
コンパイル時間 351 ms
コンパイル使用メモリ 53,324 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-23 16:45:36
合計ジャッジ時間 963 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(void){
     long int N ,K ;
     cin >> N >> K ;
     if(N<K){
          cout << 0 ;
     }else{
     cout << N / (K+1) + 1 ;
     }
    
}
0