結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-04 12:38:32 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 494 bytes |
| コンパイル時間 | 3,128 ms |
| コンパイル使用メモリ | 242,668 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-04 12:38:36 |
| 合計ジャッジ時間 | 4,133 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
const char nl = '\n';
const char sp = ' ';
const long long INF = 1LL << 60;
using ll = long long;
#define all(x) (x).begin(),(x).end()
template<class T> inline bool chmax(T& a, T b) {if (a < b) {a = b; return true;} return false;}
template<class T> inline bool chmin(T& a, T b) {if (a > b) {a = b; return true;} return false;}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int a, b; cin >> a >> b;
cout << (b+a-1) / a << nl;
}