摘要: HotelTime Limit:3000MSMemory Limit:65536KTotal Submissions:13124Accepted:5664DescriptionThe cows are journeying north to Thunder Bay in Canada to gain... 阅读全文
posted @ 2015-05-01 10:36 tcgoshawk 阅读(175) 评论(0) 推荐(0) 编辑
摘要: ial JudgePrevSubmitStatusStatisticsDiscussNextType:NoneTag it!Johnny and his friends have decided to spend Halloween night doing the usual candy colle... 阅读全文
posted @ 2015-04-28 21:09 tcgoshawk 阅读(332) 评论(0) 推荐(0) 编辑
摘要: Sorting It All Out时间限制:3000ms | 内存限制:65535KB难度:3描述An ascending sorted sequence of distinct values is one in which some form of a less-than operator is... 阅读全文
posted @ 2015-04-28 10:19 tcgoshawk 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 郁闷的C小加(三)时间限制:1000ms | 内存限制:65535KB难度:4描述聪明的你帮助C小加解决了中缀表达式到后缀表达式的转换(详情请参考“郁闷的C小加(一)”),C小加很高兴。但C小加是个爱思考的人,他又想通过这种方法计算一个表达式的值。即先把表达式转换为前缀和后缀表达式,再求值。这时又要... 阅读全文
posted @ 2015-04-27 09:40 tcgoshawk 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 注:这里只是简单的加减乘除运算即含小括号的情况,并没有考虑单目运算符的情况。中缀表达式化后缀表达式: (1+3)/8*3-5= 构建一个空运算符栈。先向里面压入一个'='(方便后边的比较)。然后从左向右扫描中缀表达式,如果是操作数,则直接输出即可;如果是左括号则直接入栈,如果是右括号,则... 阅读全文
posted @ 2015-04-26 11:48 tcgoshawk 阅读(2477) 评论(0) 推荐(0) 编辑
摘要: Team FormationTime Limit:3 Seconds Memory Limit:131072 KBFor an upcoming programming contest, Edward, the headmaster of Marjar University, is forming ... 阅读全文
posted @ 2015-04-26 10:13 tcgoshawk 阅读(512) 评论(0) 推荐(0) 编辑
摘要: Adjacent Bit CountsTime Limit: 1000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainPrevSubmitStatusStatisticsDiscussNextType:... 阅读全文
posted @ 2015-04-17 08:59 tcgoshawk 阅读(219) 评论(0) 推荐(0) 编辑
摘要: ClickomaniaTime Limit: 10000msMemory Limit: 32768KB64-bit integer IO format:%I64d Java class name:MainSubmitStatusPID: 7538Clickomania is a puzzle in ... 阅读全文
posted @ 2015-04-14 13:17 tcgoshawk 阅读(360) 评论(0) 推荐(0) 编辑
摘要: God Save the i-th QueenTime Limit: 5000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainPrevSubmitStatusStatisticsDiscussNextT... 阅读全文
posted @ 2015-04-14 09:23 tcgoshawk 阅读(159) 评论(0) 推荐(0) 编辑
摘要: BillboardTime Limit:8000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 2795Appoint description:DescriptionAt the entrance ... 阅读全文
posted @ 2015-04-12 17:31 tcgoshawk 阅读(154) 评论(0) 推荐(0) 编辑