摘要: The world famous scientist Innokentiy almost finished the creation of perpetuum mobile. Its main part is the energy generator which allows the other m... 阅读全文
posted @ 2015-08-09 19:48 无解大神 阅读(249) 评论(0) 推荐(0)
摘要: DescriptionOnce Bob took a paper stripe ofnsquares (the height of the stripe is 1 square). In each square he wrote an integer number, possibly negativ... 阅读全文
posted @ 2015-08-09 19:45 无解大神 阅读(306) 评论(0) 推荐(0)
摘要: DescriptionHere is a famous story in Chinese history."That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes t... 阅读全文
posted @ 2015-08-09 19:36 无解大神 阅读(157) 评论(0) 推荐(0)
摘要: DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating ... 阅读全文
posted @ 2015-08-09 19:32 无解大神 阅读(355) 评论(0) 推荐(0)
摘要: DescriptionVanya walks late at night along a straight street of lengthl, lit bynlanterns. Consider the coordinate system with the beginning of the str... 阅读全文
posted @ 2015-08-09 19:30 无解大神 阅读(14) 评论(0) 推荐(0)
摘要: DescriptionA sequence of N positive integers (10 #include using namespace std;int x[100005];int n,m;int main(){ while(scanf("%d%d",&n,&m)==2){ ... 阅读全文
posted @ 2015-08-09 19:28 无解大神 阅读(171) 评论(0) 推荐(0)
摘要: DescriptionSimon and Garfunkel Corporation (SG Corp.) is a large steel-making company with thousand of customers. Keeping the customer satisfied is on... 阅读全文
posted @ 2015-08-09 19:24 无解大神 阅读(270) 评论(0) 推荐(0)
摘要: DescriptionA set ofn1-dimensional items have to be packed in identical bins. All bins have exactly the same lengthland each itemihas lengthlil. We loo... 阅读全文
posted @ 2015-08-09 19:22 无解大神 阅读(257) 评论(0) 推荐(0)
摘要: DescriptionBefore the invention of book-printing, it was very hard to make a copy of a book. All the contents had to be re-written by hand by so calle... 阅读全文
posted @ 2015-08-09 19:18 无解大神 阅读(181) 评论(0) 推荐(0)
摘要: DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping ... 阅读全文
posted @ 2015-08-09 19:15 无解大神 阅读(136) 评论(0) 推荐(0)