Joined
Last Seen
-3 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: defFlip(b): return [[b[(N-1)-i][j]for j in range(N)]for i in range(N)] defRot90(b): return[[b[N-1)-j][i]for j in range(N)]for i in range(N)] defRot180(b): return Rot90(Rot90(b)) defRot270(b): return Rot180(Rot90(b)) defFlipRot90(b): return Flip(Rot90(b)) defFlipRot180(b): return Flip(Rot180(b)) defFlipRot270(b): return Flip(Rot270(b)) def OutputAndProcess(b): global allsol c=deepcopy(b) eqclass= (c,Rot90(c),Rot(180),Rot270(c),Flip(c),FlipRot90(c),FlipRot180(c),FlipRot270(c)) allsol.extend([c]) if(qu=="Y") or(qu=="Y"): print("Solution ",len(allsol),":") for i in range(N): for j … |
The End.