hdu1070专题

hdu1070(找最便宜的牛奶喝)

用结构体做 #include<stdio.h>typedef struct{char brand[102];int price ,v,day;double f;}node;int main(){node a[105];int n,t,i,j,max;double min;scanf("%d",&t);while(t--){scanf("%d",&n);for(i=0;i<n;i++)