A higher resolution is required to access the IDE
- 634
Learning Opportunities
This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.
Statement
Goal
You are an intern on an Alien spacecraft, and your job is to create "Crop-Circles".You are assigned a Farming-Field that is planted with a crop of
The Farming-Field is 25 high and 19 wide. The naming convention is:
The columns are
The rows are
The way you are told what Crop-Circle to make is notation in the format of xyd or xydd
where:
x tells you the x coordinate of the center
y tells you the y coordinate of the center
d or dd tells you the diameter (always an integer)
For example
NOTES:
• Some Crop-Circles will not be fully in the Farming-Field, but all centers will be.
• To be clear, a circle includes its circumference.
• There are advanced ways to determine a circle (such as Bresenham's Circle Algorithm). Do not use them; stick with what you learned in elementary school.
Mostly, Crop-Circles are made by mowing; so if no other instructions are given that's what you'll do.
However, your spacecraft is equipped with the latest technological advances in Crop-Circle creation, so you can also
If you are to do either of these, the key word will be before the other part of the notation. For example:
Now, go do your job, before you are transferred to the Human Probing Department or the Cattle Mutilation Division.
Input
A single string describing what Crop-Circles to make
Output
The 19-wide x 25-high Farming-Field after it has been Crop-Circled.
The only characters allowed are{} and spaces
The only characters allowed are
Constraints
There will be one or more Crop-Circles
Example
Input
fg9 ls11 oe7
Output
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{} {}{}{}{}{}{}{}{}{}{}{}{}{} {}{}{} {}{}{} {}{}{}{} {}{} {}{} {}{} {} {} {} {} {} {} {} {} {}{} {}{} {} {}{}{} {}{}{} {} {}{}{}{}{}{}{}{}{} {}{} {}{}{}{}{}{}{}{}{}{} {}{}{} {}{}{}{}{}{}{}{}{}{}{} {}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{} {}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{} {}{}{}{}{}{}{}{}{} {}{}{}{}{} {}{}{}{}{}{}{}{} {}{}{}{} {}{}{}{}{}{}{} {}{}{} {}{}{}{}{}{} {}{} {}{}{}{}{}{} {}{} {}{}{}{}{}{} {}{} {}{}{}{}{}{} {}{} {}{}{}{}{}{} {}{} {}{}{}{}{}{}{} {}{}{} {}{}{}{}{}{}{}{} {}{}{}{} {}{}{}{}{}{}{}{}{} {}{}{}{}{} {}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
A higher resolution is required to access the IDE