Page 1 of 1

Question regarding Challenge 'Mod'

Posted: Thu Nov 06, 2008 8:50 pm
by eike42
5 test(s) passed
'xxx' is incorrect.

On the other challenges it always told me the results of the failed tests. Is this not always turned on? I'm a bt confused what might have gone wrong...

Posted: Thu Nov 06, 2008 10:33 pm
by MerickOWA
view the source of the html you get back. I'm betting the error message is in there. Theres an extra '<' in the html which shouldn't be there, so depending on your browser, you may get the error message, or the browser might just interpret it as a bad html tag and drop that whole section.

Theres 6 tests too, so its also possible that you're failing the last test, altho, im not sure why it wouldn't show it (unless its because of the previously mentioned html bug)

Posted: Fri Nov 07, 2008 11:18 pm
by eike42
damn... was hoping it was only 5 tests ;)

Thanks for the hint... will try tomorrow :)

Posted: Sat Nov 08, 2008 8:07 pm
by eike42
Ah... it was in the source... cycle limit exceeded :lol:

Reminds me of an easier way to do :D

Posted: Sat Nov 08, 2008 8:54 pm
by Grammaton
I had the same problem,
first i didn't understand fully what was meant by the cycle value, but after looking into the python source i figured out that using minus is not leading to the solution.
Then i used another calculation way, i think its obvious which one :-)
the funny thing is, with the second solution i also past the next level fast mod.
I am asking me which code can pass "Mod" but not "Fast Mod" :-)