Source Code
#include<bits/stdc++.h>
using namespace std ;
#define ull unsigned long long
#define ld long double
#define ll long long
#define endl "\n"
#define sp " "
#define Ra_1 ios::sync_with_stdio(0),ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0);
void main_()
{
    int h,t,x,cnt=0;
    cin>>h>>t;
    if(t>h){cout<<0;return;}
    x=t;
    while(x<=h)
    {
       x+=t;
       cnt++;
    }
    cout<<cnt;
}
int main()
{

    Ra_1
    main_();

}
Copy
The Tortoise and the Hare Ra_1
GNU G++17
3 ms
1.1 MB
Accepted