結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-08-06 10:44:32 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 364 bytes |
| コンパイル時間 | 800 ms |
| コンパイル使用メモリ | 100,120 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2025-08-06 10:44:34 |
| 合計ジャッジ時間 | 1,802 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <climits>
#include <string>
#include <vector>
#include <cmath>
#include <set>
#include <map>
using namespace std;
using ll = long long;
int main(void)
{
ll A, B;
cin >> A >> B;
if (B % A == 0)
{
cout << B / A << endl;
}
else
{
cout << B / A + 1 << endl;
}
return 0;
}