Back to Problem Solutions forum
Hi!
According to the problem description, the positions in the input data are one-based: "Second line contains exactly such amount of positions Pi for i=1..N for which the search should be done."
But as far as I have noticed, the positions are zero-based, so the correct text would be: "Second line contains exactly such amount of positions Pi for i=0..N-1 for which the search should be done."
By the way: Thanks to Rodion and all other contributors for this great challenge site!
EDIT:
I confused something - there is no error.
Oh, sorry. N was the number of test cases, so the index-offset does not matter. So there is no error in the description.
Thanks to Rodion and all other contributors for this great challenge site!
Hi Friend, thanks for your kind words!
Meanwhile may I ask you for a favor? Your haven't uploaded any solutions yet. While this is less or more ok for people who are just testing the site, it is not quite pleasing - as people will usually hit your empty solutions along with normal ones while studying problems post-mortem. That is not quite bad, of course, but a bit annoying.
Though probably I just should compose my brain and invent some feature to exclude people with empty solutions from search and ranking, which should be more convenient for you and everyone...