結果

問題 No.46 はじめのn歩
ユーザー 小林遼太
提出日時 2021-05-15 23:23:23
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 1,483 ms
コンパイル使用メモリ 26,880 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-03 12:49:26
合計ジャッジ時間 693 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(void) {
  int a=0;
  int b=0;
  int count=0;
  scanf("%d%d",&a,&b);

  if(b%a==0){
    count=a/b;
  }
  else{
    count=a/b+1;
  }
  printf("%d",count);
    return 0;
}
0