Source Code
#include <iostream>
#include <math.h>
using namespace std;

int main() {
	float h, t;

	cin >> h >> t;

	int temp = 0;

	while (h >= t) {
		h -= t;	
		temp++;
	}
	
	cout << temp;
	return 0;
}
Copy
The Tortoise and the Hare Qusay
GNU G++17
2 ms
908 KB
Accepted