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:下面是我的代码,怎么老是runtime error,那位仁兄帮帮忙啊 ,请教高手啊,In Reply To:下面是我的代码,怎么老是runtime error,那位仁兄帮帮忙啊 ,请教高手啊, Posted by:ZhangJunhua at 2008-07-16 21:36:43 题目中有 Given 2 < p ≤ 1000000000 and 1 < a < p 也许int型不够用吧! 还有个肯定会出错的地方 int*b=new int[p+1]; 如果p=1000000000, 肯定分配不了这么打的数组! LZ 能否把思路贴出来分享下? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator