This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <fstream> | |
| #include <cmath> | |
| using namespace std; | |
| double sqr(double x){return x*x;} | |
| double len(double x1,double y1,double x2,double y2) | |
| { | |
| return sqrt(sqr(x2-x1)+sqr(y2-y1)); | |
| } | |
| #define eps 1e-4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <fstream> | |
| #include <iostream> | |
| #include <cmath> | |
| #include <cstdlib> | |
| #include <array> | |
| using namespace std; | |
| struct point { | |
| int64_t x, y; | |
| }; |
OlderNewer