用户输出
7219
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#49098 | #1254. 含金量 | Accepted | 100 | 45 ms | 356 K | C++ / 279 B | snowsking | 2021-05-21 17:08:56 |
// 2021校赛
#include <iostream>
using namespace std;
typedef long long ll;
int main() {
ll x, y, z, ans;
cin >> x >> y >> z;
ans = y * z / x;
if (x * ans == y * z)
cout << ans - 1 << endl;
else
cout << ans << endl;
return 0;
}