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.
Hi. I submitted a solution in Scala and Test0 is failing. I purchased the input and output for Test0 and I can see negative numbers on the test output. I checked the code and I don't see how it could be printing negative numbers. I also tried Test0's input as the custom input on the problem editor and it works well. Any clue of what could be happening? Thanks!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
The Maximum Subarray
You are viewing a single comment's thread. Return to all comments →
Hi. I submitted a solution in Scala and Test0 is failing. I purchased the input and output for Test0 and I can see negative numbers on the test output. I checked the code and I don't see how it could be printing negative numbers. I also tried Test0's input as the custom input on the problem editor and it works well. Any clue of what could be happening? Thanks!