結果

問題 No.388 階段 (1)
ユーザー Lo_OT
提出日時 2018-03-11 19:11:53
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 257 bytes
コンパイル時間 470 ms
コンパイル使用メモリ 54,284 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-15 00:21:31
合計ジャッジ時間 1,160 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main(){
    int f,s;
    cin >> f >> s;
    
    if(f < s){
        cout << 1 << endl;
    }else if(f % s == 0){
        cout << 2 << endl;
    } else {
        cout << f / s + 1 << endl;
    }

    return 0;
}
0