• [D] Easy One

  • 时间限制: 1000 ms 内存限制: 65535 K
  • 问题描述
  • This problem is pretty easy.
    Give you a matrix make up with uppercase and lowercase.
    You just make horizontal and vertical flip.

  • 输入
  • There are muti-case.
    For each case, there are two integers N, M. ( 0 < N, M <= 500)
    And then, there are N lines, and M rows.
  • 输出
  • For each case, print the new matrix.
  • 样例输入
  • 3 3
    asd
    zxc
    qwe
    2 2
    qw
    df
  • 样例输出
  • ewq
    cxz
    dsa
    fd
    wq
    
  • 提示
  • 来源
  • monkeyde17
  • 操作

显示春菜