I have a homework due in a day (24 hours). It should be done on a Unix-like machine in C or C++ using MPI library (MPICH version is available on the internet). The desciption is provided in the attached file.
Sorry, forgot to attach the file. Here it is.