結果
問題 | No.388 階段 (1) |
ユーザー |
![]() |
提出日時 | 2019-05-17 09:33:16 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 285 bytes |
コンパイル時間 | 443 ms |
コンパイル使用メモリ | 63,084 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-17 05:49:41 |
合計ジャッジ時間 | 973 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <cmath> using namespace std; using ll = long long; int main() { int S, F; cin >> S >> F; if (S % F == 0) { cout << S / F + 1 << endl; } else { cout << S / F + 1 << endl; } return 0; }