摘要: Description For this problem, you will write a program that reads in a sequence of 32-bit signed integers. After each odd-indexed value is read, outpu 阅读全文
posted @ 2018-10-14 17:09 王陸 阅读(858) 评论(0) 推荐(1) 编辑
摘要: 摘自爱国师哥博客https://www.cnblogs.com/aiguona/p/7304945.html 一、概念 从n个不同元素中任取m(m≤n)个元素,按照一定的顺序排列起来,叫做从n个不同元素中取出m个元素的一个排列。当m=n时所有的排列情况叫全排列。如果这组数有n个,那么全排列数为n!个 阅读全文
posted @ 2018-10-14 16:31 王陸 阅读(846) 评论(0) 推荐(0) 编辑