摘要:
Light BulbTime Limit: 1 Second Memory Limit: 32768 KBCompared to wildleopard's wealthiness, his brother mildleopard is rather poor. His house is narr... 阅读全文
摘要:
二分法逼近求值大家应该明白,但是它只能解决单调函数问题;如果是凹函数或者凸函数怎么办呢?别急,还有三分法!凸(凹)函数在高数中的定义是:若函数的二阶导数在区间上恒大于0,则该函数在区间为凸函数;反之,小于0为凹函数。有点不好记,我自己是这样记得:凹函数谁大不用谁,凸函数说小不用谁!仅供参考,自己体会... 阅读全文
摘要:
Strange fuctionTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4538Accepted Submission(s): 3261Pro... 阅读全文