Guest
Login
跳过导航链接

织花纹布
Time Limit:1000MS  Memory Limit:32768K

Description:

输入中含有若干组数据,每组数据由四部分组成,第一个是花纹字符,后面三个是整数,分别表示宽度(<80的奇数),高度(≤40)和重复度(≤20)。请编程画出该花纹。

Sample Input:

W 9 17 1
E 15 6 2

Sample Output:

WWWWWWWWW
 W W W W W
  WWWWWWWWW
   W W W W W
    WWWWWWWWW
     W W W W W
      WWWWWWWWW
       W W W W W
        WWWWWWWWW
       W W W W W
      WWWWWWWWW
     W W W W W
    WWWWWWWWW
   W W W W W
  WWWWWWWWW
 W W W W W
WWWWWWWWW

EEEEEEEEEEEEEEE
 E E E E E E E E
  EEEEEEEEEEEEEEE
  E E E E E E E E
 EEEEEEEEEEEEEEE
E E E E E E E E
 EEEEEEEEEEEEEEE
  E E E E E E E E
  EEEEEEEEEEEEEEE
 E E E E E E E E
EEEEEEEEEEEEEEE
Status  Submit


Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
 All Copyright Reserved 2006
406