Advertisement
hadiuzzaman65

Untitled

Jul 5th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. input :
  2. 10
  3. 1 2 5 4 7 8 5 4 1 3
  4. 10
  5. 4 5 5 4 5 2 1 4 6 4
  6. 10
  7. 10 1 2 3 4 5 6 7 8 9
  8.  
  9. output :
  10. Minimum exchange operations : 20
  11. Minimum exchange operations : 20
  12. Minimum exchange operations : 9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement