結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
fuu32
|
| 提出日時 | 2017-10-29 14:03:26 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 429 bytes |
| コンパイル時間 | 1,682 ms |
| コンパイル使用メモリ | 166,804 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-22 05:10:36 |
| 合計ジャッジ時間 | 2,062 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include<bits/stdc++.h>
#define REP(i,n) for(int i=0;i<n;i++)
#define LOOP(i,x,n) for(int i=x;i<n;i++)
#define ALL(v) (v).begin(),(v).end()
#define PB push_back
#define MP make_pair
#define FIR first
#define UB upper_bound
#define LB lower_bound
#define int long long
using namespace std;
const int MOD=1000000007;
const int INF=1000000009;
signed main(){
int a,b;
cin>>a>>b;
cout<<(b%a==0?b/a:b/a+1)<<endl;
return 0;
}
fuu32