Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
44005 | yangtianqi | 甲流疫情死亡率 | C++ | 解答错误 | 0 MS | 252 KB | 273 | 2024-03-24 21:24:53 |
#include<bits/stdc++.h> using namespace std; int main(){ double jlqz; double jlsw; cin>>jlqz>>jlsw; printf("甲流死亡率是%.3lf",jlsw/jlqz*100); cout<<"%"<<endl; cout<<fixed<<setprecision(3)<<"甲流死亡率是"<<jlsw/jlqz*100<<"%"<<endl; }