Colorful Carpets

Time limit: 2 sec
Memory limit: 6 MB
Input/output: stdin / stdout
Maximum score: 19
Translations:
English
Uploaded on: