Source Code
#include <iostream>
using namespace std;
int main() {
  int h,t;
  cin >> h >>t;
  for(int j = 0; j <= 100; j++){
    if(t*j > h) {
      cout << j-1;
      break;
      }
  }
  return 0;
}
Copy
The Tortoise and the Hare Ayoooy
GNU G++17
3 ms
808 KB
Wrong Answer