Some error occured while loading page for you. Please try again.
Sort 13 Discussions, By:
Please Login in order to post a comment
Can there be two separate words on the same line? e.g.
On my laptop (Linux Mint 17.3, Intel Core i7-4600U CPU 2.10GHz) my code run in 46 msecs (input00 and input01), on you server all tests return timeout. Looking in the Environment I see that for clojure the maximum time is 8 sec. Could you explain me why it is such big difference of running time between my laptop and the server?
can you please explain the logic you have used? I am unable to find a solution. Thanks in advance.
See the environment link at the bottom of this page for information about the hackerrank runtime for your language of choice.
Your laptop is faster or has more memory.
The description should include that words have to be filled in from left to right or from top to bottom, i.e.
is accepted, but
God, my code is ugly as xxxx and I wasn't in the mood to make it better. Though my soul is in peace again after I checked others submissions :D
I have a question about limitations of valid input - can two words touch, but not cross? Like: ++AAABBBB+ or ++AAAAAA++\n +BBBBBB+++ or there will always be at least one + of separation for words that do not cross?
no they won't tough, only cross
thanks for quick answer, now I have some ideas for it. Time to go back to code...
For get the idea about implementation please read:
I'm wondering if there is four "-" in a 2 * 2 square, then how many word will this cost, 2 or 4?
if I filled this like that:
does this mean that there should be four word ("hi", "as", "ha", "is") in the dictionary?
How come there's no editorial for this challenge?
zolee made a comment, https://www.hackerrank.com/challenges/crosswords-101/forum/comments/60316, about checking others submissions. How is that done?
Unlike some of the other problems, there was no template for this one. So I went ahead and wrote a script assuming that the input comes through standard input. However, when I submit my code, I get some nonsense about "expected class or object definition". How should I be structuring my code.
I think, perhaps you are submitting in Java or C#. In which case the class needs to be called Solution. Depending on the language you are using please read the notes over here