zhber
有好多做过的题没写下来,如果我还能记得就补吧
上一页 1 2 3 4 5 6 7 ··· 34 下一页
摘要: A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and can be divided by 13. For example, 阅读全文
posted @ 2017-08-04 11:18 zhber 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。不吉利的数字为所有含有4或62的号码。例如:62315 73418 88914都属 阅读全文
posted @ 2017-08-04 11:14 zhber 阅读(147) 评论(0) 推荐(0) 编辑
摘要: ZS the Coder has recently found an interesting concept called the Birthday Paradox. It states that given a random set of 23 people, there is around 50 阅读全文
posted @ 2017-08-04 11:10 zhber 阅读(258) 评论(0) 推荐(0) 编辑
摘要: The citizens of a small village are tired of being the only inhabitants around without a connection to the Internet. After nominating the future netwo 阅读全文
posted @ 2017-08-04 10:57 zhber 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Jzzhu has picked n apples from his big apple tree. All the apples are numbered from 1 to n. Now he wants to sell them to an apple store. Jzzhu will pa 阅读全文
posted @ 2017-08-04 10:47 zhber 阅读(228) 评论(0) 推荐(0) 编辑
摘要: As you know, Vova has recently become a new shaman in the city of Ultima Thule. So, he has received the shaman knowledge about the correct bracket seq 阅读全文
posted @ 2017-08-04 10:41 zhber 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Alice and Bonnie are sisters, but they don't like each other very much. So when some old family photos were found in the attic, they started to argue 阅读全文
posted @ 2017-08-04 10:30 zhber 阅读(301) 评论(0) 推荐(0) 编辑
摘要: Vasya is studying in the last class of school and soon he will take exams. He decided to study polynomials. Polynomial is a function P(x) = a0 + a1x1  阅读全文
posted @ 2017-08-04 10:06 zhber 阅读(281) 评论(0) 推荐(0) 编辑
摘要: Let's assume that v(n) is the largest prime number, that does not exceed n; u(n) is the smallest prime number strictly greater than n. Find . Let's as 阅读全文
posted @ 2017-08-04 09:52 zhber 阅读(334) 评论(0) 推荐(0) 编辑
摘要: John Doe has found the beautiful permutation formula. Let's take permutation p = p1, p2, ..., pn. Let's define transformation f of this permutation: w 阅读全文
posted @ 2017-08-04 09:43 zhber 阅读(265) 评论(0) 推荐(0) 编辑
摘要: You are given undirected weighted graph. Find the length of the shortest cycle which starts from the vertex 1 and passes throught all the edges at lea 阅读全文
posted @ 2017-07-24 16:53 zhber 阅读(328) 评论(0) 推荐(0) 编辑
摘要: Given a positive odd integer K and two positive integers low and high, determine how many integers between low and high contain exactly K divisors. In 阅读全文
posted @ 2017-07-24 16:43 zhber 阅读(292) 评论(0) 推荐(0) 编辑
摘要: This is yet another problem on regular bracket sequences. A bracket sequence is called regular, if by inserting "+" and "1" into it we get a correct m 阅读全文
posted @ 2017-07-24 16:31 zhber 阅读(337) 评论(0) 推荐(0) 编辑
摘要: Consider two integer sequences f(n) = n! and g(n) = an, where n is a positive integer. For any integer a > 1 the second sequence is greater than the f 阅读全文
posted @ 2017-07-24 11:27 zhber 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Recently Polycarp started to develop a text editor that works only with correct bracket sequences (abbreviated as CBS). Note that a bracket sequence i 阅读全文
posted @ 2017-07-15 12:43 zhber 阅读(303) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 34 下一页