-
Programming of the United States
编程之美--微软技术面试心得:
精确表达浮点数
连连看游戏设计
求二叉树中节点的最大距离
求二进制数中1的个数
寻找发帖“水王”
寻找最大的K个数
饮料供货
中国象棋将帅问题
子数组的最大乘积-Programming of the United States- Microsoft Technical Interview experience: precision floating-point Lianliankan game design to express a binary tree nodes in order to seek the maximum distance in a binary number to find the number of post " Water King" to find the largest number of drinks for the K Cargo Chinese Chess marshals an array of the biggest sub-product of the problem
- 2022-01-25 16:05:51下载
- 积分:1
-
用vc++开发的原创 聊天室程序,实现了使用vc进行通讯聊天功能...
用vc++开发的原创 聊天室程序,实现了使用vc进行通讯聊天功能-Vc++ development with the original chat room program, implemented using the chat feature to communicate vc
- 2022-03-18 05:30:55下载
- 积分:1
-
vc commonly used data format conversion, such as wchar_t, char*, CString, int, e...
vc中常用数据格式转换,如wchar_t,char*,CString,int等。-vc commonly used data format conversion, such as wchar_t, char*, CString, int, etc..
- 2023-01-12 13:25:03下载
- 积分:1
-
著名的EmbeddedWB控件,给予tBrowser,制作自定义的浏览器必备
著名的EmbeddedWB控件,给予tBrowser,制作自定义的浏览器必备-Well-known EmbeddedWB control, giving tBrowser, create custom browser must have
- 2022-03-22 19:02:55下载
- 积分:1
-
一个简单指令的cpu设计。
可以实现4个指令的的运算。
一个简单指令的cpu设计。
可以实现4个指令的的运算。-a simple instructions cpu design. 4 can be achieved directive arithmetic.
- 2023-07-14 04:10:03下载
- 积分:1
-
code sql script examples from wrox manual chapter 3
code sql script examples from wrox manual chapter 3
- 2022-03-01 23:34:49下载
- 积分:1
-
labview树形控件的使用,树形控件内容添加和显示
labview树形控件的使用,树形控件内容添加和显示-LabVIEW controls the use of tree, tree controls to add and display content
- 2022-02-09 21:44:31下载
- 积分:1
-
一些C++源码,相信对大家很有帮助,特别是对于初学C++的新手来说更是如此。...
一些C++源码,相信对大家很有帮助,特别是对于初学C++的新手来说更是如此。-Some C++ Source Code,it s useful to the beginner of C++ language.
- 2022-01-25 16:07:34下载
- 积分:1
-
算法实现题2
算法实现题2-9 排列的字典序问题
« 问题描述:
n个元素{1,2, , n }有n!个不同的排列。将这n!个排列按字典序排列,并编号为0,1,…,
n!-1。每个排列的编号为其字典序值。例如,当n=3时,6 个不同排列的字典序值如下:
字典序值 0 1 2 3 4 5
排列 123 132 213 231 312 321
« 编程任务:
给定n 以及n 个元素{1,2, , n }的一个排列,计算出这个排列的字典序值,以及按字
典序排列的下一个排列。
« 数据输入:
由文件input.txt提供输入数据。文件的第1 行是元素个数n。接下来的1 行是n个元素
{1,2, , n }的一个排列。
« 结果输出:
程序运行结束时,将计算出的排列的字典序值和按字典序排列的下一个排列输出到文件
output.txt中。文件的第一行是字典序值,第2行是按字典序排列的下一个排列。
输入文件示例 输出文件示例
input.txt output.txt
8
2 6 4 5 8 1 7 3
8227
2 6 4 5 8 3 1 7
- 2022-02-12 05:10:54下载
- 积分:1
-
一个串口通讯的程序,可以通过按钮来控制小车的前进后退 左转右转等...
一个串口通讯的程序,可以通过按钮来控制小车的前进后退 左转右转等-c code for communication
- 2022-11-08 09:45:02下载
- 积分:1