阳光英语周刊武汉专版:http://acm.nyist.net/JudgeOnline/problem.php?pid=2

来源:百度文库 编辑:九乡新闻网 时间:2024/07/14 05:11:33
#include#include#include#include#define MAX 10000struct data { int top; char s[MAX]; };
int IN(data &SS){    SS.top=-1;    return 1;}int EMPTY(data &SS){ if(SS.top==-1)return 1; return 0;   }int PUSH(data &SS,char ch){    SS.s[++SS.top]=ch;    return 1;}int POP(data &SS){    if(EMPTY(SS))return 0;    SS.top--;    return 1;}char TOP(data &SS){     if(EMPTY(SS))return 0;      return SS.s[SS.top];}int main() {int n;int i,leap;data SS;char str[MAX];scanf("%d",&n);getchar();while(n--){  gets(str);  IN(SS); int t=strlen(str);  for(i=0; i
http://acm.nyist.net/JudgeOnline/problem.php?pid=2 论坛网址大全 转载自中国分享基地;原文地址:http://bbs.evhoo.net/read.php?tid=33212 各国媒体热议中国国情咨文http://www.sinovision.net/news.php http://www.xy280.com/bbs/read.php?tid=28861 http://mj.367art.com/show.php?contentid=7273 - 『网络技术』 (http://bbs.et8.net/bbs/forumdisplay.php?f=19) - - 【讨论】内网不在一个网段,网关也不一样,没有路由的两台机器为什么 http://www.preschool.net.cn/ShowArticle.asp?ArticleID=23838 : 中国新能源投资网 http://www.jingyi-carbon.com/ndetail.php?id=220&lang= http://www.51paper.net 背景图片 背景 http//kejian8.net 建站指南->>网页教学网(http://www.webjx.com)建站指南|网页制作|网页特效|Flash动画|网络编程|素材下载|教程下载|建站|HTML|CSS|JAVASCRIPT|ASP|PHP|JSP|ASP.NET|数据库 民间股神王磊之大牛股底部挖掘的三大法 原文链接:http://9.55188.com/viewthread.php?tid=4069583 清华大学中国财政税收研究所的宗旨是:http://www.nifs.tsinghua.edu.cn/news.php?classid=7 催官天星派风水实战案例2 http://www.buyiworld.net/newss.a... 价值中国http://www.chinavalue.net/ 潜能成功网http://www.qncg.net/ ACM--Parencodings ACM学习方法 php 谈兵论战] 美国空军首个机器人空中打击中队将赴伊作战 [复制链接] http://bbs.china.com.cn/forum.php?mod=viewthread&tid=162296 斯蒂格利茨答《中国改革》记者问之评论 本文来自: 人大经济论坛 宏观经济学 版,详细出处参考:http://bbs.pinggu.org/viewthread.php?tid=1071565&page http://www.boogoo.cn/news/user/pagelist.php?NewsId=480《美国宪政历程——影响美国的25个司法大案》 在线阅读 在《如水之家》http://xzd.2000y.net/mb/1/ReadNews.asp?NewsID=313241 如是因如是果 (转自学佛网:http://www.xuefo.net/blog/1/2_47846.htm)