3 1 9 2
Fennec For example, the game may proceed as follows: * Initially, $A=(1,9,2)$ and $S$ is empty. * Fennec chooses index $2$. Then, $A=(1,8,2)$ and $S=\lbrace 2 \rbrace$. * Snuke chooses index $2$. Then, $A=(1,7,2)$ and $S=\lbrace 2 \rbrace$. * Fennec chooses index $1$. Then, $A=(0,7,2)$ and $S=\lbrace 1,2 \rbrace$. * Snuke chooses index $2$. Then, $A=(0,6,2)$ and $S=\lbrace 1,2 \rbrace$. * Fennec chooses index $3$. Then, $A=(0,6,1)$ and $S=\lbrace 1,2,3 \rbrace$. The game ends with Fennec declared the winner. This sequence of moves may not be optimal; however, it can be shown that even when both players play optimally, Fennec will win.
2 25 29
Snuke
6 1 9 2 25 2 9
Snuke
{
"problem": {
"name": "Fennec VS. Snuke 2",
"description": {
"content": "Fennec and Snuke are playing a board game. You are given a positive integer $N$ and a sequence $A=(A_1,A_2,\\dots,A_N)$ of positive integers of length $N$. Also, there is a set $S$, which is initially ",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "arc192_b"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Fennec and Snuke are playing a board game.\nYou are given a positive integer $N$ and a sequence $A=(A_1,A_2,\\dots,A_N)$ of positive integers of length $N$. Also, there is a set $S$, which is initially ...",
"is_translate": false,
"language": "English"
}
]
}