結果

問題 No.388 階段 (1)
ユーザー tadanoningen
提出日時 2020-10-24 18:52:04
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 181 bytes
コンパイル時間 894 ms
コンパイル使用メモリ 66,152 KB
最終ジャッジ日時 2025-01-15 15:14:34
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>

using namespace std;

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