Unfolding Paper - Puzzle discussion

Hi, I’m having trouble with Unfolding Paper puzzle.
All of my IDE test cases are green, but I can’t reach 100% in my final submission, as at least one case always fails.
As I understand, final submission test cases should just check hard coded solutions, and it seems that here some new test cases are introduced, not just similar to IDE’s.
I didn’t hard code anything in my solution. It’s certainly not perfect, but it seems I can’t improve it unless I’ll see those new test cases and understand why my algorithm fails there.

Which case are you failing?

Big sheet. In IDE the number of parts doesn’t change from repeated unfoldings, but looks like the same logic doesn’t cover final submission case.

Well while it may be better to add a test case more similar to the valiator, it’s not too difficult to list down some possible paper patterns. I think the challenge is to work out all the possible patterns, not just to satisfy test cases. For example:

######
# #  # 
# # ##
# #  # 
######

Well, my algorithm covers this case. Although the pattern is different from IDE’s, it has the same idea.

Chingmann gave another pattern, which my algorithm processes incorrectly, maybe it will help others too.

 "#..#.#",
 "#..###",
 "#....#",
 "######"]
1 Like

Well, i’m stuck with the “Many pieces” validators. my Algo passes all the ide test cases.
Any clue that can help me is welcome.

Any help please?

your code timeouts

In this case, N=16

Hi, could you check why my submission fails on Long unfolding and Many pieces? All IDE testcases are green.