I understand your point but hardcoding this problem requires way more creativity than what you think, trying to get a good hardcode is a pretty fun competition, you should give it a try.
About regular solutions, I’ve done a 104 chars solutions in Python monthes ago that would pass any set of randomized validators.
And I was total noob at golfing back then so I’m pretty sure it can be improved a lot and go under 100 chars.
You can probably also go under 100 chars in JS, Ruby, Perl without fishy techniques.
While I’m personally not OK with hardcoded solutions there is one huge difference (IMO) - you have choice to hardcode or not. If you choose to, you have a chance to get shorter solution.
On the other side there is “system call” solution with different language inside. That thing abuses entire leaderbord, because it’s “language X leaderbord”, not “mixed language X+Y leaderbord”, so if solution contains code on language other than X it shouldn’t even compare with language X solutions and get CP at all
Even though I can definitely see this “hardcoding” as a fun and creative activity it should be a puzzle of its own. You really don’t need to create different settings derived from popular culture to make this category fun. In fact, the problem definition as well as all these graphics become pointless if the goal is “compress your output to satisfy the expected values of the validators”. In the long run it doesn’t teach you much, but I am realizing recently that’s not the main goal of this site.
So I finally managed to get below 200 chars in C++, and that was so hard!
I’ve used pretty much everything I could think of. Given so many people do way better, I must be pretty bad at golf .
Half of the code is about parsing stdin, and there’s no macro that makes the code shorter.
I wish I could find genuine solutions to understand… HOW!?
Hey, I saw people who did it in Rust in less than 200 bytes, how is it possible ? Is there a hidden feature or something ? I think I’m missing something, anyone in top board can light me a little ?
Yes. Some reponses are hard coded.
What I mean by that, is that, like for Power Of thor, some people found a way to win with the reponses of validators. Hope it helps you.
I managed to get my code down in 192 in python. I see that some users managed to get down to 61. Given I will probably never go back to this puzzle. Is there any way to see the best solutions, purely from a learning point?
No, you can’t; because others won’t have your limits and will cheat.
You can still read solutions in the non-golf puzzle, I’m sure that there are tricks useful for golfing in these solutions.