摘要: Outlets Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 706 Accepted Submission(s): 33... 阅读全文
posted @ 2013-06-04 20:38 N3verL4nd 阅读(210) 评论(0) 推荐(0)
摘要: 在所有 Win32 操作系统提供的机制中,使用最广泛的未公开的机制恐怕就要数结构化异常处理(structured exception handling,SEH)了。一提到结构化异常处理,可能就会令人想起 _try、_finally 和 _except 之类的词儿。在任何一本不错的... 阅读全文
posted @ 2013-06-04 19:58 N3verL4nd 阅读(677) 评论(0) 推荐(0)
摘要: Connect them Time Limit: 1 Second Memory Limit: 32768 KB You have n computers numbered from 1 to n and you want to connect them to make a sma... 阅读全文
posted @ 2013-06-04 19:05 N3verL4nd 阅读(138) 评论(0) 推荐(0)
摘要: Cows Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 9871 Accepted: 3233 Description Farmer John's cows have discovered... 阅读全文
posted @ 2013-06-04 11:32 N3verL4nd 阅读(118) 评论(0) 推荐(0)
摘要: Mobile phones Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 12399 Accepted: 5714 Description Suppose that the fourth ... 阅读全文
posted @ 2013-06-04 09:15 N3verL4nd 阅读(156) 评论(0) 推荐(0)
摘要: Color the ball Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5330 Accepted Submissio... 阅读全文
posted @ 2013-06-04 08:28 N3verL4nd 阅读(175) 评论(0) 推荐(0)
摘要: 树状数组在区间求和问题上有大用,其三种复杂度都比线段树要低很多……有关区间求和的问题主要有以下三个模型(以下设A[1..N]为一个长为N的序列,初始值为全0): (1)“改点求段”型,即对于序列A有以下操作: 【1】修改操作:将A[x]的值加上c; 【2】求和操作:求此时A[l..... 阅读全文
posted @ 2013-06-04 08:13 N3verL4nd 阅读(167) 评论(0) 推荐(0)
摘要: Stars Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 25880 Accepted: 11309 Description Astronomers often examine star ... 阅读全文
posted @ 2013-06-04 07:46 N3verL4nd 阅读(124) 评论(0) 推荐(0)