結果

問題 No.388 階段 (1)
ユーザー kazuki26
提出日時 2022-06-25 20:51:26
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 204 bytes
コンパイル時間 1,963 ms
コンパイル使用メモリ 192,484 KB
最終ジャッジ日時 2025-01-30 00:51:09
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 8 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
    int s, f;
    cin >> s >> f;

    if ( s % f != 0) {
        cout << s / f + 1 << endl;
        return 0;
    }
    cout << s / f << endl;
}
0