| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 74555 | 梅煦洋 | 龟兔赛跑 | C++ | Accepted | 100 | 0 MS | 248 KB | 336 | 2023-05-27 16:27:39 |
#include<bits/stdc++.h> using namespace std; int a[1000010],t[1000010]; long long ans=0; int main(){ //freopen("a3.in","r",stdin); //freopen("a3.out","w",stdout); double x,y,t; cin>>x>>y>>t; double cha=x*t; double six=y-x; double k=cha/six; double lo=k+t; double num=lo*x; cout<<(int)num<<endl; return 0; }