Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdio>
- #include <cmath>
- using namespace std;
- struct punct{int x, y, dmax;};
- punct V[1005];
- int dp[2][1005];
- double dist (punct A, punct B) {
- return sqrt((A.x - B.x) * (A.x - B.x) + (A.y - B.y) * (A.y - B.y));
- }
- double arie (punct A, punct B, punct C) {
- return dist(A, C) * B.dmax / 2;
- }
- int main()
- {
- freopen("mosia.in", "r", stdin);
- freopen("mosia.out", "w", stdout);
- int n;
- scanf("%d", &n);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement