Skip to main content
12 events
when toggle format what by license comment
Aug 15, 2016 at 15:05 answer added Luiz Eduardo Simões timeline score: 0
Aug 8, 2016 at 15:57 answer added Sumurai8 timeline score: 1
S Aug 8, 2016 at 14:56 history suggested Sumurai8 CC BY-SA 3.0
Well, I hope this is more clear.
Aug 8, 2016 at 14:51 review Suggested edits
S Aug 8, 2016 at 14:56
Aug 8, 2016 at 14:31 comment added Luiz Eduardo Simões Sorry for the confusion. The inputs that you receive are based on a 1-indexed array, but my code works with a 0-indexed one, making subtractions to compensate when needed.
Aug 8, 2016 at 14:21 comment added Sumurai8 You say something about a range, while there is only one number? Why if you read a 9 (value 3), you subtract 1 from indeces 7, 8 and 9. What is index 10 of a 0-indexed 10-value array even supposed to mean?
Aug 8, 2016 at 14:19 answer added Heman Gandhi timeline score: 2
Aug 8, 2016 at 14:04 comment added Luiz Eduardo Simões Just added an image to help visualizing the test case.
Aug 8, 2016 at 14:03 history edited Luiz Eduardo Simões CC BY-SA 3.0
added 127 characters in body
Aug 8, 2016 at 14:00 comment added Sumurai8 The problem description makes no sense to me, even with the example.
Aug 8, 2016 at 13:56 review First posts
Aug 8, 2016 at 14:51
Aug 8, 2016 at 13:52 history asked Luiz Eduardo Simões CC BY-SA 3.0