会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
marybubble
博客园
首页
新随笔
联系
管理
订阅
2017年11月26日
括号匹配问题——栈
摘要: 南阳理工学院oj题解 //括号匹配问题 #include<iostream>#include<cstdio>#include<cstdlib>#include<stack>using namespace std;int main(){ int k, flag = 1; char c,*q; char
阅读全文
posted @ 2017-11-26 09:54 marybubble
阅读(193)
评论(0)
推荐(0)
2017年11月21日
哈夫曼树的建立
摘要: 闲暇的夜晚, 写个哈夫曼树练练笔。 #include<iostream>#include<cstring>#include<cstdlib>#include<algorithm>typedef struct{ char data; int w,parent, lchild, rchild; int
阅读全文
posted @ 2017-11-21 21:05 marybubble
阅读(2851)
评论(0)
推荐(0)
公告