摘要: 题目描述 输入自然数n,然后将其拆分成由若干数相加的形式,参与加法运算的数可以重复。 输入自然数n,然后将其拆分成由若干数相加的形式,参与加法运算的数可以重复。 输入 多组数据。每组只有一个整数n,表示待拆分的自然数n。 n<=80 多组数据。每组只有一个整数n,表示待拆分的自然数n。 n<=80 阅读全文
posted @ 2016-12-10 21:37 Crutain 阅读(370) 评论(0) 推荐(0)
摘要: 题目描述 Youyouyouyou is very interested in math, one day, an idea came into his mind that how many ways he can patition n same things into no more than m 阅读全文
posted @ 2016-12-10 21:14 Crutain 阅读(168) 评论(0) 推荐(0)
摘要: 题目描述 As we all know, Xiahou Jinxuan (Chinese Paladin 5 Prequel’s protagonist) and Yue Jinzhao (Chinese Paladin 6’s protagonist) are the most intellige 阅读全文
posted @ 2016-12-10 13:58 Crutain 阅读(533) 评论(0) 推荐(0)
摘要: 题目描述 某天 light由于太富而且太帅遭到了歹徒的袭击,现在他遇到了n个歹徒,准备对light施行不法行为,虽然light身体强壮,但是毕竟只有一个人肯定打不过那么多歹徒,但是高智商的light觉得歹徒们非常stupid,不打算束手就擒。经过观察他发现这些歹徒是有派系之分的 我们规定 A与B,B 阅读全文
posted @ 2016-12-10 13:55 Crutain 阅读(124) 评论(0) 推荐(0)
摘要: 题目描述 Orz Panda is addicted to one RPG game. To make his character stronger, he have to fulfil tasks to get EXP for higher level.At first he accepted a 阅读全文
posted @ 2016-12-10 00:58 Crutain 阅读(224) 评论(0) 推荐(0)