結果

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

ソースコード

diff #

#include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <limits>
#include <tuple>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <ctime>

using namespace std;



int main() {
	long long int a, b;
	cin >> a >> b;
	if (b%a == 0) cout << b / a << endl;
	else cout << b / a + 1 << endl;
	return 0;
}
0