hello
so I've written the code for this problem; tested it with the given examples and it worked. But when I tried to check it, it just kept running on the 5th tests for like hours without solving it? I took the same input given by that test and tried it on my local editor, and it solved it in a few secs ( yes, still somewhat slow but not enough not to pass the test, is it? xD )
what should I do? thanks
Created at: Dec. 3, 2017, 11:29 a.m.; Updated at: Dec. 3, 2017, 12:48 p.m.
The question is resolved.