用户输出
7219
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#69154 | #1254. 含金量 | Accepted | 100 | 58 ms | 496 K | C++ 11 / 255 B | 越杰(计算机)001-唐雨萧 | 2022-05-04 16:09:57 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double x, y, z;
cin >> x >> y >> z;
int i = 1;
for (i = 1; i <= 100000000; i++) {
if ((double)i / z >= y / x)
break;
}
cout << i - 1;
return 0;
}