結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-07-29 00:13:17 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 413 bytes |
| 記録 | |
| コンパイル時間 | 1,059 ms |
| コンパイル使用メモリ | 207,952 KB |
| 実行使用メモリ | 9,168 KB |
| 最終ジャッジ日時 | 2026-07-05 08:53:18 |
| 合計ジャッジ時間 | 1,928 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, l, r) for (int i = (l); i < (r); i++)
#define bit(n, k) ((n >> k) & 1)
typedef long long ll;
typedef pair<int, int> pii;
void test_case(int tt){
int a,b; cin>>a>>b;
cout<<(b+a-1)/a<<"\n";
}
int main()
{
ios::sync_with_stdio(false);
cin.tie(NULL);
int t = 1;
//cin>>t;
rep(i, 1, t + 1)
{
test_case(i);
}
}