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:LJW at 2009-06-08 08:03:37 if(n&1)printf("0\n"); else printf("%d\n",(int)(0.7886751345948128822545743*pow(3.7320508075688772935274463415,n/2.)+1)); Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator