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 scaneeling at 2008-07-27 17:11:09 on Problem 1012
In Reply To:大家说的打表是什么意思 能告知一下吗?谢谢 Posted by:gjhdy at 2008-07-27 16:50:33
就是在数据比较小的时候,比如测试数据只有一到一百的情况,你就可以先全部在自己的机子上算好,存入一个数组,交的时候只要cin>>n;cout<<a[n]<<endl;就行了,打表一般只有当算法没做好,在自己机子上运行时就会超时,但是很久(<=1年,^_^......)之后可以全部运行出来时,就会打表,,,说白了就是为了解决超时的问题,

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