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 |
零 的时候 输出结果是1 !!!!!!!!!!!!! 题目中有这么说么??In Reply To:结果和你一样么 怎么就是wa啊 帮看看 Posted by:gqxu at 2005-10-15 17:49:01 > if(n==2)printf("3\n"); > if(n==4)printf("11\n"); > if(n==6)printf("41\n"); > if(n==8)printf("153\n"); > if(n==10)printf("571\n"); > if(n==12)printf("2131\n"); > if(n==14)printf("7953\n"); > if(n==16)printf("29681\n"); > if(n==18)printf("110771\n"); > if(n==20)printf("413403\n"); > if(n==22)printf("1542841\n"); > if(n==24)printf("5757961\n"); > if(n==26)printf("21489003\n"); > if(n==28)printf("80198051\n"); > if(n==30)printf("299303201\n"); > 其他数字输出0 > > 那里不对啊 提交总是错误啊 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator