#54904: {c++}解題引導 ※善用if else


yp11452077@yphs.tp.edu.tw (706-08胡瑀霏)


#include <bits/stdc++.h>
using namespace std;
int main(){
  設定整數加速與預期到達速度
  輸入之

 ->如果,預期到達的速度/加速是整數(沒有餘數)

就直接輸出

->如果,不是整數(有餘數)

則輸出預期到達的速度/加速+1(確保整數之最少時間)