| ||||||||||
| 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:HH_YT at 2012-03-23 16:48:23 > #include<stdio.h>
> int data[14]={0,2,7,5,30,169,441,1872,7632,1740,93313,459901,1358657,2504881};
> int main()
> {
> int k;
> while(scanf("%d",&k)&&k)
> printf("%d\n",data[k]);
> return 0;
> }
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator