用户输出
7219
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#69247 | #1254. 含金量 | Accepted | 100 | 57 ms | 460 K | C++ 11 / 210 B | Shirost | 2022-05-13 10:09:48 |
#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 5;
int n;
int x, y, z;
int main() {
scanf("%d%d%d", &x, &y, &z);
if (y * z % x == 0)
printf("%d\n", y * z / x - 1);
else
printf("%d\n", y * z / x);
return 0;
}