結果

問題 No.46 はじめのn歩
ユーザー tau0529
提出日時 2025-07-15 10:14:22
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 537 bytes
コンパイル時間 4,404 ms
コンパイル使用メモリ 275,052 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2025-07-15 10:16:57
合計ジャッジ時間 5,072 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

/*
ショトカ登録
cin cout endl return
int double string char pair make_pair first second
sort erase
stoi
auto bool true false
vector queue priority_queue front pop_frpnt
size substr push_back pop_back push pop top
if for while break continue next_permutation
__builtin_popcount 
*/

//無限
int inf = 1020304050;
int64_t INF = 1020304050607080900;

//all マクロ
#define all(v) v.begin(), v.end()




int main () {
    int a, b; cin >> a >> b;
    cout << (b - 1) / a + 1 << endl;
}
0