作者ClickFive (点五次之五重天)
看板ACMCLUB
标题[问题] 请问一题ACM 10002 - Center of Masses
时间Sat Sep 27 17:02:48 2008
ACM 10002
http://0rz.tw/b54Ok
Output
For each polygon, a single line with the coordinates x and y of the center of
masses of that polygon, rounded to three decimal digits.
的英文是这样
不过,我照我理解的题目的意思,就是把属於该凸多边形的每一个顶点的值,
拿来做质心计算,是这样子吗?@@"
一直算不出 sample input 里的第三组 output的答案
一二组都对,可是看不出第三组为什麽错了.... 卡了好久
有哪位高手可以帮我看一下吗?感谢!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.228.160.103
※ 编辑: ClickFive 来自: 61.228.164.218 (09/27 21:23)