<a href="http://mirror.codeforces.com/contest/825/problem/E">Problem Link </a>↵
Anyone please help me to understand the problem . ↵
For this example :↵
↵
<pre> 3 3↵
3 1↵
2 1↵
2 3↵
</pre>↵
If we set <code>label[ 2 ] = 1 , label[ 3 ] = 2 , label[ 1 ] = 3 </code>; Answer should be : 2 3 1 but answer is 3 2 1 , but why ?
Anyone please help me to understand the problem . ↵
For this example :↵
↵
<pre> 3 3↵
3 1↵
2 1↵
2 3↵
</pre>↵
If we set <code>label[ 2 ] = 1 , label[ 3 ] = 2 , label[ 1 ] = 3 </code>; Answer should be : 2 3 1 but answer is 3 2 1 , but why ?