結果
| 問題 | No.477 MVP |
| コンテスト | |
| ユーザー |
Yut176
|
| 提出日時 | 2017-01-27 22:32:46 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 365 bytes |
| 記録 | |
| コンパイル時間 | 767 ms |
| コンパイル使用メモリ | 97,224 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-29 15:59:44 |
| 合計ジャッジ時間 | 1,374 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 3 |
ソースコード
#include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<vector>
#include<map>
#include<queue>
#include<string>
#include<sstream>
#include<cmath>
#include<numeric>
using namespace std;
int main(){
long long int n, k;
cin >> n >> k;
long long int ans = n / (k+1);
cout << ( n % (k+1) == 0 ? ans : ans+1) << endl;
return 0;
}
Yut176