結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
nksk
|
| 提出日時 | 2017-04-21 20:46:46 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 387 bytes |
| コンパイル時間 | 557 ms |
| コンパイル使用メモリ | 72,948 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-20 05:12:35 |
| 合計ジャッジ時間 | 1,034 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include<cstdio>
#include <iostream>
#include<algorithm>
#include<string>
#include<queue>
#include<vector>
#include<functional>
#include<cmath>
#include<map>
#include<stack>
#include<set>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main()
{
int a, b; cin >> a >> b;
if (b % a == 0)
cout << b / a << endl;
else
cout << b / a + 1 << endl;
return 0;
}
nksk