A typo in Logic Glitches example

Back to General discussions forum

zelevin     2022-04-02 13:35:04

Instead of "12.1->0101", I believe it should be "12.b->0101".

Rodion (admin)     2022-04-02 15:14:19
User avatar

Truly so! Thanks for such careful proof-reading :) I just decided to change format to letters in last moment.

CSFPython     2022-04-02 17:54:42

This was another interesting logic problem, together with some interesting facts about the underlying electronics.

I was intrigued that the algorithm which I used to solve this problem would have made an interesting (and marginally simpler) solution to the previous logic problem. Had I realised this at the time I would have used this algorithm for the previous problem. Hopefully people who have solved both problems will understand what I am saying. I cannot really be more specific without spoiling things for those of you who have yet to solve either or both problems.

zelevin     2022-04-02 20:20:05

Great problem! The checker, however, complains my answer is different from the correct one even though they appear identical. Is it the issue with terminating whitespace, or something similar?

zelevin     2022-04-02 20:22:18

Heh. Whitespace was indeed the issue, but on my end. :)

Rodion (admin)     2022-04-03 06:02:10
User avatar

Vladimir (judging by gh page), Hi!

Thanks for your kind feedback - quite valuable as again I thought on contrary such kind of tasks could feel too dull :)

This uses "plain checker", just comparing the output line... And it is trimmed so only extra spaces inside may break the answer... Hm-m-m... I remember we discussed whether inside space chains should be replaced with single space each or something like this, but decided not to touch this.

Though perhaps it would be good to add some kind of hint or warning. Thanks for reporting this, well, something to think about :)

To CSFPython Clive, I was a bit intrigued and looked at your solutions, but can't yet get what exactly it is about. Perhaps, let me create "private" talk for this problem - and we'll be easy to discuss :)

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