摘要:
~A题 A. Cards time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output There are n cards (n is even 阅读全文
摘要:
Prince and PrincessInput: Standard Input Output: Standard Output Time Limit: 3 Seconds In an n x n chessboard, Prince and Princess plays a game. The s 阅读全文
摘要:
Error Curves Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 4928 Accepted Submission(s): 1867 Pr 阅读全文
摘要:
转自: http://blog.csdn.net/acdreamers/article/details/9989197 首先来说说三分的概念: 二分是把区间分为长度相等的两段,三分则是把区间分为长度相等的三段,进行查找,这样的查找称为三分查找,三分查找通 常用来迅速确定最值。 众所周知,二分算法的要 阅读全文
摘要:
Sona Time Limit:5000MS Memory Limit:65535KB 64bit IO Format: Submit Status Practice NBUT 1457 Sona Submit Status Practice NBUT 1457 Appoint descriptio 阅读全文
摘要:
小Z的袜子(hose) Time Limit:20000MS Memory Limit:265216KB 64bit IO Format:%lld & %llu Submit Status Practice HYSBZ 2038 小Z的袜子(hose) Submit Status Practice 阅读全文
摘要:
网上百度了一发,这个算法是一个叫莫涛的大牛研究出来的 Orz~ 看了一些牛牛们的博客,也大概理解了这个算法。 先说这个算法的作用吧: 莫队算法能够在O(n^1.5)的复杂度内求出区间[L,R]中某一个数字出现的次数。但是操作是离线的,因为这个算法的就是根据这个性质来的。 如果我们已经知道了区间[L, 阅读全文
摘要:
Network Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 4478 Accepted: 1292 Description Yixght is a manager of the company called SzqNetwor 阅读全文
摘要:
Network Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 903 Accepted Submission(s): 379 Problem 阅读全文
摘要:
Connections between cities Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 8857 Accepted Submis 阅读全文