随笔分类 -  Math

数学
摘要:11489 Integer GameTwo players, S and T, are playing a game where they make alternate moves. S plays rst.In this game, they start with an integer N. In 阅读全文
posted @ 2016-09-20 00:35 Yan_Bin 阅读(461) 评论(0) 推荐(0) 编辑
摘要:12050 Palindrome NumbersA palindrome is a word, number, or phrase that reads the same forwards as backwards. For example,the name “anna” is a palindro 阅读全文
posted @ 2016-09-19 00:38 Yan_Bin 阅读(186) 评论(0) 推荐(0) 编辑
摘要:11609 TeamsIn a galaxy far far away there is an ancient game played among the planets. The specialty of the gameis that there is no limitation on the 阅读全文
posted @ 2016-09-07 20:18 Yan_Bin 阅读(233) 评论(0) 推荐(0) 编辑
摘要:11076 Add AgainSummation of sequence of integers is always a common problem in Computer Science. Rather than computingblindly, some intelligent techni 阅读全文
posted @ 2016-09-07 20:02 Yan_Bin 阅读(227) 评论(0) 推荐(0) 编辑
摘要:11752 The Super PowersWe all know the Super Powers of this world and how they manage to get advantages in political warfareor even in other sectors. B 阅读全文
posted @ 2016-09-06 23:57 Yan_Bin 阅读(362) 评论(0) 推荐(0) 编辑
摘要:10892 LCM CardinalityA pair of numbers has a unique LCM but a single number can be the LCM of more than one possiblepairs. For example 12 is the LCM o 阅读全文
posted @ 2016-09-04 01:03 Yan_Bin 阅读(206) 评论(0) 推荐(0) 编辑
摘要:10780 Again Prime? No time.The problem statement is very easy. Given a number n you have to determine the largest power of m,not necessarily prime, th 阅读全文
posted @ 2016-09-04 00:28 Yan_Bin 阅读(207) 评论(0) 推荐(0) 编辑
摘要:10943 How do you add?Larry is very bad at math — he usually uses a calculator, which workedwell throughout college. Unforunately, he is now struck in 阅读全文
posted @ 2016-09-03 17:56 Yan_Bin 阅读(155) 评论(0) 推荐(0) 编辑
摘要:11889 BenefitRecently Yaghoub is playing a new trick to sell some more. When somebody gives him A Tomans, hewho never has appropriate changes, asks fo 阅读全文
posted @ 2016-09-03 16:16 Yan_Bin 阅读(226) 评论(0) 推荐(0) 编辑
摘要:11388 GCD LCMThe GCD of two positive integers is the largest integer that divides both the integers without anyremainder. The LCM of two positive inte 阅读全文
posted @ 2016-09-03 11:40 Yan_Bin 阅读(184) 评论(0) 推荐(0) 编辑
摘要:1356 BridgeA suspension bridge suspends the roadway from huge main cables, which extend from one end of thebridge to the other. These cables rest on t 阅读全文
posted @ 2016-09-02 15:54 Yan_Bin 阅读(166) 评论(0) 推荐(0) 编辑
摘要:1476 Error CurvesJosephina is a clever girl and addicted to Machine Learning recently. She pays much attention to amethod called Linear Discriminant A 阅读全文
posted @ 2016-09-02 11:50 Yan_Bin 阅读(172) 评论(0) 推荐(0) 编辑
摘要:10341 Solve ItSolve the equation:p  e􀀀x + q  sin(x) + r  cos(x) + s  tan(x) + t  x2 + u = 0where 0  x  1.InputInput consists of multiple test 阅读全文
posted @ 2016-09-02 01:05 Yan_Bin 阅读(146) 评论(0) 推荐(0) 编辑
摘要:11542 SquareGiven n integers you can generate 2n􀀀1 non-empty subsets from them. Determine for how many of thesesubsets the product of all the integer 阅读全文
posted @ 2016-09-01 22:57 Yan_Bin 阅读(221) 评论(0) 推荐(0) 编辑
摘要:10828 Back to Kernighan-RitchieYou must have heard the name of Kernighan and Ritchie, the authors ofThe C Programming Language. While coding in C, we 阅读全文
posted @ 2016-09-01 18:01 Yan_Bin 阅读(362) 评论(0) 推荐(0) 编辑
摘要:1386 Cellular AutomatonA cellular automaton is a collection of cells on a grid of speci ed shape that evolves through a numberof discrete time steps a 阅读全文
posted @ 2016-09-01 01:00 Yan_Bin 阅读(149) 评论(0) 推荐(0) 编辑
摘要:10870 RecurrencesConsider recurrent functions of the following form:f(n) = a1f(n 􀀀 1) + a2f(n 􀀀 2) + a3f(n 􀀀 3) + : : : + adf(n 􀀀 d); for n > d;wh 阅读全文
posted @ 2016-08-31 01:03 Yan_Bin 阅读(412) 评论(0) 推荐(0) 编辑
摘要:11077 Find the PermutationsSorting is one of the most used operations in real life, where Computer Science comes into act. It iswell-known that the lo 阅读全文
posted @ 2016-08-29 23:47 Yan_Bin 阅读(289) 评论(0) 推荐(0) 编辑
摘要:12103 Leonardo's Notebook| I just bought Leonardo's secret notebook! Rare object col-lector Stan Ucker was really agitated but his friend, specialinve 阅读全文
posted @ 2016-08-29 22:05 Yan_Bin 阅读(142) 评论(0) 推荐(0) 编辑
摘要:10294 Arif in Dhaka (First Love Part 2)Our hero Arif is now in Dhaka (Look at problem 10244 – First Love if you want to know more aboutArif, but that 阅读全文
posted @ 2016-08-29 15:49 Yan_Bin 阅读(235) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示