摘要: EqsDescription: Consider equations having the following form: a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0 The coefficients are given integers from ... 阅读全文
posted @ 2016-08-12 18:25 抽空的太阳 阅读(257) 评论(0) 推荐(0)
摘要: Mobile phonesDescription: Suppose that the fourth generation mobile phone base stations in the Tampere area operate as follows. The area is d... 阅读全文
posted @ 2016-08-12 17:53 抽空的太阳 阅读(155) 评论(0) 推荐(0)
摘要: int lowbit(int x){ return x & (-x);}void modify(int x,int add)//一维{ while(x0;i-=lowbit(i)) for(int j=y;j>0;j-=lowbit(j)) ... 阅读全文
posted @ 2016-08-12 17:05 抽空的太阳 阅读(69) 评论(0) 推荐(0)
摘要: Apple TreeDescription: There is an apple tree outside of kaka’s house. Every autumn, a lot of apples will grow in the tree. Kaka likes apple ... 阅读全文
posted @ 2016-08-12 16:05 抽空的太阳 阅读(245) 评论(0) 推荐(0)
摘要: Balanced LineupDescription: For the daily milking, Farmer John’s N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer Joh... 阅读全文
posted @ 2016-08-12 15:26 抽空的太阳 阅读(128) 评论(0) 推荐(0)