結果

問題 No.388 階段 (1)
ユーザー Naoki00712
提出日時 2023-05-29 17:17:32
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 158 bytes
コンパイル時間 267 ms
コンパイル使用メモリ 27,648 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-28 10:01:58
合計ジャッジ時間 1,033 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main()
{
	int s, f, a;

	scanf("%d%d", &s, &f);

	s += f;
	a = ((s - s % f) / f);

	printf("%d", a);

	return 0;
}
0