結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
TangentDay
|
| 提出日時 | 2016-02-11 03:38:03 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 449 bytes |
| 記録 | |
| コンパイル時間 | 1,005 ms |
| コンパイル使用メモリ | 95,164 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-10 05:41:54 |
| 合計ジャッジ時間 | 2,033 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <iostream>
#include <fstream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <string>
#include <set>
#include <map>
#include <queue>
#include <algorithm>
using namespace std;
#define REP(i,n) for(int i=0; i<n; i++)
#define FOR(i,a,b) for(int i=a; i<=b; i++)
#define FORR(i,a,b) for (int i=a; i>=b; i--)
typedef long long ll;
int main(void){
int a,b;
cin >> a >> b;
cout << (b%a==0 ? b/a : b/a+1) << endl;
return 0;
}
TangentDay