結果
問題 | No.388 階段 (1) |
ユーザー | srup٩(๑`н´๑)۶ |
提出日時 | 2016-07-08 22:21:58 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 490 bytes |
コンパイル時間 | 597 ms |
コンパイル使用メモリ | 62,416 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-13 04:18:02 |
合計ジャッジ時間 | 1,124 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
#include <iostream> #include <algorithm> #include <vector> #include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> using namespace std; typedef long long ll; typedef pair<int,int> pint; typedef vector<int> vint; typedef vector<pint> vpint; #define mp make_pair #define fi first #define se second #define all(v) (v).begin(),(v).end() #define rep(i,n) for(int i=0;i<(n);i++) int main(void){ int n, f; cin >> n >> f; int ans = n / f; printf("%d\n", ans + 1); return 0; }