#include #include #include #include #include #include #include using namespace std; #define int long long #define endl "\n" constexpr long long INF = (long long)5e18; constexpr long long MOD = 1'000'000'007; struct fast_io { fast_io(){ std::cin.tie(nullptr); std::ios::sync_with_stdio(false); }; } fio; int V, T, P; int check(int t){ if(t <= (P + 1) * V + min(t - (P+1) * V, (t - 1)/T + 1)) return true; return false; } signed main(){ cout<>V>>T>>P; int l = 1, h = INF, m; // for(int i = 1; i < 20; i++){ // cout<<"i = "<