题解列表

筛选

纪念品分组

摘要:解题思路:先排序;首尾数相加与w比较,符合的筛出0;分类计算出非0的数参考代码:#include <stdio.h>#include <stdlib.h>#define N 100int main()……