API Response (JSON)
{
"problem": {
"name": "B. Smiley Faces (B)",
"description": {
"content": "Mr. Light now have a string that consists only of the three characters: ':', '(', and ')'. Mr. Light considers a colon ‘:’ followed by a closing bracket ')' as a smiley face. So \":)\" is a smiley face",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10140B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Mr. Light now have a string that consists only of the three characters: ':', '(', and ')'.\n\nMr. Light considers a colon ‘:’ followed by a closing bracket ')' as a smiley face. So \":)\" is a smiley face...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ s \\in \\{':', '(', ')'\\}^* $ be the input string of length $ n $. \nLet $ \\text{smiley}(s) $ denote the number of occurrences of the substring \":)\" in $ s $. \n\nFor any prefix l...",
"is_translate": false,
"language": "Formal"
}
]
}