結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
TangentDay
|
| 提出日時 | 2016-02-11 03:38:03 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 449 bytes |
| コンパイル時間 | 1,775 ms |
| コンパイル使用メモリ | 73,656 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-22 00:15:58 |
| 合計ジャッジ時間 | 1,314 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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