摘要: 题目描述夏令营有N个人,每个人的力气为M(i)。请大家从这N个人中选出若干人,如果这些人可以分成两组且两组力气之和完全相等,则称为一个合法的选法,问有多少种合法的选法?数据范围40%的数据满足:1#include#include#include#includeusing names... 阅读全文
posted @ 2016-11-01 22:19 hiweibolu 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 题目描述数据范围解法模拟。代码#include#include#include#include#include#define ll long longusing namespace std;const char* fin="form.in";const char* fout="fo... 阅读全文
posted @ 2016-11-01 21:47 hiweibolu 阅读(163) 评论(0) 推荐(0) 编辑