結果

問題 No.46 はじめのn歩
ユーザー gedy01221406gedy01221406
提出日時 2019-09-26 17:49:13
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 237 bytes
コンパイル時間 704 ms
コンパイル使用メモリ 65,076 KB
最終ジャッジ日時 2025-01-07 19:10:56
ジャッジサーバーID
(参考情報)
judge1 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
//#include <numeric>
//#include <vector>
//#include <cstdint>
using namespace std;

int main() {
	int i, j, k;
	cin >> i >> j;
	if (j % i == 0) {
		k = j / i;
	}
	else {
		k = j / i + 1;
	}

	cout << k ;

	return 0;
}
0