結果

問題 No.46 はじめのn歩
ユーザー ken8aisa
提出日時 2021-06-12 11:51:09
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 379 bytes
コンパイル時間 1,827 ms
コンパイル使用メモリ 165,744 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-16 05:09:51
合計ジャッジ時間 2,063 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
//#define int long long 
#define rep(i, a, b) for (int i = a; i < b; i++)
#define rrep(i, a, b) for (int i = a; i >= b; i--)
#define ALL(x) std::begin(x), std::end(x)
int main()
{
	cin.tie(0);
	ios::sync_with_stdio(false);
	constexpr char endl = '\n';

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