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 Seraph_fd at 2012-02-18 18:35:52 on Problem 2033
In Reply To:其实这道题不一定要开数组的 Posted by:majia8 at 2009-04-08 20:16:33
> 只需要类似滚筒数组的思路,只需要5个变量

恩恩。赞同~char t[4]  Count(t) = Count(t+1) + Count(t+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