We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Weird, looks like this still passes all test cases. Something like these two should be added:
# This should fail by answering Yes instead of Noaca12# This should time out, with |s| = 10**5sdfghjklqwertyuiopmnbvcxzasdfghjklqwertyuiopmnbvcxzasdfghjklqwertyuiopmnbvcxzasdfghjklqwertyuiopmnbvcxzasdfghjklqwertyuiopmnbvcxzasdfghjklqwertyuiopmnbvcxzasdfghjklqwertyuiopmnbvcxzasdfghjklqwertyuiopmnbvcxzasdfghjklqwertyuiopmnbvcxzasdfghjklqwertyuiopmnbvcxza...100000123# etc for 10**5 queries
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Weighted Uniform Strings
You are viewing a single comment's thread. Return to all comments →
Weird, looks like this still passes all test cases. Something like these two should be added: