Problem proposals by Mathias

Back to General discussions forum

gardengnome     2023-10-26 14:16:18
User avatar

Soon we will be in the run-up to Christmas, so naturally I have submitted a problem proposal about Easter egg colours. Rodion, you've got mail.

Rodion (admin)     2023-10-26 17:54:39
User avatar

Mathias, Hi!

The problem E2C2S - try harder! is ready, thanks for it and for cooperation!

I'm a bit sorry for while modifying the code I got a glimpse to approach, but this anyway requires me to study a bit until I can try to solve it :)

gardengnome     2023-10-26 17:58:01
User avatar

As always, a big THANK YOU for your super speedy replies and all your support.

CSFPython     2023-10-26 19:38:37

Mathias, Thanks for this nice little problem. I found it very interesting. It is a pity that all of the answers are so close together but that clearly isn't an issue for people solving the problem. They only need to miss by one!

gardengnome     2023-10-26 20:01:54
User avatar

Hi Clive, you are absolutely right. I wrote earlier to Rodion: "You will notice that the results all look very similar - that is okay and it's even intended for people to think about why that is and how that could be exploited."

For future challenges, an LCG with larger parameters might well be used. :)

gardengnome     2023-11-12 13:51:56
User avatar

12-Nov-23: Rodion, you've got mail.

Rodion (admin)     2023-11-12 14:21:53
User avatar

Mathias, thanks, looking into it!

UPD: problem is ready, thanks once more! As I added few lines of code for verifying the answer, I ask you please to review / test it if possible.

UPD2: and thanks to Vladimir for seemingly testing the problem and confirming it works at least sometimes :) Sorry for delays from my side, please.

gardengnome     2023-11-13 12:44:22
User avatar

Thanks Rodion. Good to see the checker code and how it works for problems where different answers are possible. The problem is clearly on the easy side ...

gardengnome     2023-11-18 18:24:45
User avatar

One final hurrah for the Easter bunnies and a cameo for Santa - Rodion you've got mail.

gardengnome     2024-06-13 21:55:14
User avatar

Rodion, you've got mail.

Rodion (admin)     2024-06-14 05:38:50
User avatar

Mathias, good morning - and thanks for the puzzle :) Here it comes under #415. Needless to say I'm impressed with its brevity and toughness %)

P.S. it would be great if you can check the problem's page to see that none of my modifications to code and text break anything.

gardengnome     2024-06-14 07:04:18
User avatar

Thanks Rodion, looks all good. And in case anybody has issues or disagrees with the expected answers, please let me know.

CSFPython     2024-06-14 14:29:14

Mathias, Thanks for a really good problem. I really enjoyed it.

gardengnome     2024-06-17 21:26:13
User avatar

I feel we need more Bubble Sort problems. :) Rodion, you've got mail.

Rodion (admin)     2024-06-18 07:09:32
User avatar

Mathias, Hi! Thanks for this new one - it makes impression that I can try at least! :)))

BTW I do beseech to use additionally this mighty green button below on such an important occasions!

CSFPython     2024-06-18 18:21:18

Mathias, This was an excellent new way of looking at an old problem. Two really good ones in quick succession!

gardengnome     2024-06-18 18:55:28
User avatar

Rodion, many thanks for the quick publication. And no need for the green button here, I'll keep that for truly urgent matters.

Clive, congratulations for being first solver to both recent problems. There is always some nervousness on my part until someone else proves the correctness of the expected solution, so it's good to get this ticked off.

'Smallest Message' was inspired by moxieman's recent 'Wormholes of Cygnus', and 'Unfortunate Bubble Sort' by ThereAreNoUsernamesLeftForMe (what a name!) and zelevin's discussion about an easier problem featuring this sorting algorithm.

Rodion (admin)     2024-06-19 17:43:26
User avatar

new problems are an urgent matter :)

and no worry, it doesn't ring my phone at midnight - just sends private message to me via social network...

Initially I mistakenly thought the problem could be solved with bruteforce, obvious miscalculation (16! is not 2^16), then I tried another naive approach of "weighing" groups of letters by their sum of positions and deciding on arrangment from this - but even in the process of writing I suspected it won't work properly. Well, probably I have yet another idea or two, but I definitely should try it with smaller example first, with pencil-and-paper! Still I'm amazed how you come up with such problems (I don't quite see how is it "inspired" by the mentioned dialog) - given that it both is expressed very simply, immediately yields a handful of vague ideas - and still seems to be pretty tough :)

gardengnome     2024-06-19 18:21:13
User avatar

Not giving too much away, but there are two small hints in the problem statement. Number one is what moves are allowed/considered as swaps, and you mention number two yourself: 16! is indeed not 2^16, but 2^16 is a much nicer number (and maybe the reason why I picked 16).

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