Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:最无语的TLE!我是不知道原因!难道隐式转化很费时?唉~我怎么一到pku上做题都这种情况啊

Posted by vici at 2010-06-06 23:35:35 on Problem 2480
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator