▍1. 线性表
说明: 某软件公司年初有n名员工,每名员工有姓名、职务、工号等属性,现在该公司还有共m次操作,分别对应了员工的入职、离职、查询。现在请把所有员工建立一个线性表,建立离职、入职、查询函数,当有员工离职或入职时,修改线性表,并且根据输出格式中的要求输出。(A software company has n employees at the beginning of the year. Each employee has the attributes of name, job, job number, etc. now the company has a total of M operations, which correspond to the entry, resignation and query of employees respectively. Now, please create a linear table for all employees and create resignation, enrollment and query functions. When an employee leaves or enters, modify the linear table and output according to the requirements in the output format.)