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 |
1012只运行0ms就AC反正k的输入只有13种情况,我们可以在背地里把这13种情况算出来,并记录到一个数组里面。 再重新编写一个程序,每输入一个k,你就直接把k对应的数输出就行了,根本不需要时间计算。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator