| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 19176 | 孙喻桐 | 龟兔赛跑 | C++ | Accepted | 100 | 2 MS | 252 KB | 233 | 2021-05-10 20:30:05 |
#include<bits/stdc++.h> using namespace std; int t,x,y; double i,s,as; int main(){ cin>>x>>y>>t; s=t*x; while(s>=as){ s=x*t+i*x; as=i*y; i+=0.001; } s=floor(s); cout<<s; return 0; }