結果

問題 No.46 はじめのn歩
ユーザー kachipan
提出日時 2023-06-21 15:43:23
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 386 ms / 5,000 ms
コード長 167 bytes
コンパイル時間 308 ms
コンパイル使用メモリ 30,464 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-29 01:38:53
合計ジャッジ時間 1,048 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main()
{
	int num = 0;
	int num2 = 0;
	int n=0;
	scanf("%d",&num);
	scanf("%d",&num2);
	
	for(;n*num<num2;n++);
	
	printf("%d",n);
	return 0;
}
0