📄 exam9-1.cpp
字号:
#include <iostream.h>
#include <stdlib.h>
typedef int KeyType;
struct DataType
{
KeyType key;
};
#include "HeapSort.h"
void main(void)
{
DataType test[8]={60,55,48,37,10,90,84,36};
int n = 8;
HeapSort(test,n);
for(int i=0; i<n; i++)
cout << test[i].key << " ";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -