結果

問題 No.46 はじめのn歩
ユーザー kei001
提出日時 2018-01-18 14:48:44
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 173 bytes
コンパイル時間 1,409 ms
コンパイル使用メモリ 59,080 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-12-24 11:09:05
合計ジャッジ時間 1,112 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 8 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
using namespace std;

int main(void){
  double a,b;
  cin >> a >> b;

  long long int div = (int)((b/a) + 0.9);
  cout << div << endl;
}
0