提交时间:2022-11-27 14:57:14
运行 ID: 6151
#include<iostream> using namespace std; int main(){ double a2[10] = {28.9,32.7,45.6,78,35,86.2,27.8,43,56,65}; int n,s=0; for(int i=0;i<10;i++){ cin>>n; s=s+a2[i]; } cout<<s; }