11590 - Prefix Lookup

All about problems in Volume 115. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
@li_kuet
New poster
Posts: 44
Joined: Fri May 25, 2012 6:22 pm
Location: Chittagong, Bangladesh

11590 - Prefix Lookup

Post by @li_kuet »

Input :

Code: Select all

5 4
0*
1*
11*
011*
1110*
6
*
0*
1*
11*
011*
1110*

1 64
111111111111111111111111111111111111111111111111111111111111111*
1
*

0 0
Output should be :

Code: Select all

0
6
4
3
2
1

18446744073709551614

Post Reply

Return to “Volume 115 (11500-11599)”