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 pipilupe at 2017-08-06 14:48:44 on Problem 2676
In Reply To:TLE的同学来看一一下 Posted by:14110501017 at 2015-08-20 15:19:39
2676 直接暴力轻松就过了, 试了一下这个, 需要接近两秒, 看来要优化一下算法了.
> 000014000
> 030000200
> 070000000
> 000900030
> 601000000
> 000000080
> 200000104
> 000050600
> 000708000

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