結果
| 問題 |
No.477 MVP
|
| ユーザー |
d_sei
|
| 提出日時 | 2019-10-14 21:06:00 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 301 bytes |
| コンパイル時間 | 774 ms |
| コンパイル使用メモリ | 80,204 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-24 13:30:32 |
| 合計ジャッジ時間 | 1,389 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 3 |
ソースコード
#include<iostream>
#include<algorithm>
#include <vector>
#include<cmath>
#include<iomanip>
#include<queue>
using namespace std;
typedef long long int lint;
int main() {
lint N, K;
cin >> N >> K;
if (!N % K) {
cout << N / (K + 1) << endl;
}
else {
cout << (N + K) / (K + 1) << endl;
}
}
d_sei