1.3 Mixing Milk
摘要:
直接贪心嗯..这题都会的/*ID:y7276571LANG: C++TASK: milk*/#include<stdio.h>#include<stdlib.h>#include<string.h>#define MAXN 5000typedef struct milk{ int cost, ans;}milk;int cmp(const void *a, const void *b){ return ((milk*)a)->cost - ((milk*)b)->cost;}int main(void){ freopen("milk.i 阅读全文
posted @ 2011-11-05 23:17 嗜血魂K 阅读(167) 评论(0) 推荐(0) 编辑