include<stdio.h> include using namespace std; int main(){ int C; while(scanf("%d",&C)!=EOF) { int n; for(int i=0;i<C;i++) { double V,W,sumW=0,num[100],sumV=0; scanf("%d %lf %lf",&n,&V,&W); for(int j=0;j<n;j++) { scanf("%lf",&num[j]); } sort(num,num+n); //浓度进行排序,便于k当作体...