12345 - Dynamic len(set(a[L:R]))

All about problems in Volume 123. 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
forthright48
New poster
Posts: 37
Joined: Wed Mar 14, 2012 11:57 am
Location: Bangladesh
Contact:

12345 - Dynamic len(set(a[L:R]))

Post by forthright48 » Wed Aug 21, 2013 3:03 pm

Brute force works, but what is the expected solution by the setter? People seem to have solved it in less than 1 second. I guess there is a faster approach?
What ever happens, happens for good. Even when we get WA :p
http://www.forthright48.com

Post Reply

Return to “Volume 123 (12300-12399)”