結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
yukimarusan
|
| 提出日時 | 2018-12-30 17:30:56 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 5,000 ms |
| コード長 | 144 bytes |
| コンパイル時間 | 604 ms |
| コンパイル使用メモリ | 55,244 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-08 00:58:37 |
| 合計ジャッジ時間 | 1,276 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#include <iostream>
using namespace std;
int main() {
int a,b;cin>>a>>b;
int ans=0;
ans=(b%a==0)?b/a:b/a+1;
cout<<ans<<endl;
}
yukimarusan