| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
Re:求指导啊,stack around the variable was corrupted,很奇怪的错误诶。。。In Reply To:求指导啊,stack around the variable was corrupted,很奇怪的错误诶。。。 Posted by:johnny0707 at 2013-02-04 14:17:55 当i = maxn时,数组越界了呀,
for (int i = 4; i <= maxn; i+=2)
{
ans[i] = 4 * ans[i-2] - ans[i-4];
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator