课内上机实验3——括号匹配(栈)
摘要:
题目描述:输入字符串,判断里面的括号是否匹配。有(),[],{}#include char a[1000];int top = 0;//top points at the first empty elementvoid put_stack(char c){ a[top++] = c;}char... 阅读全文
posted @ 2015-11-21 18:43 盗贼的极意 阅读(175) 评论(0) 推荐(0)
浙公网安备 33010602011771号