API Response (JSON)
{
"problem": {
"name": "A. Petr and a calendar",
"description": {
"content": "Petr wants to make a calendar for current month. For this purpose he draws a table in which columns correspond to weeks (a week is seven consequent days from Monday to Sunday), rows correspond to week",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF760A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Petr wants to make a calendar for current month. For this purpose he draws a table in which columns correspond to weeks (a week is seven consequent days from Monday to Sunday), rows correspond to week...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Petr 想要为当前月份制作一个日历。为此,他画了一个表格,其中列对应周(一周为从周一到周日的连续七天),行对应星期几,单元格包含日期。例如,2017年1月的日历应如下图所示:\n\nPetr 想要知道,给定月份和该月第一天的星期几,他的表格应该有多少列?假设该年为平年。\n\n仅一行包含两个整数 $m$ 和 $d$($1 ≤ m ≤ 12$,$1 ≤ d ≤ 7$)—— 月份编号(一月为第一个月,十二月...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ m \\in \\{1, \\dots, 12\\} $ be the month number. \nLet $ d \\in \\{1, \\dots, 7\\} $ be the weekday of the first day of the month ($1 =$ Monday, $7 =$ Sunday). \nLet $ N(m) $ be the n...",
"is_translate": false,
"language": "Formal"
}
]
}