Skip to content

printingcosts

bradendubois edited this page Jun 9, 2021 · 6 revisions

Printing Costs

ID: printingcosts

Difficulty: 2.0

CPU Time: 1 second

Memory: 1024 MB

Solution

For this, the biggest hurdle is moving this giant table of information into a usable format; maybe copy it to a text file and use some CTRL-F / Find + Replace to turn the table into a usable map/dictionary of your choice. Then simply read each line, and iterate through each character, looking up the cost for each character from your map.

Clone this wiki locally