結果
問題 |
No.46 はじめのn歩
|
ユーザー |
![]() |
提出日時 | 2017-12-04 15:44:18 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 315 bytes |
コンパイル時間 | 630 ms |
コンパイル使用メモリ | 77,360 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-28 15:11:38 |
合計ジャッジ時間 | 1,177 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
#include <iostream> #include <algorithm> #include <vector> #include <string> #include <iomanip> #include <cmath> using namespace std; #define diff(x,y) ((x > y) ? (x - y) : (y - x)) int main() { long long int a, b, ans = 0; cin >> a >> b; ans += b / a; if (b % a != 0) ans++; cout << ans << endl; return 0; }