提交时间:2022-06-11 15:14:54

运行 ID: 41214

#include<bits/stdc++.h> using namespace std; double x,y,t,ans,xs,ys=1; int main(){ cin>>x>>y>>t; while(xs<ys){ ans+=1; xs=ans/x; ys=ans/y+t; } cout<<ans-1; return 0; }