C++ process management assignment | Computer Science homework help

I need a program that will read the input, then put each new process to a new linked list, and then put processes into queue, and run them in a parallel way.

https://codeshare.io/2WM9Ob  might be helpful this is the pseudocode.

The assignment page, its explanation, input and expected output is given below.