摘要: 纠结一个下午,发现自己真的是越来越菜了,以前做的很快的题竟然久战不下!以后得在poj上常练了!以下是源码,比较乱,难得整理了……回溯法的应用#include<iostream>#include <fstream>using namespace std;const int MAX=1000;int typeValue[MAX];int x[MAX];//每种对应的张数,回溯时用int xx[MAX];int Request[MAX];int maxKind=0;int totalStemps=100000;int maxValue=0;bool isTie=false;i 阅读全文
posted @ 2011-06-04 22:22 JustDoIt0 阅读(277) 评论(0) 推荐(0) 编辑