結果

問題 No.46 はじめのn歩
ユーザー kuc_jackson
提出日時 2021-03-15 16:34:16
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 252 bytes
コンパイル時間 1,729 ms
コンパイル使用メモリ 191,800 KB
最終ジャッジ日時 2025-01-19 17:15:53
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#include<algorithm>
using namespace std;
using ll=long long;

int main(){
    int a,b;
    cin >> a >> b;
   if(b%a==0){
       cout << b/a << endl;
   }
   else{
       cout << b/a+1 << endl;
   }
    return 0;
}
0