#include <iostream>
#include <algorithm>
using namespace std;
typedef struct Node {
int Element; // 节点中的元素为整数类型
struct Node * Next; // 指向下一个节点
} Node;
int main(int argc, char const *argv[])
{
int n,i,num;
int A[5] = {0};
n=5;
i=0;
while(n!=0){
scan...