2 998244353
3 The possible assignments are $(1, 1)$, $(1, 2)$, $(2, 2)$.
3 998244353
7 The possible assignments are $(1, 1, 1)$, $(1, 2, 2)$, $(1, 3, 3)$, $(2, 2, 2)$, $(2, 2, 3)$, $(2, 3, 3)$, $(3, 3, 3)$.
6 966666661
66
96 925309799
83779
{
"problem": {
"name": "Problem Scores",
"description": {
"content": "$N$ problems have been chosen by the judges, now it's time to assign scores to them! Problem $i$ must get an integer score $A_i$ between $1$ and $N$, inclusive. The problems have already been sorted b",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "agc041_d"
},
"statements": [
{
"statement_type": "Markdown",
"content": "$N$ problems have been chosen by the judges, now it's time to assign scores to them!\nProblem $i$ must get an integer score $A_i$ between $1$ and $N$, inclusive. The problems have already been sorted b...",
"is_translate": false,
"language": "English"
}
]
}