3 4 ABC A L B L B R A R
2 * Initially, there is one golem on each square. * In the first spell, the golem on Square $1$ tries to move left and disappears. * In the second spell, the golem on Square $2$ moves left. * In the third spell, no golem moves. * In the fourth spell, the golem on Square $1$ moves right. * After the four spells are cast, there is one golem on Square $2$ and one golem on Square $3$, for a total of two golems remaining.
8 3 AABCBDBA A L B R A R
5 * After the three spells are cast, there is one golem on Square $2$, two golems on Square $4$ and two golems on Square $6$, for a total of five golems remaining. * Note that a single spell may move multiple golems.
10 15 SNCZWRCEWB B R R R E R W R Z L S R Q L W L B R C L A L N L E R Z L S L
3
{
"problem": {
"name": "Snuke the Wizard",
"description": {
"content": "There are $N$ squares numbered $1$ to $N$ from left to right. Each square has a character written on it, and Square $i$ has a letter $s_i$. Besides, there is initially one golem on each square. Snuke ",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "exawizards2019_c"
},
"statements": [
{
"statement_type": "Markdown",
"content": "There are $N$ squares numbered $1$ to $N$ from left to right. Each square has a character written on it, and Square $i$ has a letter $s_i$. Besides, there is initially one golem on each square.\nSnuke ...",
"is_translate": false,
"language": "English"
}
]
}