pro: https://www.spoj.com/problems/INVCNT/ my solution : https://ideone.com/ooGjk8#stdin where this is wrong? please help !!