АВТ
Language: Russian
English

Remote Training on Programming

Problems Online status Contests
News FAQ E-learning
For authors:
Register  ||  Login
 
Hello, Guest! Please login or register.

11. Circles

Time Limit: 1 seconds
Memory Limit:65536KB
Points:100
View Problem Statistics Submit Problem added debug

Ваша задача - написать программу, которая определяет площадь пересечения двух окружностей с точностью до двух знаков после запятой.


Input

В единственной строке находятся разделённые пробелом вещественные числа x1 y1 r1 x2 y2 r2. Они представляют собой координаты центров и радиусы двух окружностей.

Output

Единственное вещественное число - площадь.

Sample

InputOutput
20.0 30.0 15.0 40.0 30.0 30.0608.37

View Problem Statistics Submit Problem discussion Author/source:
Sorted Problems / Mathematics / Geometry /
11. 18. Coins 1672. Complex Geometric Calculations 1753. Cricket
Problems from Contests and Camps / Trainings of Vologda SU / Training 19.11.2008 /
11. 6. Polynom's Roots 38. Series of Farej
Problems from Contests and Camps / Trainings of Vologda SU / Geometry and some other things /
23. A - Ant and Tree 11. 89. C - Geodesy 16. D - Polygon and Point
Problems from Contests and Camps / School olympiads and couses of Vologda region / Impulse - 2019 / Geometry /
16. 01 - Polygon and Point 11. 1658. 03 - Polygon with minimal perimeter 1629. 04 - Rabbit Hunt 872. 05 - Triangle
time generating 0.094 sec.
© Copyright VSU, AVT, Nosov D.A., Andrianov I.A.