摘要:
Given a set of sticks of various lengths, is it possible to join them end-to-end to form a square? InputThe first line of input contains N, the number 阅读全文
posted @ 2020-07-26 19:33
Vetsama
阅读(120)
评论(0)
推荐(0)
摘要:
传说在遥远的地方有一个非常富裕的村落,有一天,村长决定进行制度改革:重新分配房子。 这可是一件大事,关系到人民的住房问题啊。村里共有n间房间,刚好有n家老百姓,考虑到每家都要有房住(如果有老百姓没房子住的话,容易引起不安定因素),每家必须分配到一间房子且只能得到一间房子。 另一方面,村长和另外的村领 阅读全文
posted @ 2020-07-26 18:56
Vetsama
阅读(131)
评论(0)
推荐(0)

浙公网安备 33010602011771号