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呀,哪位大牛帮我改一下,谢了

Posted by 20072631 at 2008-10-12 09:52:13 on Problem 1002
In Reply To:总是TLE呀,哪位大牛帮我改一下,谢了 Posted by:hheq121 at 2008-08-05 21:01:16
不如先把数字之和求起来
例如
 m=100*temp[0]+10*temp[1]+temp[2];
  n=1000*temp[3]+100*temp[4]+10*temp[5]+temp[6];
再比较

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