void repeat(city *la,char name,int x,int y)改为:void repeat(city *la,char * name,int x,int y)因为char name[10]是数组,而函数的参数为字符!所以调用失败