結果

問題 No.46 はじめのn歩
コンテスト
ユーザー vjudge1
提出日時 2026-02-11 01:42:21
言語 C++17
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=c++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 879 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,270 ms
コンパイル使用メモリ 130,220 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2026-02-11 01:42:23
合計ジャッジ時間 2,038 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <vector>
#include <algorithm>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <stack>
#include <queue>
#include <string>
#include <climits>
#include <cmath>
#include <ctype.h>
using namespace std;

#define fst ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define sp " "
#define nl "\n"
#define yes cout << "YES\n"
#define no cout << "NO\n"
#define sd cout
#define imx INT_MAX
#define imn INT_MIN
#define pb push_back
#define vi vector<int>
#define vl vector<ll>
#define elif else if
#define fi(k, l) for (int i = k; i < l; i++)
#define as(v) sort(v.begin(), v.end())
#define asr(a, n) sort(a, a + n)
#define ds(v) sort(v.rbegin(), v.rend())
#define F first
#define S second

typedef long long ll;

int main() {
    fst;
    ll a,b;
    cin >> a>>b;
    cout<< ceil((double)b/a)<<'\n';
    return 0;
}
0