摘要: You are given nn strings. Each string consists of lowercase English letters. Rearrange (reorder) the given strings in such a way that for every string 阅读全文
posted @ 2018-06-26 16:25 王陸 阅读(1235) 评论(0) 推荐(0)
摘要: You are given n switches and m lamps. The i-th switch turns on some subset of the lamps. This information is given as the matrix aconsisting of n rows 阅读全文
posted @ 2018-06-26 16:06 王陸 阅读(311) 评论(0) 推荐(0)
摘要: 转载自:c.biancheng.net/view/159.html 输入输出函数(printf 和 scanf)是C语言中非常重要的两个函数,也是学习C语言必学的两个函数。在C语言程序中,几乎没有一个程序不需要这两个函数,尤其是输出函数(printf),所以这两个函数必须要掌握。 如果在程序中要使用 阅读全文
posted @ 2018-06-26 15:13 王陸 阅读(194) 评论(0) 推荐(0)
摘要: 说明此程序本来是21点扑克程序的一个被调函数,在这里我单独将它拿出来作为一个小程序。 阅读全文
posted @ 2018-06-26 11:13 王陸 阅读(1704) 评论(0) 推荐(0)
摘要: In the Bus of Characters there are nn rows of seat, each having 22 seats. The width of both seats in the ii-th row is wiwi centimeters. All integers w 阅读全文
posted @ 2018-06-26 08:59 王陸 阅读(335) 评论(0) 推荐(0)