Editorial for COCI '06 Contest 4 #2 Skener


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Using two for loops over the dimensions of the enlarged image (call the indices i and j), we print the character at position i/ZR, j/ZS in the original image (integral division, truncates towards zero).


Comments

There are no comments at the moment.