Wormholes of Cygnus

Back to General discussions forum

zelevin     2024-04-17 20:53:56

Hmmm... I know three people solved this already, but I get the error message like:

Expected: 65

...which feels off, since the answer should be two numbers. Any advice?

zelevin     2024-04-17 20:55:40

...and the second time my answer was accepted. Maybe I had a trailing space...?

Rodion (admin)     2024-04-17 21:03:32
User avatar

Vladimir, Hi!

If you have just the message you have shown, with single value instead of two - I suspect it is really some subtle bug on our side! I'll try to reproduce this... Sorry for inconveinence and thanks for reporting it!

As for trailing spaces - peeking into the code I see here is trim($answer) so trailing and leading spaces shouldn't harm.

gardengnome     2024-04-17 21:14:06
User avatar

Unrelated to the issue, but for the German-speaking folks out there: Das Haus vom Nikolaus.

Rodion (admin)     2024-04-18 05:41:47
User avatar

Hopefully the issue is fixed. Supposedly it was caused by the unexpected fact that range(a, b) function in PHP returns b inclusive, unlike in Python. Probably Kevin was unaware of this fact - while I myself was unaware of existence of such function altogether :))) Thus today we both learnt something new.

To Mathias: I pretty well remember we were drawing such "Häuser" in childhood, though I never know they are associated with Nikolaus!

Moreover I learnt about Nikolaustag just couple months ago - trying to read some kids book in Polish - before that I thought that Nikolaus brings gifts on Chritmas itself in western traditions :o

Please login and solve 5 problems to be able to post at forum