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

理解题意是关键啊!

Posted by renmingjiang at 2008-05-18 17:42:07 on Problem 2470
    很奇怪的,此题的数据流也不是很大,当我用cin进行一系列的输入是会TLE,但是我换成了scanf后就AC了。
     还有一个非常关键的地方就是:You create a list of numbers where the i-th number is the position of the integer i in the permutation. 
     词句就是说 a[a[i]]==i 的意思。
      给出此信息以供后人参考。我也是个菜鸟啊!
    

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