結果
| 問題 |
No.388 階段 (1)
|
| コンテスト | |
| ユーザー |
6v8
|
| 提出日時 | 2016-07-08 23:29:37 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 774 bytes |
| コンパイル時間 | 822 ms |
| コンパイル使用メモリ | 92,520 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-13 07:14:27 |
| 合計ジャッジ時間 | 1,411 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
#define _USE_MATH_DEFINES
#include <sstream> //string stream its useful!
#include<string>
#include<iostream>
#include<utility> //pair
#include <vector> // vector
#include <algorithm> // swap,sort,binary_search
#include <functional> // std::greater
#include <map> //map
#include<set> //set
#include<queue> //queue
#include<list> //list
#include<cmath>
#include<numeric>
#include<cassert>
#include <iomanip> //cout<<setprecision
typedef long long ll;
#define ARRAY_LENGTH(array) (sizeof(array) / sizeof(array[0]))
using namespace std;
void omajinai() {
cin.tie(0);
ios::sync_with_stdio(false);
cout<<setprecision(15);
//freopen("txt.csv","r",stdin);
}
int main(){
omajinai();
int s,f; cin>>s>>f;
cout<<1+(int)s/f<<endl;
}
6v8