DWITE Programming Contest Solutions

My solutions to DWITE programming contest, ongoing personal project.

What is DWITE


DWITE (Do-While-If-Then-Else) was a Canadian programming contest for school students. It ran for a little over a decade, after which it was discontinued. I do not remember how I came across the contest, but I started digging through the archives because they made for fun problem solving practice, which I sorely needed to get back into brushing up my data structures and algorithms concepts.

Information


All my solutions are written in Python. At the time of writing these solutions, the version I’m using is Python 3.7. The solutions are organized by editions, with each edition getting its own separate folder. Each edition contains three folders: problem statements, problem inputs, solution codes.

All the problem statements are sourced from the DWITE website, I do not own any of the material. They are all presented as PDFs as present on the website.

List of Problems Solved


Contest Edition Problem Title Solution Link
October 2002 Overtime Solution
Investment Calculator Solution
Simple Arithmetic? Solution
Word Search Solution
Off To The Office Solution
November 2002 Sales! Sales! Sales Solution
The Five M's of Stats 101 Solution
The Game of Life Solution
Money Prize Solution
Now I Know My ABC's Solution
December 2002 Dice Game Solution
December 25 Solution
Santa's Magic Sack Solution
Area Of A Triangle Solution
Dutch Solitaire Solution
January 2003 Prime Numbers Solution
SIN Check Digit Solution
Cryptology Solution
Number Theory Solution
Cribbage Hand Score Solution
February 2003 Logo Solution
How Many Sums Solution
Nicolas Loves Tobogganing Solution
Estimating Pi Solution
Base Converter Solution
October 2003 Area Of Rectangle Solution
Gas Bill Solution
QWERTY Keyboard Decoder Solution
You’re "It" Solution
The Maze Solution
November 2003 Rock, Paper, Scissors Solution
Palindromic Numbers Solution
Count Shapes II Solution
Bin Packing Solution
Resistor Colour Code Solution
December 2003 Metric to Imperial Distance Converter Solution
Lottery Ticket Checker Solution
Money Prize II Solution
XOR Cryptology Solution
Sum of Two Prime Numbers Solution
January 2004 Clock Hands Solution
Digital Clocks Solution
Elapsed Time in Seconds Solution
Shortest Time in the Maze Solution
Waiting at the Bank Solution
February 2004 Least Number of Bills and Coins Solution
Number of Combinations of Bills and Coins Solution
Multiplying Fractions Solution
Simple Transposition Cipher Solution
School Attendance Solution