- 博客(8)
- 收藏
- 关注
原创 A Bit Fun
Problem DescriptionThere are n numbers in a array, as a0, a1 ... , an-1, and another number m. We define a function f(i, j) = ai|ai+1|ai+2| ... | aj . Where "|" is the bit-OR operation. (i The p
2013-09-14 15:48:18 704
原创 poj——1152——An Easy Problem!
DescriptionHave you heard the fact "The base of every normal number system is 10" ? Of course, I am not talking about number systems like Stern Brockot Number System. This problem has nothing to d
2013-09-09 20:29:32 696
原创 poj——2262——Goldbach's Conjecture
DescriptionIn 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture: Every even number greater than 4 can be writt
2013-09-09 19:04:52 622
原创 hdu——1573—— X问题
Problem Description求在小于等于N的正整数中有多少个X满足:X mod a[0] = b[0], X mod a[1] = b[1], X mod a[2] = b[2], …, X mod a[i] = b[i], … (0 Input输入数据的第一行为一个正整数T,表示有T组测试数据。每组测试数据的第一行为两个正整数N,M (0 Outpu
2013-09-09 17:38:37 788
原创 hdu——2104——hide handkerchief
Problem DescriptionThe Children’s Day has passed for some days .Has you remembered something happened at your childhood? I remembered I often played a game called hide handkerchief with my friends.
2013-09-05 13:39:43 591 1
原创 hdu——3177——Crixalis's Equipment
Problem DescriptionCrixalis - Sand King used to be a giant scorpion(蝎子) in the deserts of Kalimdor. Though he's a guardian of Lich King now, he keeps the living habit of a scorpion like living und
2013-09-04 19:55:33 598
原创 hdu——1018——Big Number
Problem DescriptionIn many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, encryption, etc. In this problem you are
2013-09-03 19:41:25 516
原创 hdu ——1242——Rescue
Problem DescriptionAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M Angel's friends want to save Angel. Their task is: approach Angel. W
2013-09-03 14:49:34 615 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人