| acmsguru |
|---|
| Finished |
of order n is a linear order
of 2n objects
satisfying the following conditions:
. 
. You are given integers a1,a2,..., an. You have to find any bipermutation such that a(i)=ai for all i.
is output as -i). sample input | sample output |
9 2 0 3 0 4 8 1 5 4 | YES -6 -8 -9 6 -5 -3 8 9 -7 5 -1 -4 3 7 -2 1 4 2 |
and
, then
.| Name |
|---|


