Homework 7

A problem with functions.

This program is work 15 points.


When you complete this homework you should
Write a program in MIPS assembly language which will solve problem C from the 2016 ENCA programming contest. It can't be that tough, one team solved the problem in 6 minutes!

There are several modifications to the problem.

Your code should be well documented. One comment per high level C++ code at least.

Your code should be well formatted.

Submission

Send the final assembly code to your instructor via email. The assembly file should be sent as an attachment.