結果

問題 No.46 はじめのn歩
ユーザー yukkuriesu
提出日時 2017-11-19 00:34:57
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 179 bytes
コンパイル時間 920 ms
コンパイル使用メモリ 53,884 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-25 18:30:08
合計ジャッジ時間 925 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

int main(int argc, char const* argv[])
{
	int a,b;
	cin>>a>>b;
	int ans=b/a;
	ans=(b%a==0?ans:(ans+1));
	cout<<ans<<endl;
	return 0;
}

0