{"problem":{"name":"109. H.","description":{"content":"Drawn an H. You will be given a number the represents the length of the legs and middle portion of the H. One number representing the dimensions of the H.  Print the H. ","description_type":"Markdown"},"platform":"Codeforces","limit":{"time_limit":1000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"CF10269109"},"statements":[{"statement_type":"Markdown","content":"Drawn an H. You will be given a number the represents the length of the legs and middle portion of the H.\n\nOne number representing the dimensions of the H. \n\nPrint the H.\n\n## Input\n\nOne number representing the dimensions of the H. \n\n## Output\n\nPrint the H.\n\n[samples]","is_translate":false,"language":"English"},{"statement_type":"Markdown","content":"Let $ n \\in \\mathbb{Z}^+ $ be the length of each leg and the middle bar of the H.\n\n**Objective**\nPrint a pattern representing the letter H, composed of:\n- Two vertical legs, each of height $ n $, positioned at columns 1 and $ n $,\n- One horizontal bar of length $ n $, centered vertically at row $ \\left\\lceil \\frac{n}{2} \\right\\rceil $, spanning from column 1 to column $ n $,\n- All other positions are empty (spaces).\n\nThe pattern consists of $ n $ rows and $ n $ columns, where:\n- In row $ i $ (for $ i \\in \\{1, \\dots, n\\} $):\n  - Print `H` at column 1 and column $ n $,\n  - If $ i = \\left\\lceil \\frac{n}{2} \\right\\rceil $, also print `H` at all columns $ j \\in \\{1, \\dots, n\\} $,\n  - Otherwise, print `H` only at columns 1 and $ n $, and spaces elsewhere.","is_translate":false,"language":"Formal"}],"meta":{"iden":"CF10269109","tags":[],"sample_group":[],"created_at":"2026-03-03 11:00:39"}}