結果

問題 No.46 はじめのn歩
ユーザー 綾地寧々
提出日時 2024-05-27 16:02:14
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 217 bytes
コンパイル時間 177 ms
コンパイル使用メモリ 27,904 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-20 20:32:58
合計ジャッジ時間 800 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>

int main ( void )
{
	uint32_t a, b;
	uint32_t res = 0u;
	scanf("%d%d", &a, &b);
	res = b / a;
	if ( b % a ) {
		res++;
	}
	printf("%d\n", res);
	return 0;
}
0