| ||||||||||
| 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:求教1012算法 (提交总是 OTL)In Reply To:Re:求教1012算法 (提交总是 OTL) Posted by:lda at 2008-08-08 18:28:49 > #include<stdio.h>
> int res[15]=
> {
> 0,2,7,5,30,169,441,1872,7632,1740,
> 93313,459901,1358657,2504881,13482720
> };
> main()
> {
> int k;
> scanf("%d",&k);
> while(k)
> {
> printf("%d\n",res[k]);
> scanf("%d",&k);
> }
> }
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator