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 |
此题数据范围给错了!!本来是一道很简单的spfa,硬是被错误的数据范围弄得Wrong Answer了好几次,将数组开到400000足够了, ps: 判断是否有数据超界的方法: scanf("%d%d",&m,&n); if (m>2001||n>1001) while(1) {printf("去你妹的!\n");} 提交结果若为OLE,结果不言而喻。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator