https://www.acmicpc.net/problem/2869
#include <iostream>
#include <vector>
using namespace std;
int main()
{
int A, B, V;
cin >> A >> B >> V;
if (A > V)
cout << 1;
else
{
// (V-A): Height raised during the daytime on Day 1
// (A-V): Height that rises on a day
if ((V - A) % (A - B) == 0) // If divided, the climb is complete
cout << (V - A) / (A - B) + 1;
else // Otherwise, it goes up one more day, exceeding V.
cout << (V - A) / (A - B) + 2;
}
return 0;
}