5 1 3
4 Shown below are the four ways to move the pieces, where $(x,y)$ represents the state where the two pieces are at coordinates $x$ and $y$. * $(0,0)→(0,0)→(0,1)→(0,2)→(0,3)→(1,3)$ * $(0,0)→(0,0)→(0,1)→(0,2)→(1,2)→(1,3)$ * $(0,0)→(0,0)→(0,1)→(1,1)→(1,2)→(1,3)$ * $(0,0)→(0,1)→(1,1)→(1,1)→(1,2)→(1,3)$
10 0 0
1
10 4 6
197
1000000 100000 200000
758840509
{
"problem": {
"name": "Two Pieces",
"description": {
"content": "We have two indistinguishable pieces placed on a number line. Both pieces are initially at coordinate $0$. (They can occupy the same position.) We can do the following two kinds of operations: * Ch",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 4000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "agc040_f"
},
"statements": [
{
"statement_type": "Markdown",
"content": "We have two indistinguishable pieces placed on a number line. Both pieces are initially at coordinate $0$. (They can occupy the same position.)\nWe can do the following two kinds of operations:\n\n* Ch...",
"is_translate": false,
"language": "English"
}
]
}