API Response (JSON)
{
"problem": {
"name": "A. Two Squares",
"description": {
"content": "You are given two squares, one with sides parallel to the coordinate axes, and another one with sides at 45 degrees to the coordinate axes. Find whether the two squares intersect. The interior of the",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF993A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given two squares, one with sides parallel to the coordinate axes, and another one with sides at 45 degrees to the coordinate axes. Find whether the two squares intersect.\n\nThe interior of the...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "[{\"iden\":\"statement\",\"content\":\"给定两个正方形,一个边与坐标轴平行,另一个边与坐标轴成 45 度角。判断这两个正方形是否相交。\\n\\n正方形的内部被视为正方形的一部分,即如果一个正方形完全包含在另一个正方形内,则它们相交。如果两个正方形仅共享一个公共点,也被认为是相交的。\\n\\n输入数据包含两行,每行对应一个正方形,每行包含 4 对整数。每对整数表示正方形的一个顶点...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ S_1 $ be the axis-aligned square defined by its four vertices $ (x_i, y_i) $, $ i = 1, 2, 3, 4 $, given in clockwise or counterclockwise order.\n\nLet $ S_2 $ be the 45-degree-rotated square defin...",
"is_translate": false,
"language": "Formal"
}
]
}