結果

問題 No.46 はじめのn歩
ユーザー peroon
提出日時 2019-06-09 18:19:30
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 261 bytes
コンパイル時間 1,672 ms
コンパイル使用メモリ 166,120 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-06 00:14:01
合計ジャッジ時間 2,166 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
using ll = long long;
#define p(s) cout<<(s)<<endl

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);

    // input
    ll a, b; cin >> a >> b;
    
    ll ans = (a+b-1)/a;
    p(ans);
    
    return 0;
}
0