結果

問題 No.46 はじめのn歩
ユーザー t-0ga
提出日時 2019-07-10 09:25:53
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 217 bytes
コンパイル時間 459 ms
コンパイル使用メモリ 54,748 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-13 14:12:29
合計ジャッジ時間 927 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
using namespace std;
int main(){
    int a,b;
    cin >>a>>b;
    double c = b/a;
    int    d = (int)(c);
    int e = d;
    if(c > d)
    {
        e++;
    }
    cout << e <<endl;
    return 0;
}
0