Kanata18's blog

By Kanata18, history, 9 hours ago, In English

Hello codeforces community!!

On this occasion I bring up a combinatorics problem.

This is the problem:

How many permutations of length N exist such that the following holds: for each i (1 <= i < N) p[i+1] — p[i] != 1

Constants: 1 <= N <= 500

Full text and comments »

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

By Kanata18, history, 3 months ago, In English

Hello Codeforces!!

I saw this problem days ago and I have tried to solve it since then but I have not been successful. Help me please

This is the problem

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it