結果

問題 No.46 はじめのn歩
ユーザー nao159635741251
提出日時 2020-03-26 11:57:18
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 309 bytes
コンパイル時間 1,572 ms
コンパイル使用メモリ 160,552 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2025-01-02 01:11:45
合計ジャッジ時間 1,857 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define intput(i) cout << i << endl
#define ll long long
#define stringput(s) cout << (string)(s) << endl

int main(){
  ll a, b;
  cin >> a >> b;
  double ans = b/a;
  ans = ceil(ans);
  cout << ans << endl;
}
0