#include <iostream>
#include <stdlib.h>
using namespace std;
typedef struct LNode{
char c;
struct LNode *next;
}LNode;
void createLinkList(int n,LNode *&head) // 我是用tou插法插入新节点
{
char c1;
cout<<"输入您要的元素:";
for(int i=0;i<n;i++)
{
cin>>c1;
int ack;
LNode *temp=head->next; //每次从头开始查找是否有相同的元素
while(temp!=NULL)
{
if(temp->c!=c1)
&nb