输出字符菱形

Luogu
IDLGB2025
Time1000ms
Memory128MB
DifficultyP1
顺序结构
用 `*` 构造一个对角线长 $5$ 个字符,倾斜放置的菱形。 ## Input 没有输入要求。 ## Output 如样例所示。用 `*` 构成的菱形。 [samples]
Samples
Input #1
Output #1
  *
 ***
*****
 ***
  *
API Response (JSON)
{
  "problem": {
    "name": "输出字符菱形",
    "description": {
      "content": "用 `*` 构造一个对角线长 $5$ 个字符,倾斜放置的菱形。",
      "description_type": "Markdown"
    },
    "platform": "Luogu",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 131072
    },
    "difficulty": {
      "LuoguStyle": "P1"
    },
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "LGB2025"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "用 `*` 构造一个对角线长 $5$ 个字符,倾斜放置的菱形。\n\n## Input\n\n没有输入要求。\n\n## Output\n\n如样例所示。用 `*` 构成的菱形。\n\n[samples]...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments