結果
問題 | No.46 はじめのn歩 |
ユーザー |
![]() |
提出日時 | 2015-01-16 00:19:01 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 288 bytes |
コンパイル時間 | 571 ms |
コンパイル使用メモリ | 72,396 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-22 11:58:32 |
合計ジャッジ時間 | 1,143 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
#include <iostream> #include <vector> #include <cstdio> #include <sstream> #include <map> #include <string> #include <algorithm> #include <queue> #include <cmath> #include <set> using namespace std; int main(){ int a,b; cin >> a >> b; cout << b/a + (b%a==0?0:1) << endl; return 0; }