Nigga's blog

By Nigga, 12 years ago, In English

Can someone help me with this problem http://www.spoj.pl/problems/HIST2 ?

I know how to solve the maximum perimeter, but how can I count the number of permutations?

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it