Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:大家说的打表是什么意思 能告知一下吗?谢谢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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator