Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

GOC2014 - DMS Mathematica Explain the solution?

$
0
0

The answer seems to be (n*n)/2 - 1 .

For N =5 , ans = 11 ;

But I think it should be 10; permutation 5 1 4 2 3 4 + 3 + 2 + 1 = 10

If I am wrong please explain ?


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>