結果
問題 |
No.46 はじめのn歩
|
ユーザー |
|
提出日時 | 2021-07-03 23:06:34 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 376 bytes |
コンパイル時間 | 4,113 ms |
コンパイル使用メモリ | 251,284 KB |
最終ジャッジ日時 | 2025-01-22 17:21:32 |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; #include <atcoder/all> using namespace atcoder; #define rep(i, n) for (long long i = 0; i < (n); ++i) using ll = long long; using P = pair<int,int>; const long double PI = (acos(-1)); const int MOD = 1e9+7; int main() { long double a, b; cin >> a >> b; ll ans = ceil(b/a); cout << ans << endl; return 0; }