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:最无语的TLE!我是不知道原因!难道隐式转化很费时?唉~我怎么一到pku上做题都这种情况啊In Reply To:最无语的TLE!我是不知道原因!难道隐式转化很费时?唉~我怎么一到pku上做题都这种情况啊 Posted by:jiangke at 2010-04-28 16:09:36 i必须是long long 因为i*i<=n时可能越界 之后会得负数 导致判定成功继续循环 就超时了 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator