题解 | 疫情死亡率
疫情死亡率
https://www.nowcoder.com/practice/30ccb6041bce43c6989b910dc46d391c
#include <bits/stdc++.h>
using namespace std;
int main() {
int c,d;
double a;
cin>>c>>d;
a=d*100.0/c;
cout<<fixed<<setprecision(3)<<a<< "%"<<endl;
}
// 64 位输出请用 printf("%lld")
查看4道真题和解析