art)&&process_n[j].flag==false&&temp==flag_xiangxi[j])Р {Р process_n[j].time_start=current;Р current.hour=(current.hour*60+current.minute+process_n[j].use_time)/60;Р current.minute=(current.hour*60+current.minute+process_n[j].use_time)%60;Р process_n[j].time_end=current;Р process_n[j].flag=true;Р break;Р }Р }Р?}Р}Р4.6主函数Рint main()Р{Р?int one_two;Р?process process_n[MAX];Р?process process_n_other[MAX];Р?char time_string[10];Р?char FLAG_exit;Р?while(1)Р?{Р?printf("请输入进程个数:");Р?scanf("%d",&n);Р fflush(stdin);Р?for(int i=0;i<n;i++)Р?{Р printf("请输入第%d个进程的参数:\n",(i+1));Р printf("进程名:");Р scanf("%s",process_n[i].name);Р fflush(stdin);Р printf("进程等级:");Р scanf("%d",&(process_n[i].rank));Р fflush(stdin);Р printf("提交时间:");Р scanf("%s",&time_string);Р fflush(stdin);Р while(strlen(time_string)!=5)Р {