Pages
Home
Sitemap
Thursday, October 8, 2009
UVA Problem#10432
Question:
http://uva.onlinejudge.org/external/104/10432.html
Solution technique:
1. take inputs
2. define pi as acos(-1.0)
3. use the formula below to find the output:
area = (n*r*r*(sin(2.0*pi/n)))/2;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment