80分求解
查看原帖
80分求解
781494
hyx810913楼主2022/9/1 10:41
#include<bits/stdc++.h>
using namespace std;
int main(){
	long double sum=0,a;
    while(cin>>a){
    	sum+=a;
	}
    printf("%.5Lf",sum);
    return 0;
}
2022/9/1 10:41
加载中...