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.
Return a list sorted by number of occurrences
1514 Solvers
597 Solvers
Convert a vector into a number
506 Solvers
Number of digits in an integer
338 Solvers
Solving Quadratic Equations (Version 1)
429 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!