COMP 3200 - Fall 2023 - Project 1

Due by 11:59pm on Friday, September 22, in my email inbox. Send your program as an attachment.

The late penalty is 5% per hour.

Using the language you selected, write a program to solve the Poly-polygonal Numbers problem from the 2000 archives of the ACM East-Central NA Regional Programmming Contest. The precise input and output format is specified (including filenames), and your output must match byte-for-byte. Your program must consist of one source file called "poly.zzz", where zzz is an appropriate extension for your language.

Your program can assume that the standard input and output are used (i.e., you do not need to handle file I/O).

You have the judge's solutions available as a guide, but you are not required to use the same algorithms. In fact, you will learn more if you solve it from scratch. Remember that this problem is just one of eight that were designed to be solved during one five-hour contest.

Grading will be on a 100-point scale, based on the number of test cases successfully completed.

Rules