1 solutions
-
1
#include<bits/stdc++.h> using namespace std; int main(){ double n; int x1,x2,x3,x4,x5,x6,x7,x8,x9,x10; cin>>x1>>x2>>x3>>x4>>x5>>x6>>x7>>x8>>x9>>x10; n+=x1*1.0*28.9; n+=x2*1.0*32.7; n+=x3*1.0*45.6; n+=x4*1.0*78; n+=x5*1.0*35; n+=x6*1.0*86.2; n+=x7*1.0*27.8 n+=x8*1.0*43; n+=x9*1.0*56; n+=x10*1.0*65; cout<<fixed<<setprecision(1)<<n; return 0; //给不想手写的人 }
- 1
Information
- ID
- 6932
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- 1
- Tags
- # Submissions
- 2
- Accepted
- 1
- Uploaded By