用户输出
7219
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#69064 | #1254. 含金量 | Accepted | 100 | 42 ms | 308 K | C++ (NOI) / 218 B | 小雏菊状的玫瑰花结 | 2022-04-24 19:14:13 |
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
if ((z * y) % x == 0)
cout << z * y / x - 1 << endl;
else
cout << z * y / x << endl;
return 0;
}