一本通1104
#include <bits/stdc++.h>
#define rep(i,j,n) for(register int i=j;i<=n;i++)
#define Rep(i,j,n) for(register int i=j;i>=n;i--)
#define low(x) x&(-x)
using namespace std ;
typedef long long LL ;
const int inf = INT_MAX >> 1 ;
inline LL In() { LL res(0) , f(1) ; register char c ;
#define gc c = getchar()
while(isspace(gc)) ; c == '-' ? f = - 1 , gc : 0 ;
while(res = (res << 1) + (res << 3) + (c & 15) , isdigit(gc)) ;
return res * f ;
#undef gc
}
double sum ;
double a[] = { 0 , 28.9 , 32.7 , 45.6 , 78.0 , 35.0 , 86.2 , 27.8 , 43.0 , 56.0 , 65.0} ;
inline void Ot() {
rep(i,1,10) {
int x = In() ;
sum += x * a[i] ;
}
cout << fixed << setprecision(1) << sum << endl ;
}
signed main() {
// freopen("test.in","r",stdin) ;
return Ot() , 0 ;
}
不存在十全十美的文章 如同不存在彻头彻尾的绝望