結果
問題 | No.46 はじめのn歩 |
ユーザー |
|
提出日時 | 2023-08-11 16:08:07 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 560 bytes |
コンパイル時間 | 1,753 ms |
コンパイル使用メモリ | 191,736 KB |
最終ジャッジ日時 | 2025-02-16 00:42:25 |
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
#include <bits/stdc++.h>using namespace std;using ll = long long;template<class T>using V = std::vector<T>;#define REP(i, n) for (ll i = (ll)0; i < (ll)(n); i++)#define REPS(i, s, n) for (ll i = (ll)(s); i < (ll)(n); i++)#define RREP(i, n) for (ll i = (ll)(n); i > (ll)0; i--)#define RREPS(i, s, n) for (ll i = (ll)(n); i > (ll)(s); i--)#define ALL(c) std::begin((c)), std::end((c))struct io {io() { cin.tie(0)->sync_with_stdio(0); }} caller;int main() {int a, b;cin >> a >> b;cout << (a + b - 1) / a << endl;return 0;}