helloworld

所属分类:数值算法/人工智能
开发工具:C/C++
文件大小:233KB
下载次数:1
上传日期:2015-07-31 16:35:12
上 传 者hewenlong
说明:  代码功能是输出数字1到n的字典排序结果,代码中的n为4, 代码编写过程参考下面的例子: 初始序列为2763541 第一步2763541找出最后一个正序35 第二步2763541找出3后面比3大的最后一个数,为4 第三步2764531交换3,4的位置 第四步2764135把4后面的531反序排列为135,得到最后的输出。
(Code function is the output of the 1 to the n of the dictionary sort results, the code of the n is 4, the initial 1234 Should the code writing process refer to the following example: The initial sequence is 2763541 The first step to find the last 2763541 a positive 35 Second step 2763541 to find the last number of 3 behind 3, 4 Third step 2764531 exchange 3,4 location The 2764135 step fourth to 4 in the back of the order of 531 to 135, get the final output.* /)

文件列表:
helloworld\bin\Debug\helloworld.exe (985318, 2015-07-31)
helloworld\helloworld.cbp (1115, 2015-07-29)
helloworld\helloworld.depend (403, 2015-07-31)
helloworld\helloworld.layout (321, 2015-07-30)
helloworld\main.cpp (2737, 2015-07-27)
helloworld\obj\Debug\hash.o (6090, 2015-07-29)
helloworld\obj\Debug\main.o (12064, 2015-07-27)
helloworld\obj\Debug\temp.o (32267, 2015-07-31)
helloworld\stdafx.h (322, 2015-07-29)
helloworld\temp.cpp (2758, 2015-07-31)
helloworld\temp.rar (1102, 2015-07-31)
helloworld\bin\Debug (0, 2015-07-31)
helloworld\obj\Debug (0, 2015-07-31)
helloworld\bin (0, 2015-07-20)
helloworld\obj (0, 2015-07-20)
helloworld (0, 2015-07-31)

近期下载者

相关文件


收藏者