結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
hotpepsi
|
| 提出日時 | 2015-06-27 01:20:44 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 276 bytes |
| コンパイル時間 | 428 ms |
| コンパイル使用メモリ | 59,608 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-07 19:50:07 |
| 合計ジャッジ時間 | 911 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <iostream>
#include <algorithm>
#include <sstream>
#include <cstring>
using namespace std;
int main(int argc, char *argv[]) {
string s;
getline(cin, s);
stringstream ss(s);
int A, B;
ss >> A >> B;
int ans = (B + A - 1) / A;
cout << ans << endl;
return 0;
}
hotpepsi