用户输出
701359824
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#48026 | #1254. 含金量 | Accepted | 100 | 53 ms | 352 K | C++ 17 / 242 B | Diorvh | 2021-05-10 19:16:22 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long 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;
}
用户输出
701359824
系统信息
Exited with return code 0
用户输出
213872325
系统信息
Exited with return code 0
用户输出
315504921
系统信息
Exited with return code 0
用户输出
1033006778
系统信息
Exited with return code 0
用户输出
5039106
系统信息
Exited with return code 0
用户输出
74416936
系统信息
Exited with return code 0
用户输出
699713018
系统信息
Exited with return code 0
用户输出
34225419
系统信息
Exited with return code 0
用户输出
1190229587
系统信息
Exited with return code 0
用户输出
1793349575
系统信息
Exited with return code 0
用户输出
592816939
系统信息
Exited with return code 0
用户输出
614742410
系统信息
Exited with return code 0
用户输出
2608077089
系统信息
Exited with return code 0
用户输出
336562496
系统信息
Exited with return code 0
用户输出
262790959
系统信息
Exited with return code 0
用户输出
1135977065
系统信息
Exited with return code 0
用户输出
483614251
系统信息
Exited with return code 0
用户输出
876710487
系统信息
Exited with return code 0
用户输出
2592856979
系统信息
Exited with return code 0