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:终于AC了,可是还是不明白,为什么输入0要输出“NO”可是是输入4却要输出“YES”,0=0!,4=2!+1!+0!呀!!!In Reply To:Re:终于AC了,可是还是不明白,为什么输入0要输出“NO”可是是输入4却要输出“YES”,0=0!,4=2!+1!+0!呀!!! Posted by:zhuxu at 2006-10-27 06:15:36 > 那为什么9!=1!+2!+3!而不加0!,产生'no'啊?? For a given n, you'll check if there are some xi, and let n equal to Σ(1<=i<=t)xi!. (t >=1 1, xi >= 0, xi = xj iff. i = j). x1, x2...xt是任意的可以是3,2,....5 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator