摘要: A sequence of N positive integers (10 b[j]-s)continue; while(b[i]<=b[j]-s)i++; ans=min(ans,j-i+1); } printf("%d\n"... 阅读全文
posted @ 2015-10-31 10:20 简约。 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Alice got a hold of an old calculator that can display n digits. She was bored enough to come up with the following time waster.She enters a number k ... 阅读全文
posted @ 2015-10-31 10:16 简约。 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Bob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in whi... 阅读全文
posted @ 2015-10-31 10:06 简约。 阅读(145) 评论(0) 推荐(0) 编辑