| ||||||||||
| 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 | |||||||||
一个小问题,求一个答案for(int i=0; i<sqrt(k); i++); 这种语句i没加1一次,是否都计算一次sqrt(k)呢? 如果是,是否我改成for(int i=0, t=sqrt(k); i<t; i++); 会节约点时间 还是不同的情况做不同处理? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator