結果

問題 No.388 階段 (1)
ユーザー kichirb3
提出日時 2018-02-27 15:42:44
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 285 bytes
コンパイル時間 589 ms
コンパイル使用メモリ 62,464 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-28 16:53:29
合計ジャッジ時間 1,037 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

// No.388 階段 (1)
// https://yukicoder.me/problems/no/388
//
using namespace std;
#include <iostream>

int solve(int S, int F);

int main() {
    int S, F;
    cin >> S >> F;
    int ans = solve(S, F);
    cout << ans << endl;
}

int solve(int S, int F) {
    return (S / F) + 1;
}
0