Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
37509 | jiangmiao | 甲流疫情死亡率 | C++ | Accepted | 0 MS | 248 KB | 218 | 2024-01-21 11:10:09 |
#include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; cout << fixed << setprecision(3) << 100.0 * b / a << '%' << endl; // 保留三位小数输出 return 0; }