API Response (JSON)
{
"problem": {
"name": "A. Links and Pearls",
"description": {
"content": "A necklace can be described as a string of links ('_\\-_') and pearls ('_o_'), with the last link or pearl connected to the first one. <center> and pearls ('_o_'), with the last link or pearl connected to the first one.\n\n<center>和珍珠('_o_')组成的字符串,其中最后一个链节或珍珠与第一个相连。\n\n你可以移除一个链节或一颗珍珠,并将其插入到项链上其他两个现有的链节或珍珠之间(或链节与珍珠之间)。这个过程可以重复任意多次,但你不能丢弃任何部分。\n\n你能否使每两颗相邻珍珠之间的链节数量相等?如果两颗珍珠之间没有其他珍珠,则认为它们是相邻的。\n\n注意,最终的项链必须保持为一个与初始项链长...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ s \\in \\{ '-', 'o' \\}^n $ be the input string representing the necklace, where $ n = |s| $, $ 3 \\leq n \\leq 100 $. \nLet $ p $ be the number of pearls in $ s $, i.e., $ p = |\\{ ...",
"is_translate": false,
"language": "Formal"
}
]
}