Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
37832 YHBZ 龟兔赛跑 C++ 通过 100 0 MS 248 KB 223 2022-04-22 20:08:50

Tests(5/5):


#include <iostream> using namespace std; int main() { int x, y, t; cin>>x>>y>>t; double sc = t * x; double c = y - x; double time = double(sc / c); double an = time * y; cout<<int(an); return 0; }


测评信息: