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:求教1012算法 (提交总是 OTL)

Posted by njut at 2008-08-09 09:36:40 on Problem 1012
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:
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