2 3 1 1 2 1 3 2 3 4 1 1 2 1 3 2 3 3 4
Yes
No
* The first test case is the same as Sample Input 1 in [Problem D](./arc161_d), and it satisfies the condition.
* For the second test case, the edge set of the induced subgraph by the non-empty proper subset ${1, 2, 3}$ of the vertex set ${1, 2, 3, 4}$ is ${(1, 2), (1, 3), (2, 3)}$, and its density is $\displaystyle\frac{3}{3} = 1 = D$. Therefore, this graph does not satisfy the condition.{
"problem": {
"name": "Everywhere is Sparser than Whole (Judge)",
"description": {
"content": "We define the **density** of a non-empty simple undirected graph as $\\displaystyle\\frac{(\\text{number\\ of\\ edges})}{(\\text{number\\ of\\ vertices})}$. You are given positive integers $N$, $D$, and a sim",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 8000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "arc161_f"
},
"statements": [
{
"statement_type": "Markdown",
"content": "We define the **density** of a non-empty simple undirected graph as $\\displaystyle\\frac{(\\text{number\\ of\\ edges})}{(\\text{number\\ of\\ vertices})}$.\nYou are given positive integers $N$, $D$, and a sim...",
"is_translate": false,
"language": "English"
}
]
}