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

/*2352 Accepted 328K 141MS C++ 695B 2010-08-19 19:58:51 */小小地纪念下

Posted by yuanchuanshun at 2010-08-19 20:01:17 on Problem 2352
开始总看不懂,说是树状数组的入门题,可总不知道怎么用,
后来干脆放了,先做了两个求逆序的题,再看着题的解题报告的说明,后理解了算法思想,就打代码给过。

中途给TLE了一次,
树状数组是从1开始的这得注意,当输入数据有0存在时,必须注意每个输入的值加1; 就AC了。

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