結果

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

ソースコード

diff #

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

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

  long long int div = ceil(b/a);
  cout << a*div << endl;
}
0