#include<bits/stdc++.h> using namespace std; int main() { int m,n,h,s=0,g=0; cin>>m>>n>>h; while(s<h){ g++; s=s+m; if(s>=h){ break; } s-=n; } cout<<g; return 0; } /************************************************************** Problem: 1074 User: zzz Language: C++ Result: Accepted Time:8 ms Memory:2072 kb ****************************************************************/