提交时间:2021-05-05 10:18:24

运行 ID: 19009

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