結果

問題 No.46 はじめのn歩
ユーザー kendemu
提出日時 2014-11-23 14:45:30
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 273 bytes
コンパイル時間 560 ms
コンパイル使用メモリ 63,784 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2025-01-02 20:15:46
合計ジャッジ時間 1,270 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <cmath>
#include <algorithm>

int main(){
 long long  int a, b;
 std::cin >> a >>b;
  if(b % a == 0) std::cout << b/a << std::endl;
  else std::cout << (b/a) + 1 << std::endl;
}
0