結果

問題 No.388 階段 (1)
ユーザー rse
提出日時 2023-04-23 13:22:57
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 242 bytes
コンパイル時間 838 ms
コンパイル使用メモリ 76,544 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-07 20:36:23
合計ジャッジ時間 1,540 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
using namespace std;

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