提交时间:2019-10-13 11:23:46
运行 ID: 1548
#include<bits/stdc++.h> using namespace std; int main(){ double a[6]; a[1]=2.25/100; a[2]=2.43/100; a[3]=2.70/100; a[4]=2.88/100; a[5]=3.00/100; int b,c; cin>>b>>c; cout<<"合计为"<<c*a[b]*b+c; return 0; }