#include <stdio.h>
int main() {
int W, H, offset;
char C;
// 讀取輸入的高度(H)、寬度(W)、以及偏移量(offset)
scanf("%d %d %d", &H
, &W
, &offset
);
// 外層迴圈,控制圖案的行數(高度)
for (int i = 0; i < H; i++) {
// 內層迴圈,控制每行的字元數(寬度)
for (int j = 0; j < W; j++) {
// 計算新的字元 ASCII 碼,並加上偏移量
int code = (int)(C + offset);
// 檢查 ASCII 碼是否超過 127,若超過則使用 % 運算將其限制在範圍內
if (code > 127)
code = code % 127;
// 檢查 ASCII 碼是否小於 32,若小於則加上 32 來保持在可顯示字元範圍內
if (code < 32)
code += 32;
// 輸出轉換後的字元
}
}
return 0; // 結束程式
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGludCBXLCBILCBvZmZzZXQ7CiAgICBjaGFyIEM7CgogICAgLy8g6K6A5Y+W6Ly45YWl55qE6auY5bqmKEgp44CB5a+s5bqmKFcp44CB5Lul5Y+K5YGP56e76YePKG9mZnNldCkKICAgIHNjYW5mKCIlZCAlZCAlZCIsICZILCAmVywgJm9mZnNldCk7CiAgICBnZXRjaGFyKCk7IC8vIOeUqOS+hua4hemZpOe3qeihneWNgOS4reeahOaPm+ihjOespuiZnwoKICAgIC8vIOWkluWxpOi/tOWciO+8jOaOp+WItuWcluahiOeahOihjOaVuO+8iOmrmOW6pu+8iQogICAgZm9yIChpbnQgaSA9IDA7IGkgPCBIOyBpKyspIHsKICAgICAgICAvLyDlhaflsaTov7TlnIjvvIzmjqfliLbmr4/ooYznmoTlrZflhYPmlbjvvIjlr6zluqbvvIkKICAgICAgICBmb3IgKGludCBqID0gMDsgaiA8IFc7IGorKykgewogICAgICAgICAgICBDID0gZ2V0Y2hhcigpOyAvLyDoroDlj5bkuIDlgIvlrZflhYPkuKblhLLlrZjlnKjorormlbggQyDkuK0KCiAgICAgICAgICAgIC8vIOioiOeul+aWsOeahOWtl+WFgyBBU0NJSSDnorzvvIzkuKbliqDkuIrlgY/np7vph48KICAgICAgICAgICAgaW50IGNvZGUgPSAoaW50KShDICsgb2Zmc2V0KTsgCgogICAgICAgICAgICAvLyDmqqLmn6UgQVNDSUkg56K85piv5ZCm6LaF6YGOIDEyN++8jOiLpei2hemBjuWJh+S9v+eUqCAlIOmBi+eul+Wwh+WFtumZkOWItuWcqOevhOWcjeWFpwogICAgICAgICAgICBpZiAoY29kZSA+IDEyNykKICAgICAgICAgICAgICAgIGNvZGUgPSBjb2RlICUgMTI3OwoKICAgICAgICAgICAgLy8g5qqi5p+lIEFTQ0lJIOeivOaYr+WQpuWwj+aWvCAzMu+8jOiLpeWwj+aWvOWJh+WKoOS4iiAzMiDkvobkv53mjIHlnKjlj6/poa/npLrlrZflhYPnr4TlnI3lhacKICAgICAgICAgICAgaWYgKGNvZGUgPCAzMikKICAgICAgICAgICAgICAgIGNvZGUgKz0gMzI7CgogICAgICAgICAgICAvLyDovLjlh7rovYnmj5vlvoznmoTlrZflhYMKICAgICAgICAgICAgcHJpbnRmKCIlYyIsIGNvZGUpOwogICAgICAgIH0KICAgICAgICBwcmludGYoIlxuIik7IC8vIOavj+ihjOi8uOWHuuWujOW+jOaPm+ihjAogICAgICAgIGdldGNoYXIoKTsgLy8g5riF6Zmk57ep6KGd5Y2A5Lit55qE5o+b6KGM56ym6JmfCiAgICB9CgogICAgcmV0dXJuIDA7IC8vIOe1kOadn+eoi+W8jwp9