随笔分类 -  思维题

有难有易
 
HDU 1562 Guess the number
摘要:题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=1562 Problem Description Happy new year to everybody!Now, I want you to guess a minimum number x betww 阅读全文
posted @ 2016-08-04 08:05 Annetree 阅读(261) 评论(0) 推荐(0)
ZOJ 2476 Total Amount
摘要:题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2476 Given a list of monetary amounts in a standard format, please calculate the tot 阅读全文
posted @ 2016-07-18 18:34 Annetree 阅读(151) 评论(0) 推荐(0)
POJ 2977 Box walking
摘要:题目链接:http://poj.org/problem?id=2977 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2229 Accepted: 598 题目链接:http://poj.org/problem?id=2977 阅读全文
posted @ 2016-07-17 07:01 Annetree 阅读(243) 评论(0) 推荐(0)
HDU 4247 A Famous ICPC Team
摘要:Problem Description Mr. B, Mr. G, Mr. M and their coach Professor S are planning their way to Warsaw for the ACM-ICPC World Finals. Each of the four h 阅读全文
posted @ 2016-07-15 19:48 Annetree 阅读(182) 评论(0) 推荐(0)
PAT 乙级 1004. 成绩排名
摘要:读入n名学生的姓名、学号、成绩,分别输出成绩最高和成绩最低学生的姓名和学号。 输入格式:每个测试输入包含1个测试用例,格式为 其中姓名和学号均为不超过10个字符的字符串,成绩为0到100之间的一个整数,这里保证在一组测试用例中没有两个学生的成绩是相同的。 输出格式:对每个测试用例输出2行,第1行是成 阅读全文
posted @ 2016-07-12 21:55 Annetree 阅读(249) 评论(0) 推荐(0)
HDU 1008 u Calculate e
摘要:Problem Description A simple mathematical formula for e iswhere n is allowed to go to infinity. This can actually yield very accurate approximations o 阅读全文
posted @ 2016-07-03 22:52 Annetree 阅读(125) 评论(0) 推荐(0)
POJ 2350 Above Average
摘要:Description It is said that 90% of frosh expect to be above average in their class. You are to provide a reality check. Input The first line of standa 阅读全文
posted @ 2016-07-03 22:47 Annetree 阅读(209) 评论(0) 推荐(0)