API Response (JSON)
{
"problem": {
"name": "LIDS",
"description": {
"content": "Given $N, pos, val$, find the number of permutations $P=(P_1, P_2, \\ldots, P_N)$ of $(1,2,\\ldots,N)$ that satisfy all of the following conditions, modulo $10^9+7$: * $LIS(P) + LDS(P) = N+1$ * $P_",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 4000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "agc059_f"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Given $N, pos, val$, find the number of permutations $P=(P_1, P_2, \\ldots, P_N)$ of $(1,2,\\ldots,N)$ that satisfy all of the following conditions, modulo $10^9+7$:\n\n* $LIS(P) + LDS(P) = N+1$\n* $P_...",
"is_translate": false,
"language": "English"
}
]
}