提交时间:2023-05-27 14:15:16

运行 ID: 74523

#include<bits/stdc++.h> using namespace std; int x,y,t,tans; int main(){ cin>>x>>y>>t; int c=x*t; double ans=c*1.0/(y-x)*y; if(int(ans)==ans) tans=ans-1; else tans=ans; cout<<tans; return 0; }