| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 128 MB | 540 | 383 | 346 | 71.047% |
A trident is a fork with three tines (prongs). A simple picture of a trident can be made from asterisks and spaces:
* * * * * * * * * ******* * * * *
In this example, each tine is a vertical column of 3 asterisks. Each tine is separated by 2 spaces. The handle is a vertical column of 4 asterisks below the middle tine.
Tridents of various shapes can be drawn by varying three parameters: $t,ドル the height of the tines, $s,ドル the spacing between tines, and $h,ドル the length of the handle. For the example above we have $t = 3,ドル $s = 2,ドル and $h = 4$.
You are to write an interactive program to print a trident. Your program should accept as input the parameters $t,ドル $s,ドル and $h,ドル and print the appropriate trident. You can assume that $t,ドル $s,ドル $h$ are each at least 0 and not larger than 10.
4 3 2
* * * * * * * * * * * * ********* * *