摘要: 题目链接: http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1298 给出圆的圆心和半径,以及三角形的三个顶点,问圆同三角形是否相交。相交输出"Yes",否则输出"No"。(三角形的面积大于0)。 给出圆的圆心和半径,以及三 阅读全文
posted @ 2016-11-03 21:28 _Silver 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1384 给出一个字符串S(可能又重复的字符),按照字典序从小到大,输出S包括的字符组成的所有排列。例如:S = "1312", 输出为: 1123 1132 12 阅读全文
posted @ 2016-11-02 21:17 _Silver 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://acm.bnu.edu.cn/v3/contest_show.php?cid=8507#problem/D Description Panda has received an assignment of painting a line of blocks. Since P 阅读全文
posted @ 2016-10-07 20:00 _Silver 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5929 Problem Description Mr. Frog learned a basic data structure recently, which is called stack.There 阅读全文
posted @ 2016-10-06 22:07 _Silver 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5904 Problem Description Alex has two sequences a1,a2,...,an and b1,b2,...,bm. He wants find a longest 阅读全文
posted @ 2016-09-26 19:54 _Silver 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=2572 Problem Description 最后的挑战终于到了!站在yifenfei和MM面前的只剩下邪恶的大魔王lemon一人了!战胜他,yifenfei就能顺利救出MM。Yifenfei和魔王l 阅读全文
posted @ 2016-09-19 19:11 _Silver 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5901 Problem Description Easy question! Calculate how many primes between [1...n]! Input Each line con 阅读全文
posted @ 2016-09-19 09:16 _Silver 阅读(1226) 评论(1) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5882 Problem Description Rock-paper-scissors is a zero-sum hand game usually played between two people 阅读全文
posted @ 2016-09-17 20:08 _Silver 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5879 Problem Description Given an integer n , we only want to know the sum of 1/k2 where k from 1 to n 阅读全文
posted @ 2016-09-17 19:56 _Silver 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=2534 Problem Description 大家都知道,pfz是“成电杰出学生”,在成电杰出学生的颁奖典礼上,lxh和pfz都没有听台上在说什么,而是在下面讨论当晚的美式足球比赛,lxh预测说纽约巨 阅读全文
posted @ 2016-09-16 19:39 _Silver 阅读(140) 评论(0) 推荐(0) 编辑