2015年3月6日
摘要: 未整理完..#include#include#include#includeusing namespace std;struct PostfixExpre { string infix; PostfixExpre(string _infix) { infix = _infi... 阅读全文
posted @ 2015-03-06 22:12 平和之心 阅读(177) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; char mp[5][5]; int n, res; bool vis[5][5]; void print(){ for(i... 阅读全文
posted @ 2015-03-06 22:09 平和之心 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.nyist.net/JudgeOnline/problem.php?pid=523#include#include#includeusing namespace std;/* 用普通搜索TLE,已知起点和终点,可以考虑双向广搜或A*算法加速搜索 双向广搜... 阅读全文
posted @ 2015-03-06 22:06 平和之心 阅读(120) 评论(0) 推荐(0) 编辑