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

Java写的超时的,把除法换成移位试试

Posted by 774889315 at 2019-11-28 00:30:45 on Problem 3579
用随机数测了下时间,规模100 000,除法和移位都120毫秒左右;规模1 000 000,除法1200毫秒,移位900毫秒。这一点差别就导致了我第一次提交超时,换成移位后通过

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