题解 | 疫情死亡率
疫情死亡率
https://www.nowcoder.com/practice/30ccb6041bce43c6989b910dc46d391c
#include <iostream>
using namespace std;
int main() {
int a, b;
while (cin >> a >> b) { // 注意 while 处理多个 case
printf("%0.3f%%",b*100.0/a);
}
}
// 64 位输出请用 printf("%lld")
printf输出%需要使用两个%%,类似\转义符,需要两个\\

