c# Intelligent algorithm matrix
I need to build an algorithm that gets 3 numbers like 10,20,30 for example
and build new matrix that contains 3 squares that contains this
numbers(for example one square with size 2*5(slot sum is 10) that contains
in every slot "10" and more one square with size 5*4(slot sum is 20)
that......) in wish to build each one of this 3 squares most Equilateral
square like and the matrix in wish to be most Equilateral square like too,
and the matrix can have 1 empty slot or remove maximum 1 slot from the 3
squares sum of slot to do that. How i can do this?!!? Any point to start
with like mathematical idea or something? Thanks alot!
No comments:
Post a Comment