API Response (JSON)
{
"problem": {
"name": "E. Points",
"description": {
"content": "You are given _N_ points on a plane. Write a program which will find the sum of squares of distances between all pairs of points.",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF76E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given _N_ points on a plane. Write a program which will find the sum of squares of distances between all pairs of points.\n\n## Input\n\nThe first line of input contains one integer number _N_ (1 ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给定平面上的 #cf_span[N] 个点。编写一个程序,求所有点对之间距离的平方和。\n\n输入的第一行包含一个整数 #cf_span[N] (#cf_span[1 ≤ N ≤ 100 000]) —— 点的数量。接下来的 #cf_span[N] 行每行包含两个整数 #cf_span[X] 和 #cf_span[Y] (#cf_span[ - 10 000 ≤ X, Y ≤ 10 000]) —— ...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ N \\in \\mathbb{Z} $ be the number of points. \nLet $ P = \\{ p_i = (x_i, y_i) \\mid i \\in \\{1, \\dots, N\\} \\} $ be the set of points in $ \\mathbb{R}^2 $, where $ x_i, y_i \\in \\math...",
"is_translate": false,
"language": "Formal"
}
]
}