結果

問題 No.46 はじめのn歩
ユーザー RaYon_flamenco
提出日時 2017-07-13 16:24:58
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 222 bytes
コンパイル時間 253 ms
コンパイル使用メモリ 27,392 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-07 18:21:16
合計ジャッジ時間 962 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int main(){
     int a, b, count;
     scanf("%d%d", &a, &b);
     count = b / a;
     if(b % a == 0){
          printf("%d", count);
     }else{
          printf("%d", count+1);
     }
     return 0;
}
0