UVa 11714

From Algorithmist
Jump to navigation Jump to search
This is a stub or unfinished. Contribute by editing me.

Use Base 2 logarithm (n-1)+(int)log2(n-1);