上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页

2017年7月31日

摘要: 复数可以写成(A + Bi)的常规形式,其中A是实部,B是虚部,i是虚数单位,满足i2 = -1;也可以写成极坐标下的指数形式(R*e(Pi)),其中R是复数模,P是辐角,i是虚数单位,其等价于三角形式 R(cos(P) + isin(P))。 现给定两个复数的R和P,要求输出两数乘积的常规形式。 阅读全文
posted @ 2017-07-31 14:29 Annetree 阅读(185) 评论(0) 推荐(0) 编辑
 
摘要: 划拳是古老中国酒文化的一个有趣的组成部分。酒桌上两人划拳的方法为:每人口中喊出一个数字,同时用手比划出一个数字。如果谁比划出的数字正好等于两人喊出的数字之和,谁就赢了,输家罚一杯酒。两人同赢或两人同输则继续下一轮,直到唯一的赢家出现。 下面给出甲、乙两人的划拳记录,请你统计他们最后分别喝了多少杯酒。 阅读全文
posted @ 2017-07-31 11:01 Annetree 阅读(177) 评论(0) 推荐(0) 编辑

2017年7月29日

摘要: Problem Description Function Fx,ysatisfies:For given integers N and M,calculate Fm,1 modulo 1e9+7. Input There is one integer T in the first line.The 阅读全文
posted @ 2017-07-29 13:53 Annetree 阅读(374) 评论(0) 推荐(0) 编辑

2017年7月28日

摘要: Problem Description Steph is extremely obsessed with “sequence problems” that are usually seen on magazines: Given the sequence 11, 23, 30, 35, what i 阅读全文
posted @ 2017-07-28 14:46 Annetree 阅读(288) 评论(0) 推荐(0) 编辑
 
摘要: Problem Description On a two-dimensional plane, give you n integer points. Your task is to figure out how many different regular polygon these points 阅读全文
posted @ 2017-07-28 13:46 Annetree 阅读(207) 评论(0) 推荐(0) 编辑
 
摘要: 题目传送:http://acm.hdu.edu.cn/showproblem.php?pid=6045 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s 阅读全文
posted @ 2017-07-28 13:12 Annetree 阅读(132) 评论(0) 推荐(0) 编辑

2017年7月26日

摘要: 题目传送:http://acm.hdu.edu.cn/showproblem.php?pid=6043 Problem Description KazaQ wears socks everyday.At the beginning, he has n pairs of socks numbered 阅读全文
posted @ 2017-07-26 10:19 Annetree 阅读(175) 评论(0) 推荐(0) 编辑
 
摘要: Problem Description There is a youngster known for amateur propositions concerning several mathematical hard problems.Nowadays, he is preparing a thou 阅读全文
posted @ 2017-07-26 09:59 Annetree 阅读(367) 评论(0) 推荐(0) 编辑

2017年7月24日

摘要: Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group 阅读全文
posted @ 2017-07-24 11:02 Annetree 阅读(252) 评论(0) 推荐(0) 编辑
 
摘要: Problem Description This is a simple problem. Given two triangles A and B, you should determine they are intersect, contain or disjoint. (Public edge 阅读全文
posted @ 2017-07-24 10:42 Annetree 阅读(574) 评论(0) 推荐(0) 编辑
 
摘要: Problem Description Therearex frogs and y chicken in a garden. Kim found there are n heads and m legs in the garden. Please tell Kim how many frogs an 阅读全文
posted @ 2017-07-24 09:59 Annetree 阅读(177) 评论(0) 推荐(0) 编辑

2017年7月21日

摘要: Problem Description C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的 阅读全文
posted @ 2017-07-21 15:50 Annetree 阅读(153) 评论(0) 推荐(0) 编辑

2017年7月19日

摘要: You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. 阅读全文
posted @ 2017-07-19 15:27 Annetree 阅读(165) 评论(0) 推荐(0) 编辑
 
摘要: ZZX has a sequence of boxes numbered 1,2,...,n1,2,...,n. Each box can contain at most one ball. You are given the initial configuration of the balls. 阅读全文
posted @ 2017-07-19 14:32 Annetree 阅读(394) 评论(0) 推荐(0) 编辑

2017年7月18日

摘要: As we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives Rikka some math tasks to practice. There is one of them: Correct 阅读全文
posted @ 2017-07-18 16:23 Annetree 阅读(181) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页