Codeforces Round #313 (Div. 1) A. Gerald's Hexagon

Gerald's Hexagon  Problem's Link:  http://codeforces.com/contest/559/problem/A     Mean:  按順時針順序給出一個六邊形的各邊長(且保證每個內角都是120度),求能夠分解成多少個邊長爲1的小正三角形。 analyse: 由於每個內角都是120度,那麼把三條邊延長相交,一定能夠得到一個正三角形。 求出正三角形的面積
相關文章
相關標籤/搜索