Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
56199 | 许兴平 | 甲流疫情死亡率 | C++ | Accepted | 0 MS | 236 KB | 185 | 2024-11-09 21:05:11 |
#include<bits/stdc++.h> using namespace std; int a,b; double c,d; int main(){ cin>>a>>b; c=a*1.0; d=b*1.0; cout<<fixed<<setprecision(3)<<d/c*100.0<<"%"<<endl; return 0; }