林夕佳  •  1年前


include<bits/stdc++.h>

using namespace std; int main(){

double a,b,c,d,e;
int t,a1,b1,c1,d1,e1;
cin>>a>>b>>c>>d>>e;
a1=(int)(a+0.5);
b1=(int)(b+0.5); 
c1=(int)(c+0.5); 
d1=(int)(d+0.5); 
e1=(int)(e+0.5);
t=a1+b1+c1+d1+e1;
cout<<t; 
return 0;

}


评论: