I really like this topic, I tried to solve the problem in C++, but I don’t know why my code can display the results locally (for the first example), there is nothing in the platform’s Standard Output Stream, I try to use Printf, found that nothing is output, I think it might be to use cout, but change to cout or nothing
I cout << ans << endl; Is it not right, must cout << RRLL…<<endl; This way, but the string will not know in advance, can only be stored in the array, please advise
This is my code: https://paste.ubuntu.com/p/32PMt3sdhV/
Why is the data of test1 is this：https://github.com/eulerscheZahl/Bender4/blob/master/config/test1.json, shouldn’t it be
1 1 8 8 0
Well? This is what I wrote myself based on the first data.
Don’t print to the out stream, but the error stream: example code.
The test input is almost the same as on github. The only difference is, that there are | characters instead of linebreaks (back then there was a bug in the framework, which crashed on linebreaks).
When you tried to extract the map by hand, you forgot the surrounding wall.
Wonderful puzzle, eulerscheZahl! 2 days and 4 evenings of fun coding Thank you very much!
I’m glad you like it
And congrats on getting first.