結果

問題 No.388 階段 (1)
ユーザー Maeda
提出日時 2025-03-03 10:38:23
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 221 bytes
コンパイル時間 990 ms
コンパイル使用メモリ 24,192 KB
実行使用メモリ 8,612 KB
最終ジャッジ日時 2025-03-03 10:38:57
合計ジャッジ時間 1,232 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 10 RE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
void main(void){
	int s = 0 , f = 0;
	int inputS = scanf("%d %d\n",&s,&f);
	if(inputS == 2){
		printf("入力エラー\n");
	}
	int ans = 1 + f/s;
	if(f%s != 0){
		ans += 1 ;
	}
    printf("%d",ans);

}
0