[中譯] ProjectEuler 482 The incenter of a triangle
看板puzzle (益智遊戲 - 數獨,拼圖,推理,西洋棋)作者utomaya (烏托馬雅)時間11年前 (2014/09/28 22:03)推噓0(0推 0噓 0→)留言0則, 0人參與討論串1/1
482. The incenter of a triangle
https://projecteuler.net/problem=482
ABC是一個整數邊長的三角形,內心為I且周長為p
線段IA、IB和IC的長度同樣為整數值
令 L = p + |IA| + |IB| + |IC|
令 S(P) 為周長p<=P的情況下,所有這樣的三角形的L之和。舉例,S(10^3)=3619
試求出S(10^7)
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 115.43.76.179
※ 文章網址: http://www.ptt.cc/bbs/puzzle/M.1411912991.A.2FD.html
puzzle 近期熱門文章
5
21
PTT遊戲區 即時熱門文章
16
22