- 博客(5)
- 资源 (5)
- 收藏
- 关注
原创 codeforce A. Pasha and Pixels
A. Pasha and Pixels time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Pasha loves his phone and also puttin
2015-01-28 14:10:03 828
原创 POJ 1321 棋盘问题(dfs回溯)
回溯题型主要有两种,一种是子集生成问题:就是给你一个集合,求它的子集,这种主要是通过选或不选当前元素来枚举所有情况 另一种是枚举全排列。每一次确定当前的选择,则标记,这样下一次的选择就减少了一个。
2015-01-28 00:19:45 714
原创 poj乱序字典匹配(map)
#include #include #include #include #include using namespace std; const int maxn=1000+5; int main() { string a; string b; string temp; mapmp; map::iterator it; freopen("i
2015-01-23 22:29:15 568
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人