#include <stdio.h> #include <stdlib.h> #include <string.h> struct people{ char* name; int ticket; struct people* next; }; //使用链表的形式存储候选人 int main() { int n, m, invaild = 0; struct people head; //创建链表头 char name[100]; struct people* cur = &head; //链表当前指针 scanf("%d", &n); for(int i=0...