結果

問題 No.46 はじめのn歩
ユーザー dong_feng
提出日時 2018-04-15 22:39:01
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 202 bytes
コンパイル時間 236 ms
コンパイル使用メモリ 28,928 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-27 00:09:42
合計ジャッジ時間 689 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <math.h>
int main(void){
  int a;
  int b;
  int result = 0;

  scanf("%d", &a);
  scanf("%d", &b);
  result = (int) ceil((double)b/a);
  printf("%d", result);

  return 0;
}
0