막대 높이에서 올라갈 수 있는 거리 빼기
#include <iostream>
#include <vector>
using namespace std;
int main() {
int a, b, v;
int time;
cin >> a >> b >> v;
v -= a;
if (v % (a - b)==0) {
time = v / (a - b)+1;
}
else {
time = v / (a - b)+2;
}
cout << time;
return 0;
}