2 3
24
Among all possible brilliant sequences, the following $6$ have positive scores.
* $S_1={1,2},S_2={1,2,3}$
* $S_1={1,3},S_2={1,2,3}$
* $S_1={2,3},S_2={1,2,3}$
* $S_1={1,2,3},S_2={1,2}$
* $S_1={1,2,3},S_2={1,3}$
* $S_1={1,2,3},S_2={2,3}$
All of them have a score of $4$, so the sum of them is $24$.12 34
786334067
{
"problem": {
"name": "Sets Scores",
"description": {
"content": "Consider a sequence of integer sets of length $N$: $S=(S_1,S_2,\\dots,S_N)$. We call a sequence **brilliant** if it satisfies all of the following conditions: * $S_i$ is a (possibly empty) integer s",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "arc147_d"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Consider a sequence of integer sets of length $N$: $S=(S_1,S_2,\\dots,S_N)$. We call a sequence **brilliant** if it satisfies all of the following conditions:\n\n* $S_i$ is a (possibly empty) integer s...",
"is_translate": false,
"language": "English"
}
]
}