An interesting problem that I couldn't solve

Правка en1, от JahonaliX, 2025-02-27 06:46:15

Hi everyone.

Please help me to solve this problem.

You are given a binary string s which is permutation of 0000000000000001111111111111111 (15 0s and 16 1s), you should find x such that s is lexiographic xth permutation of 0000000000000001111111111111111.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский JahonaliX 2025-02-27 06:46:15 305 Initial revision (published)