简单题
文章平均质量分 88
chat_c
这个作者很懒,什么都没留下…
展开
-
Matrix Chain Multiplication UVA 442(栈+表达式求值)
Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multiplications are performed is arbitrary. H原创 2016-02-09 23:04:12 · 412 阅读 · 0 评论 -
Rails UVA 514(栈模拟,水题)
There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time. It was possible to e原创 2016-02-04 23:19:50 · 733 阅读 · 0 评论 -
Symmetry UVa 1595(水题)
The figure shown on the left is left-right symmetric as it is possible to fold the sheet of paper along a vertical line, drawn as a dashed line, and to cut the figure into two identical halves. The fi原创 2016-02-11 15:39:39 · 464 阅读 · 0 评论 -
NYOJ A problem is easy(水题)
Time Limit:3000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescriptionWhen Teddy was a child , he was always thinking about some simple math problems ,such as “What it’s 1 cup原创 2016-01-07 20:47:36 · 532 阅读 · 0 评论 -
bnu 51635 Check In(简单题)(北师16校赛)
又到了一年一度的北京师范大学程序设计竞赛!本次比赛的负责人萌萌哒whalyzh同学要给大家发比赛账号。由于参赛队伍众多,面对长长的参赛名单,whalyzh同学表示压力山大。现在whalyzh同学实在忙不过来,就扔了一份参赛队伍的账号列表给你。为了确定给校内队伍颁发的各类奖项的名额,他需要知道一共有多少支校内队伍参加了比赛。Input第一行是一个正整数,表示测试数据的组数,原创 2016-04-25 15:34:09 · 850 阅读 · 0 评论 -
hdu 5666 Segment(简单整点计数题+快速乘)(bestcoder#80 1001)
Problem Description Silen August does not like to talk with others.She like to find some interesting problems. Today she finds an interesting problem.She finds a segment x+y=q.The原创 2016-04-25 22:10:22 · 888 阅读 · 0 评论 -
hdu 5665 Lucky(简单题)(bestcoder#80 1000)
Problem Description Chaos August likes to study the lucky numbers. For a set of numbers S,we set the minimum non-negative integer,which can't be gotten by adding the number in S,as t原创 2016-04-25 22:02:57 · 841 阅读 · 0 评论 -
hdu 5655 CA Loves Stick(简单题)(Bestcoder #78 1001)
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 416 Accepted Submission(s): 153Problem DescriptionCA loves to play with sti原创 2016-04-03 12:26:39 · 675 阅读 · 0 评论 -
Brightest Immaculate Teresa(简单题)(北理16校赛)
时间限制1秒 内存限制64M题目描述: Teresa是个有着丰富内心世界的女孩子,时常抬起头来看着北京的夜空。 今夜天上又有着无数繁星,Teresa想着一个有趣的问题:如果把所有夜空中的星星看做二维平面上的点,哪一个点(这个点可以是平面上任意一点)离所有的星星最近呢?最近,意味着对于点,使最小。输入格式: 给定用原创 2016-05-16 17:00:20 · 380 阅读 · 0 评论