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 |
同问!In Reply To:Re:600多ms 还能怎么优化?? Posted by:wqb0039 at 2006-09-29 09:25:34 > 敢问高手for(j = 2; j < MAX; j ++) > { > for(i = 0; i < c ;i ++) > { > int k = j/sushu[i]; > if(j%sushu[i] == 0) > { > if(k%sushu[i] == 0) > phy[j] = phy[k]*sushu[i]; > else > phy[j] = phy[k]*(sushu[i] - 1); > break; > } > } > if(i == c) > phy[j] = j - 1; > } > 是什么意思??? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator