欢迎访问我的个人网站==》 jiashubing.cn
上一页 1 ··· 35 36 37 38 39
摘要: Japanese Mahjong IIITime Limit: 2 Seconds Memory Limit: 65536 KBMahjong is a game of skill, strategy and calculation and involves a certain degree of chance. In this problem, we concentrate on Japanese Mahjong, a variation of mahjong. For brief, all of the word mahjong mentioned following refer to . 阅读全文
posted @ 2013-02-22 20:47 贾树丙 阅读(427) 评论(0) 推荐(0) 编辑
摘要: Rock, Scissors, PaperTime Limit: 5 Seconds Memory Limit: 32768 KBBart's sister Lisa has created a new civilization on a two-dimensional grid. At the outset each grid location may be occupied by one of three life forms: Rocks, Scissors, or Papers. Each day, differing life forms occupying horizont 阅读全文
posted @ 2012-12-15 14:31 贾树丙 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 选课时间(题目已修改,注意读题)Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1865Accepted Submission(s): 1501Problem Description又到了选课的时间了,xhd看着选课表发呆,为了想让下一学期好过点,他想知道学n个学分共有多少组合。你来帮帮他吧。(xhd认为一样学分的课没区别)Input输入数据的第一行是一个数据T,表示有T组数据。每组数据的第一行是两个整数n(1 #include #includ 阅读全文
posted @ 2012-12-08 12:51 贾树丙 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Matrix Chain MultiplicationTime Limit: 2 Seconds Memory Limit: 65536 KBMatrix multiplication problem is a typical example of dynamical programming.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 whi. 阅读全文
posted @ 2012-11-09 14:57 贾树丙 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Digit SumDescriptionThe security system forAssociated Computer Informatics Systems(ACIS) has an interesting test to check the identity for authorized personal. These persons have got a piece of software that allowed them to calculate, given two integer positive numbersMandN, what is the sum of the d 阅读全文
posted @ 2012-10-28 11:09 贾树丙 阅读(500) 评论(0) 推荐(0) 编辑
摘要: Sum of divisorsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 416Accepted Submission(s): 173Problem Descriptionmmm is learning division, she's so proud of herself that she can figure out the sum of all the divisors of numbers no larger than 10 阅读全文
posted @ 2012-10-28 10:33 贾树丙 阅读(251) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39