結果

問題 No.388 階段 (1)
ユーザー toco8
提出日時 2020-06-30 00:42:58
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 153 bytes
コンパイル時間 122 ms
コンパイル使用メモリ 29,568 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-19 06:10:21
合計ジャッジ時間 676 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <math.h>

int main(void)
{
  double a, b;

  scanf("%lf %lf", &a, &b);
  printf("%.0lf\n", ceil((a + 1) / b));
  return 0;
}
0