Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
43784 | zouqinghua | 甲流疫情死亡率 | C++ | Accepted | 1 MS | 252 KB | 238 | 2024-03-23 10:36:09 |
#include <iostream> using namespace std; int main() { int a; // 确诊数 int b; // 死亡数 cin >> a; cin >> b; printf("%.3f%%", 100.0 * b / a); // 最后连续两个%代表输出一个% return 0; }