#P1000. 六边形(a)
六边形(a)
Hexagon
Problem Description
Given the lengths of the six sides of a hexagon in clockwise order, where all six interior angles are , find the number of equilateral triangles with side length of that the hexagon can be divided into. Ensure that the hexagon can be divided into several equilateral triangles with side length of .
1 1 1 1 1 1
6
1 2 1 2 1 2
13
3 4 2 6 1 5
67
Data Range
Let the side lengths be . For all data, .
Hints
Example 1: Example 2: Example 3:
相关
在下列比赛中: