Unless I'm screwing something up, I think there are three possible answers to this question, and you're looking for the integer one? Given the answers you are looking for, A and C are always the triangles that have one full side of your square, but that's not specified in the problem statement.
I took the scenic route.
Back to basics 11 - Max Integer
678 Solvers
Number of 1s in a binary string
2828 Solvers
228 Solvers
2783 Solvers
1225 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!