結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
00Asage00
|
| 提出日時 | 2017-01-22 19:10:55 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 276 bytes |
| コンパイル時間 | 560 ms |
| コンパイル使用メモリ | 63,088 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-23 05:40:47 |
| 合計ジャッジ時間 | 1,373 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include "iostream"
#include "cmath"
#include "algorithm"
#include "string"
#include "vector"
using namespace std;
int s;
void output() {
cout << s << endl;
}
int main() {
int a, b;
cin >> a >> b;
s = b / a;
if ((b % a) > 0) {
s += 1;
}
output();
return 0;
}
00Asage00