| ||||||||||
| 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 | |||||||||
第二次才A ,汗呐,提醒大家第一次的初始化语句写的是:
memset(f,-10000,sizeof(f));
for(i=1;i<=vas;i++)
f[0][i]=0;
出WA,自己搞了个数据以后把i从0开始循环就AC了,不要大意啊。
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator