3 3 1 2 1 3 2 3
13 Let $w$ be the sequence of the mass of the weights, in ascending order of weight numbers. * If $w=(5,5,5)$, you obtain $S=$ `===`. * If $w=(2,2,3)$, you obtain $S=$ `=<<`. * If $w=(6,8,6)$, you obtain $S=$ `<=>`. * If $w=(9,4,4)$, you obtain $S=$ `>>=`. * If $w=(7,7,3)$, you obtain $S=$ `=>>`. * If $w=(8,1,8)$, you obtain $S=$ `>=<`. * If $w=(5,8,8)$, you obtain $S=$ `<<=`. * If $w=(1,2,3)$, you obtain $S=$ `<<<`. * If $w=(4,9,5)$, you obtain $S=$ `<<>`. * If $w=(5,1,8)$, you obtain $S=$ `><<`. * If $w=(6,9,2)$, you obtain $S=$ `<>>`. * If $w=(7,1,3)$, you obtain $S=$ `>><`. * If $w=(9,7,5)$, you obtain $S=$ `>>>`. While there is an infinite number of possible sequences of the mass of the weights, $S$ is always one of the $13$ above.
4 4 1 4 2 3 1 3 3 4
39
14 15 1 2 1 3 2 4 2 5 2 6 4 8 5 6 6 8 7 8 9 10 9 12 9 13 10 11 11 12 11 13
1613763
{
"problem": {
"name": "Ex - Balance Scale",
"description": {
"content": "There are $N$ weights numbered $1,2, \\dots,N$. Using a balance, we will compare weights $M$ times. * Before the comparisons, prepare an empty string $S$. * For the $i$\\-th comparison, put just ",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc306_h"
},
"statements": [
{
"statement_type": "Markdown",
"content": "There are $N$ weights numbered $1,2, \\dots,N$. \nUsing a balance, we will compare weights $M$ times.\n\n* Before the comparisons, prepare an empty string $S$.\n* For the $i$\\-th comparison, put just ...",
"is_translate": false,
"language": "English"
}
]
}