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:居然超时,线性的都能超时,大神,解答一下

Posted by myang3 at 2018-12-05 14:42:56 on Problem 2752
In Reply To:居然超时,线性的都能超时,大神,解答一下 Posted by:gxn at 2018-08-13 19:07:08
这个不是线性时间,两个string的==操作跟长度有关,所以这个应该是O(n^2)

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