摘要: # Is This Integration ``` C++ #include #include #define pi 3.141592653589793 using namespace std; int main(){ double a; while(cin >> a){ double x, y, 阅读全文
posted @ 2023-08-23 23:24 tlocd 阅读(8) 评论(0) 推荐(0) 编辑
摘要: # Satellites ``` C++ #include #include using namespace std; int main() { const double pi = 3.14159265358979323846; const double earthR = 6440; double 阅读全文
posted @ 2023-08-23 21:17 tlocd 阅读(7) 评论(0) 推荐(0) 编辑
摘要: # Fourth Point !! ``` c++ #include using namespace std; class point { public: double x; double y; bool equals(const point &p) { if (p.x == x && p.y == 阅读全文
posted @ 2023-08-23 21:13 tlocd 阅读(10) 评论(0) 推荐(0) 编辑