作者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)