結果

問題 No.46 はじめのn歩
ユーザー tyasuigit
提出日時 2019-04-06 23:27:16
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 378 ms / 5,000 ms
コード長 165 bytes
コンパイル時間 430 ms
コンパイル使用メモリ 27,648 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-25 03:20:15
合計ジャッジ時間 1,079 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>

int main(){
	int a;
	int b;
	int c=0, tmp=0;

	scanf("%d %d", &a, &b);

	while(tmp<b){
		tmp = tmp + a;
		c++;
	}
	printf("%d\n", c);
	return 0;
}
0