Rätsel mit Programmierung lösen?

Ich habe dieses Rätsel und möchte alle möglichen Kombinationen herausfinden, die Teile zusammenzusetzen. Man darf alle Teile drehen, außer das mit dem Pfeil (der Pfeil muss nach oben zeigen).

Ich habe es selbst probiert, bin bei einer sechsfach verschachtelten for-Schleife gelandet und bin jetzt suizidgefährdet.

Kann mir bitte wer einen besseren Ansatz/Algorithmus sagen? Am liebsten wäre mir als Sprache C#, aber alle Sprachen sind mir recht, auch Pseudocode.

(2 votes)
Loading...

Similar Posts

Subscribe
Notify of
22 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
n1n01
1 year ago

Could you please share the whole PDF file?

n1n01
1 year ago

Do you know the solution?

n1n01
1 year ago

Thank you, I’ll look at it later.

n1n01
1 year ago

That’s funny, what have you changed?

n1n01
1 year ago

Hmm, right. Yesterday the code went a bit because I learned for a exam.

n1n01
1 year ago

Yeah, but that’s what it is. This means that each puzzle part is initially marked as “not used”. In the course of the program they are then set as true.

n1n01
1 year ago

So actually not because the size of the vector “puzzle” does not always match the size of the vector “used”.

(No idea if I misinterpret your question)

n1n01
1 year ago

Thanks for the star!

n1n01
1 year ago

https://pastebin.com/raw/417LfHR8

If you have any questions about the code, please ask

n1n01
1 year ago

Then I could send you my code.

n1n01
1 year ago

My code says there is a possibility. I don’t know if my code is true.

n1n01
1 year ago

I kind of don’t have a solution approach. It is impossible to connect all puzzle pieces because each 4 pages has “tops” or not=